This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Always avoid lea if possible on x86
- From: Bernd Schmidt <bernds at codesourcery dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: "H.J. Lu" <hjl dot tools at gmail dot com>, "H.J. Lu" <hongjiu dot lu at intel dot com>, gcc-patches at gcc dot gnu dot org, Uros Bizjak <ubizjak at gmail dot com>
- Date: Tue, 17 Aug 2010 17:20:14 +0200
- Subject: Re: PATCH: Always avoid lea if possible on x86
- References: <20100817144925.GA26996@intel.com> <4C6AA841.5050704@redhat.com>
On 08/17/2010 05:18 PM, Richard Henderson wrote:
> Is there any reason not to remove alternative 2 now that
> you're not doing anything special with it?
If I understood things correctly, the problem was that in this case we'd
match what is now alternative 3, and generate lea.
Bernd