re PR target/21914 (mmix-knuth-mmixware testsuite failure: compile/20030703-1.c)
authorHans-Peter Nilsson <hp@bitrange.com>
Sun, 5 Jun 2005 07:54:50 +0000 (07:54 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Sun, 5 Jun 2005 07:54:50 +0000 (07:54 +0000)
PR target/21914
* config/mmix/mmix.md ("*movdicc_real_foldable")
("*movdfcc_real_foldable", "*bCC_foldable")
("*bCC_inverted_foldable"): Specify DImode for register being
compared.

From-SVN: r100612

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

index df16d2a2c85f4ea520ace5ea032b52fcd040c486..9cad0ce1a49140f58f7de5a9dec57b475575b102 100644 (file)
@@ -1,3 +1,11 @@
+2005-06-05  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       PR target/21914
+       * config/mmix/mmix.md ("*movdicc_real_foldable")
+       ("*movdfcc_real_foldable", "*bCC_foldable")
+       ("*bCC_inverted_foldable"): Specify DImode for register being
+       compared.
+
 2005-06-04  Roger Sayle  <roger@eyesopen.com>
 
        * reg-stack.c (struct block_info_def): Correct grammar typo.
index 75e1446b4abe8298b416b5c8933c5664dd02541d..af1409d7d9ee3adbbe933f048b80a2257e675efd 100644 (file)
@@ -762,7 +762,7 @@ DIVU %1,%1,%2\;GET %0,:rR\;NEGU %2,0,%0\;CSNN %0,$255,%2")
   [(set (match_operand:DI 0 "register_operand" "=r,r,r,r")
        (if_then_else:DI
         (match_operator 2 "mmix_foldable_comparison_operator"
-                        [(match_operand 3 "register_operand" "r,r,r,r")
+                        [(match_operand:DI 3 "register_operand" "r,r,r,r")
                          (const_int 0)])
         (match_operand:DI 1 "mmix_reg_or_8bit_operand" "rI,0 ,rI,GM")
         (match_operand:DI 4 "mmix_reg_or_8bit_operand" "0 ,rI,GM,rI")))]
@@ -811,7 +811,7 @@ DIVU %1,%1,%2\;GET %0,:rR\;NEGU %2,0,%0\;CSNN %0,$255,%2")
     (if_then_else:DF
      (match_operator
       2 "mmix_foldable_comparison_operator"
-      [(match_operand 3 "register_operand"      "r  ,r  ,r  ,r")
+      [(match_operand:DI 3 "register_operand"   "r  ,r  ,r  ,r")
       (const_int 0)])
      (match_operand:DF 1 "mmix_reg_or_0_operand" "rGM,0  ,rGM,GM")
      (match_operand:DF 4 "mmix_reg_or_0_operand" "0  ,rGM,GM ,rGM")))]
@@ -1032,7 +1032,7 @@ DIVU %1,%1,%2\;GET %0,:rR\;NEGU %2,0,%0\;CSNN %0,$255,%2")
   [(set (pc)
        (if_then_else
         (match_operator 1 "mmix_foldable_comparison_operator"
-                        [(match_operand 2 "register_operand" "r")
+                        [(match_operand:DI 2 "register_operand" "r")
                          (const_int 0)])
         (label_ref (match_operand 0 "" ""))
         (pc)))]
@@ -1054,7 +1054,7 @@ DIVU %1,%1,%2\;GET %0,:rR\;NEGU %2,0,%0\;CSNN %0,$255,%2")
   [(set (pc)
        (if_then_else
         (match_operator 1 "mmix_foldable_comparison_operator"
-                        [(match_operand 2 "register_operand" "r")
+                        [(match_operand:DI 2 "register_operand" "r")
                          (const_int 0)])
                      (pc)
                      (label_ref (match_operand 0 "" ""))))]