]> Git Repo - qemu.git/commitdiff
target-alpha: Generate fence op
authorPranith Kumar <[email protected]>
Thu, 14 Jul 2016 20:20:24 +0000 (16:20 -0400)
committerRichard Henderson <[email protected]>
Fri, 16 Sep 2016 15:12:12 +0000 (08:12 -0700)
Signed-off-by: Pranith Kumar <[email protected]>
Message-Id: <20160714202026[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
target-alpha/translate.c

index 0ea0e6e1465d3fcc0c4bd6b363f08b34c9643343..c27c7b9cc49937098b5e54f95236f66f084abaac 100644 (file)
@@ -2338,11 +2338,11 @@ static ExitStatus translate_one(DisasContext *ctx, uint32_t insn)
             break;
         case 0x4000:
             /* MB */
-            /* No-op */
+            tcg_gen_mb(TCG_MO_ALL | TCG_BAR_SC);
             break;
         case 0x4400:
             /* WMB */
-            /* No-op */
+            tcg_gen_mb(TCG_MO_ST_ST | TCG_BAR_SC);
             break;
         case 0x8000:
             /* FETCH */
This page took 0.027241 seconds and 4 git commands to generate.