Skip to main content

vectorextensions

Specifies the level of vector processing extensions to enable while compiling the target configuration.

vectorextensions "level"

If no value is set for a configuration, the toolset's default vector extension settings will be used.

Parameters

level specifies the desired level of vector processing instructions; one of the following:

ValueDescription
DefaultUse the toolset's default vector extension settings.
AVXUse Advanced Vector Extensions.
AVX2Use Advanced Vector Extensions 2.
IA32Use Intel Architecture 32-bit
SSEUse the basic SSE instruction set.
SSE2Use the SSE2 instruction set.
SSE3Use the SSE3 instruction set.
SSSE3Use the SSSE3 instruction set.
SSE4.1Use the SSE4.1 instruction set.
SSE4.2Use the SSE4.2 instruction set.
NEONUse the NEON instruction set (Android only)
MXUUse the XBurst SIMD instructions (Android only)

Applies To

Project configurations.

Availability

Premake 5.0.

Examples

-- Enable SSE2 vector processing
vectorextensions "SSE2"

See Also