[llvm-bugs] [Bug 36202] New: llvm-mc doesn't accept AVX512 instructions using %zmm16+

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Feb 1 15:03:12 PST 2018


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

            Bug ID: 36202
           Summary: llvm-mc doesn't accept AVX512 instructions using
                    %zmm16+
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: benny.kra at gmail.com
                CC: llvm-bugs at lists.llvm.org

$ echo vpaddd %zmm1, %zmm2, %zmm3 | llvm-mc
        .text
        vpaddd  %zmm1, %zmm2, %zmm3

$ echo vpaddd %zmm16, %zmm17, %zmm18 | llvm-mc
        .text
<stdin>:1:8: error: register %zmm16 is only available with AVX512

It does accept them with -mcpu=skx, but it should always accept them.

-- 
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/20180201/e1d441c6/attachment.html>


More information about the llvm-bugs mailing list