Re: Extracting members of a SIMD type?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 9 Dec 2003, Segher Boessenkool wrote:

> Create a union of your vector type and an array of the type of the 
> parts.
> Like:
> 
> union v4si_conv {
> 	v4si v;
> 	int e[4];
> };
> 
> Store the vector to v, read the elements from e[].

Oof. That's awfully elegant. :) Well, whatever works...

Thanks,
  Jack


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux