From 8d2f437448007e2a41b957590a1468e0246b58d5 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Thu, 14 Jan 1993 11:23:09 -0800 Subject: [PATCH] (muldf+1, muldf+2): Add patterns for fsmuld and fdmulq. From-SVN: r3237 --- gcc/config/sparc/sparc.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gcc/config/sparc/sparc.md b/gcc/config/sparc/sparc.md index 9b2ea3ec938..92714ab30a1 100644 --- a/gcc/config/sparc/sparc.md +++ b/gcc/config/sparc/sparc.md @@ -2361,6 +2361,22 @@ "fmuls %1,%2,%0" [(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" [(set (match_operand:TF 0 "register_operand" "=f") (div:TF (match_operand:TF 1 "register_operand" "f") -- 2.30.2