[Nasm-bugs] [Bug 3392737] New: Macro produces unexpected code when local label is empty

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Thu Feb 11 06:05:26 PST 2021


https://bugzilla.nasm.us/show_bug.cgi?id=3392737

            Bug ID: 3392737
           Summary: Macro produces unexpected code when local label is
                    empty
           Product: NASM
           Version: 2.15.xx
          Hardware: All
                OS: All
            Status: OPEN
          Severity: major
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: fullofbug at gmail.com
                CC: chang.seok.bae at intel.com, gorcunov at gmail.com,
                    hpa at zytor.com, nasm-bugs at nasm.us
     Obtained from: Binary from nasm.us

%macro Convert  2-3.nolist   
  %[%3]CVTDQ2PD %1, %2
%endmacro

Convert XMM0, XMM1
    Expected code: CVTDQ2PD XMM0, XMM1
    Generate code: empty

Convert XMM0, XMM1, {}
    Expected code: CVTDQ2PD XMM0, XMM1
    Generate code: empty

Convert XMM0, XMM1, V
    Expected code: VCVTDQ2PD XMM0, XMM1
    Generate code: VCVTDQ2PD XMM0, XMM1

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


More information about the Nasm-bugs mailing list