Developer Guide and Reference

Contents

qopt-prefetch, Qopt-prefetch

Enables or disables prefetch insertion optimization.

Syntax

Linux and macOS:
-qopt-prefetch
[
=
n
]
-qno-opt-prefetch
Windows:
/Qopt-prefetch
[
:
n
]
/Qopt-prefetch-
Arguments
n
Is the level of software prefetching optimization desired. Possible values are:
0
Disables software prefetching. This is the same as specifying
-qno-opt-prefetch
(Linux* and
macOS*
) or
/Qopt-prefetch-
(Windows*).
1
to
5
Enables different levels of software prefetching. If you do not specify a value for
n
, the default is
2
. Use lower values to reduce the amount of prefetching.
Default
-qno-opt-prefetch
or
/Qopt-prefetch-
Prefetch insertion optimization is disabled.
Description
This option enables or disables prefetch insertion optimization. The goal of prefetching is to reduce cache misses by providing hints to the processor about when data should be loaded into the cache.
This option enables prefetching when higher optimization levels are specified.
Alternate Options
None

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804