Options
You can specify the following compiler options to enable vector programming support:
- -mvx
- Generates code by using the instructions that are available with the vector extension facility that is introduced with IBM z13® or later. -mvx is enabled by default when -march=z13 or newer is in effect. To disable vector code generation, specify -mno-vx.
- -mzvector
- Enables vector programming support using instructions available with the vector extension facility introduced with IBM z13 or newer. -mno-zvector is the default.
- -fvectorize
- Enables the loop vectorization passes. -fvectorize is enabled by default when -mvx is in effect.
- -fslp-vectorize
- Enables the superword-level parallelism vectorization passes. -fslp-vectorize is enabled by default when -mvx is in effect.