mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-06 15:01:18 +12:00
Implement _mm_mfence for aarch64
This commit is contained in:
parent
dc1dc4491c
commit
6786bcaaf5
1 changed files with 2 additions and 1 deletions
|
@ -291,7 +291,8 @@ inline uint64 __rdtsc()
|
|||
|
||||
inline void _mm_mfence()
|
||||
{
|
||||
|
||||
asm volatile("" ::: "memory");
|
||||
std::atomic_thread_fence(std::memory_order_seq_cst);
|
||||
}
|
||||
|
||||
inline unsigned char _addcarry_u64(unsigned char carry, unsigned long long a, unsigned long long b, unsigned long long *result)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue