mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 02:32: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);
|
||||
_ReadWriteBarrier();
|
||||
#else
|
||||
__asm__ volatile ("lock orl $0, 0(%%esp);" ::: "cc", "memory");
|
||||
__asm__ volatile ("lock orl $0, 0(%%rsp);" ::: "cc", "memory");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user