]> gcc.gnu.org Git - gcc.git/commitdiff
(truncdfsf2): Round to single instead of doing nothing.
authorJim Wilson <wilson@gcc.gnu.org>
Wed, 1 Sep 1993 23:57:46 +0000 (16:57 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Wed, 1 Sep 1993 23:57:46 +0000 (16:57 -0700)
From-SVN: r5247

gcc/config/rs6000/rs6000.md

index d60358e681a242f6f704deffc2868e63a3f6c4ad..e8a4e0e59db053d1d86c84adae4100dcfc702e8a 100644 (file)
   [(set (match_operand:SF 0 "gpc_reg_operand" "=f")
        (float_truncate:SF (match_operand:DF 1 "gpc_reg_operand" "f")))]
   ""
-  "*
-{
-  if (REGNO (operands[0]) == REGNO (operands[1]))
-    return \"\";
-  else
-    return \"fmr %0,%1\";
-}"
+  "frsp %0,%1"
   [(set_attr "type" "fp")])
 
 (define_insn "negsf2"
This page took 0.0691 seconds and 5 git commands to generate.