As I understand, _mm_clflush()
/ _mm_clflushopt()
invalidates a cache line while saving it to memory if it has been changed. Is there a way to simply abandon a cache line, without saving to memory any changes made to it?
A use case is before freeing memory: I don't need cache lines or their values anymore.