From e1dcf3529d0797b25bb49a20e94b62eb93e7276a Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 20 Nov 2018 08:37:42 +0100 Subject: tcg: Add TCG_TARGET_HAS_MEMORY_BSWAP For now, defined universally as true, since we previously required backends to implement swapped memory operations. Future patches may now remove that support where it is onerous. Signed-off-by: Richard Henderson --- tcg/i386/tcg-target.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tcg/i386') diff --git a/tcg/i386/tcg-target.h b/tcg/i386/tcg-target.h index c523d5f..f378d29 100644 --- a/tcg/i386/tcg-target.h +++ b/tcg/i386/tcg-target.h @@ -220,6 +220,8 @@ static inline void tb_target_set_jmp_target(uintptr_t tc_ptr, #define TCG_TARGET_DEFAULT_MO (TCG_MO_ALL & ~TCG_MO_ST_LD) +#define TCG_TARGET_HAS_MEMORY_BSWAP 1 + #ifdef CONFIG_SOFTMMU #define TCG_TARGET_NEED_LDST_LABELS #endif -- cgit v1.1