Altivec + 16 byte alignment
Segher Boessenkool
segher@koffie.nl
Fri Feb 14 02:41:00 GMT 2003
Gianni Tedesco wrote:
> PS. Is there any documentation about the vector support directly in C? I
> hear gcc3 has that feature.
As this is just GCC's implementation of the Motorola C
extensions for Altivec, why not read their documentation? :)
(Some small things are different with GCC, mainly constant
vector syntax iirc).
"AltiVec Technology Programming Interface Manual"
http://www.motorola.com/SPS/PowerPC/teksupport/teklibrary/manuals/altivecpim.pdf
(The url might have changed; it was here when I got it, but that's
somewhere in 2000).
I also quite like:
"AltiVec Support In MrC[pp]"
ftp://ftp.apple.com/developer/Development_Kits/altivec/altivec_support_in_MrC.pdf
(especially the appendices) although of course not everything
in there is (directly) applicable to GCC.
Hope this helps,
Segher
More information about the Gcc
mailing list