From: ktkachov Date: Thu, 17 Jul 2014 10:35:26 +0000 (+0000) Subject: [AArch64] Fix argument types for some high_lane* intrinsics implemented in assembly. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f70f57eb5b3ccd95974d71a5bf1f1dd4c67dd709;p=thirdparty%2Fgcc.git [AArch64] Fix argument types for some high_lane* intrinsics implemented in assembly. * config/aarch64/arm_neon.h (vmlal_high_lane_s16): Fix type. (vmlal_high_lane_s32): Likewise. (vmlal_high_lane_u16): Likewise. (vmlal_high_lane_u32): Likewise. (vmlsl_high_lane_s16): Likewise. (vmlsl_high_lane_s32): Likewise. (vmlsl_high_lane_u16): Likewise. (vmlsl_high_lane_u32): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212752 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b56200873cb7..eede13a920a8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,14 @@ +2014-07-17 Kyrylo Tkachov + + * config/aarch64/arm_neon.h (vmlal_high_lane_s16): Fix type. + (vmlal_high_lane_s32): Likewise. + (vmlal_high_lane_u16): Likewise. + (vmlal_high_lane_u32): Likewise. + (vmlsl_high_lane_s16): Likewise. + (vmlsl_high_lane_s32): Likewise. + (vmlsl_high_lane_u16): Likewise. + (vmlsl_high_lane_u32): Likewise. + 2014-07-17 Terry Guo * config/arm/types.md (alu_reg): Replaced by alu_sreg and alu_dsp_reg. diff --git a/gcc/config/aarch64/arm_neon.h b/gcc/config/aarch64/arm_neon.h index 83ac5e96d422..a009692e9806 100644 --- a/gcc/config/aarch64/arm_neon.h +++ b/gcc/config/aarch64/arm_neon.h @@ -6729,7 +6729,7 @@ vmla_u32 (uint32x2_t a, uint32x2_t b, uint32x2_t c) #define vmlal_high_lane_s16(a, b, c, d) \ __extension__ \ ({ \ - int16x8_t c_ = (c); \ + int16x4_t c_ = (c); \ int16x8_t b_ = (b); \ int32x4_t a_ = (a); \ int32x4_t result; \ @@ -6743,7 +6743,7 @@ vmla_u32 (uint32x2_t a, uint32x2_t b, uint32x2_t c) #define vmlal_high_lane_s32(a, b, c, d) \ __extension__ \ ({ \ - int32x4_t c_ = (c); \ + int32x2_t c_ = (c); \ int32x4_t b_ = (b); \ int64x2_t a_ = (a); \ int64x2_t result; \ @@ -6757,7 +6757,7 @@ vmla_u32 (uint32x2_t a, uint32x2_t b, uint32x2_t c) #define vmlal_high_lane_u16(a, b, c, d) \ __extension__ \ ({ \ - uint16x8_t c_ = (c); \ + uint16x4_t c_ = (c); \ uint16x8_t b_ = (b); \ uint32x4_t a_ = (a); \ uint32x4_t result; \ @@ -6771,7 +6771,7 @@ vmla_u32 (uint32x2_t a, uint32x2_t b, uint32x2_t c) #define vmlal_high_lane_u32(a, b, c, d) \ __extension__ \ ({ \ - uint32x4_t c_ = (c); \ + uint32x2_t c_ = (c); \ uint32x4_t b_ = (b); \ uint64x2_t a_ = (a); \ uint64x2_t result; \ @@ -7417,7 +7417,7 @@ vmls_u32 (uint32x2_t a, uint32x2_t b, uint32x2_t c) #define vmlsl_high_lane_s16(a, b, c, d) \ __extension__ \ ({ \ - int16x8_t c_ = (c); \ + int16x4_t c_ = (c); \ int16x8_t b_ = (b); \ int32x4_t a_ = (a); \ int32x4_t result; \ @@ -7431,7 +7431,7 @@ vmls_u32 (uint32x2_t a, uint32x2_t b, uint32x2_t c) #define vmlsl_high_lane_s32(a, b, c, d) \ __extension__ \ ({ \ - int32x4_t c_ = (c); \ + int32x2_t c_ = (c); \ int32x4_t b_ = (b); \ int64x2_t a_ = (a); \ int64x2_t result; \ @@ -7445,7 +7445,7 @@ vmls_u32 (uint32x2_t a, uint32x2_t b, uint32x2_t c) #define vmlsl_high_lane_u16(a, b, c, d) \ __extension__ \ ({ \ - uint16x8_t c_ = (c); \ + uint16x4_t c_ = (c); \ uint16x8_t b_ = (b); \ uint32x4_t a_ = (a); \ uint32x4_t result; \ @@ -7459,7 +7459,7 @@ vmls_u32 (uint32x2_t a, uint32x2_t b, uint32x2_t c) #define vmlsl_high_lane_u32(a, b, c, d) \ __extension__ \ ({ \ - uint32x4_t c_ = (c); \ + uint32x2_t c_ = (c); \ uint32x4_t b_ = (b); \ uint64x2_t a_ = (a); \ uint64x2_t result; \