[llvm-bugs] [Bug 42293] New: llvm-mc-7 fails to decode AVX-512 vshuff32x2, vshuff64x2, vshuff32x2 and vshuff64x2 opcodes.

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jun 16 14:29:52 PDT 2019


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: unassignedbugs at nondot.org
          Reporter: hgreving at google.com
                CC: llvm-bugs at lists.llvm.org

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190616/05bd9d00/attachment.html>


More information about the llvm-bugs mailing list