# qopt-multiple-gather-scatter-by-shuffles, Qopt-multiple-gather-scatter-by-shuffles

Enables or disables the optimization for multiple adjacent gather/scatter type vector memory references.

## Syntax

Linux: | -qopt-multiple-gather-scatter-by-shuffles -qno-opt-multiple-gather-scatter-by-shuffles

macOS: | -qopt-multiple-gather-scatter-by-shuffles -qno-opt-multiple-gather-scatter-by-shuffles

Windows: | /Qopt-multiple-gather-scatter-by-shuffles /Qopt-multiple-gather-scatter-by-shuffles-

## Arguments

None

## Default

varies | When this option is not specified, the compiler uses default heuristics for optimization.

## Description

This option controls the optimization for multiple adjacent gather/scatter type vector memory references. This optimization hint is useful for performance tuning. It tries to generate more optimal software sequences using shuffles.

If you specify this option, the compiler will apply the optimization heuristics. If you specify -qno-opt-multiple-gather-scatter-by-shuffles or /Qopt-multiple-gather-scatter-by-shuffles-, the compiler will not apply the optimization.

### Note

Optimization is affected by optimization compiler options, such as [Q]x, -march (Linux* or macOS*), and /arch (Windows*).

Product and Performance Information
Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex. Notice revision #20201201

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Advanced Optimization Options

## See Also

pragma vector
x, Qx compiler option
march compiler option
arch compiler option