aboutsummaryrefslogtreecommitdiffstats
path: root/include/gcc/sparcv9/ck_pr.h
diff options
context:
space:
mode:
authorOlivier Houchard <cognet@FreeBSD.org>2018-04-02 23:35:32 +0000
committerOlivier Houchard <cognet@FreeBSD.org>2018-04-02 23:35:32 +0000
commite8d27288c2439ee79c81e4684ea90e8ca1aab845 (patch)
tree167d58dad3c007074e191f90478c1824dfe32aa5 /include/gcc/sparcv9/ck_pr.h
parent358370410ca01ec37e55ea44c0f3cd1fa8860c5d (diff)
downloadsrc-e8d27288c2439ee79c81e4684ea90e8ca1aab845.tar.gz
src-e8d27288c2439ee79c81e4684ea90e8ca1aab845.zip
Import CK as of commit b19ed4c6a56ec93215ab567ba18ba61bf1cfbac8vendor/ck/20180304
It should fix ck_pr_[load|store]_ptr on mips and riscv, make sure no *fence instructions are used on i386, as older cpus don't support it, and make sure we don't rely on gcc builtins that can lead to calls to libatomic when linked with -O0.
Notes
Notes: svn path=/vendor-sys/ck/dist/; revision=331895 svn path=/vendor-sys/ck/20180304/; revision=331896; tag=vendor/ck/20180304
Diffstat (limited to 'include/gcc/sparcv9/ck_pr.h')
-rw-r--r--include/gcc/sparcv9/ck_pr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gcc/sparcv9/ck_pr.h b/include/gcc/sparcv9/ck_pr.h
index 767af6a0268b..7dc7172557b6 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")