summaryrefslogtreecommitdiffstats
path: root/tcg/tci
diff options
context:
space:
mode:
authorRichard Henderson2017-09-07 19:54:30 +0200
committerPeter Maydell2017-09-07 19:57:34 +0200
commitcda4a338c4243fa3bff4498b935340ac7121cc76 (patch)
tree2864896d30aa2fc9c3fa95417b39b474dfa9e336 /tcg/tci
parentMerge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2017-09-06' into st... (diff)
downloadqemu-cda4a338c4243fa3bff4498b935340ac7121cc76.tar.gz
qemu-cda4a338c4243fa3bff4498b935340ac7121cc76.tar.xz
qemu-cda4a338c4243fa3bff4498b935340ac7121cc76.zip
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')
-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 */