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

compiling for PowerPc using Altivec


hello
Im' trying to compile Altivec code with gcc-3.1 and I have the following problems:

1) How do I declare const __vector ... - what do I do with the const ? - is there a way to declare a constant vector pointer ?

2) how can I initialize a vector ? - I used to do this :
__vector signed int intVec = (__vector signed int)(0,0,0,0);
but apparently this doesn't work with gcc-3.1 , how can I do this ?

Eyal


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