Commit 8d2f4374 by Jim Wilson

(muldf+1, muldf+2): Add patterns for fsmuld and fdmulq.

From-SVN: r3237
parent 5b485d2c
...@@ -2361,6 +2361,22 @@ ...@@ -2361,6 +2361,22 @@
"fmuls %1,%2,%0" "fmuls %1,%2,%0"
[(set_attr "type" "fpmul")]) [(set_attr "type" "fpmul")])
(define_insn ""
[(set (match_operand:DF 0 "register_operand" "=f")
(mult:DF (float_extend:DF (match_operand:SF 1 "register_operand" "f"))
(float_extend:DF (match_operand:SF 2 "register_operand" "f"))))]
"TARGET_V8 && TARGET_FPU"
"fsmuld %1,%2,%0"
[(set_attr "type" "fpmul")])
(define_insn ""
[(set (match_operand:TF 0 "register_operand" "=f")
(mult:TF (float_extend:TF (match_operand:DF 1 "register_operand" "f"))
(float_extend:TF (match_operand:DF 2 "register_operand" "f"))))]
"TARGET_V8 && TARGET_FPU"
"fdmulq %1,%2,%0"
[(set_attr "type" "fpmul")])
(define_insn "divtf3" (define_insn "divtf3"
[(set (match_operand:TF 0 "register_operand" "=f") [(set (match_operand:TF 0 "register_operand" "=f")
(div:TF (match_operand:TF 1 "register_operand" "f") (div:TF (match_operand:TF 1 "register_operand" "f")
......
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