diff options
| author | kkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-04-20 01:54:20 +0000 |
|---|---|---|
| committer | kkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-04-20 01:54:20 +0000 |
| commit | f76542c72dfdfaa542dadfa9f80ecc08f1d7b70c (patch) | |
| tree | dcfd38ae9e8cbd39e3c35e6365b85ee14b40f8a4 | |
| parent | f6cf83a8650cd8be625333ccc98792f0640b8b35 (diff) | |
| download | ppe42-gcc-f76542c72dfdfaa542dadfa9f80ecc08f1d7b70c.tar.gz ppe42-gcc-f76542c72dfdfaa542dadfa9f80ecc08f1d7b70c.zip | |
PR target/27182
* config/sh/sh.md (movsicc_true+3): Tweak condition for the case
that the last insn has the REG_INC note.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113109 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 6 | ||||
| -rw-r--r-- | gcc/config/sh/sh.md | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 402493335f6..023894bfc0c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2006-04-20 Kaz Kojima <kkojima@gcc.gnu.org> + + PR target/27182 + * config/sh/sh.md (movsicc_true+3): Tweak condition for the case + that the last insn has the REG_INC note. + 2006-04-19 Carlos O'Donell <carlos@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index ff36d9a932a..d05fc10f840 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -1094,6 +1094,8 @@ "(HARD_REGNO_NREGS (REGNO (operands[0]), GET_MODE (operands[2])) <= HARD_REGNO_NREGS (REGNO (operands[0]), GET_MODE (operands[0]))) && peep2_reg_dead_p (3, operands[0]) && peep2_reg_dead_p (3, operands[2]) + && ! FIND_REG_INC_NOTE (peep2_next_insn (2), operands[0]) + && ! FIND_REG_INC_NOTE (peep2_next_insn (2), operands[2]) && ! reg_overlap_mentioned_p (operands[0], operands[3]) && ! reg_overlap_mentioned_p (operands[2], operands[0]) && ! reg_overlap_mentioned_p (operands[0], operands[1]) |

