]> git.proxmox.com Git - mirror_qemu.git/commitdiff
target-alpha: Generate fence op
authorPranith Kumar <bobby.prani@gmail.com>
Thu, 14 Jul 2016 20:20:24 +0000 (16:20 -0400)
committerRichard Henderson <rth@twiddle.net>
Fri, 16 Sep 2016 15:12:12 +0000 (08:12 -0700)
Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
Message-Id: <20160714202026.9727-13-bobby.prani@gmail.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
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 */