Extensions for VMX support

The VMX extensions are only accepted when all of the following conditions are met:

  1. The -qarch option is set to a target architecture that supports VMX instructions.
  2. The -qenablevmx option is in effect.
  3. The -qaltivec option is in effect.

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