From patchwork Wed Oct 15 07:16:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 38767 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E681020C4E for ; Wed, 15 Oct 2014 07:17:03 +0000 (UTC) Received: by mail-wi0-f199.google.com with SMTP id d1sf452360wiv.10 for ; Wed, 15 Oct 2014 00:17:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id :mime-version:cc:subject:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=6dYBiPE6VyfMuxUGM9SKhr/PdS4AfuFuUVezruQarbc=; b=anfSRCagBRA0QvJuQoV/8jFrucZbkDGGwWZMRYVZ+sJP/LQnk+lihcnJYqBvfjsk4u 9A4YiPiMV4q4oCrDDmEnzTG5YqYM2V6qQ8a5Kvt5XVhxf6lQbNfJI0UUuk7N+c9Cri/r yIIJbIp+wj72Fcx8hXHV13QI0rDNP735I87aTZSzP7JYPrj7ynHDdDBJIB2Fg4Loq4Gd ussIiU2rNgw0heirBmV0l+QR+19OSw1pC2MVDsNM1z3zblURt/n8QDk5mURR4K/eyCz5 Cft95YrsiTSIpPfh2RM5GX/w47O3lDkSnuiXr14BaU3z/M32wPMBXtCyyzogR2+mguWY LIkA== X-Gm-Message-State: ALoCoQnzB4H+xwGZovcdc5olL9rxAk51vwJeL2GwazCZ2qFmgkTag8zSTvqiLnaXt/B7NcJabwdp X-Received: by 10.112.137.202 with SMTP id qk10mr112707lbb.11.1413357423000; Wed, 15 Oct 2014 00:17:03 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.36.101 with SMTP id p5ls23517laj.34.gmail; Wed, 15 Oct 2014 00:17:02 -0700 (PDT) X-Received: by 10.112.234.201 with SMTP id ug9mr10556681lbc.14.1413357422608; Wed, 15 Oct 2014 00:17:02 -0700 (PDT) Received: from mail-la0-f48.google.com (mail-la0-f48.google.com [209.85.215.48]) by mx.google.com with ESMTPS id vu3si25800537lbb.82.2014.10.15.00.17.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 15 Oct 2014 00:17:02 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) client-ip=209.85.215.48; Received: by mail-la0-f48.google.com with SMTP id gi9so507344lab.21 for ; Wed, 15 Oct 2014 00:17:02 -0700 (PDT) X-Received: by 10.152.87.98 with SMTP id w2mr10122476laz.27.1413357422472; Wed, 15 Oct 2014 00:17:02 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.84.229 with SMTP id c5csp543013lbz; Wed, 15 Oct 2014 00:17:01 -0700 (PDT) X-Received: by 10.224.125.129 with SMTP id y1mr17244578qar.75.1413357421158; Wed, 15 Oct 2014 00:17:01 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id z13si33505402qah.114.2014.10.15.00.17.00 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 15 Oct 2014 00:17:01 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:42337 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeIpQ-0007WN-Dv for patch@linaro.org; Wed, 15 Oct 2014 03:17:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeIot-0007FQ-3r for qemu-devel@nongnu.org; Wed, 15 Oct 2014 03:16:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XeIoo-0000V8-9O for qemu-devel@nongnu.org; Wed, 15 Oct 2014 03:16:27 -0400 Received: from static.88-198-71-155.clients.your-server.de ([88.198.71.155]:35899 helo=socrates.bennee.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeIoe-0000UB-98; Wed, 15 Oct 2014 03:16:12 -0400 Received: from localhost ([127.0.0.1] helo=zen.linaro.local) by socrates.bennee.com with esmtp (Exim 4.80) (envelope-from ) id 1XeJGf-0000C6-Eo; Wed, 15 Oct 2014 09:45:09 +0200 From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-trivial@nongnu.org Date: Wed, 15 Oct 2014 08:16:31 +0100 Message-Id: <1413357391-26869-1-git-send-email-alex.bennee@linaro.org> X-Mailer: git-send-email 2.1.1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: alex.bennee@linaro.org X-SA-Exim-Scanned: No (on socrates.bennee.com); SAEximRunCond expanded to false X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 88.198.71.155 Cc: Peter Maydell , =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org Subject: [Qemu-devel] [PATCH] target-arm: A64: remove redundant store X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: alex.bennee@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 There is not much point storing the same value twice in a row. Reported-by: Laurent Desnogues Signed-off-by: Alex Bennée Reviewed-by: Laurent Desnogues --- target-arm/translate-a64.c | 1 - 1 file changed, 1 deletion(-) diff --git a/target-arm/translate-a64.c b/target-arm/translate-a64.c index 35ae3ea..337f4d4 100644 --- a/target-arm/translate-a64.c +++ b/target-arm/translate-a64.c @@ -748,7 +748,6 @@ static void do_fp_st(DisasContext *s, int srcidx, TCGv_i64 tcg_addr, int size) } else { TCGv_i64 tcg_hiaddr = tcg_temp_new_i64(); tcg_gen_qemu_st_i64(tmp, tcg_addr, get_mem_index(s), MO_TEQ); - tcg_gen_qemu_st64(tmp, tcg_addr, get_mem_index(s)); tcg_gen_ld_i64(tmp, cpu_env, fp_reg_hi_offset(s, srcidx)); tcg_gen_addi_i64(tcg_hiaddr, tcg_addr, 8); tcg_gen_qemu_st_i64(tmp, tcg_hiaddr, get_mem_index(s), MO_TEQ);