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: powerpc patch 1 of 9


> Date: Sat, 23 Feb 2002 20:29:10 +1030
> From: Alan Modra <amodra@bigpond.net.au>
> Cc: gcc-patches@gcc.gnu.org
> Mail-Followup-To: Geoff Keating <geoffk@geoffk.org>,
> 	gcc-patches@gcc.gnu.org
> Content-Disposition: inline
> User-Agent: Mutt/1.3.25i
> X-OriginalArrivalTime: 23 Feb 2002 09:59:12.0997 (UTC) FILETIME=[BEF13950:01C1BC50]
> 
> 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.

Can you provide a patch to fix those places?

-- 
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>


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