[llvm-bugs] [Bug 32238] New: [X86] Assembler does not ensure gather/scatter registers are unique

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Mar 11 10:23:17 PST 2017


http://bugs.llvm.org/show_bug.cgi?id=32238

            Bug ID: 32238
           Summary: [X86] Assembler does not ensure gather/scatter
                    registers are unique
           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

The gather/scatter instructions require certain registers to be unique. The
assembler does not enforce this.

For example, this should not assemble

vgatherdps %xmm2, (%rdi,%xmm2,2), %xmm2

-- 
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/20170311/36d7f6a5/attachment-0001.html>


More information about the llvm-bugs mailing list