OSDN Git Service

PR target/21914
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 5 Jun 2005 07:54:50 +0000 (07:54 +0000)
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 5 Jun 2005 07:54:50 +0000 (07:54 +0000)
* config/mmix/mmix.md ("*movdicc_real_foldable")
("*movdfcc_real_foldable", "*bCC_foldable")
("*bCC_inverted_foldable"): Specify DImode for register being
compared.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100612 138bc75d-0d04-0410-961f-82ee72b054a4

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

index df16d2a..9cad0ce 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 75e1446..af1409d 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 "" ""))))]