patch: Re: rfc: auto-casted vector types

Aldy Hernandez aldyh@romulus-int.sfbay.redhat.com
Thu Feb 20 01:30:00 GMT 2003


On Wed, Feb 19, 2003 at 04:41:58PM -0800, Geoff Keating wrote:
> > Date: Wed, 19 Feb 2003 12:58:23 -0800
> > Cc: Geoff Keating <geoffk@geoffk.org>, Nick Clifton <nickc@redhat.com>,
> >    <gcc-patches@gcc.gnu.org>, Jim Wilson <wilson@redhat.com>,
> >    <mark@codesourcery.com>, Zack Weinberg <zack@codesourcery.com>
> > From: Aldy Hernandez <aldyh@redhat.com>
> 
> > > Ok, I know see the light.  Can we do something about what we call the 
> > > type in spe.h then.  It would seem nicer of it looked like
> > >
> > > #define __ev_addw(a,b) 
> > > (__ev64_opaque__)__builtin_spe_evaddw((__ev64_opaque__) (a), 
> > > (__ev64_opaque__) (b))
> > 
> > Yes, I'll do that in my upcoming patch.  Originally I used __v2si 
> > because y'all hadn't settled on the actual __ev64_opaque__ name.
> 
> It seems silly to have a builtin which is always used with three
> casts.  Why can't the builtin just have parameters of these types in
> the first place?

3 strikes I'm out.  Aldy falls on sword.

OK.  Will do.



More information about the Gcc-patches mailing list