< prev index next >

src/hotspot/os_cpu/windows_x86/atomic_windows_x86.hpp

Print this page

        

*** 211,222 **** return dest; } template<> template<typename T> ! inline void Atomic::PlatformStore<8>::operator()(T store_value, ! T volatile* dest) const { STATIC_ASSERT(8 == sizeof(T)); volatile T* src = &store_value; __asm { mov eax, src fild qword ptr [eax] --- 211,222 ---- return dest; } template<> template<typename T> ! inline void Atomic::PlatformStore<8>::operator()(T volatile* dest, ! T store_value) const { STATIC_ASSERT(8 == sizeof(T)); volatile T* src = &store_value; __asm { mov eax, src fild qword ptr [eax]
*** 232,242 **** #ifndef AMD64 template<> struct Atomic::PlatformOrderedStore<1, RELEASE_X_FENCE> { template <typename T> ! void operator()(T v, volatile T* p) const { __asm { mov edx, p; mov al, v; xchg al, byte ptr [edx]; } --- 232,242 ---- #ifndef AMD64 template<> struct Atomic::PlatformOrderedStore<1, RELEASE_X_FENCE> { template <typename T> ! void operator()(volatile T* p, T v) const { __asm { mov edx, p; mov al, v; xchg al, byte ptr [edx]; }
*** 245,255 **** template<> struct Atomic::PlatformOrderedStore<2, RELEASE_X_FENCE> { template <typename T> ! void operator()(T v, volatile T* p) const { __asm { mov edx, p; mov ax, v; xchg ax, word ptr [edx]; } --- 245,255 ---- template<> struct Atomic::PlatformOrderedStore<2, RELEASE_X_FENCE> { template <typename T> ! void operator()(volatile T* p, T v) const { __asm { mov edx, p; mov ax, v; xchg ax, word ptr [edx]; }
*** 258,268 **** template<> struct Atomic::PlatformOrderedStore<4, RELEASE_X_FENCE> { template <typename T> ! void operator()(T v, volatile T* p) const { __asm { mov edx, p; mov eax, v; xchg eax, dword ptr [edx]; } --- 258,268 ---- template<> struct Atomic::PlatformOrderedStore<4, RELEASE_X_FENCE> { template <typename T> ! void operator()(volatile T* p, T v) const { __asm { mov edx, p; mov eax, v; xchg eax, dword ptr [edx]; }
< prev index next >