re PR target/29560 ([avr] Poor optimization for byte shifts)
authorGeorg-Johann Lay <avr@gjlay.de>
Wed, 10 Aug 2011 08:58:03 +0000 (08:58 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Wed, 10 Aug 2011 08:58:03 +0000 (08:58 +0000)
commit4ada410ba1cf7440e3cc4b57a55c53da63ae341c
tree8455f2447914d9dcc0fa653e32875377b768e3ed
parentd1f4e15f16e037c3f57aa0636d0cc7eddcaff10e
re PR target/29560 ([avr] Poor optimization for byte shifts)

PR target/29560
* config/avr/avr.md (*ashlhiqi3): New insn-and-split.
(*ashl<extend_prefix>qihiqi3): New insn-and-splits.
(*ashl<extend_prefix>qihiqi3.mem): New insn-and-splits.
Add peephole2 to map ashlhi3 to ashlqi3 if high part of
shift target is unused.

From-SVN: r177616
gcc/ChangeLog
gcc/config/avr/avr.md