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: unassignedb...@nondot.org
          Reporter: benny....@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to