]> Git Repo - qemu.git/commitdiff
target-ppc: Remove unused IMM and d extract helpers
authorPeter Maydell <[email protected]>
Mon, 23 Jun 2014 23:05:09 +0000 (00:05 +0100)
committerAlexander Graf <[email protected]>
Fri, 27 Jun 2014 11:48:23 +0000 (13:48 +0200)
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 <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
target-ppc/translate.c

index c5d73d5aa00795b150feebe8c8d7e82895db1add..b501655850394960076d2e783dc6f1709351453f 100644 (file)
@@ -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)
 {
This page took 0.040684 seconds and 4 git commands to generate.