[Nasm-bugs] [Bug 3392619] New: For AVX2 instructins VPBROADCASTx usage of general purpose register as a source operand isn't detected as an error

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Mon Oct 7 02:14:20 PDT 2019


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

            Bug ID: 3392619
           Summary: For AVX2 instructins VPBROADCASTx usage of general
                    purpose register as a source operand isn't detected as
                    an error
           Product: NASM
           Version: 2.13.xx
          Hardware: PC
                OS: Windows
            Status: OPEN
          Severity: normal
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: demidov at beamr.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

According to Intel's documentation all the VPBROADCASTx instructions can
broadcast an integer either from an XMM register or from a memory location. In
my case I had some function arguments defined as registers, and some as stack
memory areas, and I didn't receive any error message from NASM trying to
broadcast a general purpose register :). Indeed, NASM generated some code which
crashed when started. I hope it is easy to fix

With best regards,

Vadim

-- 
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