[Nasm-bugs] [Bug 3392787] fsub instruction emitted as fsubp

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Wed Nov 24 04:13:24 PST 2021


negge at dgql.org changed:

           What    |Removed                     |Added
         Resolution|---                         |INVALID
                 CC|                            |negge at dgql.org
             Status|OPEN                        |RESOLVED

--- Comment #1 from negge at dgql.org ---
According to the Intel IA-32 Architectures Software Developer’s Manual, it
looks like this is now the correct behavior to remain backwards compatible with
previous assemblers that interpreted a no-operand FSUB as FSUBP instead of FSUB
ST0, ST1.

>From page 395, chapter 3, volume 2A of

> The no-operand version of the floating-point subtract instructions always results in the register stack being popped. In some assemblers, the mnemonic for this instruction is FSUB rather than FSUBP.

You are receiving this mail because:
You are watching all bug changes.
You are on the CC list for the bug.

More information about the Nasm-bugs mailing list