[llvm-bugs] [Bug 34998] New: [X86] Disassembler disassembles invalid gather/scatter that doesn't use VSIB

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Oct 18 22:47:49 PDT 2017


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

            Bug ID: 34998
           Summary: [X86] Disassembler disassembles invalid gather/scatter
                    that doesn't use VSIB
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: craig.topper at gmail.com
                CC: llvm-bugs at lists.llvm.org

This shouldn't disassemble

echo "0xc4,0xe2,0xe9,0x92,0x08" | ./bin/llvm-mc  -disassemble

But does and generates

vgatherdpd      %xmm2, (%rax), %xmm1


Binutils has this same bug
https://sourceware.org/bugzilla/show_bug.cgi?id=15229 so I checked to see if we
did any better.

-- 
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/20171019/d4526045/attachment.html>


More information about the llvm-bugs mailing list