qemu-e2k/tcg
Richard Henderson 76f9d6ad19 tcg: Use HAVE_CMPXCHG128 instead of CONFIG_CMPXCHG128
We adjust CONFIG_ATOMIC128 and CONFIG_CMPXCHG128 with
CONFIG_ATOMIC128_OPT in atomic128.h.  It is difficult
to tell when those changes have been applied with the
ifdef we must use with CONFIG_CMPXCHG128.  So instead
use HAVE_CMPXCHG128, which triggers -Werror-undef when
the proper header has not been included.

Improves tcg_gen_atomic_cmpxchg_i128 for s390x host, which
requires CONFIG_ATOMIC128_OPT.  Without this we fall back
to EXCP_ATOMIC to single-step 128-bit atomics, which is
slow enough to cause some tests to time out.

Reported-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2023-07-15 08:02:49 +01:00
..
aarch64
arm
i386
loongarch64
mips
ppc util: Add cpuinfo-ppc.c 2023-07-08 07:30:17 +01:00
riscv
s390x
sparc64
tci
meson.build
optimize.c
region.c
tcg-common.c
tcg-internal.h
tcg-ldst.c.inc
tcg-op-gvec.c tcg: Fix temporary variable in tcg_gen_gvec_andcs 2023-06-26 17:33:00 +02:00
tcg-op-ldst.c tcg: Use HAVE_CMPXCHG128 instead of CONFIG_CMPXCHG128 2023-07-15 08:02:49 +01:00
tcg-op-vec.c tcg: Reduce tcg_assert_listed_vecop() scope 2023-07-01 08:26:54 +02:00
tcg-op.c tcg: Do not elide memory barriers for !CF_PARALLEL in system mode 2023-06-26 17:33:00 +02:00
tcg-pool.c.inc
tcg.c tcg: Fix info_in_idx increment in layout_arg_by_ref 2023-07-15 08:02:32 +01:00
tci.c