Options

The vector language extensions are enabled only when all of the following conditions are met:
  • The ARCH(11) option is specified.
  • The FLOAT(AFP(NOVOLATILE)) option is in effect.
  • The VECTOR option is specified.
  • Start of changeThe TARGET(zOSV2R1) option or higher level is specified.End of change
Notes:
  • The VECTOR option requires z/OS® V2R1 (or newer versions) with IBM® z Systems™ z13™ (or newer hardware) support.
  • The VECTOR option implies LANGLVL(LONGLONG), which enables the vector bool long long, vector signed long long, vector unsigned long long, __vector bool long long, __vector signed long long, and __vector unsigned long long data types.
  • The vector double and __vector double data types are only available with FLOAT(IEEE).
  • Start of changeThe SIMD or Vector code must run in a runtime environment that supports vector instructions and vector context switching. SIMD or Vector code that is compiled by z/OS V2R2 XL C/C++ might run into a runtime abend in the following environment:
    • z/OS image running on z/VM®
    • z/OS version older than V2R1 with PTF PI12281
    • CICS®
    End of change

For more information about these compiler options, see z/OS XL C/C++ User's Guide.