mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-03-08 10:09:43 +00:00
GCC7+ will no longer advertise support for 16-byte __atomic operations if only cmpxchg is supported, as for x86_64. Fortunately, x86_64 still has support for __sync_compare_and_swap_16 and we can make use of that. AArch64 does not have, nor ever has had such support, so open-code it. Backports commit e6cd4bb59b8154fa00da611200beef7eb4e8ec56 from qemu |
||
---|---|---|
.. | ||
atomic.h | ||
atomic128.h | ||
bitmap.h | ||
bitops.h | ||
bswap.h | ||
compiler.h | ||
cpuid.h | ||
crc32c.h | ||
cutils.h | ||
fprintf-fn.h | ||
host-utils.h | ||
int128.h | ||
log.h | ||
mmap-alloc.h | ||
module.h | ||
osdep.h | ||
queue.h | ||
range.h | ||
sys_membarrier.h | ||
thread-posix.h | ||
thread-win32.h | ||
thread.h | ||
timer.h | ||
typedefs.h | ||
units.h |