This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Simplify (subreg:SI (lshiftrt:DI (reg:DI A) (const_int 32)) 0)
- From: Ian Lance Taylor <iant at google dot com>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 04 Mar 2008 18:24:53 -0800
- Subject: Re: [PATCH] Simplify (subreg:SI (lshiftrt:DI (reg:DI A) (const_int 32)) 0)
- References: <fqh4ho$fue$1@ger.gmane.org>
Paolo Bonzini <bonzini@gnu.org> writes:
> In other word, remove useless shifts from extractions of words from
> multi-word subregs. This is common when C code wants the high word of
> a 32x32->64 multiplication.
>
> Bootstrapped/regtested i686-pc-linux-gnu, ok for mainline?
This is OK with a ChangeLog entry.
Thanks.
Ian