Commit d38ff48941948aa607972d9765d7c8567fe86c74

Authored by aurel32
1 parent 47e4661c

ppc: remove unused code

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5159 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 0 additions and 28 deletions
target-ppc/translate.c
... ... @@ -177,34 +177,6 @@ static uint16_t *gen_fprf_buf[OPC_BUF_SIZE];
177 177 static uint16_t **gen_fprf_ptr;
178 178 #endif
179 179  
180   -#define GEN16(func, NAME) \
181   -static GenOpFunc *NAME ## _table [16] = { \
182   -NAME ## 0, NAME ## 1, NAME ## 2, NAME ## 3, \
183   -NAME ## 4, NAME ## 5, NAME ## 6, NAME ## 7, \
184   -NAME ## 8, NAME ## 9, NAME ## 10, NAME ## 11, \
185   -NAME ## 12, NAME ## 13, NAME ## 14, NAME ## 15, \
186   -}; \
187   -static always_inline void func (int n) \
188   -{ \
189   - NAME ## _table[n](); \
190   -}
191   -
192   -#define GEN32(func, NAME) \
193   -static GenOpFunc *NAME ## _table [32] = { \
194   -NAME ## 0, NAME ## 1, NAME ## 2, NAME ## 3, \
195   -NAME ## 4, NAME ## 5, NAME ## 6, NAME ## 7, \
196   -NAME ## 8, NAME ## 9, NAME ## 10, NAME ## 11, \
197   -NAME ## 12, NAME ## 13, NAME ## 14, NAME ## 15, \
198   -NAME ## 16, NAME ## 17, NAME ## 18, NAME ## 19, \
199   -NAME ## 20, NAME ## 21, NAME ## 22, NAME ## 23, \
200   -NAME ## 24, NAME ## 25, NAME ## 26, NAME ## 27, \
201   -NAME ## 28, NAME ## 29, NAME ## 30, NAME ## 31, \
202   -}; \
203   -static always_inline void func (int n) \
204   -{ \
205   - NAME ## _table[n](); \
206   -}
207   -
208 180 /* internal defines */
209 181 typedef struct DisasContext {
210 182 struct TranslationBlock *tb;
... ...