mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
atomic.hpp: fixup (rsp addressing)
This commit is contained in:
parent
2602be426f
commit
062c605eb1
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue