From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNn80-0000Cs-Vz for qemu-devel@nongnu.org; Thu, 14 Jul 2016 16:21:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNn80-0001dK-1F for qemu-devel@nongnu.org; Thu, 14 Jul 2016 16:21:00 -0400 Received: from mail-yw0-x244.google.com ([2607:f8b0:4002:c05::244]:35584) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNn7z-0001dD-TQ for qemu-devel@nongnu.org; Thu, 14 Jul 2016 16:20:59 -0400 Received: by mail-yw0-x244.google.com with SMTP id c13so5574216ywh.2 for ; Thu, 14 Jul 2016 13:20:59 -0700 (PDT) From: Pranith Kumar Date: Thu, 14 Jul 2016 16:20:24 -0400 Message-Id: <20160714202026.9727-13-bobby.prani@gmail.com> In-Reply-To: <20160714202026.9727-1-bobby.prani@gmail.com> References: <20160714202026.9727-1-bobby.prani@gmail.com> Subject: [Qemu-devel] [PATCH v4 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, pbonzini@redhat.com, peter.maydell@linaro.org Signed-off-by: Pranith Kumar Signed-off-by: Richard Henderson --- 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 0ea0e6e..c27c7b9 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.c @@ -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 */ -- 2.9.0