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
This commit is contained in:
Daniel Jacobowitz 2002-11-22 19:58:06 +00:00 committed by Daniel Jacobowitz
parent e1deeb725b
commit 0b9cc80c5a
2 changed files with 7 additions and 2 deletions

View 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.

View File

@ -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;")