Extensions for vector processing support
The vector extensions are only accepted when all of the following conditions are met:
| Language feature | Discussed in: |
|---|---|
| Vector programming language extensions | Vector types (IBM extension), Vector literals (IBM extension) |
The following features are IBM extensions to the AltiVec Application Programming Interface specification:
| Language extension | Discussed in: |
|---|---|
| Address operator & and Indirection operator * applied to vector types | Address operator &, Indirection operator * |
| bool, __pixel, pixel, __vector, and vector keywords | Keywords for language extensions (IBM extension) |
| Initialization of vectors | Initialization of vectors (IBM extension) |
| Pointer arithmetic for vector types | Pointer arithmetic |
| vector types as arguments to the __alignof__, typeof, sizeof, and vec_step | The __alignof__ operator (IBM extension), The typeof operator (IBM extension), The sizeof operator, The vec_step operator (IBM extension) |
| Vector type casts | Type conversions |
| Vector subscripting operator [ ] | Vector subscripting operator [ ] (IBM extension) |


