flat assembler
Message board for the users of flat assembler.
Index
> Main > New instructions |
Author |
|
Bargest 14 Mar 2012, 13:08
Here (or here) I found "AMD64 Architecture Programmer's Manual Volume 3: General Purpose and System Instructions"
There are several instructions, that are not supported by FASM. For example: BLCMSK, BLCI, BLCIC, BLCFILL, BLSMSK, BLSFILL... I hope one day they will be included in FASM.[/url] _________________ jmp $ ; Happy end! |
|||
14 Mar 2012, 13:08 |
|
Tomasz Grysztar 14 Mar 2012, 13:21
I consider it to be a "XOP2" extension, so I will implement it alongside the AVX2 instructions. So you should expect it in fasm 1.70.
|
|||
14 Mar 2012, 13:21 |
|
Tomasz Grysztar 14 Mar 2012, 18:49
Rest assured that I do not hurry needlessly.
As for that SSE5 story, I may even say "Yeah, I saw that coming." |
|||
14 Mar 2012, 18:49 |
|
peter 16 Mar 2012, 05:46
Rugxulo, there is an emulator that allows you to try AVX2 instructions without having a processor supporting them. YASM already generates the new instructions; it would nice if FASM supported them, too.
|
|||
16 Mar 2012, 05:46 |
|
smiddy 16 Mar 2012, 11:03
peter have you used this emulator? A quick glance it looks like a code inspector more than say a virtual machine. Is that correct?
|
|||
16 Mar 2012, 11:03 |
|
Alphonso 16 Mar 2012, 14:05
An emulator and code inspector (see were the action is).
Should really do a bit more with detection but anyway, run on C2D cpu 32-bit OS. Edit: and check syntax. My bad, thanks Tomasz.
Last edited by Alphonso on 16 Mar 2012, 14:52; edited 1 time in total |
||||||||||
16 Mar 2012, 14:05 |
|
Tomasz Grysztar 16 Mar 2012, 14:22
"db 0f4h,0fh,0bdh,0d0h" is "lzcnt edx,eax", not "lzcnt eax,edx". Try how fasm assembles it.
|
|||
16 Mar 2012, 14:22 |
|
revolution 16 Mar 2012, 15:14
My CPU supports lzcnt natively. No need for sde. Perhaps a better test would be with a BLC* instruction.
|
|||
16 Mar 2012, 15:14 |
|
Tomasz Grysztar 16 Mar 2012, 15:17
Well, LZCNT was part of SSE4a, so AMD processors have it since long. But now Intel decided to adopt it.
|
|||
16 Mar 2012, 15:17 |
|
Alphonso 16 Mar 2012, 16:04
Sigh, how about BZHI then.
|
||||||||||
16 Mar 2012, 16:04 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.