From 14e51eaa9114066ca6b655bc95ad85d52a044de7 Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Sun, 25 Feb 2018 21:49:47 -0500 Subject: [PATCH] ck_pr/sparcv9: use the more stringent #MemIssue barrier. This is to match the semantics of the FreeBSD kernel. --- include/gcc/sparcv9/ck_pr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/gcc/sparcv9/ck_pr.h b/include/gcc/sparcv9/ck_pr.h index 767af6a..7dc7172 100644 --- a/include/gcc/sparcv9/ck_pr.h +++ b/include/gcc/sparcv9/ck_pr.h @@ -76,7 +76,7 @@ CK_PR_FENCE(store, "membar #StoreStore") CK_PR_FENCE(store_load, "membar #StoreLoad") CK_PR_FENCE(load, "membar #LoadLoad") CK_PR_FENCE(load_store, "membar #LoadStore") -CK_PR_FENCE(memory, "membar #LoadLoad | #LoadStore | #StoreStore | #StoreLoad") +CK_PR_FENCE(memory, "membar #MemIssue") CK_PR_FENCE(acquire, "membar #LoadLoad | #LoadStore") CK_PR_FENCE(release, "membar #LoadStore | #StoreStore") CK_PR_FENCE(acqrel, "membar #LoadLoad | #LoadStore | #StoreStore")