]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg: Split CONFIG_ATOMIC128
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 15 Aug 2018 23:31:47 +0000 (16:31 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 19 Oct 2018 02:46:36 +0000 (19:46 -0700)
commite6cd4bb59b8154fa00da611200beef7eb4e8ec56
tree092a1f3d8da6fe618602199eb7af7a6f65aa1950
parent383beda9cf32f795616c3b93f7d6154d70372d4b
tcg: Split CONFIG_ATOMIC128

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.

Reviewed-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/atomic_template.h
accel/tcg/cputlb.c
accel/tcg/user-exec.c
configure
include/qemu/atomic128.h [new file with mode: 0644]
include/qemu/compiler.h
tcg/tcg.h