AArch64: Implement poly-type vadd intrinsics
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Tue, 22 Sep 2020 10:58:36 +0000 (11:58 +0100)
committerKyrylo Tkachov <kyrylo.tkachov@arm.com>
Tue, 22 Sep 2020 10:58:36 +0000 (11:58 +0100)
commitfa9ad35dae03dcb20c4ccb50ba1b351a8ab77970
treef257727dcf112d79cf7a77aece6d779d06b5d0f3
parent4ecf368f4b4223fb2df4f3887429dfbb48852e38
AArch64: Implement poly-type vadd intrinsics

This implements the vadd[p]_p* intrinsics.
In terms of functionality they are aliases of veor operations on the relevant unsigned types.

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

gcc/
PR target/71233
* config/aarch64/arm_neon.h (vadd_p8, vadd_p16, vadd_p64, vaddq_p8,
vaddq_p16, vaddq_p64, vaddq_p128): Define.

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