summaryrefslogtreecommitdiffstats
path: root/tcg/s390/tcg-target.h
diff options
context:
space:
mode:
authorRichard Henderson2018-11-20 08:37:42 +0100
committerRichard Henderson2018-12-17 04:04:44 +0100
commite1dcf3529d0797b25bb49a20e94b62eb93e7276a (patch)
tree772e79f2b1c6734d8b9dcac871caf04577dbc069 /tcg/s390/tcg-target.h
parenttcg/optimize: Optimize bswap (diff)
downloadqemu-e1dcf3529d0797b25bb49a20e94b62eb93e7276a.tar.gz
qemu-e1dcf3529d0797b25bb49a20e94b62eb93e7276a.tar.xz
qemu-e1dcf3529d0797b25bb49a20e94b62eb93e7276a.zip
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/s390/tcg-target.h')
-rw-r--r--tcg/s390/tcg-target.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcg/s390/tcg-target.h b/tcg/s390/tcg-target.h
index 6f2b06a7d1..853ed6e7aa 100644
--- a/tcg/s390/tcg-target.h
+++ b/tcg/s390/tcg-target.h
@@ -135,6 +135,7 @@ extern uint64_t s390_facilities;
#define TCG_TARGET_CALL_STACK_OFFSET 160
#define TCG_TARGET_EXTEND_ARGS 1
+#define TCG_TARGET_HAS_MEMORY_BSWAP 1
#define TCG_TARGET_DEFAULT_MO (TCG_MO_ALL & ~TCG_MO_ST_LD)