This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

--- Comment #34 from uros at gcc dot gnu.org 2011-08-08 14:59:22 UTC ---
Author: uros
Date: Mon Aug  8 14:59:19 2011
New Revision: 177566

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177566
Log:
    PR target/49781
    * config/i386/i386.c (ix86_decompose_address): Allow zero-extended
    SImode addresses.
    (ix86_print_operand_address): Handle zero-extended addresses.
    (memory_address_length): Add length of addr32 prefix for
    zero-extended addresses.
    (ix86_secondary_reload): Handle moves to/from double-word general
    registers from/to zero-extended addresses.
    * config/i386/predicates.md (lea_address_operand): Reject
    zero-extended operands.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/config/i386/predicates.md


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]