https://bugs.llvm.org/show_bug.cgi?id=42293

            Bug ID: 42293
           Summary: llvm-mc-7 fails to decode AVX-512 vshuff32x2,
                    vshuff64x2, vshuff32x2 and vshuff64x2 opcodes.
           Product: tools
           Version: 7.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvmc
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

llvm-mc-7 fails to decode opcodes above.

e.g.

echo "0x62 0xf3 0x75 0x08 0x23 0xc2 0x25" | /usr/bin/llvm-mc-7 -disassemble
-triple=x86_64

        .text
<stdin>:1:1: warning: invalid instruction encoding
0x62 0xf3 0x75 0x08 0x23 0xc2 0x25
^
<stdin>:1:26: warning: invalid instruction encoding
0x62 0xf3 0x75 0x08 0x23 0xc2 0x25
                         ^
<stdin>:1:31: warning: invalid instruction encoding
0x62 0xf3 0x75 0x08 0x23 0xc2 0x25
                              ^
Should be (e.g. from binutils)

objdump -d test | grep shuf
 5fe:   62 f3 75 08 23 c2 25    vshuff32x4 $0x25,%xmm2,%xmm1,%xmm0

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to