[PATCH] D26479: [PowerPC] Implement remaining permute builtins in altivec.h - Clang portion
Nemanja Ivanovic via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 9 15:14:32 PST 2016
nemanjai created this revision.
nemanjai added reviewers: hfinkel, kbarton, syzaara, lei, jtony, sfertile, amehsan.
nemanjai added subscribers: cfe-commits, echristo.
nemanjai set the repository for this revision to rL LLVM.
This adds the following signatures into altivec.h:
vector bool long long vec_mergee (vector bool long long, vector bool long long);
vector signed long long vec_mergee (vector signed long long, vector signed long long);
vector unsigned long long vec_mergee (vector unsigned long long, vector unsigned long long);
vector float vec_mergee (vector float, vector float);
vector double vec_mergee (vector double, vector double);
vector bool long long vec_mergeo (vector bool long long, vector bool long long);
vector signed long long vec_mergeo (vector signed long long, vector signed long long);
vector unsigned long long vec_mergeo (vector unsigned long long, vector unsigned long long);
vector double vec_mergeo (vector double, vector double);
vector float vec_mergeo (vector float, vector float);
vector unsigned short vec_pack_to_short_fp32 (vector float, vector float);
vector bool char vec_permxor (vector bool char, vector bool char, vector bool char);
vector unsigned char vec_permxor (vector signed char, vector signed char, vector signed char);
vector unsigned char vec_permxor (vector unsigned char, vector unsigned char, vector unsigned char);
vector unsigned int vec_rlmi (vector unsigned int, vector unsigned int, vector unsigned int);
vector unsigned long long vec_rlmi (vector unsigned long long, vector unsigned long long, vector unsigned long long);
vector unsigned int vec_rlnm (vector unsigned int, vector unsigned int, vector unsigned int);
vector double vec_unpackh (vector float);
vector double vec_unpackl (vector float);
vector float vec_pack (vector double, vector double);
Repository:
rL LLVM
https://reviews.llvm.org/D26479
Files:
include/clang/Basic/BuiltinsPPC.def
lib/Headers/altivec.h
test/CodeGen/builtins-ppc-crypto.c
test/CodeGen/builtins-ppc-p8vector.c
test/CodeGen/builtins-ppc-p9vector.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26479.77404.patch
Type: text/x-patch
Size: 12156 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161109/ffeacdcd/attachment.bin>
More information about the cfe-commits
mailing list