Intel® C++ Compiler 16.0 User and Reference Guide

qopt-streaming-cache-evict, Qopt-streaming-cache-evict

Specifies the cache eviction level to be used by the compiler for streaming loads and stores. Option -qopt-streaming-cache-evict is the replacement option for -opt-streaming-cache-evict, which is deprecated.

Architecture Restrictions

Only available on Intel® 64 architecture targeting the Intel® Xeon Phi™ coprocessor x100 product family (formerly code name Knights Corner)

Syntax

Linux:

-qopt-streaming-cache-evict[=n]

OS X:

None

Windows:

/Qopt-streaming-cache-evict[:n]

Arguments

n

Is a value denoting the cache eviction (clevict) level to use for streaming loads and stores. Possible values are:

0

Tells the compiler to use no cache eviction level.

1

Tells the compiler to use the L1 cache eviction level.

2

Tells the compiler to use the L2 cache eviction level.

3

Tells the compiler to use the L1 and L2 cache eviction level. This is the default of you do not specify n.

Default

2

The compiler uses the L2 cache eviction level.

Description

This option specifies the cache eviction (clevict) level to be used by the compiler for streaming loads and stores.

Depending on the level used, the compiler will generate clevict0 and/or clevict1 instructions that evict the cache-line (corresponding to the load or the store) from the first-level and second-level caches. These cache eviction instructions will be generated after performing the corresponding load/store operation.

For more information on how to mark loads/stores as streaming, see the description of the vector nontemporal pragma.

IDE Equivalent

None

Alternate Options

None

See Also