mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 14:53:54 -06:00
use the TCG code generator
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3944 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
c896fe29d6
commit
57fec1fee9
35 changed files with 1098 additions and 2364 deletions
|
@ -354,7 +354,7 @@ int cpu_exec(CPUState *env1)
|
|||
#endif
|
||||
#endif
|
||||
int ret, interrupt_request;
|
||||
void (*gen_func)(void);
|
||||
long (*gen_func)(void);
|
||||
TranslationBlock *tb;
|
||||
uint8_t *tc_ptr;
|
||||
|
||||
|
@ -736,7 +736,7 @@ int cpu_exec(CPUState *env1)
|
|||
fp.gp = code_gen_buffer + 2 * (1 << 20);
|
||||
(*(void (*)(void)) &fp)();
|
||||
#else
|
||||
gen_func();
|
||||
T0 = gen_func();
|
||||
#endif
|
||||
env->current_tb = NULL;
|
||||
/* reset soft MMU for next block (it can currently
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue