clflush (cache line flush)

created : 2020-06-02T10:15:07+00:00
modified : 2020-06-02T10:40:31+00:00

cpp memory

출처

https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_clflush&expand=678,679

내용

void _mm_clflush (void const* p)
#include <emmintrin.h>
Instruction: clflush m8
CPUID Flags: SSE2
void _mm_clflushopt (void const * p)
#include <immintrin.h>
Instruction: clflushopt m8
CPUID Flags: CLFLUSHOPT
  • clflush vs clflushopt
  • 출처 : https://software.intel.com/en-us/forums/software-tuning-performance-optimization-platform-monitoring/topic/712498
  • clflushopt : clflush optimization