]> gcc.gnu.org Git - gcc.git/commit
PR target/97349 AArch64: Incorrect types for some Neon vdupq_n_<...> intrinsics
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Fri, 9 Oct 2020 09:34:15 +0000 (10:34 +0100)
committerKyrylo Tkachov <kyrylo.tkachov@arm.com>
Mon, 12 Oct 2020 16:38:31 +0000 (17:38 +0100)
commitce33401ac31248933a58b8b47c0ca3813b614381
tree3356c738859a53a100238859fdfa7483e85d25d1
parent124b4630636974638dfab057bb96f91bb7ee40eb
PR target/97349 AArch64: Incorrect types for some Neon vdupq_n_<...> intrinsics

This patch fixes the PR by adjusting the input types of the intrinsic
prototypes to the ones mandated by ACLE
Turns out the tests in the testsuite were already using the correct
ones, but implicit conversions hid the bug...

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

gcc/
PR target/97349
* config/aarch64/arm_neon.h (vdupq_n_p8, vdupq_n_p16,
vdupq_n_p64, vdupq_n_s8, vdupq_n_s16, vdupq_n_u8, vdupq_n_u16):
Fix argument type.

gcc/testsuite/
PR target/97349
* gcc.target/aarch64/simd/pr97349.c: New test.

(cherry picked from commit 8a3da2e6060ff0f61dae6aaada716e2c67f3d54f)
gcc/config/aarch64/arm_neon.h
gcc/testsuite/gcc.target/aarch64/simd/pr97349.c [new file with mode: 0644]
This page took 0.065437 seconds and 6 git commands to generate.