Vector intrinsic procedures (IBM extension)

Individual elements of vectors can be accessed by using storage association, the TRANSFER intrinsic, or the Vector Multimedia Extension (VMX) and the Vector Scalar Extension (VSX) intrinsic functions. This section provides an alphabetic reference to the VMX and the VSX intrinsic functions. These intrinsics allow you to manipulate vectors.

  • You must specify appropriate compiler options for your architecture when you use the intrinsic functions.
  • Intrinsic functions that use or result in the INTEGER(8), UNSIGNED(8), or REAL(8) vector types require an architecture that supports the VSX instruction set extensions, such as POWER7®. When you use these types, you must specify an appropriate -qarch suboption, such as -qarch=pwr7.

Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us