Intel® C++ Compiler 16.0 User and Reference Guide

_mm_clevict

Evicts cache line from the specified level. Corresponding instruction is clevict. This intrinsic only applies to Intel® Many Integrated Core Architecture (Intel® MIC Architecture).

Syntax

extern void __cdecl _mm_clevict(const void* ptr, int level);

Parameters

ptr

linear address to evict

level

cache level:

_MM_HINT_T0 - first level

_MM_HINT_T1 - second level

Description

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

Returns nothing.