From: Jim Wilson Date: Wed, 1 Sep 1993 23:57:46 +0000 (-0700) Subject: (truncdfsf2): Round to single instead of doing nothing. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dcac138d8ef9314f109dae212521edac22523cb6;p=gcc.git (truncdfsf2): Round to single instead of doing nothing. From-SVN: r5247 --- diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index d60358e681a..e8a4e0e59db 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -1632,13 +1632,7 @@ [(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"