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/sparc/tcg-target.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tcg/sparc') diff --git a/tcg/sparc/tcg-target.h b/tcg/sparc/tcg-target.h index d8339bf010..a0ed2a3342 100644 --- a/tcg/sparc/tcg-target.h +++ b/tcg/sparc/tcg-target.h @@ -164,6 +164,7 @@ extern bool use_vis3_instructions; #define TCG_AREG0 TCG_REG_I0 #define TCG_TARGET_DEFAULT_MO (0) +#define TCG_TARGET_HAS_MEMORY_BSWAP 1 static inline void flush_icache_range(uintptr_t start, uintptr_t stop) { -- cgit v1.2.3