This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch,AVR]: Fix PR50447 (1/n)
- From: Denis Chertykov <chertykov at gmail dot com>
- To: Georg-Johann Lay <avr at gjlay dot de>
- Cc: gcc-patches at gcc dot gnu dot org, Eric Weddington <eric dot weddington at atmel dot com>, Anatoly Sokolov <aesok at post dot ru>
- Date: Thu, 22 Sep 2011 11:50:46 +0400
- Subject: Re: [Patch,AVR]: Fix PR50447 (1/n)
- References: <4E7A0AC6.5070808@gjlay.de>
2011/9/21 Georg-Johann Lay <avr@gjlay.de>:
> 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
> - remove some hidden and thus dead insns
> - clean up code
>
> Passed without regression.
>
> Ok to install?
Please, install.
Denis.