flat assembler
Message board for the users of flat assembler.

Index > Main > FASM for Intel® Pentium® 4 processor?

Author
Thread Post new topic Reply to topic
fasm9



Joined: 19 Jun 2003
Posts: 439
fasm9 15 Dec 2003, 03:17
i wonder that does FASM use all features of p4.
http://www.intel.com/products/desktop/processors/pentium4/

--
Question
Post 15 Dec 2003, 03:17
View user's profile Send private message Reply with quote
roticv



Joined: 19 Jun 2003
Posts: 374
Location: Singapore
roticv 15 Dec 2003, 04:22
I beg your pardon. What do you mean by all the features?
Post 15 Dec 2003, 04:22
View user's profile Send private message Visit poster's website MSN Messenger Reply with quote
scientica
Retired moderator


Joined: 16 Jun 2003
Posts: 689
Location: Linköping, Sweden
scientica 15 Dec 2003, 05:44
I think he means some HT or hint instructions, that were (iirc) introduced in the P4.

_________________
... a professor saying: "use this proprietary software to learn computer science" is the same as English professor handing you a copy of Shakespeare and saying: "use this book to learn Shakespeare without opening the book itself.
- Bradley Kuhn
Post 15 Dec 2003, 05:44
View user's profile Send private message Visit poster's website Reply with quote
fasm9



Joined: 19 Jun 2003
Posts: 439
fasm9 15 Dec 2003, 06:18
Thanks! yes. that's what i meant.

flatassembler.net wrote:
The flat assembler is a fast and efficient self-assembling 80x86 assembler for DOS, Windows and Linux. It supports all 8086-80486/Pentium instructions with MMX, SSE, SSE2 and 3DNow! extensions, can produce output in binary, MZ, PE or COFF format. Has the advanced but easy to use macroinstruction support and does multiple quick passes to optimize the code for size. It is self-compilable and the full source code is included.


still, it's sounds unclear to me.

--
if i understood FASM totally, i think i can help FASM, but not now.
Post 15 Dec 2003, 06:18
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8353
Location: Kraków, Poland
Tomasz Grysztar 15 Dec 2003, 09:28
SSE2 is a PIV extension of IA-32 architecture instructions.
Post 15 Dec 2003, 09:28
View user's profile Send private message Visit poster's website Reply with quote
MazeGen



Joined: 06 Oct 2003
Posts: 977
Location: Czechoslovakia
MazeGen 15 Dec 2003, 18:17
Does FASM support any mnemonics for jcc hints (prefix 2E not taken and 3E taken, P4+ feature) and PNI (Prescott new instructions)?

_________________
x86asm.net
Post 15 Dec 2003, 18:17
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8353
Location: Kraków, Poland
Tomasz Grysztar 15 Dec 2003, 18:28
Intel haven't defined any menmonics for the branch hints, and so there are none in fasm - but as they share the same opcodes as the segment prefixes, you can define your own mnemonics (any variant you prefer) like:
Code:
ut equ cs ; "unlikely taken" jump
lt equ ds ; "likely taken" jump    

and use them like:
Code:
ut jne error    
Post 15 Dec 2003, 18:28
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8353
Location: Kraków, Poland
Tomasz Grysztar 15 Dec 2003, 18:44
And about PNI - they are not the part of the PIV specification (at least not in the books I've got from the Intel), it seems that it's something really new. Thank for pointing it out to me - I'll have to work on encoding them in the next version of fasm.
Post 15 Dec 2003, 18:44
View user's profile Send private message Visit poster's website Reply with quote
MazeGen



Joined: 06 Oct 2003
Posts: 977
Location: Czechoslovakia
MazeGen 15 Dec 2003, 20:12
Thanks, Privalov Smile

BTW, here is the link, if somebody wants to study:
Prescott New Instructions Technology

_________________
x86asm.net
Post 15 Dec 2003, 20:12
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.