]> gcc.gnu.org Git - gcc.git/commitdiff
mmix.md ("truncdfsf2"): Correct operator is float_truncate, not fix.
authorHans-Peter Nilsson <hp@bitrange.com>
Sun, 17 Mar 2002 13:07:29 +0000 (13:07 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Sun, 17 Mar 2002 13:07:29 +0000 (13:07 +0000)
* config/mmix/mmix.md ("truncdfsf2"): Correct operator is
float_truncate, not fix.
("*truncdfsf2_real"): Ditto.
("*nonlocal_goto_receiver_expanded"): Fix output template formatting.

From-SVN: r50913

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

index 7e37139938582af779255a842841843480122552..82285b7f5773955b50d92fd7e4a03b1903757c12 100644 (file)
@@ -1,5 +1,10 @@
 2002-03-17  Hans-Peter Nilsson  <hp@bitrange.com>
 
+       * config/mmix/mmix.md ("truncdfsf2"): Correct operator is
+       float_truncate, not fix.
+       ("*truncdfsf2_real"): Ditto.
+       ("*nonlocal_goto_receiver_expanded"): Fix output template formatting.
+
        * config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define.
 
 2002-03-16  Alexandre Oliva  <aoliva@redhat.com>
index da555ff2d88e9b537feb7159991766cf1c5f0ca7..93dd3b084f26a65f58852d1e85b4cbf73410d9f8 100644 (file)
@@ -582,7 +582,7 @@ DIVU %1,%1,%2\;GET %0,:rR\;NEGU %2,0,%0\;CSNN %0,$255,%2")
 ;; FIXME: Perhaps with SECONDARY_MEMORY_NEEDED?
 (define_expand "truncdfsf2"
   [(set (match_operand:SF 0 "memory_operand" "")
-       (fix:SF (match_operand:DF 1 "register_operand" "")))]
+       (float_truncate:SF (match_operand:DF 1 "register_operand" "")))]
   ""
   "
 {
@@ -610,7 +610,7 @@ DIVU %1,%1,%2\;GET %0,:rR\;NEGU %2,0,%0\;CSNN %0,$255,%2")
 
 (define_insn "*truncdfsf2_real"
   [(set (match_operand:SF 0 "memory_operand" "=m")
-       (fix:SF (match_operand:DF 1 "register_operand" "r")))]
+       (float_truncate:SF (match_operand:DF 1 "register_operand" "r")))]
   ""
   "STSF %1,%0")
 
@@ -1129,7 +1129,7 @@ DIVU %1,%1,%2\;GET %0,:rR\;NEGU %2,0,%0\;CSNN %0,$255,%2")
    (clobber (reg:DI MMIX_rJ_REGNUM))]
   ""
   "GETA $255,0f\;PUT rJ,$255\;LDOU $255,%a0\n\
-0: GET %1,rO\;CMPU %1,%1,$255\;BNP %1,1f\;POP 0,0\n1:")
+0:\;GET %1,rO\;CMPU %1,%1,$255\;BNP %1,1f\;POP 0,0\n1:")
 \f
 (define_insn "*Naddu"
   [(set (match_operand:DI 0 "register_operand" "=r")
This page took 0.074691 seconds and 5 git commands to generate.