diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2018-11-20 08:37:42 +0100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2018-12-17 06:04:44 +0300 |
commit | e1dcf3529d0797b25bb49a20e94b62eb93e7276a (patch) | |
tree | 772e79f2b1c6734d8b9dcac871caf04577dbc069 /tcg/sparc | |
parent | 6498594c8eda83c5f5915afc34bd03396f8de6df (diff) | |
download | qemu-e1dcf3529d0797b25bb49a20e94b62eb93e7276a.zip qemu-e1dcf3529d0797b25bb49a20e94b62eb93e7276a.tar.gz qemu-e1dcf3529d0797b25bb49a20e94b62eb93e7276a.tar.bz2 |
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 <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/sparc')
-rw-r--r-- | tcg/sparc/tcg-target.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tcg/sparc/tcg-target.h b/tcg/sparc/tcg-target.h index d8339bf..a0ed2a3 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) { |