Extensions for VMX support

The VMX extensions are only accepted when all of the following compiler options are enabled:

  1. -qarch=ppc970
  2. -qenablevmx
  3. -qaltivec

Table 33. IBM XL C extensions to support the AltiVec Application Programming Interface specification
Language feature Discussed in:
Vector programming language extensions Vector types, Appendix C. Vector data types and literals

The following features are IBM extensions to the AltiVec Application Programming Interface specification.

Table 34. IBM XL C extensions to the AltiVec Application Programming Interface specification
Language extension Discussed in:
Initializer lists for vector constants Initialization of vectors
typedef definitions for vector types typedef definitions
compound literals as initializers for static vector variables Compound literals
vector types as arguments to the __alignof__ and typeof operators The __alignof__ operator, The typeof operator