Some questions on _mm_clflush and _mm_clflushout

139 Views Asked by At
  1. What are the major differences between _mm_clflush and _mm_clflushout ?
  2. Is flushing the invalidate pages in the CPU cache is thread-safe, given that each thread flushes different memory regions (can be originated from different CPU cores)?
  3. Just to be sure - these commands are synchronous? I.e., they return only after the cache page is being flushed to the memory (if it is an invalidated page)?
0

There are 0 best solutions below