]> git.ipfire.org Git - thirdparty/gcc.git/commit
arm: vld1q_types_x2 ACLE intrinsics
authorEzra Sitorus <ezra.sitorus@arm.com>
Thu, 7 Dec 2023 15:21:54 +0000 (15:21 +0000)
committerRichard Earnshaw <rearnsha@arm.com>
Thu, 7 Dec 2023 17:13:36 +0000 (17:13 +0000)
commita1a0cdf21bb6a076e98658d815645d8ad1193840
tree34dce4108a6badbe5d31dd82a96fe51118f0aca3
parentcd3c1cfde73ac946be218eaa5d1fdf4e0cb2d61b
arm: vld1q_types_x2 ACLE intrinsics

This patch is part of a series of patches implementing the _xN
variants of the vld1q intrinsic for the arm port. This patch adds the
_x2 variants of the vld1q intrinsic.

ACLE documents:
https://developer.arm.com/documentation/ihi0053/latest/

ISA documents:
https://developer.arm.com/documentation/ddi0487/latest/

gcc/ChangeLog:
* config/arm/arm_neon.h
(vld1q_u8_x2, vld1q_u16_x2, vld1q_u32_x2, vld1q_u64_x2): New.
(vld1q_s8_x2, vld1q_s16_x2, vld1q_s32_x2, vld1q_s64_x2): New.
(vld1q_f16_x2, vld1q_f32_x2): New.
(vld1q_p8_x2, vld1q_p16_x2, vld1q_p64_x2): New.
(vld1q_bf16_x2): New.
* config/arm/arm_neon_builtins.def (vld1_x2): New entries.
* config/arm/neon.md (vld1_x2<mode>): New.

gcc/testsuite/ChangeLog:
* gcc.target/arm/simd/vld1q_base_xN_1.c: Add new test.
* gcc.target/arm/simd/vld1q_bf16_xN_1.c: Add new test.
* gcc.target/arm/simd/vld1q_fp16_xN_1.c: Add new test.
* gcc.target/arm/simd/vld1q_p64_xN_1.c: Add new test.
gcc/config/arm/arm_neon.h
gcc/config/arm/arm_neon_builtins.def
gcc/config/arm/neon.md
gcc/testsuite/gcc.target/arm/simd/vld1q_base_xN_1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/simd/vld1q_bf16_xN_1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/simd/vld1q_fp16_xN_1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/simd/vld1q_p64_xN_1.c [new file with mode: 0644]