On Wed, Jun 22, 2011 at 4:17 PM, H.J. Lu <hongjiu...@intel.com> wrote:
> We should check !TARGET_PARTIAL_REG_STALL for imul to lea peepholes. > Also there is no partial register stall for SImode. I also added > const359_operand as suggestd by Uros. > > OK for trunk? > > Thanks. > > > H.J. > --- > 2011-06-22 H.J. Lu <hongjiu...@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. OK. Thanks, Uros.