From 490d1b4a834897e927d58d1a8fba93c2a33172df Mon Sep 17 00:00:00 2001 From: Kugan Vivekanandarajah Date: Mon, 14 Oct 2019 23:33:17 +0000 Subject: [PATCH] vfp.md (fma4): Enable DF only when TARGET_VFP_DOUBLE. gcc/ChangeLog: 2019-10-15 Kugan Vivekanandarajah * config/arm/vfp.md (fma4): Enable DF only when TARGET_VFP_DOUBLE. (*fmsub4): Likewise. *fnmsub4): Likewise. (*fnmadd4): Likewise. From-SVN: r276977 --- gcc/ChangeLog | 8 ++++++++ gcc/config/arm/vfp.md | 8 ++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b58f60cc2ab..9957d2cbc74 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2019-10-15 Kugan Vivekanandarajah + + * config/arm/vfp.md (fma4): Enable DF only when + TARGET_VFP_DOUBLE. + (*fmsub4): Likewise. + *fnmsub4): Likewise. + (*fnmadd4): Likewise. + 2019-10-14 Joel Hutton * doc/tree-ssa.texi: Update renamed macro name. diff --git a/gcc/config/arm/vfp.md b/gcc/config/arm/vfp.md index 661919e2357..1979aa6fdb4 100644 --- a/gcc/config/arm/vfp.md +++ b/gcc/config/arm/vfp.md @@ -1321,7 +1321,7 @@ (fma:SDF (match_operand:SDF 1 "register_operand" "") (match_operand:SDF 2 "register_operand" "") (match_operand:SDF 3 "register_operand" "0")))] - "TARGET_32BIT && TARGET_HARD_FLOAT && TARGET_FMA" + "TARGET_32BIT && TARGET_HARD_FLOAT && TARGET_FMA " "vfma%?.\\t%0, %1, %2" [(set_attr "predicable" "yes") (set_attr "type" "ffma")] @@ -1357,7 +1357,7 @@ "")) (match_operand:SDF 2 "register_operand" "") (match_operand:SDF 3 "register_operand" "0")))] - "TARGET_32BIT && TARGET_HARD_FLOAT && TARGET_FMA" + "TARGET_32BIT && TARGET_HARD_FLOAT && TARGET_FMA " "vfms%?.\\t%0, %1, %2" [(set_attr "predicable" "yes") (set_attr "type" "ffma")] @@ -1379,7 +1379,7 @@ (fma:SDF (match_operand:SDF 1 "register_operand" "") (match_operand:SDF 2 "register_operand" "") (neg:SDF (match_operand:SDF 3 "register_operand" "0"))))] - "TARGET_32BIT && TARGET_HARD_FLOAT && TARGET_FMA" + "TARGET_32BIT && TARGET_HARD_FLOAT && TARGET_FMA " "vfnms%?.\\t%0, %1, %2" [(set_attr "predicable" "yes") (set_attr "type" "ffma")] @@ -1402,7 +1402,7 @@ "")) (match_operand:SDF 2 "register_operand" "") (neg:SDF (match_operand:SDF 3 "register_operand" "0"))))] - "TARGET_32BIT && TARGET_HARD_FLOAT && TARGET_FMA" + "TARGET_32BIT && TARGET_HARD_FLOAT && TARGET_FMA " "vfnma%?.\\t%0, %1, %2" [(set_attr "predicable" "yes") (set_attr "type" "ffma")] -- 2.30.2