]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
sh.md (ashrdi3+1, ashrdi3+2): Predicate on reload_completed.
authorDaniel Jacobowitz <drow@mvista.com>
Fri, 22 Nov 2002 19:58:06 +0000 (19:58 +0000)
committerDaniel Jacobowitz <drow@gcc.gnu.org>
Fri, 22 Nov 2002 19:58:06 +0000 (19:58 +0000)
        * config/sh/sh.md (ashrdi3+1, ashrdi3+2): Predicate on
        reload_completed.

From-SVN: r59384

gcc/ChangeLog
gcc/config/sh/sh.md

index 212a6b4ef6ca69f0f8e902d5bb9c37e75cdce466..aec310883ef76c39cecee60d96ece4773e55722e 100644 (file)
@@ -1,3 +1,8 @@
+2002-11-22  Daniel Jacobowitz  <drow@mvista.com>
+
+       * config/sh/sh.md (ashrdi3+1, ashrdi3+2): Predicate on
+       reload_completed.
+
 2002-11-21  Bob Wilson  <bob.wilson@acm.org>
 
        * config/xtensa/xtensa-protos.h (xtensa_copy_incoming_a7): Declare.
index 072a33e66573ad45d9e967e3571bf21b1aa4e624..847dae5dd6d94f82c628b42b516164b30216679a 100644 (file)
        (and:SI (ashift:SI (match_operand:SI 1 "register_operand" "")
                           (match_operand:SI 2 "const_int_operand" "n"))
                (match_operand:SI 3 "const_int_operand" "n")))]
-  "TARGET_SH1 && (unsigned)INTVAL (operands[2]) < 32"
+  "TARGET_SH1 && reload_completed && (unsigned)INTVAL (operands[2]) < 32"
   [(use (reg:SI R0_REG))]
   "if (gen_shl_and (operands[0], operands[2], operands[3], operands[1])) FAIL;
    DONE;")
                           (match_operand:SI 2 "const_int_operand" "n"))
                (match_operand:SI 3 "const_int_operand" "n")))
    (clobber (reg:SI T_REG))]
-  "TARGET_SH1 && (unsigned)INTVAL (operands[2]) < 32"
+  "TARGET_SH1 && reload_completed && (unsigned)INTVAL (operands[2]) < 32"
   [(use (reg:SI R0_REG))]
   "if (gen_shl_and (operands[0], operands[2], operands[3], operands[1])) FAIL;
    DONE;")