aboutsummaryrefslogtreecommitdiff
path: root/target-ppc
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-06-24 00:05:09 +0100
committerAlexander Graf <agraf@suse.de>2014-06-27 13:48:23 +0200
commitb247812e4afda505a5ab48dd9ad05bd51bb55bee (patch)
treec51a7e6e4b06135290e89f45d842caaa88c9d130 /target-ppc
parent591812634c84471fc68feb259ebebb82d0d5513a (diff)
downloadqemu-b247812e4afda505a5ab48dd9ad05bd51bb55bee.zip
qemu-b247812e4afda505a5ab48dd9ad05bd51bb55bee.tar.gz
qemu-b247812e4afda505a5ab48dd9ad05bd51bb55bee.tar.bz2
target-ppc: Remove unused IMM and d extract helpers
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 <peter.maydell@linaro.org> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc')
-rw-r--r--target-ppc/translate.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/target-ppc/translate.c b/target-ppc/translate.c
index c5d73d5..b501655 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)
{