aboutsummaryrefslogtreecommitdiff
path: root/target/s390x/cpu-param.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/s390x/cpu-param.h')
-rw-r--r--target/s390x/cpu-param.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/s390x/cpu-param.h b/target/s390x/cpu-param.h
index 84ca08626b..11d23b600d 100644
--- a/target/s390x/cpu-param.h
+++ b/target/s390x/cpu-param.h
@@ -13,4 +13,10 @@
#define TARGET_PHYS_ADDR_SPACE_BITS 64
#define TARGET_VIRT_ADDR_SPACE_BITS 64
+/*
+ * The z/Architecture has a strong memory model with some
+ * store-after-load re-ordering.
+ */
+#define TCG_GUEST_DEFAULT_MO (TCG_MO_ALL & ~TCG_MO_ST_LD)
+
#endif