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/49497] Incorrect lea peephole


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

--- Comment #3 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2011-06-22 15:29:48 UTC ---
Author: hjl
Date: Wed Jun 22 15:29:43 2011
New Revision: 175295

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175295
Log:
Check TARGET_PARTIAL_REG_STALL in imul to lea peepholes.

2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>

    PR target/49497
    * config/i386/i386.md (*lea_general_2): Always allow SImode.
    (*lea_general_2_zext): Likewise.
    (imul to lea peepholes): Use const359_operand and check
    TARGET_PARTIAL_REG_STALL.

    * config/i386/predicates.md (const359_operand): New.

Modified:
    trunk/gcc/ChangeLog
    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]