Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
Document Table of Contents

xHost, QxHost

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

Syntax

Linux:

-xHost

Windows:

/QxHost

Arguments

None

Default

OFF

If option -x or -march is not specified (Linux), or if option /Qx or /arch is not specified (Windows), the default target architecture supports Intel® SSE2 instructions.

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.

For more information on other settings for option [Q]x, see that option description.

NOTE:

This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation.

NOTE:

ifx does not support compilation for 32-bit architectures; only 64-bit instruction set names may be specified for ifx.

Product and Performance Information

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.

Notice revision #20201201

IDE Equivalent

Visual Studio: Code Generation > Intel Processor-Specific Optimization

Alternate Options

None

See Also