Skip to contentSkip to conversation

tcg/tci: Add TCG_TARGET_DEFAULT_MO

PATCH In review Richard Henderson 2 participants 2 messages Sep 7, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tcg/tci: Add TCG_TARGET_DEFAULT_MO

Missed being added as part of 71650df7b0ee.

---
 tcg/tci/tcg-target.h | 5 +++++
 1 file changed, 5 insertions(+)
tcg/tci/tcg-target.h +5 -0
index 06963288dc..8df628a319 100644
@@ -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 */
Signature · 1 line
2.13.5
#1 lore raw
Quoted 12 lines · Richard Henderson

Missed being added as part of 71650df7b0ee.

---
 tcg/tci/tcg-target.h | 5 +++++
 1 file changed, 5 insertions(+)
tcg/tci/tcg-target.h +0 -0
index 06963288dc..8df628a319 100644

tcg/tci/tcg-target.h static inline void flush_icache_range(uintptr_t start, uintptr_t stop) · line 200

Quoted 9 lines
tcg/tci/tcg-target.h +5 -0
@@ -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 */

Applied to master as a travis build fix, thanks.

-- PMM