From 631d5f93f45517316566021fc730f6079b01671a Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Tue, 17 May 2011 17:40:51 -0400 Subject: [PATCH] ck_pr/sparcv9: Recent SPARCs actually implement RSO. ck_pr_fence_store/load will enforce store/load barriers by default from now on. --- include/gcc/sparcv9/ck_pr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/gcc/sparcv9/ck_pr.h b/include/gcc/sparcv9/ck_pr.h index 0797de9..b1c63b9 100644 --- a/include/gcc/sparcv9/ck_pr.h +++ b/include/gcc/sparcv9/ck_pr.h @@ -65,8 +65,8 @@ ck_pr_stall(void) } CK_PR_FENCE(load_depends, "") -CK_PR_FENCE(store, "") -CK_PR_FENCE(load, "") +CK_PR_FENCE(store, "membar #StoreStore") +CK_PR_FENCE(load, "membar #LoadLoad") CK_PR_FENCE(memory, "membar #MemIssue") #undef CK_PR_FENCE