OSDN Git Service

PR target/27182
authorkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Apr 2006 01:54:20 +0000 (01:54 +0000)
committerkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Apr 2006 01:54:20 +0000 (01:54 +0000)
* 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

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

index 4024933..023894b 100644 (file)
@@ -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>
 
index ff36d9a..d05fc10 100644 (file)
   "(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])