mmix.md ("fixuns_truncdfdi2"): Replace unsigned_fix, invalid for floating point mode...
authorHans-Peter Nilsson <hp@bitrange.com>
Sat, 26 Oct 2002 02:27:17 +0000 (02:27 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Sat, 26 Oct 2002 02:27:17 +0000 (02:27 +0000)
* config/mmix/mmix.md ("fixuns_truncdfdi2"): Replace unsigned_fix,
invalid for floating point mode result, with fix.

From-SVN: r58552

gcc/ChangeLog
gcc/config/mmix/mmix.md

index ee970337303fa0058a0171b872b61122e6c2a722..fd7466dbc31285b05fb210e6d2c7325485464656 100644 (file)
@@ -1,3 +1,8 @@
+2002-10-26  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * config/mmix/mmix.md ("fixuns_truncdfdi2"): Replace unsigned_fix,
+       invalid for floating point mode result, with fix.
+
 2002-10-25  Mike Stump  <mrs@apple.com>
 
        Fixes gcc.dg/warn-1.c.
index 3f4435ca1f7b3d50f9cd6645a205783f8e671a10..dc7148f39d3b6743a5da3e514f840c70b3bf4eeb 100644 (file)
@@ -583,7 +583,7 @@ DIVU %1,%1,%2\;GET %0,:rR\;NEGU %2,0,%0\;CSNN %0,$255,%2")
 (define_insn "fixuns_truncdfdi2"
   [(set (match_operand:DI 0 "register_operand" "=r")
        (unsigned_fix:DI
-        (unsigned_fix:DF (match_operand:DF 1 "register_operand" "r"))))]
+        (fix:DF (match_operand:DF 1 "register_operand" "r"))))]
   ""
   ;; ROUND_OFF
   "FIXU %0,1,%1")