From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bE7Vr-0003mc-Fe for qemu-devel@nongnu.org; Sat, 18 Jun 2016 00:05:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bE7Vk-0005Mq-ED for qemu-devel@nongnu.org; Sat, 18 Jun 2016 00:05:38 -0400 Received: from mail-yw0-x243.google.com ([2607:f8b0:4002:c05::243]:33231) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bE7Vk-0005Mk-3Q for qemu-devel@nongnu.org; Sat, 18 Jun 2016 00:05:32 -0400 Received: by mail-yw0-x243.google.com with SMTP id d137so4907711ywe.0 for ; Fri, 17 Jun 2016 21:05:32 -0700 (PDT) From: Pranith Kumar Date: Sat, 18 Jun 2016 00:03:41 -0400 Message-Id: <20160618040343.19517-13-bobby.prani@gmail.com> In-Reply-To: <20160618040343.19517-1-bobby.prani@gmail.com> References: <20160618040343.19517-1-bobby.prani@gmail.com> Subject: [Qemu-devel] [RFC v3 PATCH 12/14] target-alpha: Generate fence op List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson , "open list:All patches CC here" Cc: alex.bennee@linaro.org, serge.fdrv@gmail.com Signed-off-by: Richard Henderson Signed-off-by: Pranith Kumar --- target-alpha/translate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 76dab15..f0bba40 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.c @@ -2334,11 +2334,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 */ -- 2.9.0