From 0b9cc80c5a7b7d4da488f1bc4ef87fbb538a016f Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Fri, 22 Nov 2002 19:58:06 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/sh/sh.md | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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;") -- 2.47.2