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

            Bug ID: 42883
           Summary: Puts mask register in inline assembly instead of
                    general purpose register
           Product: clang
           Version: 6.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangb...@nondot.org
          Reporter: ag...@agner.org
                CC: blitzrak...@gmail.com, dgre...@apple.com,
                    erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
                    richard-l...@metafoo.co.uk

Created attachment 22336
  --> https://bugs.llvm.org/attachment.cgi?id=22336&action=edit
C++ test case

The attached test case puts mask registers in inline assembly where the code
specifies a general purpose register. Assembly fails. This bug is observed in
Clang version 6.0.0 Ubuntu under WSL. The bug does not occur with Cygwin Clang
5.0.1.

Compile the attached test case with:

clang -m64 -O2 -mavx512bw -mavx512dq -mavx512vl test.cpp -c

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to