Developer Guide and Reference

Contents

xHost, QxHost

Tells the compiler to generate instructions for the highest instruction set available on the compilation host processor.

Syntax

Linux and macOS:
-xHost
Windows:
/QxHost
Arguments
None
Default
Windows* systems: None
Linux* systems: None
macOS*
systems:
-xSSSE3
On Windows systems, if neither
/Qx
nor
/arch
is specified, the default is
/arch:SSE2
.
On Linux systems, if neither
-x
nor
-m
is specified, the default is
-msse2
.
Description
This option tells the compiler to generate instructions for the highest instruction set available on the compilation host processor.
The instructions generated by this compiler option differ depending on the compilation host processor.
The following table describes the effects of specifying the
[Q]xHost
option and it tells whether the resulting executable will run on processors different from the host processor.
Descriptions in the table refer to Intel® Advanced Vector Extensions 2 (Intel® AVX2), Intel® Advanced Vector Extensions (Intel® AVX), Intel® Streaming SIMD Extensions (Intel® SSE), and Supplemental Streaming SIMD Extensions (SSSE).
Instruction Set of Host Processor
Effects When the -xHost or /QxHost Compiler Option is Specified
Intel® AVX2