Enables or disables prefetch insertion optimization.
Windows: None
Linux: Optimization > Enable Prefetch Insertion
Mac OS X: Optimization > Enable Prefetch Insertion
IA-32, Intel® 64, IA-64 architectures
Linux and Mac OS X: | -opt-prefetch[=n] -no-opt-prefetch |
Windows: | /Qopt-prefetch[:n] /Qopt-prefetch- |
n |
Is the level of detail in the report. Possible values are:
|
IA-64 architecture: -opt-prefetch |
On IA-64 architecture, prefetch insertion optimization is enabled. |
IA-32 architecture and Intel® 64 architecture: |
On IA-32 architecture and Intel® 64 architecture, prefetch insertion optimization is disabled. |
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.
On IA-64 architecture, this option is enabled by default if you specify option O1 or higher. To disable prefetching at these optimization levels, specify -no-opt-prefetch (Linux and Mac OS X) or /Qopt-prefetch- (Windows).
On IA-32 architecture and Intel® 64 architecture, this option enables prefetching when higher optimization levels are specified.
Linux and Mac OS X: -prefetch (this is a deprecated option)
Windows: /Qprefetch (this is a deprecated option)