From patchwork Sun Nov 2 11:57:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 39991 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 317452405B for ; Sun, 2 Nov 2014 12:08:46 +0000 (UTC) Received: by mail-lb0-f200.google.com with SMTP id f15sf5467635lbj.7 for ; Sun, 02 Nov 2014 04:08:45 -0800 (PST) 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:in-reply-to :references:in-reply-to:references: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=XiYd7Suh9o7YhcasnSWC9CpQ8B3zBYHMk0qw2inDqdA=; b=KDq6JQcoT1kLxirAMutoboe4YlUMxmWyshLBehlop2AnmE0mLO81LykslfXHRU9Pgj UyK9haBlXCWxaThSo5oUAZ4PmS48xdScmFpYgWoCI1VTN58pE7TRjcrHtz55+MDOFZvr 7MDWM9RmcMKzJ3GzwbkbyPGMHFo9LNzzwm/AcVHYBUvdzyqH5UM+1gA/xeR9kwdKBt3N dUVmQKs4K3dNopy++NxLuRdDGuKmEgLf2qPT0EnKR2iOv+vhHzfFKtffkv+FKrZJo0dc 7+R7O3bkn1ouj5rzBTM/TlOy4AUriwt9jhs4ngvVsBUzQCq3LRi9GXxMbAPav6eVb9C3 /iIA== X-Gm-Message-State: ALoCoQn8j1BBoMO18NgZcckMMwZ3rFcFCaPacaKvtYbHU3beckJ23mKTCLB13HYl9FG7GI6W3Ql9 X-Received: by 10.180.73.73 with SMTP id j9mr1632879wiv.3.1414930124989; Sun, 02 Nov 2014 04:08:44 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.44.229 with SMTP id h5ls675498lam.4.gmail; Sun, 02 Nov 2014 04:08:44 -0800 (PST) X-Received: by 10.112.142.33 with SMTP id rt1mr41847456lbb.85.1414930124256; Sun, 02 Nov 2014 04:08:44 -0800 (PST) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com. [209.85.215.41]) by mx.google.com with ESMTPS id wr5si2321456lac.11.2014.11.02.04.08.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 02 Nov 2014 04:08:44 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) client-ip=209.85.215.41; Received: by mail-la0-f41.google.com with SMTP id s18so3691547lam.28 for ; Sun, 02 Nov 2014 04:08:44 -0800 (PST) X-Received: by 10.152.5.38 with SMTP id p6mr41627285lap.44.1414930124147; Sun, 02 Nov 2014 04:08:44 -0800 (PST) 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 c5csp118331lbz; Sun, 2 Nov 2014 04:08:43 -0800 (PST) X-Received: by 10.140.42.134 with SMTP id c6mr51000593qga.7.1414930122170; Sun, 02 Nov 2014 04:08:42 -0800 (PST) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id a2si25500324qam.18.2014.11.02.04.08.41 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 02 Nov 2014 04:08:42 -0800 (PST) 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]:56519 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XktxZ-0006ss-0K for patch@linaro.org; Sun, 02 Nov 2014 07:08:41 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XktwP-0005eS-Ng for qemu-devel@nongnu.org; Sun, 02 Nov 2014 07:07:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XktwL-0004eT-75 for qemu-devel@nongnu.org; Sun, 02 Nov 2014 07:07:29 -0500 Received: from isrv.corpit.ru ([86.62.121.231]:46789) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XktwK-0004e2-Vd; Sun, 02 Nov 2014 07:07:25 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id D911C402BC; Sun, 2 Nov 2014 15:07:23 +0300 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id 5D3FC706; Sun, 2 Nov 2014 14:58:48 +0300 (MSK) Received: (nullmailer pid 14960 invoked by uid 1000); Sun, 02 Nov 2014 11:58:47 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Sun, 2 Nov 2014 14:57:17 +0300 Message-Id: <0d61f18b57432e56340b2fabe01222fc464fe92a.1414929284.git.mjt@msgid.tls.msk.ru> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: References: In-Reply-To: References: MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 86.62.121.231 Cc: qemu-trivial@nongnu.org, Michael Tokarev , =?UTF-8?q?Alex=20Benn=C3=A9e?= Subject: [Qemu-devel] [PULL 05/23] 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: mjt@tls.msk.ru 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.41 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 From: Alex Bennée 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 Signed-off-by: Michael Tokarev --- 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 3a3c48a..80d2c07 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);