This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/49781] 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, 19 Jul 2011 06:46:17 +0000
- Subject: [Bug target/49781] 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 #1 from Uros Bizjak <ubizjak at gmail dot com> 2011-07-19 06:45:56 UTC ---
(In reply to comment #0)
> Many lea insns can be combined with the load/store insn followed.
No, these are leal insns, they have inherent zero_extend from SImode and they
clear upper 32bits before address is passed to load/store insn.
This is what you got on x32.