From patchwork Fri May 27 17:03:26 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Weil X-Patchwork-Id: 97719 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 280E5B6F93 for ; Sat, 28 May 2011 03:06:32 +1000 (EST) Received: from localhost ([::1]:35724 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QQ0UX-0007m4-EG for incoming@patchwork.ozlabs.org; Fri, 27 May 2011 13:06:29 -0400 Received: from eggs.gnu.org ([140.186.70.92]:45208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QQ0S7-0002NR-Bv for qemu-devel@nongnu.org; Fri, 27 May 2011 13:04:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QQ0S1-0000MW-JB for qemu-devel@nongnu.org; Fri, 27 May 2011 13:03:59 -0400 Received: from moutng.kundenserver.de ([212.227.17.9]:52096) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QQ0S1-0000LI-6U for qemu-devel@nongnu.org; Fri, 27 May 2011 13:03:53 -0400 Received: from flocke.weilnetz.de (p5086FC6B.dip.t-dialin.net [80.134.252.107]) by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis) id 0M2u1e-1PXMOc0O9u-00sc2i; Fri, 27 May 2011 19:03:45 +0200 Received: from stefan by flocke.weilnetz.de with local (Exim 4.72) (envelope-from ) id 1QQ0Rq-0001Pm-Hd; Fri, 27 May 2011 19:03:42 +0200 From: Stefan Weil To: Alexander Graf Date: Fri, 27 May 2011 19:03:26 +0200 Message-Id: <1306515816-5386-3-git-send-email-weil@mail.berlios.de> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1306355129-23447-1-git-send-email-weil@mail.berlios.de> References: <1306355129-23447-1-git-send-email-weil@mail.berlios.de> X-Provags-ID: V02:K0:Hto6xUrUQLTWvl4GbbfLt/HRWxnQpKOyU5xlwzCcXRF FPQFUJb1rxiSp6KEqXSD7TMj7Aier4J3Yg5JUhfzQbDsTas6AV vQfZ6YzLsDRxfCEQ0XO0i91GY6BG2MqTadDbsALOYwninLxsY0 TQ6PU09sFlGKWauF60cIAzAoAB+9B2czppZ4mCRA9LvN7U4HOU 9LTG1UpeF+TZgXFlzrhUykj4DHjlGtptVLeSjnrTx8aVXe5fxw Z9o55qLqRCf6y X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.17.9 Cc: QEMU Developers Subject: [Qemu-devel] [PATCH v2 02/12] target-s390x: Fix duplicate call of tcg_temp_new_i64 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+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org tmp2 = tcg_temp_new_i64() is already executed unconditionally, so there is no need to call it a second time for 64 bit hosts. Signed-off-by: Stefan Weil --- target-s390x/translate.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/target-s390x/translate.c b/target-s390x/translate.c index 865a9df..141a72f 100644 --- a/target-s390x/translate.c +++ b/target-s390x/translate.c @@ -2068,7 +2068,6 @@ do_mh: tcg_gen_qemu_ld32u(tmp2, tmp, get_mem_index(s)); tcg_gen_trunc_i64_i32(TCGV_HIGH(regs[i]), tmp2); #else - tmp2 = tcg_temp_new_i64(); tcg_gen_qemu_ld32u(tmp2, tmp, get_mem_index(s)); tcg_gen_shl_i64(tmp2, tmp2, tmp4); tcg_gen_ext32u_i64(regs[i], regs[i]);