[llvm-bugs] [Bug 38192] New: [PowerPC] Clang biases __builtin_xxpermdi differently from GCC on LE
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jul 17 06:13:50 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=38192
Bug ID: 38192
Summary: [PowerPC] Clang biases __builtin_xxpermdi differently
from GCC on LE
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: PowerPC
Assignee: unassignedbugs at nondot.org
Reporter: nemanja.i.ibm at gmail.com
CC: llvm-bugs at lists.llvm.org
Calls to these builtins produce different results with the two compilers. Clang
needs to change to apply the same bias as GCC does.
vector short test0(vector short a, vector short b) {
return vec_xxpermdi(a, b, 0);
}
vector short test1(vector short a, vector short b) {
return vec_xxpermdi(a, b, 1);
}
vector short test2(vector short a, vector short b) {
return vec_xxpermdi(a, b, 2);
}
vector short test3(vector short a, vector short b) {
return vec_xxpermdi(a, b, 3);
}
--
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/20180717/086206e1/attachment.html>
More information about the llvm-bugs
mailing list