aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2017-01-23 19:07:40 -0800
committerRichard Henderson <rth@twiddle.net>2017-02-14 08:15:00 +1100
commit24fc5c0feb0d8ed3367c6628c14ac3ba6ebcbb89 (patch)
tree10283267930f4a943c36deb10760a988f438f912 /target
parent20dc52a37c81b672a5239b20527335508bcea02e (diff)
target/openrisc: Implement msync
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target')
-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 */