From 787cffe9c9e727503333ee6a2bf59d58f0d52c28 Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Sun, 28 Jun 2015 12:58:13 -0400 Subject: [PATCH] ck_pr/arm: store_load requires DMB. Emit full synchronize for store_load. --- include/gcc/arm/ck_pr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/gcc/arm/ck_pr.h b/include/gcc/arm/ck_pr.h index d658412..35be59a 100644 --- a/include/gcc/arm/ck_pr.h +++ b/include/gcc/arm/ck_pr.h @@ -88,7 +88,7 @@ CK_PR_FENCE(atomic_load, CK_DMB_ST) CK_PR_FENCE(store_atomic, CK_DMB_ST) CK_PR_FENCE(load_atomic, CK_DMB) CK_PR_FENCE(store, CK_DMB_ST) -CK_PR_FENCE(store_load, CK_DMB_ST) +CK_PR_FENCE(store_load, CK_DMB) CK_PR_FENCE(load, CK_DMB) CK_PR_FENCE(load_store, CK_DMB) CK_PR_FENCE(memory, CK_DMB)