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 #47 from uros at gcc dot gnu.org 2011-08-11 20:03:34 UTC ---
Author: uros
Date: Thu Aug 11 20:03:29 2011
New Revision: 177683

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177683
Log:
    PR target/49781
    * config/i386/i386.md (*lea_5_zext): New.
    (*lea_6_zext): Ditto.
    * config/i386/predicates.md (const_32bit_mask): New predicate.
    (lea_address_operand): Reject AND.
    * config/i386/i386.c (ix86_decompose_address): Allow Dimode AND with
    const_32bit_mask immediate.
    (ix86_print_operand_address): Handle AND.
    (memory_address_length): Ditto.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/config/i386/i386.md
    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]