flat assembler
Message board for the users of flat assembler.

Index > Main > flat assembler 1.67.3x

Goto page Previous  1, 2, 3, 4, 5
Author
Thread Post new topic Reply to topic
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8357
Location: Kraków, Poland
Tomasz Grysztar 15 Apr 2009, 17:36
Apart from xsave and related stuff (the last four instructions), they all should be fully supported by now (unless you find any bugs).


Last edited by Tomasz Grysztar on 15 Apr 2009, 17:42; edited 1 time in total
Post 15 Apr 2009, 17:36
View user's profile Send private message Visit poster's website Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 15 Apr 2009, 17:41
Quibbler wrote:
Hi there!

I'm new to FASM, and I just want to know which of the following instructions are supported. I have compiled this list myself after reading the Intel Architecture Reference Manual and compared all instructions found there with all the ones found in FASM reference manual. The instructions below are *not* mentioned in the FASM reference manual, but I guess that's because it's not been updated yet?


All SSE4 stuff was just added recently, so Tomasz has openly admitted that docs will follow later (much less priority).

The best way to see if FASM supports what you want is to try it. But I just grepped the sources for you, and it seems to support everything you mentioned except the following differences:

movbe -> cmovbe, fcmovbe
pmovsx -> -bd, -bq, -bw, -dq, -wd, -wq (suffixed variants)
pmovzx -> -bd, -bq, -bw, -dq, -wd, -wq (suffixed variants)

Not supported yet:

xgetbv, xrstor, xsave, xsetbv

N.B. I don't know any of this stuff, so I had to search. Apparently 45nm E0/R0 steppings (Aug. 2008: Penryn, Wolfdale, Yorkfield, Harpertown, Dunnington) add XSAVE and XRSTOR, but Wikipedia doesn't list those under SSE4, so maybe that's useful for future AVX only?
Post 15 Apr 2009, 17:41
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8357
Location: Kraków, Poland
Tomasz Grysztar 15 Apr 2009, 17:43
Yes, they are related to AVX (vid just found it out for me). For my discussion about AVX (and its future support in fasm), see this thread: SSE5 vs AVX.
Post 15 Apr 2009, 17:43
View user's profile Send private message Visit poster's website Reply with quote
Quibbler



Joined: 15 Apr 2009
Posts: 2
Quibbler 15 Apr 2009, 20:12
Ok, thx for the quick answer!

btw, I think it is important to have at least a list of all supported instructions in the documentation. And instead of writing description of each instruction, you could simply make a reference to the Intel docs. This way, no one can complain about errors in the FASM doc regarding instructions. The errors will instead be in the Intel docs.
Post 15 Apr 2009, 20:12
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20430
Location: In your JS exploiting you and your system
revolution 15 Apr 2009, 22:29
The reference manual is ~about 2 years out of date. Check the source (TABLES.INC) for which instructions are supported.
Post 15 Apr 2009, 22:29
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:  
Goto page Previous  1, 2, 3, 4, 5

< 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.