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: Thu, 4 Aug 2011 20:00:41 +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 #19 from Uros Bizjak <ubizjak at gmail dot com> 2011-08-04 19:59:59 UTC ---
(In reply to comment #18)
> (In reply to comment #17)
> > Created attachment 24918 [details]
> > WIP patch that exploits addr32.
> >
> > The patch ATM limits addr32 optimization to MODE_SIZE (op) <= WORD_SIZE due to
> > inability to handle offsetable operands.
> >
> > But please test it on x32 anyway.
>
> I am testing it now.
Uh, I forgot to add this code to predicates.md, aligned_operand (and perhaps
cmpxchg8b_pic_memory_operand)...