diff --git a/util/mornafah.c b/util/mornafah.c index 5901459..a191c20 100644 --- a/util/mornafah.c +++ b/util/mornafah.c @@ -68,7 +68,7 @@ static void * local_thread(void *) printf("Local thread(%d): flushing %p.\n", local_core, addr); } - _mm_clflushopt(addr); + _mm_clflush(addr); _mm_mfence(); atomic_signal_fence(memory_order_seq_cst); @@ -105,7 +105,7 @@ static void * remote_thread(void *) temp = *addr; _mm_mfence(); } else { - _mm_clflushopt(addr); + _mm_clflush(addr); _mm_mfence(); }