[llvm-bugs] [Bug 48803] New: 64-bit vectors with SSE but no SSE2 cause compiler error on x86_64

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jan 19 07:48:31 PST 2021


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

            Bug ID: 48803
           Summary: 64-bit vectors with SSE but no SSE2 cause compiler
                    error on x86_64
           Product: new-bugs
           Version: 11.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: clang at evan.coeusgroup.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

If you disable SSE2 but leave SSE enabled while targeting x86_64, using 64-bit
vectors will cause a compiler error.  Here is a quick test case (or, on
Compiler Explorer if you prefer: https://godbolt.org/z/haGxze):

  typedef int __attribute__((__vector_size__(8))) vec;
  void foo(vec a, vec b) {}

-- 
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/20210119/c18c93da/attachment.html>


More information about the llvm-bugs mailing list