[Bug target/49781] [x32] Unnecessary lea in x32 mode

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Aug 4 18:53:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49781

Uros Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #24899|0                           |1
        is obsolete|                            |

--- Comment #17 from Uros Bizjak <ubizjak at gmail dot com> 2011-08-04 18:53:06 UTC ---
Created attachment 24918
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24918
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.



More information about the Gcc-bugs mailing list