21 |
/* PPC instruction array */ |
/* PPC instruction array */ |
22 |
extern struct ppc32_insn_tag ppc32_insn_tags[]; |
extern struct ppc32_insn_tag ppc32_insn_tags[]; |
23 |
|
|
|
/* Virtual Breakpoint */ |
|
|
void ppc32_emit_breakpoint(ppc32_jit_tcb_t *b); |
|
|
|
|
24 |
/* Push epilog for an x86 instruction block */ |
/* Push epilog for an x86 instruction block */ |
25 |
void ppc32_jit_tcb_push_epilog(ppc32_jit_tcb_t *block); |
void ppc32_jit_tcb_push_epilog(u_char **ptr); |
26 |
|
|
27 |
/* Execute JIT code */ |
/* Execute JIT code */ |
28 |
void ppc32_jit_tcb_exec(cpu_ppc_t *cpu,ppc32_jit_tcb_t *block); |
void ppc32_jit_tcb_exec(cpu_ppc_t *cpu,ppc32_jit_tcb_t *block); |
29 |
|
|
|
/* Set the Instruction Address (IA) register */ |
|
|
void ppc32_set_ia(ppc32_jit_tcb_t *b,m_uint32_t new_ia); |
|
|
|
|
|
/* Set the Link Register (LR) */ |
|
|
void ppc32_set_lr(ppc32_jit_tcb_t *b,m_uint32_t new_lr); |
|
|
|
|
|
/* Increment the number of executed instructions (performance debugging) */ |
|
|
void ppc32_inc_perf_counter(ppc32_jit_tcb_t *b); |
|
|
|
|
30 |
#endif |
#endif |