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: conversions between vectors


On Sun, 2001-12-23 at 20:57, Daniel Berlin wrote:
> 
> 
> On 23 Dec 2001, Gabriel Dos Reis wrote:
> 
> > Aldy Hernandez <aldyh@redhat.com> 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
documentation :)


-- 
Aldy Hernandez			E-mail: aldyh@redhat.com
Professional Gypsy
Red Hat, Inc.


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