Skip to content

vectorextensions

redorav edited this page Apr 15, 2018 · 10 revisions

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:

Value Description
Default Use the toolset's default vector extension settings.
AVX Use Advanced Vector Extensions.
SSE Use the basic SSE instruction set.
SSE2 Use the SSE2 instruction set.
NEON Use the NEON instruction set (ARM processors)

Applies To

Project configurations.

Availability

Premake 5.0.

Examples

-- Enable SSE2 vector processing
vectorextensions "SSE2"

See Also

Clone this wiki locally