From patchwork Tue Dec 7 14:13:44 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 74551 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 5926BB6EED for ; Wed, 8 Dec 2010 01:31:22 +1100 (EST) Received: from localhost ([127.0.0.1]:38315 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PPyZb-0002xX-4S for incoming@patchwork.ozlabs.org; Tue, 07 Dec 2010 09:31:19 -0500 Received: from [140.186.70.92] (port=56849 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PPyX5-00029k-2Y for qemu-devel@nongnu.org; Tue, 07 Dec 2010 09:28:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PPyX3-000107-8w for qemu-devel@nongnu.org; Tue, 07 Dec 2010 09:28:42 -0500 Received: from mnementh.archaic.org.uk ([81.2.115.146]:47408) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PPyX3-0000zN-2e for qemu-devel@nongnu.org; Tue, 07 Dec 2010 09:28:41 -0500 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.69) (envelope-from ) id 1PPyIb-0000pQ-Q3; Tue, 07 Dec 2010 14:13:45 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Date: Tue, 7 Dec 2010 14:13:44 +0000 Message-Id: <1291731225-3155-5-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1291731225-3155-1-git-send-email-peter.maydell@linaro.org> References: <1291731225-3155-1-git-send-email-peter.maydell@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: Juha.Riihimaki@nokia.com Subject: [Qemu-devel] [PATCH 4/5] ARM: remove pointless else clause in VQSHL of u64 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Juha Riihimäki Remove a pointless else clause in the neon_qshl_u64 helper. Signed-off-by: Juha Riihimäki Reviewed-by: Peter Maydell --- target-arm/neon_helper.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/target-arm/neon_helper.c b/target-arm/neon_helper.c index 2dc3d96..48b9f5b 100644 --- a/target-arm/neon_helper.c +++ b/target-arm/neon_helper.c @@ -560,8 +560,6 @@ uint64_t HELPER(neon_qshl_u64)(CPUState *env, uint64_t val, uint64_t shiftop) if (val) { val = ~(uint64_t)0; SET_QC(); - } else { - val = 0; } } else if (shift <= -64) { val = 0;