]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
arm: Fix __arm_vctp16q return type in arm_mve.h
authorChristophe Lyon <christophe.lyon@foss.st.com>
Mon, 23 Aug 2021 09:47:14 +0000 (09:47 +0000)
committerChristophe Lyon <christophe.lyon@foss.st.com>
Mon, 23 Aug 2021 11:40:30 +0000 (11:40 +0000)
__arm_vctp16q actually returns mve_pred16_t rather than int64_t.

2021-08-23  Christophe Lyon  <christophe.lyon@foss.st.com>

gcc/
* config/arm/arm_mve.h: Fix __arm_vctp16q return type.

(cherry picked from commit ac3bcc813f26e6dc4c3b037d9d5c5a84f7f62cf4)

gcc/config/arm/arm_mve.h

index 182b2aac6da5d4f0046aa628b0d813ff8e43839a..d28e3c8cb2ed4815ab37222ce7c06b1ec29e0b14 100644 (file)
@@ -3524,7 +3524,7 @@ __arm_vaddlvq_u32 (uint32x4_t __a)
   return __builtin_mve_vaddlvq_uv4si (__a);
 }
 
-__extension__ extern __inline int64_t
+__extension__ extern __inline mve_pred16_t
 __attribute__ ((__always_inline__, __gnu_inline__, __artificial__))
 __arm_vctp16q (uint32_t __a)
 {