mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 23:55:39 +00:00
8b239bd48b
This introduces load-acquire and store-release operations in QEMU. For now, just use them as an implementation detail of atomic_mb_read and atomic_mb_set. Since docs/atomics.txt documents that atomic_mb_read only synchronizes with an atomic_mb_set of the same variable, we can use the new implementation everywhere instead of seq-cst loads and stores. Backports commit 803cf26a9e019b5d2256a8edeb22e3538c4f3261 from qemu |
||
---|---|---|
.. | ||
crypto | ||
exec | ||
fpu | ||
hw | ||
qapi | ||
qemu | ||
qom | ||
sysemu | ||
config.h | ||
elf.h | ||
glib_compat.h | ||
qemu-common.h |