Implement _mm_mfence for aarch64

This commit is contained in:
Exverge 2024-07-04 18:14:09 -04:00
parent dc1dc4491c
commit 6786bcaaf5
No known key found for this signature in database
GPG key ID: 19AAFC0AC6A9B35A

View file

@ -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)