Enables compiler support for AltiVec data types.
The AltiVec Programming Interface specification describes a special set of vector data types and operators. This option instructs the compiler to support AltiVec data types and operators.
Specifying -qaltivec has effect only when -qarch is set or implied to be ppc970. The compiler will ignore -qaltivec and issue a warning if other settings of -qarch are set or implied.
Also, -qaltivec cannot be used if -qnoenablevmx is in effect.
When -qaltivec is in effect, the following macros are defined:
To enable compiler support for the AltiVec Pogramming Interface specification, enter:
xlc myprogram.c -qaltivec
Compiler Command Line Options
arch
tune
#pragma altivec_vrsave