qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] tcg/tci: Add TCG_TARGET_DEFAULT_MO


From: Richard Henderson
Subject: [Qemu-devel] [PATCH] tcg/tci: Add TCG_TARGET_DEFAULT_MO
Date: Thu, 7 Sep 2017 10:54:30 -0700

Missed being added as part of 71650df7b0ee.

Signed-off-by: Richard Henderson <address@hidden>
---
 tcg/tci/tcg-target.h | 5 +++++
 1 file changed, 5 insertions(+)

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 */
-- 
2.13.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]