This is the mail archive of the gcc-patches@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]

Re: PATCH: PR target/49497: Incorrect lea peephole


On Wed, Jun 22, 2011 at 4:17 PM, H.J. Lu <hongjiu.lu@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.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.

OK.

Thanks,
Uros.


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