From patchwork Sat Jun 18 04:03:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pranith Kumar X-Patchwork-Id: 9185411 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AA3DB6075F for ; Sat, 18 Jun 2016 04:14:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9183A27D45 for ; Sat, 18 Jun 2016 04:14:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 85DF42835B; Sat, 18 Jun 2016 04:14:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 19E8027D45 for ; Sat, 18 Jun 2016 04:14:43 +0000 (UTC) Received: from localhost ([::1]:33010 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bE7ec-0004sg-9X for patchwork-qemu-devel@patchwork.kernel.org; Sat, 18 Jun 2016 00:14:42 -0400 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=fuMmGQmqlvvFzNyteFaMUoJq1ASr+QGRCXQwjbSnPpA=; b=xUtA+G99BRaFDag9k5pkl8a7NHmpOShNQIFSiyyTsbKy88lYSy9+mTtIEOkQY62UtL 8e4lzVlu17xwRXxdo7FD3vVBqUYMEvQyZ6RwczqsfeufRGfLk+6x/x7kr3Z1l68s5Tv3 BptrF8MBe97ydqgCNz6/YH6tyrdwERBDvDq+/Vmj+XLQcmouEDGOwjih5AS1MFzijazD UW0ZGhgApp0eyIl8fKRV0wvlTAnoXBDB7kRN/97gqC+1de4H8RjVNJnrCqY+nbfIZmgL 4th9VVbEOh4Br9/OJX7/NgKrgT21n/k4UpFaPF/nh3Y/X2c54nXTzdv0qPSC59Gy+/OB 1iJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=fuMmGQmqlvvFzNyteFaMUoJq1ASr+QGRCXQwjbSnPpA=; b=A5UDP1voaCDQEJcfjQmbG+W1iQsdFa8EMzQh8tIkdh4O+XilGdEmq+rne0e9zTitgv NiC2EOgqJdWb4S+nBCC82Ldv5Vj5cBkgOIve0UrbrJGBgdy3y8IdIAywY5CBsmOyPaQ+ +jIqiJf2/nYvtwgM9D/Gg14V1amm5T66Ac5jb6paefGVauTkLBJyLsMsCF0JoqA0VF2e KRT/RzROI0/FGgJ+W8Hq9wvdukO25cci8rgVqOYQoZAf6w9KXwp5dJ6HKFqPZ04wATD9 SZd/Vyc8a+gb17lTMpADRQwRXfac6FfUexQKPk5K4/GwzNhRET44Qij/pVFhLjm5/Pe+ vuzQ== X-Gm-Message-State: ALyK8tL2sWecZY6Hd2wVyI5rR/0eKzdX7nSKZqOZ5ZjiQ1XGtVeaGWOmz4LijtuCFhZ1kg== X-Received: by 10.13.194.195 with SMTP id e186mr2908547ywd.7.1466222731843; Fri, 17 Jun 2016 21:05:31 -0700 (PDT) Received: from evgadesktop.attlocal.net (108-232-152-155.lightspeed.tukrga.sbcglobal.net. [108.232.152.155]) by smtp.gmail.com with ESMTPSA id q7sm19517992ywg.16.2016.06.17.21.05.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 17 Jun 2016 21:05:31 -0700 (PDT) From: Pranith Kumar To: Richard Henderson , qemu-devel@nongnu.org (open list:All patches CC here) Date: Sat, 18 Jun 2016 00:03:41 -0400 Message-Id: <20160618040343.19517-13-bobby.prani@gmail.com> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20160618040343.19517-1-bobby.prani@gmail.com> References: <20160618040343.19517-1-bobby.prani@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4002:c05::243 Subject: [Qemu-devel] [RFC v3 PATCH 12/14] target-alpha: Generate fence op X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: serge.fdrv@gmail.com, alex.bennee@linaro.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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 */