Intel® C++ Compiler 16.0 User and Reference Guide
Evicts cache line from the specified level. Corresponding instruction is clevict. This intrinsic only applies to Intel® Many Integrated Core Architecture (Intel® MIC Architecture).
extern void __cdecl _mm_clevict(const void* ptr, int level); |
ptr |
linear address to evict |
level |
cache level: _MM_HINT_T0 - first level _MM_HINT_T1 - second level |
Invalidates the cache line containing the specified linear address from the cache. If the line is dirty, the intrinsic updates the cache hierarchy accordingly. Note that, unlike CLFLUSH, the invalidation is not broadcast throughout the cache coherence domain.
Returns nothing.