Re: [Patch,AVR]: Tweak a+2*b

2012-03-05 Thread Denis Chertykov
2012/3/4 Georg-Johann Lay : > This patch adds a straight forward combine pattern and split for int + 2*byte > as frequently seen with accesses to int-arrays with byte offset. > > Ok for trunk? > > Johann > >        * config/avr/avr.md (*umaddqihi4.2): New insn-and-split. Approved. Denis.

[Patch,AVR]: Tweak a+2*b

2012-03-04 Thread Georg-Johann Lay
This patch adds a straight forward combine pattern and split for int + 2*byte as frequently seen with accesses to int-arrays with byte offset. Ok for trunk? Johann * config/avr/avr.md (*umaddqihi4.2): New insn-and-split. Index: config/avr/avr.md ==