How to leave (invalid without saving) cache line on x86_64?

As I understand it, _mm_clflush()/ _mm_clflushopt()invalidates the cache line, storing it in memory if it was changed. Is there a way to simply discard the cache line without storing any changes made to it in memory?

A precedent is used before freeing memory: I no longer need cache lines or their values.

+4
source share

Source: https://habr.com/ru/post/1684843/


All Articles