From f149dd09fea274d1953c905d3185b72ba1254fe1 Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Fri, 12 Jul 2013 19:06:05 -0400 Subject: [PATCH] ck_pr: Add ck_pr_fence_strict_atomic for x86-64. --- include/gcc/x86_64/ck_pr.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/gcc/x86_64/ck_pr.h b/include/gcc/x86_64/ck_pr.h index df52117..9e952fc 100644 --- a/include/gcc/x86_64/ck_pr.h +++ b/include/gcc/x86_64/ck_pr.h @@ -76,6 +76,7 @@ ck_pr_stall(void) __asm__ __volatile__(I ::: "memory"); \ } +CK_PR_FENCE(atomic, "sfence") CK_PR_FENCE(atomic_store, "sfence") CK_PR_FENCE(atomic_load, "mfence") CK_PR_FENCE(store_atomic, "sfence")