From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35300) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y9C4D-0004Z3-3c for qemu-devel@nongnu.org; Thu, 08 Jan 2015 07:19:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y9C4C-0004Lv-8C for qemu-devel@nongnu.org; Thu, 08 Jan 2015 07:19:57 -0500 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:54703) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y9C4C-0004Jb-25 for qemu-devel@nongnu.org; Thu, 08 Jan 2015 07:19:56 -0500 From: Peter Maydell Date: Thu, 8 Jan 2015 12:19:45 +0000 Message-Id: <1420719588-8138-4-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1420719588-8138-1-git-send-email-peter.maydell@linaro.org> References: <1420719588-8138-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 3/6] linux-user/arm/nwfpe: Delete unused aCC array List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Riku Voipio , patches@linaro.org The aCC array in fpopcode.c is completely unused in QEMU; delete it (silencing a clang warning). Signed-off-by: Peter Maydell --- 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 -}; -- 1.9.1