aboutsummaryrefslogtreecommitdiff
path: root/tcg/tci/tcg-target.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2017-09-07 10:54:30 -0700
committerPeter Maydell <peter.maydell@linaro.org>2017-09-07 18:57:34 +0100
commitcda4a338c4243fa3bff4498b935340ac7121cc76 (patch)
tree2864896d30aa2fc9c3fa95417b39b474dfa9e336 /tcg/tci/tcg-target.h
parent75be9a52b147790decd62e43d279a5f3dfc95b5c (diff)
tcg/tci: Add TCG_TARGET_DEFAULT_MO
Missed being added as part of 71650df7b0ee. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'tcg/tci/tcg-target.h')
-rw-r--r--tcg/tci/tcg-target.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tcg/tci/tcg-target.h b/tcg/tci/tcg-target.h
index 06963288dc..8df628a319 100644
--- a/tcg/tci/tcg-target.h
+++ b/tcg/tci/tcg-target.h
@@ -192,4 +192,9 @@ static inline void flush_icache_range(uintptr_t start, uintptr_t stop)
{
}
+/* We could notice __i386__ or __s390x__ and reduce the barriers depending
+ on the host. But if you want performance, you use the normal backend.
+ We prefer consistency across hosts on this. */
+#define TCG_TARGET_DEFAULT_MO (0)
+
#endif /* TCG_TARGET_H */