This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: powerpc patch 1 of 9
On Fri, Feb 22, 2002 at 05:56:05PM -0800, Geoff Keating wrote:
> Alan Modra <amodra@bigpond.net.au> writes:
>
> > * config/rs6000/rs6000.c (u_short_cint_operand): Mask off
> > irrelevant bits before testing with 'K' constraint.
> > (includes_lshift_p): Mask irrelevant bits of SImode const_int.
> > (includes_rshift_p): Likewise.
>
> These seem to be optimising for cases that shouldn't be happening.
> Can you find out where these constants are being generated and fix it
> there instead?
Happens when SImode constants are sign extended in various places.
--
Alan Modra
IBM OzLabs - Linux Technology Centre