|
|
@ -74,14 +74,6 @@ CK_PR_FENCE(memory, "membar #LoadLoad | #LoadStore | #StoreStore | #StoreLoad")
|
|
|
|
|
|
|
|
|
|
|
|
#undef CK_PR_FENCE
|
|
|
|
#undef CK_PR_FENCE
|
|
|
|
|
|
|
|
|
|
|
|
CK_CC_INLINE static void
|
|
|
|
|
|
|
|
ck_pr_barrier(void)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__asm__ __volatile__("" ::: "memory");
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define CK_PR_LOAD(S, M, T, C, I) \
|
|
|
|
#define CK_PR_LOAD(S, M, T, C, I) \
|
|
|
|
CK_CC_INLINE static T \
|
|
|
|
CK_CC_INLINE static T \
|
|
|
|
ck_pr_load_##S(const M *target) \
|
|
|
|
ck_pr_load_##S(const M *target) \
|
|
|
|