Received: from eggs.gnu.org ([2001:4830:134:3::10]:50075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzDIY-0005lD-7a for qemu-devel@nongnu.org; Mon, 23 Jun 2014 19:05:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzDIV-00014O-SZ for qemu-devel@nongnu.org; Mon, 23 Jun 2014 19:05:14 -0400 From: Peter Maydell Date: Tue, 24 Jun 2014 00:05:09 +0100 Message-Id: <1403564710-15788-2-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1403564710-15788-1-git-send-email-peter.maydell@linaro.org> References: <1403564710-15788-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 1/2] target-ppc: Remove unused IMM and d extract helpers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, Alexander Graf Remove the definition of the IMM and d extract helpers; these seem to have been added as part of the initial PPC support in 2003 but never actually used. Signed-off-by: Peter Maydell --- target-ppc/translate.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/target-ppc/translate.c b/target-ppc/translate.c index 4801721..4099cdc 100644 --- a/target-ppc/translate.c +++ b/target-ppc/translate.c @@ -426,7 +426,6 @@ static inline uint32_t SPR(uint32_t opcode) return ((sprn >> 5) & 0x1F) | ((sprn & 0x1F) << 5); } /*** Get constants ***/ -EXTRACT_HELPER(IMM, 12, 8); /* 16 bits signed immediate value */ EXTRACT_SHELPER(SIMM, 0, 16); /* 16 bits unsigned immediate value */ @@ -459,8 +458,6 @@ EXTRACT_HELPER(FPFLM, 17, 8); EXTRACT_HELPER(FPW, 16, 1); /*** Jump target decoding ***/ -/* Displacement */ -EXTRACT_SHELPER(d, 0, 16); /* Immediate address */ static inline target_ulong LI(uint32_t opcode) { -- 2.0.0