This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/49781] [x32] Unnecessary lea in x32 mode
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 10 Aug 2011 18:19:05 +0000
- Subject: [Bug target/49781] [x32] Unnecessary lea in x32 mode
- Auto-submitted: auto-generated
- References: <bug-49781-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49781
--- Comment #43 from Uros Bizjak <ubizjak at gmail dot com> 2011-08-10 18:19:05 UTC ---
(In reply to comment #41)
> > Patch that recognizes addresses, zero-extended with AND
> It seems to generate more leal for gcc.dg/torture/pr47744-2.c
No, the extra leas are due to reload-nonoffsetable-address patch (the previous
one). These instructions avoids ICE by reloading non-offsetable address of
double-word operand to a temporary.