AArch64: Implement missing _p64 intrinsics for vector permutes
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Wed, 23 Sep 2020 10:07:50 +0000 (11:07 +0100)
committerKyrylo Tkachov <kyrylo.tkachov@arm.com>
Wed, 23 Sep 2020 10:07:50 +0000 (11:07 +0100)
commite8e818399d70c5a5a3d30a54d305c6e2b92e2c66
tree25325f2dd3f55ccb30d518bd82b32e403c7c0976
parentf2868e4bcff2c7b882d01231f039459c00e59d7b
AArch64: Implement missing _p64 intrinsics for vector permutes

This patch implements some missing vector permute intrinsics operating on poly64x2_t types.
They are implemented identically to their uint64x2_t brethren.

Bootstrapped and tested on aarch64-none-linux-gnu.

gcc/
PR target/71233
* config/aarch64/arm_neon.h (vtrn1q_p64, vtrn2q_p64, vuzp1q_p64,
vuzp2q_p64, vzip1q_p64, vzip2q_p64): Define.

gcc/testsuite/
PR target/71233
* gcc.target/aarch64/simd/trn_zip_p64_1.c: New test.
gcc/config/aarch64/arm_neon.h
gcc/testsuite/gcc.target/aarch64/simd/trn_zip_p64_1.c [new file with mode: 0644]