[PATCH AArch64] Add a builtin for rbit(q?)_p8; add intrinsics and tests.
authorAlan Lawrence <alan.lawrence@arm.com>
Fri, 5 Sep 2014 09:58:21 +0000 (09:58 +0000)
committerAlan Lawrence <alalaw01@gcc.gnu.org>
Fri, 5 Sep 2014 09:58:21 +0000 (09:58 +0000)
commitcf465d71a2938e7ee6aa705ed539060a4cb077bf
tree6cd5b612c461e56eb8d93e47add14cf8c94ee5b3
parent08c13199cf5568393fd46481d99cf1729480548a
[PATCH AArch64] Add a builtin for rbit(q?)_p8; add intrinsics and tests.

gcc/:

* config/aarch64/aarch64-simd.md (aarch64_rbit<mode>): New pattern.
* config/aarch64/aarch64-simd-builtins.def (rbit): New builtin.
* config/aarch64/arm_neon.h (vrbit_s8, vrbit_u8, vrbitq_s8, vrbitq_u8):
Replace temporary asm with call to builtin.
(vrbit_p8, vrbitq_p8): New functions.

gcc/testsuite/:

* gcc.target/aarch64/simd/vrbit_1.c: New test.

From-SVN: r214943
gcc/ChangeLog
gcc/config/aarch64/aarch64-simd-builtins.def
gcc/config/aarch64/aarch64-simd.md
gcc/config/aarch64/arm_neon.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/simd/vrbit_1.c [new file with mode: 0644]