From: Ramana Radhakrishnan Date: Wed, 5 Jul 2017 12:58:46 +0000 (+0000) Subject: [Patch ARM] Remove %? string from some Advanced SIMD patterns. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e60226ffa0cc0eff39141a4954a506484c17fda4;p=gcc.git [Patch ARM] Remove %? string from some Advanced SIMD patterns. Advanced SIMD patterns are not predicable, thus they should not have %? in their output templates. Found when auditing the code for something else. This has been in my tree for sometime , bootstrapped and regression tested on armhf for armv7ve+simd as the architectural base. Applied to trunk Ramana Radhakrishnan * config/arm/neon.md (fma4): Remove %?. (fma4_intrinsic): Likewise. (*fmsub4): Likewise. (*fmsub4_intrinsic): Likewise. regards Ramana From-SVN: r249999 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4ea249ef0b1..c566a3a6cf9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2017-07-05 Ramana Radhakrishnan + + * config/arm/neon.md (fma4): Remove %?. + (fma4_intrinsic): Likewise. + (*fmsub4): Likewise. + (*fmsub4_intrinsic): Likewise. + 2017-07-05 Georg-Johann Lay PR target/81305 diff --git a/gcc/config/arm/neon.md b/gcc/config/arm/neon.md index 0ce3fe415e6..33b25ff3c73 100644 --- a/gcc/config/arm/neon.md +++ b/gcc/config/arm/neon.md @@ -678,7 +678,7 @@ (match_operand:VCVTF 2 "register_operand" "w") (match_operand:VCVTF 3 "register_operand" "0")))] "TARGET_NEON && TARGET_FMA && flag_unsafe_math_optimizations" - "vfma%?.\\t%0, %1, %2" + "vfma.\\t%0, %1, %2" [(set_attr "type" "neon_fp_mla_s")] ) @@ -688,7 +688,7 @@ (match_operand:VCVTF 2 "register_operand" "w") (match_operand:VCVTF 3 "register_operand" "0")))] "TARGET_NEON && TARGET_FMA" - "vfma%?.\\t%0, %1, %2" + "vfma.\\t%0, %1, %2" [(set_attr "type" "neon_fp_mla_s")] ) @@ -720,7 +720,7 @@ (match_operand:VCVTF 2 "register_operand" "w") (match_operand:VCVTF 3 "register_operand" "0")))] "TARGET_NEON && TARGET_FMA && flag_unsafe_math_optimizations" - "vfms%?.\\t%0, %1, %2" + "vfms.\\t%0, %1, %2" [(set_attr "type" "neon_fp_mla_s")] ) @@ -731,7 +731,7 @@ (match_operand:VCVTF 2 "register_operand" "w") (match_operand:VCVTF 3 "register_operand" "0")))] "TARGET_NEON && TARGET_FMA" - "vfms%?.\\t%0, %1, %2" + "vfms.\\t%0, %1, %2" [(set_attr "type" "neon_fp_mla_s")] ) @@ -752,7 +752,7 @@ "s_register_operand" "w")] NEON_VRINT))] "TARGET_NEON && TARGET_FPU_ARMV8" - "vrint%?.f32\\t%0, %1" + "vrint.f32\\t%0, %1" [(set_attr "type" "neon_fp_round_")] )