< prev index next >
src/hotspot/os_cpu/linux_arm/orderAccess_linux_arm.inline.hpp
Print this page
@@ -130,11 +130,10 @@
#ifdef AARCH64
template<>
struct OrderAccess::PlatformOrderedLoad<1, X_ACQUIRE>
- VALUE_OBJ_CLASS_SPEC
{
template <typename T>
T operator()(const volatile T* p) const {
volatile T result;
__asm__ volatile(
@@ -146,11 +145,10 @@
}
};
template<>
struct OrderAccess::PlatformOrderedLoad<2, X_ACQUIRE>
- VALUE_OBJ_CLASS_SPEC
{
template <typename T>
T operator()(const volatile T* p) const {
volatile T result;
__asm__ volatile(
@@ -162,11 +160,10 @@
}
};
template<>
struct OrderAccess::PlatformOrderedLoad<4, X_ACQUIRE>
- VALUE_OBJ_CLASS_SPEC
{
template <typename T>
T operator()(const volatile T* p) const {
volatile T result;
__asm__ volatile(
@@ -178,11 +175,10 @@
}
};
template<>
struct OrderAccess::PlatformOrderedLoad<8, X_ACQUIRE>
- VALUE_OBJ_CLASS_SPEC
{
template <typename T>
T operator()(const volatile T* p) const {
volatile T result;
__asm__ volatile(
@@ -194,11 +190,10 @@
}
};
template<>
struct OrderAccess::PlatformOrderedStore<1, RELEASE_X_FENCE>
- VALUE_OBJ_CLASS_SPEC
{
template <typename T>
void operator()(T v, volatile T* p) const {
__asm__ volatile(
"stlrb %w[val], [%[ptr]]"
@@ -208,11 +203,10 @@
}
};
template<>
struct OrderAccess::PlatformOrderedStore<2, RELEASE_X_FENCE>
- VALUE_OBJ_CLASS_SPEC
{
template <typename T>
void operator()(T v, volatile T* p) const {
__asm__ volatile(
"stlrh %w[val], [%[ptr]]"
@@ -222,11 +216,10 @@
}
};
template<>
struct OrderAccess::PlatformOrderedStore<4, RELEASE_X_FENCE>
- VALUE_OBJ_CLASS_SPEC
{
template <typename T>
void operator()(T v, volatile T* p) const {
__asm__ volatile(
"stlr %w[val], [%[ptr]]"
@@ -236,11 +229,10 @@
}
};
template<>
struct OrderAccess::PlatformOrderedStore<8, RELEASE_X_FENCE>
- VALUE_OBJ_CLASS_SPEC
{
template <typename T>
void operator()(T v, volatile T* p) const {
__asm__ volatile(
"stlr %[val], [%[ptr]]"
< prev index next >