From patchwork Tue Jan 27 21:07:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 43860 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f197.google.com (mail-we0-f197.google.com [74.125.82.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 29E2323FFF for ; Tue, 27 Jan 2015 21:41:34 +0000 (UTC) Received: by mail-we0-f197.google.com with SMTP id l61sf8997663wev.0 for ; Tue, 27 Jan 2015 13:41:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:in-reply-to:references: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; bh=FQNgceXCPGQgLdQ591fRoiU0jhk3DysdQm5kCtELUes=; b=L6j3agjGcrmoqESn+wY25Wc9NvZBuBDTJg0UCglzJtC6KOCb1hUrSqamSATAHRyLkM rVa03NDIVLAti+ILXYDOcYNQnG9R/tXiFdceqrZYV2ovYPrN5kTQDKVCPoxmFCG5ajAL yFy2QkgXtRfmfiai7OdJpPwcDU5D/md5mqJmMt6ZGRMsLhdoyduMa5ZG7f8xUa6pPC7b S9mzQxmkZJZoblYVCfOX5ezzf+yCxu32qrBXp/JGY+oky1MqkAqhHw1sI0Un1Ce8WpA/ JRJRU3lQJ78mSCA9KXvdsvzgWxwZA+NtnD2fbA8BQLJIIwAW31z+IZWe1GzQZyrnPa+q IvTA== X-Gm-Message-State: ALoCoQm2lWFnC3z/5ztK6DKhlePtJreVwresXEVFIH/yS+ReTkX8LAxRKHhyuUGzpDbY4QkF0xkT X-Received: by 10.180.82.34 with SMTP id f2mr9385wiy.1.1422394893483; Tue, 27 Jan 2015 13:41:33 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.44.232 with SMTP id h8ls94342lam.3.gmail; Tue, 27 Jan 2015 13:41:33 -0800 (PST) X-Received: by 10.112.159.195 with SMTP id xe3mr4282278lbb.64.1422394893324; Tue, 27 Jan 2015 13:41:33 -0800 (PST) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com. [209.85.217.174]) by mx.google.com with ESMTPS id b5si2493796lah.17.2015.01.27.13.41.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 Jan 2015 13:41:32 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) client-ip=209.85.217.174; Received: by mail-lb0-f174.google.com with SMTP id f15so15484208lbj.5 for ; Tue, 27 Jan 2015 13:41:32 -0800 (PST) X-Received: by 10.112.52.229 with SMTP id w5mr4315683lbo.52.1422394892917; Tue, 27 Jan 2015 13:41:32 -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.35.133 with SMTP id h5csp1233715lbj; Tue, 27 Jan 2015 13:41:31 -0800 (PST) X-Received: by 10.140.108.134 with SMTP id j6mr5997467qgf.68.1422394891223; Tue, 27 Jan 2015 13:41:31 -0800 (PST) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id s33si3308823qge.13.2015.01.27.13.41.30 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 27 Jan 2015 13:41:31 -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]:49952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGDMz-0004tM-CK for patch@linaro.org; Tue, 27 Jan 2015 16:08:21 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGDM9-00046l-IN for qemu-devel@nongnu.org; Tue, 27 Jan 2015 16:07:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGDM4-0005lf-Lw for qemu-devel@nongnu.org; Tue, 27 Jan 2015 16:07:29 -0500 Received: from afflict.kos.to ([92.243.29.197]:35424) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGDM4-0005kx-Go for qemu-devel@nongnu.org; Tue, 27 Jan 2015 16:07:24 -0500 Received: from afflict.kos.to (afflict [92.243.29.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by afflict.kos.to (Postfix) with ESMTPSA id 10866264D6; Tue, 27 Jan 2015 22:07:23 +0100 (CET) From: riku.voipio@linaro.org To: qemu-devel@nongnu.org Date: Tue, 27 Jan 2015 23:07:14 +0200 Message-Id: <1af2ee08f9b2f70d31676be14b26026223c9f660.1422392096.git.riku.voipio@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 92.243.29.197 Cc: peter.maydell@linaro.org Subject: [Qemu-devel] [PULL 03/11] linux-user/arm/nwfpe: Delete unused aCC array 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: riku.voipio@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.217.174 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: Peter Maydell The aCC array in fpopcode.c is completely unused in QEMU; delete it (silencing a clang warning). Signed-off-by: Peter Maydell Signed-off-by: Riku Voipio --- linux-user/arm/nwfpe/fpopcode.c | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/linux-user/arm/nwfpe/fpopcode.c b/linux-user/arm/nwfpe/fpopcode.c index 0dc5c9c..0ada30c 100644 --- a/linux-user/arm/nwfpe/fpopcode.c +++ b/linux-user/arm/nwfpe/fpopcode.c @@ -88,25 +88,3 @@ unsigned int getDestinationSize(const unsigned int opcode) return(nRc); } - -/* condition code lookup table - index into the table is test code: EQ, NE, ... LT, GT, AL, NV - bit position in short is condition code: NZCV */ -static const unsigned short aCC[16] = { - 0xF0F0, // EQ == Z set - 0x0F0F, // NE - 0xCCCC, // CS == C set - 0x3333, // CC - 0xFF00, // MI == N set - 0x00FF, // PL - 0xAAAA, // VS == V set - 0x5555, // VC - 0x0C0C, // HI == C set && Z clear - 0xF3F3, // LS == C clear || Z set - 0xAA55, // GE == (N==V) - 0x55AA, // LT == (N!=V) - 0x0A05, // GT == (!Z && (N==V)) - 0xF5FA, // LE == (Z || (N!=V)) - 0xFFFF, // AL always - 0 // NV -};