From 24fc5c0feb0d8ed3367c6628c14ac3ba6ebcbb89 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Mon, 23 Jan 2017 19:07:40 -0800 Subject: [PATCH] target/openrisc: Implement msync Signed-off-by: Richard Henderson --- target/openrisc/translate.c | 1 + 1 file changed, 1 insertion(+) 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 */