summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--target/openrisc/translate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/openrisc/translate.c b/target/openrisc/translate.c
index 6c8f05ce35..dd4ba8c8ee 100644
--- a/target/openrisc/translate.c
+++ b/target/openrisc/translate.c
@@ -1144,6 +1144,7 @@ static void dec_sys(DisasContext *dc, uint32_t insn)
 
     case 0x200:    /* l.msync */
         LOG_DIS("l.msync\n");
+        tcg_gen_mb(TCG_MO_ALL);
         break;
 
     case 0x270:    /* l.psync */