[POWER] vec_bperm missing documented signatures #50276
Labels
backend:PowerPC
bugzilla
Issues migrated from bugzilla
clang:headers
Headers provided by Clang, e.g. for intrinsics
Extended Description
According to the documentation for XL C/C++ 16.1.1 (https://www.ibm.com/docs/en/SSXVZZ_16.1.1/com.ibm.compilers.linux.doc/compiler.pdf), vec_bperm should have two signatures. On POWER8:
vector unsigned char
vec_bperm(vector unsigned char a, vector unsigned char b);
And on POWER9 there should also be:
vector unsigned long
vec_bperm(vector unsigned long long a, vector unsigned char b);
Neither of these is present in clang; instead, there is a single signature (see
llvm-project/clang/lib/Headers/altivec.h
Lines 17356 to 17363 in 5d933c0
vector unsigned long long
vec_bperm(vector unsigned __int128 a, vector unsigned char b);
The text was updated successfully, but these errors were encountered: