This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: PR target/49497: Incorrect lea peephole
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 22 Jun 2011 17:19:13 +0200
- Subject: Re: PATCH: PR target/49497: Incorrect lea peephole
- References: <20110622141755.GA9682@intel.com>
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.