flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > BLENDVPS/BLENDVPD/PBLENDVB syntax |
Author |
|
Madis731 16 Jul 2009, 08:34
I first thought about it, but then stick to the "FASM convention"
|
|||
16 Jul 2009, 08:34 |
|
Tomasz Grysztar 28 Jul 2009, 07:12
The problem is, that Intel manuals have changed over time in this aspect - and there were some inconsistencies that fasm borrowed from there, though they now seem to be corrected. The example is "monitor" and "mwait" instructions, for which fasm still uses the old "monitor eax,ecx,edx" and "mwait eax,ecx" syntax, while current Intel manuals list them as having no explicit operands.
Therefore it would perhaps be nice to clean this up in fasm as well - perhaps just allow syntax without those redundant operands, and keep the old syntax for compatibility? So, current list of instructions to correct is: blendvps, blendvpd, pblendvb, monitor and mwait. Do you know any more, that I forgot? |
|||
28 Jul 2009, 07:12 |
|
MazeGen 28 Jul 2009, 07:29
Quote: Therefore it would perhaps be nice to clean this up in fasm aswell - perhaps just allow syntax without those redundant operands, and keep the old syntax for compatibility? I like this idea. Quote: So, current list of instructions to correct is: blendvps, blendvpd, pblendvb, monitor and mwait. Do you know any more, that I forgot? This list should be complete - the other (older) instructions have clearer syntax. I'm fighting with Intel manuals as well. It seems to me that Intel's race with AMD and GPUs forced confusion and bugs in the manuals. They should get more time to clean things up. And we can't check SSE4 instructions agains AMD manuals because AMD doesn't support SSE4, at least for now |
|||
28 Jul 2009, 07:29 |
|
Madis731 28 Jul 2009, 10:35
Actually there were cases with FPU instructions st0 or st(0) and implicit or explicit a few years ago.
I don't deal with FPU any more because SSE replaces most of the instructions with better variants. |
|||
28 Jul 2009, 10:35 |
|
Tomasz Grysztar 03 Aug 2009, 09:42
1.69.03 has both the syntaxes allowed.
|
|||
03 Aug 2009, 09:42 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.