This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [Patch,AVR]: Fix PR39386 (x << x and x >> x)
- From: "Weddington, Eric" <Eric dot Weddington at atmel dot com>
- To: "Georg-Johann Lay" <avr at gjlay dot de>, <gcc-patches at gcc dot gnu dot org>
- Cc: "Denis Chertykov" <chertykov at gmail dot com>, "Richard Henderson" <rth at redhat dot com>
- Date: Mon, 25 Jul 2011 08:14:17 -0600
- Subject: RE: [Patch,AVR]: Fix PR39386 (x << x and x >> x)
- References: <4E2D516B.6080507@gjlay.de>
> -----Original Message-----
> From: Georg-Johann Lay [mailto:avr@gjlay.de]
> Sent: Monday, July 25, 2011 5:20 AM
> To: gcc-patches@gcc.gnu.org
> Cc: Denis Chertykov; Weddington, Eric; Richard Henderson
> Subject: [Patch,AVR]: Fix PR39386 (x << x and x >> x)
>
> This is a fix for pathological, variable shift offset shifts of
> the form x << x resp. x >> x.
>
<snip>
> Ok to install?
>
> Johann
>
>
> PR target/39386
> * config/avr/avr.c (out_shift_with_cnt): Use tmp_reg as
> shift counter for x << x and x >> x shifts.
Please commit. Thanks!
Eric Weddington