re PR target/61142 ([SH] QImode/HImode @(R0,Rm),Rn does not load to Rn = R0)
authorOleg Endo <olegendo@gcc.gnu.org>
Thu, 26 Feb 2015 19:14:23 +0000 (19:14 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Thu, 26 Feb 2015 19:14:23 +0000 (19:14 +0000)
commitdac2637b751b72612d909b5cc78ed06d6c9f8d9a
treef65c4a3120c0b65a672807f5c2cfd6c19173875f
parent1cf06f1e2512b55a55f837b43c1ff235a9be1992
re PR target/61142 ([SH] QImode/HImode @(R0,Rm),Rn does not load to Rn = R0)

gcc/
PR target/61142
* config/sh/sh.c (sh_check_add_incdec_notes): New function.
* config/sh/sh-protos.h (sh_check_add_incdec_notes): Declare it.
* config/sh/predicates.md (const_logical_operand): New predicate.
* config/sh/sh.md: Add new peephole2 patterns.

From-SVN: r221026
gcc/ChangeLog
gcc/config/sh/predicates.md
gcc/config/sh/sh-protos.h
gcc/config/sh/sh.c
gcc/config/sh/sh.md