public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-4396] aarch64: Fix pointer parameter type in LD1 Neon intrinsics
@ 2021-10-14 12:46 Jonathan Wright
  0 siblings, 0 replies; only message in thread
From: Jonathan Wright @ 2021-10-14 12:46 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:6779e9ba2cb242e51a4257fdc51cc03b870f8570

commit r12-4396-g6779e9ba2cb242e51a4257fdc51cc03b870f8570
Author: Jonathan Wright <jonathan.wright@arm.com>
Date:   Thu Oct 14 10:39:32 2021 +0100

    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.

Diff:
---
 gcc/config/aarch64/arm_neon.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/config/aarch64/arm_neon.h b/gcc/config/aarch64/arm_neon.h
index 2d5bf34b698..24068f8d7da 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;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-14 12:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-14 12:46 [gcc r12-4396] aarch64: Fix pointer parameter type in LD1 Neon intrinsics Jonathan Wright

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).