equal
deleted
inserted
replaced
77 |
77 |
78 template<size_t byte_size> |
78 template<size_t byte_size> |
79 struct OrderAccess::PlatformOrderedLoad<byte_size, X_ACQUIRE> |
79 struct OrderAccess::PlatformOrderedLoad<byte_size, X_ACQUIRE> |
80 { |
80 { |
81 template <typename T> |
81 template <typename T> |
82 T operator()(const volatile T* p) const { register T t = *p; inlasm_zarch_acquire(); return t; } |
82 T operator()(const volatile T* p) const { T t = *p; inlasm_zarch_acquire(); return t; } |
83 }; |
83 }; |
84 |
84 |
85 #undef inlasm_compiler_barrier |
85 #undef inlasm_compiler_barrier |
86 #undef inlasm_zarch_sync |
86 #undef inlasm_zarch_sync |
87 #undef inlasm_zarch_release |
87 #undef inlasm_zarch_release |