This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch: Re: rfc: auto-casted vector types
- From: Aldy Hernandez <aldyh at romulus-int dot sfbay dot redhat dot com>
- To: Geoff Keating <geoffk at geoffk dot org>
- Cc: aldyh at redhat dot com, kumar dot gala at motorola dot com, nickc at redhat dot com, gcc-patches at gcc dot gnu dot org, wilson at redhat dot com, mark at codesourcery dot com, zack at codesourcery dot com
- Date: Wed, 19 Feb 2003 17:30:19 -0800
- Subject: Re: patch: Re: rfc: auto-casted vector types
- References: <E1FD4F9A-444C-11D7-9EC3-000393750C1E@redhat.com> <200302200041.h1K0fwb02606@desire.geoffk.org>
- Reply-to: aldyh at redhat dot com
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 at geoffk dot org>, Nick Clifton <nickc at redhat dot com>,
> > <gcc-patches at gcc dot gnu dot org>, Jim Wilson <wilson at redhat dot com>,
> > <mark at codesourcery dot com>, Zack Weinberg <zack at codesourcery dot com>
> > From: Aldy Hernandez <aldyh at redhat dot 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.