From: Daniel Jacobowitz Date: Fri, 22 Nov 2002 19:58:06 +0000 (+0000) Subject: sh.md (ashrdi3+1, ashrdi3+2): Predicate on reload_completed. X-Git-Tag: releases/gcc-3.2.2~268 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b9cc80c5a7b7d4da488f1bc4ef87fbb538a016f;p=thirdparty%2Fgcc.git sh.md (ashrdi3+1, ashrdi3+2): Predicate on reload_completed. * config/sh/sh.md (ashrdi3+1, ashrdi3+2): Predicate on reload_completed. From-SVN: r59384 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 212a6b4ef6ca..aec310883ef7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-11-22 Daniel Jacobowitz + + * config/sh/sh.md (ashrdi3+1, ashrdi3+2): Predicate on + reload_completed. + 2002-11-21 Bob Wilson * config/xtensa/xtensa-protos.h (xtensa_copy_incoming_a7): Declare. diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 072a33e66573..847dae5dd6d9 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -2554,7 +2554,7 @@ (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;") @@ -2565,7 +2565,7 @@ (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;")