Commit dcac138d by Jim Wilson

(truncdfsf2): Round to single instead of doing nothing.

From-SVN: r5247
parent e26a82e4
...@@ -1632,13 +1632,7 @@ ...@@ -1632,13 +1632,7 @@
[(set (match_operand:SF 0 "gpc_reg_operand" "=f") [(set (match_operand:SF 0 "gpc_reg_operand" "=f")
(float_truncate:SF (match_operand:DF 1 "gpc_reg_operand" "f")))] (float_truncate:SF (match_operand:DF 1 "gpc_reg_operand" "f")))]
"" ""
"* "frsp %0,%1"
{
if (REGNO (operands[0]) == REGNO (operands[1]))
return \"\";
else
return \"fmr %0,%1\";
}"
[(set_attr "type" "fp")]) [(set_attr "type" "fp")])
(define_insn "negsf2" (define_insn "negsf2"
......
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