[llvm-bugs] [Bug 36068] New: [PowerPC] VSX splat instruction bug (xxspltw)
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jan 23 13:59:15 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=36068
Bug ID: 36068
Summary: [PowerPC] VSX splat instruction bug (xxspltw)
Product: new-bugs
Version: trunk
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: mleone at wetafx.co.nz
CC: llvm-bugs at lists.llvm.org
Created attachment 19735
--> https://bugs.llvm.org/attachment.cgi?id=19735&action=edit
Test case
It looks like the PowerPC VSX splat instruction (xxspltw) sometimes writes to
the wrong register. To reproduce, compile the two attached files into an
executable, with optimization enabled (clang++ -O2 Floats.cc testFloats.cc -o
testFloats). The bug causes it to incorrectly return a non-zero status. If
you compare the assembly to gcc (with -O3), they are identical except for the
xxspltw output operand.
--
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/20180123/0dc9c642/attachment.html>
More information about the llvm-bugs
mailing list