Re: [Patch,AVR]: Fix PR50447 (1/n)

2011-09-22 Thread Denis Chertykov
2011/9/21 Georg-Johann Lay : > This patch improves IOR, XOR, AND for HI and SI. > > There is room for improvement in the current implementation: > > - better analysis if a scratch is actually needed > - add clobber operands to some insns > - use 8-bit scratch instead of reload the constant > - reus

[Patch,AVR]: Fix PR50447 (1/n)

2011-09-21 Thread Georg-Johann Lay
This patch improves IOR, XOR, AND for HI and SI. There is room for improvement in the current implementation: - better analysis if a scratch is actually needed - add clobber operands to some insns - use 8-bit scratch instead of reload the constant - reuse value in scratch register if known - remo