This is the mail archive of the
mailing list for the GCC project.
Re: conversions between vectors
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: Daniel Berlin <dan at cgsoftware dot com>
- Cc: Gabriel Dos Reis <gdr at codesourcery dot com>, "Joseph S. Myers" <jsm28 at cam dot ac dot uk>, Richard Henderson <rth at redhat dot com>, Alexandre Oliva <aoliva at redhat dot com>, gcc patches <gcc-patches at gcc dot gnu dot org>
- Date: 23 Dec 2001 21:04:37 -0800
- Subject: Re: conversions between vectors
- References: <Pine.LNX.email@example.com>
On Sun, 2001-12-23 at 20:57, Daniel Berlin wrote:
> On 23 Dec 2001, Gabriel Dos Reis wrote:
> > Aldy Hernandez <firstname.lastname@example.org> writes:
> > | > > c2 = __builtin_vector_add_v4si_unsigned (a2, b2);
> > | > >
> > | > > even if both builtins map to the same exact machine instruction.
> > | >
> > | > If both are signed, or both unsigned, surely programmers will just use the
> > | > + operator?
> > |
> > | we have no support for any kind of operations on vectors.
> > I think we should -- that was discussed in another thread.
> And in reality, we do.
> The type checker just disallows the operations.
> If it didn't, we'd get simple operations for free (like + between
> vectors, etc).
yes we all agree. richard even approved your last patch allowing the
binary operations on the vectors. all that is needed is the
Aldy Hernandez E-mail: email@example.com
Red Hat, Inc.