Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

mno-gather, Qgather-

Disables the generation of gather instructions in auto-vectorization.

Syntax

Linux:

-mno-gather

Windows:

/Qgather-

Arguments

None

Default

OFF

Gather instructions are enabled in auto-vectorization.

Description

This option disables the generation of gather instructions in auto-vectorization.

NOTE:

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

IDE Equivalent

None

Alternate Options

None

Examples

The following shows examples of using this option:

Linux

icx -c -mno-gather t.c 
icpx -c -mno-gather -mno-scatter t.cpp 

Windows

icx /c /Qgather- t.c  
icpx /c /Qgather- /Qscatter- t.cpp  

See Also