Commit be2fbfb6 by Richard Henderson Committed by Richard Henderson

frv.md (fmasf4, fmssf4): Rename from *muladdsf4 and *mulsubsf4 respectively.

        * config/frv/frv.md (fmasf4, fmssf4): Rename from *muladdsf4
        and *mulsubsf4 respectively.  Use fma rtx_code.

From-SVN: r166789
parent 5b634ee0
2010-11-15 Richard Henderson <rth@redhat.com>
* config/frv/frv.md (fmasf4, fmssf4): Rename from *muladdsf4
and *mulsubsf4 respectively. Use fma rtx_code.
2010-11-15 Joseph Myers <joseph@codesourcery.com> 2010-11-15 Joseph Myers <joseph@codesourcery.com>
* gcc.c: Include "vec.h". * gcc.c: Include "vec.h".
...@@ -3274,21 +3274,21 @@ ...@@ -3274,21 +3274,21 @@
(set_attr "type" "fsmul")]) (set_attr "type" "fsmul")])
;; Multiplication with addition/subtraction ;; Multiplication with addition/subtraction
(define_insn "*muladdsf4" (define_insn "fmasf4"
[(set (match_operand:SF 0 "fpr_operand" "=f") [(set (match_operand:SF 0 "fpr_operand" "=f")
(plus:SF (mult:SF (match_operand:SF 1 "fpr_operand" "%f") (fma:SF (match_operand:SF 1 "fpr_operand" "f")
(match_operand:SF 2 "fpr_operand" "f")) (match_operand:SF 2 "fpr_operand" "f")
(match_operand:SF 3 "fpr_operand" "0")))] (match_operand:SF 3 "fpr_operand" "0")))]
"TARGET_HARD_FLOAT && TARGET_MULADD" "TARGET_HARD_FLOAT && TARGET_MULADD"
"fmadds %1,%2,%0" "fmadds %1,%2,%0"
[(set_attr "length" "4") [(set_attr "length" "4")
(set_attr "type" "fsmadd")]) (set_attr "type" "fsmadd")])
(define_insn "*mulsubsf4" (define_insn "fmssf4"
[(set (match_operand:SF 0 "fpr_operand" "=f") [(set (match_operand:SF 0 "fpr_operand" "=f")
(minus:SF (mult:SF (match_operand:SF 1 "fpr_operand" "%f") (fma:SF (match_operand:SF 1 "fpr_operand" "f")
(match_operand:SF 2 "fpr_operand" "f")) (match_operand:SF 2 "fpr_operand" "f")
(match_operand:SF 3 "fpr_operand" "0")))] (neg:SF (match_operand:SF 3 "fpr_operand" "0"))))]
"TARGET_HARD_FLOAT && TARGET_MULADD" "TARGET_HARD_FLOAT && TARGET_MULADD"
"fmsubs %1,%2,%0" "fmsubs %1,%2,%0"
[(set_attr "length" "4") [(set_attr "length" "4")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment