diff options
author | Jonathan Wright <jonathan.wright@arm.com> | 2021-10-14 10:39:32 +0100 |
---|---|---|
committer | Jonathan Wright <jonathan.wright@arm.com> | 2021-10-14 13:45:15 +0100 |
commit | 6779e9ba2cb242e51a4257fdc51cc03b870f8570 (patch) | |
tree | 379c1ba87d1a38117bcaa5472617036144f99adb | |
parent | a311163fd81babd6116e2856f4551c3ca13d8914 (diff) | |
download | gcc-6779e9ba2cb242e51a4257fdc51cc03b870f8570.zip gcc-6779e9ba2cb242e51a4257fdc51cc03b870f8570.tar.gz gcc-6779e9ba2cb242e51a4257fdc51cc03b870f8570.tar.bz2 |
aarch64: Fix pointer parameter type in LD1 Neon intrinsics
The pointer parameter to load a vector of signed values should itself
be a signed type. This patch fixes two instances of this unsigned-
signed implicit conversion in arm_neon.h.
gcc/ChangeLog:
2021-10-14 Jonathan Wright <jonathan.wright@arm.com>
* config/aarch64/arm_neon.h (vld1_s8_x3): Use signed type for
pointer parameter.
(vld1_s32_x3): Likewise.
-rw-r--r-- | gcc/config/aarch64/arm_neon.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/aarch64/arm_neon.h b/gcc/config/aarch64/arm_neon.h index 2d5bf34..24068f8 100644 --- a/gcc/config/aarch64/arm_neon.h +++ b/gcc/config/aarch64/arm_neon.h @@ -16198,7 +16198,7 @@ vld1_u8_x3 (const uint8_t *__a) __extension__ extern __inline int8x8x3_t __attribute__ ((__always_inline__, __gnu_inline__, __artificial__)) -vld1_s8_x3 (const uint8_t *__a) +vld1_s8_x3 (const int8_t *__a) { int8x8x3_t __i; __builtin_aarch64_simd_ci __o; @@ -16250,7 +16250,7 @@ vld1_u32_x3 (const uint32_t *__a) __extension__ extern __inline int32x2x3_t __attribute__ ((__always_inline__, __gnu_inline__, __artificial__)) -vld1_s32_x3 (const uint32_t *__a) +vld1_s32_x3 (const int32_t *__a) { int32x2x3_t __i; __builtin_aarch64_simd_ci __o; |