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] Simplify (subreg:SI (lshiftrt:DI (reg:DI A) (const_int 32)) 0)


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


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