gcc: PowerPC Type Attributes

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