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]
Other format: [Raw text]

Re: Altivec + 16 byte alignment


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



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