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: Tue, 09 Aug 2011 18:37:37 +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 #39 from Uros Bizjak <ubizjak at gmail dot com> 2011-08-09 18:37:37 UTC ---
Created attachment 24967
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24967
Patch that recognizes addresses, zero-extended with AND
Attached patch adds recognision of addresses, zero-extended with AND.
The patch fixes gcc-target/i386/pr43766.c testcase.
H.J., can you please test it on x32 ?