mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 10:42:36 +01:00
atomic.hpp: fixup (rsp addressing)
This commit is contained in:
parent
2602be426f
commit
062c605eb1
@ -52,7 +52,7 @@ FORCE_INLINE void atomic_fence_seq_cst()
|
|||||||
_InterlockedOr(static_cast<long*>(_AddressOfReturnAddress()), 0);
|
_InterlockedOr(static_cast<long*>(_AddressOfReturnAddress()), 0);
|
||||||
_ReadWriteBarrier();
|
_ReadWriteBarrier();
|
||||||
#else
|
#else
|
||||||
__asm__ volatile ("lock orl $0, 0(%%esp);" ::: "cc", "memory");
|
__asm__ volatile ("lock orl $0, 0(%%rsp);" ::: "cc", "memory");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user