Re: [PATCH 4/4] include/qemu/atomic128: Avoid __sync_val_compare_and_swap_16

2022-10-24 Thread Richard Henderson
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.

[PATCH 4/4] include/qemu/atomic128: Avoid __sync_val_compare_and_swap_16

2022-10-24 Thread Richard Henderson
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 --- inclu