This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Altivec + 16 byte alignment
- From: Segher Boessenkool <segher at koffie dot nl>
- To: Gianni Tedesco <gianni at scaramanga dot co dot uk>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 12 Feb 2003 12:32:22 +0100
- Subject: Re: Altivec + 16 byte alignment
- References: <1044958034.1117.67.camel@lemsip>
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