summary refs log tree commit diff stats
path: root/target/hexagon/cpu-param.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-03-21 12:10:45 +0100
committerRichard Henderson <richard.henderson@linaro.org>2025-04-23 15:07:32 -0700
commitc2ba9fea42391c316794c78f0f6f01760b1fb0f7 (patch)
treed2923ad1b146289da78b8a344f02af24d79a38ff /target/hexagon/cpu-param.h
parentd864cbb65da2220038a9b3aff98ae7f73a3198d3 (diff)
downloadfocaccia-qemu-c2ba9fea42391c316794c78f0f6f01760b1fb0f7.tar.gz
focaccia-qemu-c2ba9fea42391c316794c78f0f6f01760b1fb0f7.zip
tcg: Always define TCG_GUEST_DEFAULT_MO
We only require the TCG_GUEST_DEFAULT_MO for MTTCG-enabled
frontends, otherwise we use a default value of TCG_MO_ALL.

In order to simplify, require the definition for all targets,
defining it for hexagon, m68k, rx, sh4 and tricore.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/hexagon/cpu-param.h')
-rw-r--r--target/hexagon/cpu-param.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/hexagon/cpu-param.h b/target/hexagon/cpu-param.h
index 635d509e74..7cc63a01d4 100644
--- a/target/hexagon/cpu-param.h
+++ b/target/hexagon/cpu-param.h
@@ -25,4 +25,7 @@
 
 #define TARGET_INSN_START_EXTRA_WORDS 0
 
+/* MTTCG not yet supported: require strict ordering */
+#define TCG_GUEST_DEFAULT_MO        TCG_MO_ALL
+
 #endif