tcg: Introduce tcg_target_has_memory_bswap
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 19 Apr 2023 10:43:17 +0000 (12:43 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 16 May 2023 22:21:39 +0000 (15:21 -0700)
commit7b8801071951c55dc506c1fca8b40ba292a28d6e
tree7a4827ed0648128338d658ccf52d29a77b12f53b
parent933b331b306cd530a441d25245577f30ee0b938e
tcg: Introduce tcg_target_has_memory_bswap

Replace the unparameterized TCG_TARGET_HAS_MEMORY_BSWAP macro
with a function with a memop argument.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
22 files changed:
tcg/aarch64/tcg-target.c.inc
tcg/aarch64/tcg-target.h
tcg/arm/tcg-target.c.inc
tcg/arm/tcg-target.h
tcg/i386/tcg-target.c.inc
tcg/i386/tcg-target.h
tcg/loongarch64/tcg-target.c.inc
tcg/loongarch64/tcg-target.h
tcg/mips/tcg-target.c.inc
tcg/mips/tcg-target.h
tcg/ppc/tcg-target.c.inc
tcg/ppc/tcg-target.h
tcg/riscv/tcg-target.c.inc
tcg/riscv/tcg-target.h
tcg/s390x/tcg-target.c.inc
tcg/s390x/tcg-target.h
tcg/sparc64/tcg-target.c.inc
tcg/sparc64/tcg-target.h
tcg/tcg-internal.h
tcg/tcg-op.c
tcg/tci/tcg-target.c.inc
tcg/tci/tcg-target.h