[PATCH] D25906: [PPC] Implement vector reverse elements builtins (vec_reve)

Tony Jiang via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 24 07:45:43 PDT 2016


jtony created this revision.
jtony added reviewers: kbarton, amehsan, nemanjai.
jtony added a subscriber: llvm-commits.

This patch introduces the following builtins:

vector bool char vec_reve (vector bool char);
vector signed char vec_reve (vector signed char);
vector unsigned char vec_reve (vector unsigned char);
vector bool int vec_reve (vector bool int);
vector signed int vec_reve (vector signed int);
vector unsigned int vec_reve (vector unsigned int);
vector bool long long vec_reve (vector bool long long);
vector signed long long vec_reve (vector signed long long);
vector unsigned long long vec_reve (vector unsigned long long);
vector bool short vec_reve (vector bool short);
vector signed short vec_reve (vector signed short);
vector unsigned short vec_reve (vector unsigned short);
vector double vec_reve (vector double);
vector float vec_reve (vector float);


https://reviews.llvm.org/D25906

Files:
  lib/Headers/altivec.h
  test/CodeGen/builtins-ppc-altivec.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25906.75576.patch
Type: text/x-patch
Size: 8183 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161024/8ec1d299/attachment.bin>


More information about the llvm-commits mailing list