[llvm-bugs] [Bug 42883] New: Puts mask register in inline assembly instead of general purpose register

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Aug 4 11:40:10 PDT 2019


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: unassignedclangbugs at nondot.org
          Reporter: agner at agner.org
                CC: blitzrakete at gmail.com, dgregor at apple.com,
                    erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190804/fcd51432/attachment.html>


More information about the llvm-bugs mailing list