This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [4.7 RFT PATCH, i386]: Backport recent LEA improvements to 4.7 branch
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: Richard Guenther <richard dot guenther at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, "H.J. Lu" <hjl dot tools at gmail dot com>
- Date: Thu, 2 Aug 2012 18:29:30 +0200
- Subject: Re: [4.7 RFT PATCH, i386]: Backport recent LEA improvements to 4.7 branch
- References: <CAFULd4ZSP6ex6YqucQyms9mXA5Fr_uXWrQ4SrSXvF=Nw8=r9vg@mail.gmail.com> <CAFiYyc3n5qt9JFZ0G2Nj2jMU=tgoPdSFn8kQdF8D4yceSDhTyg@mail.gmail.com> <CAFULd4a8StqMH2E=U=zq=m3h+tNpZhFcry1WZxAY70fwcy7-NQ@mail.gmail.com>
On Wed, Jul 25, 2012 at 2:33 PM, Uros Bizjak <ubizjak@gmail.com> wrote:
> On Wed, Jul 25, 2012 at 1:45 PM, Richard Guenther
> <richard.guenther@gmail.com> wrote:
>> On Tue, Jul 24, 2012 at 9:32 PM, Uros Bizjak <ubizjak@gmail.com> wrote:
>>> Hello!
>>>
>>> Attached patch backports recent LEA improvements to 4.7 branch.
>>
>> As in regression fixes, or wrong-code fixes? This looks suspiciously not
>> appropriate for 4.7 ...
>
> I consider this patch a real fix for PR target/53961. Current "fix"
> just papers over the problem by changing addresses, zero-extended with
> AND, with real ZERO_EXTEND addresses in expand. But, there remain
> other similar problems.
The patch was also tested on spec2000/spec2006 for i686/x86_64/x32 by
H.J. (thanks!).
Re-bootstrapped, re-tested on x86_64-pc-linux-gnu {-m32}, also with
-mx32, by H.J.
Committed to 4.7 branch.
Uros.