Re: [PATCH AArch64] Add a builtin for rbit(q?)_p8; add intrinsics and tests.

2014-09-02 Thread Marcus Shawcroft
On 19 August 2014 18:02, Alan Lawrence wrote: > gcc/ChangeLog: > > * config/aarch64/aarch64-simd.md (aarch64_rbit): New pattern. > * config/aarch64/aarch64-simd-builtins.def (rbit): New builtin. > > * config/aarch64/arm_neon.h (vrbit_s8, vrbit_u8, vrbitq_s8, > vrbitq_u8):

[PATCH AArch64] Add a builtin for rbit(q?)_p8; add intrinsics and tests.

2014-08-19 Thread Alan Lawrence
This patch adds the missing vrbit_p8 and vrbitq_p8 intrinsics to arm_neon.h, and implements all the vrbit(q?)_[psu]8 intrinsics using a new builtin, rather than the previous temporary asm. Also adds a testcase checking (a) execution results and (b) that we output rbit vXX.8b,vYY.8b or correspond