https://bugs.llvm.org/show_bug.cgi?id=43337
Bug ID: 43337
Summary: <altivec.h> is missing vec_sel(vector [un]signed long
long, ...)
Product: clang
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Headers
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
The following overloads of vec_sel are missing from <altivec.h>:
vector signed long long vec_sel(vector signed long long,
vector signed long long,
vector bool long long);
vector signed long long vec_sel(vector signed long long,
vector signed long long,
vector unsigned long long);
vector unsigned long long vec_sel(vector unsigned long long,
vector unsigned long long,
vector bool long long);
vector unsigned long long vec_sel(vector unsigned long long,
vector unsigned long long,
vector unsigned long long);
Worse, the PPC wrapper <emmintrin.h> relies on one of these in the
implementation of _mm_sll_epi64.
We currently "get away with" this due to the broken default of
-flax-vector-conversions, but builds using <emmintrin.h> under Power8 fail with
-fno-lax-vector-conversions due to this (and other bugs in our intrinsics
headers).
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs