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

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Wed Nov 10 17:41:57 PST 2021


            Bug ID: 3392787
           Summary: fsub instruction emitted as fsubp
           Product: NASM
           Version: 2.15.xx
          Hardware: PC
                OS: Linux
            Status: OPEN
          Severity: normal
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: negge at dgql.org
                CC: chang.seok.bae at intel.com, gorcunov at gmail.com,
                    hpa at zytor.com, nasm-bugs at nasm.us
     Obtained from: From OS distribution

The fsub instruction by itself emits DEE9 which is an fsubp st1:

$ cat fsub.asm
$ nasm fsub.asm -o fsub.com
$ ndisasm fsub.com
00000000  DEE9              fsubp st1
$ nasm --version
NASM version 2.15.05 compiled on Mar 21 2021

I was expecting it to emit D8E1 or fsub st1.

I am running gentoo and compiled this from source using the OS package manager

# genlop nasm
 * dev-lang/nasm

     Sun Mar 21 12:43:05 2021 >>> dev-lang/nasm-2.15.05

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