[llvm-bugs] [Bug 45736] New: AVX512 mask8 miscompilation

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Apr 29 08:57:54 PDT 2020


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

            Bug ID: 45736
           Summary: AVX512 mask8 miscompilation
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: lopresti at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

Created attachment 23424
  --> https://bugs.llvm.org/attachment.cgi?id=23424&action=edit
Test case for -O3 -march=skylake-avx512

I have tested with 10.0 and trunk as of this morning.

Compile the attached program with "clang -O3 -march=skylake-avx512" and run it.
Both assertions should pass (and they do on GCC and IC18), but the second
assertion fails.

The assembly is pretty clearly bogus; see https://godbolt.org/z/ABnLNc. There
should be one kmovb, not two, and neither one should be accessing masks[idx+4].

-- 
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/20200429/eff422d4/attachment.html>


More information about the llvm-bugs mailing list