[Nasm-bugs] [Bug 3392675] New: PALIGNR xmm1, xmm2 does not assemble

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Wed Jun 3 00:47:12 PDT 2020


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

            Bug ID: 3392675
           Summary: PALIGNR xmm1, xmm2 does not assemble
           Product: NASM
           Version: 2.14.xx
          Hardware: PC
                OS: Linux
            Status: OPEN
          Severity: normal
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: xushengli at protonmail.com
                CC: chang.seok.bae at intel.com, gorcunov at gmail.com,
                    hpa at zytor.com, nasm-bugs at nasm.us
     Obtained from: Build from source archive using configure

I tried to assemble the following code:

packedAlignr:

    PALIGNR mm1, mm2
    PALIGNR xmm1, xmm2
    VPALIGNR xmm1, xmm2, xmm3
    VPALIGNR ymm1, ymm2, ymm3
    VPALIGNR xmm1 {k1}{z}, xmm2, xmm3, 0x1
    VPALIGNR ymm1 {k1}{z}, ymm2, ymm3, 0x1
    VPALIGNR zmm1 {k1}{z}, zmm2, zmm3, 0x1

    ret

The first four lines all report error as:

"invalid combination of opcode and operands". 

The last two are assembled fine. 

However, according to Intel reference manual, these four should be legitimate
instructions.

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