tcg/tci: Add TCG_TARGET_DEFAULT_MO
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 7 Sep 2017 17:54:30 +0000 (10:54 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 7 Sep 2017 17:57:34 +0000 (18:57 +0100)
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>
tcg/tci/tcg-target.h

index 06963288dcad737442f66b19c2bada620e9a3c20..8df628a3194aca885c2a13e203d4eddf3d54165a 100644 (file)
@@ -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 */