[llvm-bugs] [Bug 36619] New: '-march=native' incorrectly emits VZEROUPPER with Knights Landing

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Mar 6 12:58:01 PST 2018


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

            Bug ID: 36619
           Summary: '-march=native' incorrectly emits VZEROUPPER with
                    Knights Landing
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: dave at znu.io
                CC: llvm-bugs at lists.llvm.org

The following code compiled on Knights Landing incorrectly generates VZEROUPPER
with '-march=native', and correctly does NOT emit VZEROUPPER with '-march=knl':

class alignas(32) BigThing { int i[8]; };
void test(BigThing *in, BigThing *out) { *out = *in; }

-- 
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/20180306/02448f41/attachment.html>


More information about the llvm-bugs mailing list