On 10/25/22 09:24, Richard Henderson wrote:
Merge the CONFIG_ATOMIC128 and CONFIG_CMPXCHG128 cases
with respect to atomic16_cmpxchg and use
__atomic_compare_exchange_nomic (via qatomic_cmpxchg)
instead of the "legacy" __sync_val_compare_and_swap_16.
Update the meson has_cmpxchg128 test to match.
Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
---
include/qemu/atomic128.h | 8 +-------
meson.build | 3 ++-
2 files changed, 3 insertions(+), 8 deletions(-)
Ho hum. Must drop this one since for reasons that I cannot fathom, x86_64 does not
implement the __atomic version.
r~