Defines a level of zmm registers usage.
Linux and macOS:
- Specifies the level of zmm registers usage. Possible values are:
- Tells the compiler that the compiled program is unlikely to benefit from zmm registers usage. It specifies that the compiler should avoid using zmm registers unless it can prove the gain from their usage.
- Tells the compiler to generate zmm code without restrictions.
- The default is low when you specify [Q]xCORE-AVX512.The default is high when you specify [Q]xCOMMON-AVX512.
This option may provide better code optimization for Intel® processors that are on the Intel® microarchitecture formerly code-named Skylake.
This option defines a level of zmm registers usage. The
lowsetting causes the compiler to generate code with zmm registers very carefully, only when the gain from their usage is proven. The
highsetting causes the compiler to use much less restrictive heuristics for zmm code generation.
It is not always easy to predict whether the
lowsetting will yield better performance. Programs that enjoy high performance gains from the use of xmm or ymm registers may expect performance improvement by moving to use zmm registers. However, some programs that use zmm registers may not gain as much or may even lose performance. We recommend that you try both option values to measure the performance of your programs.
This option is ignored if you do not specify an option that enables Intel® AVX-512, such as