This is the mail archive of the gcc@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]

Re: Status of SSE support in current gcc mainline


> >-----Original Message-----
> >From: Daniel Berlin [mailto:dberlin@redhat.com]
> >Sent: 23 March 2001 14:50
> 
> >> Vectors are always 16 bytes on altivec.  The doc states that 'p' is a
> >> pointer to a vector. 
> >
> >I must have misread that part, i thought it also said that sizeof(p)
> >is 16, not sizeof(*p)==16.
> 
>   Well, whatever the actual case is, it's simply a thinko if the size of
> a pointer-to-vector is 16 bytes, and not an essential part of the 
> programming model!
> 
> >Errr, look at how, for instance, Intel does SSE programming. They have
> >a few datatypes defined, a whole bunch of intrinsics, and C++ classes
> >that encapsulate the intrinsics in a vector class, etc.
> >
> >They didn't make basic changes to the actual language to try to
> >accomodate their code.
> 
>   Do you have a pointer to any docs handy?  I'd be interested to see this.
Just download the Intel's instruction set reference (you can get it via
search from www.intel.com). It contains definition of the extensions as well.

Honza


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