Fix bug in my last checkin.
authorJan Hubicka <hubicka@gcc.gnu.org>
Mon, 31 Jul 2000 00:06:48 +0000 (00:06 +0000)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 31 Jul 2000 00:06:48 +0000 (00:06 +0000)
From-SVN: r35359

gcc/config/i386/i386.md

index 0c0612489594ad7f1e7c4b7b77e47187022b6828..a267232f97e7745c4d8d1f485d48a256f7a3daab 100644 (file)
        (plus (match_operand 1 "register_operand" "")
               (match_operand 2 "nonmemory_operand" "")))
    (clobber (reg:CC 17))]
-  "reload_completed"
+  "reload_completed
+   && true_regnum (operands[0]) != true_regnum (operands[1])"
   [(const_int 0)]
   "
 {
 (define_split
   [(set (match_operand 0 "register_operand" "")
        (ashift (match_operand 1 "register_operand" "")
-                (match_operand:QI 2 "const_int_operand" "")))
+                (match_operand:QI 2 "const248_operand" "")))
    (clobber (reg:CC 17))]
-  "reload_completed"
+  "reload_completed
+   && true_regnum (operands[0]) != true_regnum (operands[1])"
   [(const_int 0)]
   "
 {