diff mbox series

tcg/tci: Add TCG_TARGET_DEFAULT_MO

Message ID 20170907175430.2720-1-richard.henderson@linaro.org
State New
Headers show
Series tcg/tci: Add TCG_TARGET_DEFAULT_MO | expand

Commit Message

Richard Henderson Sept. 7, 2017, 5:54 p.m. UTC
Missed being added as part of 71650df7b0ee.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

---
 tcg/tci/tcg-target.h | 5 +++++
 1 file changed, 5 insertions(+)

-- 
2.13.5

Comments

Peter Maydell Sept. 7, 2017, 6:01 p.m. UTC | #1
On 7 September 2017 at 18:54, Richard Henderson
<richard.henderson@linaro.org> wrote:
> Missed being added as part of 71650df7b0ee.

>

> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

> ---

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


Applied to master as a travis build fix, thanks.

-- PMM
diff mbox series

Patch

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