Enables prefetch insertion optimization.
Windows: Optimization
> Prefetch Insertion
Linux: None
Mac OS X: Optimization > Enable
Prefetch Insertion
IA-32 architecture, Intel® 64 architecture, IA-64 architecture
Linux and Mac OS X: | -prefetch -no-prefetch |
Windows: | /Qprefetch /Qprefetch- |
None
IA-64 architecture: -prefetch
or /Qprefetch IA-32 architecture and Intel® 64 architecture: -no-prefetch or /Qprefetch- |
On IA-64 architecture, prefetch insertion optimization is enabled. On IA-32 architecture and Intel® 64 architecture, prefetch insertion optimization is disabled. |
This option enables 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, O2, or O3. To disable prefetching at these optimization levels, specify -no-prefetch (Linux and Mac OS X) or /Qprefetch- (Windows).
On IA-32 architecture and Intel® 64 architecture, this option enables prefetching when higher optimization levels are specified.
None
Optimizing Applications:
Coding Guidelines
for Intel(R) Architectures
Prefetching Support
Prefetching with Options