Message ID | 20160531183928.29406-13-bobby.prani@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 5b86992..17b68f5 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.c @@ -2329,11 +2329,12 @@ static ExitStatus translate_one(DisasContext *ctx, uint32_t insn) break; case 0x4000: /* MB */ - /* No-op */ + tcg_gen_mb(TCG_MB_FULL); break; case 0x4400: /* WMB */ - /* No-op */ + /* TODO: Change this to write barrier */ + tcg_gen_mb(TCG_MB_FULL); break; case 0x8000: /* FETCH */