ppc: lwsync is the right thing for WB-memory.

We will expose a flag to enable isync.
ck_pring
Samy Al Bahra 10 years ago
parent 360bee1013
commit 3971541783

@ -79,7 +79,7 @@ CK_PR_FENCE(load_store, "lwsync")
CK_PR_FENCE(memory, "sync") CK_PR_FENCE(memory, "sync")
CK_PR_FENCE(acquire, "lwsync") CK_PR_FENCE(acquire, "lwsync")
CK_PR_FENCE(release, "lwsync") CK_PR_FENCE(release, "lwsync")
CK_PR_FENCE(lock, "isync") CK_PR_FENCE(lock, "lwsync")
CK_PR_FENCE(unlock, "lwsync") CK_PR_FENCE(unlock, "lwsync")
#undef CK_PR_FENCE #undef CK_PR_FENCE

@ -82,7 +82,7 @@ CK_PR_FENCE(load_store, "lwsync")
CK_PR_FENCE(memory, "sync") CK_PR_FENCE(memory, "sync")
CK_PR_FENCE(acquire, "lwsync") CK_PR_FENCE(acquire, "lwsync")
CK_PR_FENCE(release, "lwsync") CK_PR_FENCE(release, "lwsync")
CK_PR_FENCE(lock, "isync") CK_PR_FENCE(lock, "lwsync")
CK_PR_FENCE(unlock, "lwsync") CK_PR_FENCE(unlock, "lwsync")
#undef CK_PR_FENCE #undef CK_PR_FENCE

Loading…
Cancel
Save