From a7fef189d8bf5376fdadeda47d4a02ca1ae8298f Mon Sep 17 00:00:00 2001 From: Steve Ellcey Date: Fri, 17 Nov 2017 22:55:38 +0000 Subject: [PATCH] aarch64-simd.md (fnma4): Move neg operator to canonical location. 2017-11-17 Steve Ellcey * config/aarch64/aarch64-simd.md (fnma4): Move neg operator to canonical location. From-SVN: r254905 --- gcc/ChangeLog | 5 +++++ gcc/config/aarch64/aarch64-simd.md | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ad478a3..76029b0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2017-11-17 Steve Ellcey + * config/aarch64/aarch64-simd.md (fnma4): Move neg operator + to canonical location. + +2017-11-17 Steve Ellcey + PR target/81356 * config/aarch64/aarch64.c (aarch64_use_by_pieces_infrastructure_p): Remove. diff --git a/gcc/config/aarch64/aarch64-simd.md b/gcc/config/aarch64/aarch64-simd.md index 9e7e557..cddd935 100644 --- a/gcc/config/aarch64/aarch64-simd.md +++ b/gcc/config/aarch64/aarch64-simd.md @@ -1851,9 +1851,8 @@ (define_insn "fnma4" [(set (match_operand:VHSDF 0 "register_operand" "=w") (fma:VHSDF - (match_operand:VHSDF 1 "register_operand" "w") - (neg:VHSDF - (match_operand:VHSDF 2 "register_operand" "w")) + (neg:VHSDF (match_operand:VHSDF 1 "register_operand" "w")) + (match_operand:VHSDF 2 "register_operand" "w") (match_operand:VHSDF 3 "register_operand" "0")))] "TARGET_SIMD" "fmls\\t%0., %1., %2." -- 2.7.4