summaryrefslogtreecommitdiffstats
path: root/tcg/arm/tcg-target.h
diff options
context:
space:
mode:
authorRichard Henderson2021-06-14 01:40:38 +0200
committerRichard Henderson2021-06-29 19:04:57 +0200
commit843b82424f9554a48f8ade0e1e3ffb20709f0801 (patch)
treee6f9867debbd481cf8eb13b753f4cb0499697e88 /tcg/arm/tcg-target.h
parenttarget/mips: Fix gen_mxu_s32ldd_s32lddr (diff)
downloadqemu-843b82424f9554a48f8ade0e1e3ffb20709f0801.tar.gz
qemu-843b82424f9554a48f8ade0e1e3ffb20709f0801.tar.xz
qemu-843b82424f9554a48f8ade0e1e3ffb20709f0801.zip
tcg/arm: Unset TCG_TARGET_HAS_MEMORY_BSWAP
Now that the middle-end can replicate the same tricks as tcg/arm used for optimizing bswap for signed loads and for stores, do not pretend to have these memory ops in the backend. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/arm/tcg-target.h')
-rw-r--r--tcg/arm/tcg-target.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/arm/tcg-target.h b/tcg/arm/tcg-target.h
index 57fd0c0c74..95fcef33bc 100644
--- a/tcg/arm/tcg-target.h
+++ b/tcg/arm/tcg-target.h
@@ -174,7 +174,7 @@ extern bool use_neon_instructions;
#define TCG_TARGET_HAS_cmpsel_vec 0
#define TCG_TARGET_DEFAULT_MO (0)
-#define TCG_TARGET_HAS_MEMORY_BSWAP 1
+#define TCG_TARGET_HAS_MEMORY_BSWAP 0
/* not defined -- call should be eliminated at compile time */
void tb_target_set_jmp_target(uintptr_t, uintptr_t, uintptr_t, uintptr_t);