Three attributes currently are defined for PowerPC configurations:
For full documentation of the
gcc_struct attributes please see the documentation in x86 Type Attributes.
altivec attribute allows one to declare AltiVec vector data types supported by the AltiVec Programming Interface Manual. The attribute requires an argument to specify one of three vector types:
pixel__ (always followed by unsigned short), and
bool__ (always followed by unsigned).
__attribute__((altivec(vector__))) __attribute__((altivec(pixel__))) unsigned short __attribute__((altivec(bool__))) unsigned
These attributes mainly are intended to support the
__bool AltiVec keywords.