ck_pr: Add ck_pr_fence_strict_atomic for x86-64.

ck_pring
Samy Al Bahra 12 years ago
parent 55decd0b38
commit f149dd09fe

@ -76,6 +76,7 @@ ck_pr_stall(void)
__asm__ __volatile__(I ::: "memory"); \ __asm__ __volatile__(I ::: "memory"); \
} }
CK_PR_FENCE(atomic, "sfence")
CK_PR_FENCE(atomic_store, "sfence") CK_PR_FENCE(atomic_store, "sfence")
CK_PR_FENCE(atomic_load, "mfence") CK_PR_FENCE(atomic_load, "mfence")
CK_PR_FENCE(store_atomic, "sfence") CK_PR_FENCE(store_atomic, "sfence")

Loading…
Cancel
Save