mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-30 05:50:09 +00:00
Really enable flight_recorder with predecode cache on
This commit is contained in:
parent
7e20a8d205
commit
a3036b0c9d
@ -177,10 +177,6 @@
|
|||||||
#undef PPC_NO_STATIC_II_INDEX_TABLE
|
#undef PPC_NO_STATIC_II_INDEX_TABLE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(PPC_FLIGHT_RECORDER) && !defined(PPC_NO_DECODE_CACHE)
|
|
||||||
#define PPC_NO_DECODE_CACHE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(PPC_EXECUTE_DUMP_STATE) && !defined(PPC_NO_DECODE_CACHE)
|
#if defined(PPC_EXECUTE_DUMP_STATE) && !defined(PPC_NO_DECODE_CACHE)
|
||||||
#define PPC_NO_DECODE_CACHE
|
#define PPC_NO_DECODE_CACHE
|
||||||
#endif
|
#endif
|
||||||
|
@ -342,7 +342,7 @@ inline void powerpc_cpu::do_execute()
|
|||||||
#ifdef PPC_EXECUTE_DUMP_STATE
|
#ifdef PPC_EXECUTE_DUMP_STATE
|
||||||
fprintf(stderr, "[%08x]-> %08x\n", pc(), opcode);
|
fprintf(stderr, "[%08x]-> %08x\n", pc(), opcode);
|
||||||
#endif
|
#endif
|
||||||
#if FLIGHT_RECORDER
|
#if PPC_FLIGHT_RECORDER
|
||||||
if (is_logging())
|
if (is_logging())
|
||||||
record_step(opcode);
|
record_step(opcode);
|
||||||
#endif
|
#endif
|
||||||
@ -367,11 +367,11 @@ inline void powerpc_cpu::do_execute()
|
|||||||
ii = decode(opcode);
|
ii = decode(opcode);
|
||||||
di->opcode = opcode;
|
di->opcode = opcode;
|
||||||
di->execute = ii->execute;
|
di->execute = ii->execute;
|
||||||
#if FLIGHT_RECORDER
|
#if PPC_FLIGHT_RECORDER
|
||||||
if (is_logging()) {
|
if (is_logging()) {
|
||||||
di++;
|
di++;
|
||||||
di->opcode = opcode;
|
di->opcode = opcode;
|
||||||
di->execute = record_step;
|
di->execute = &powerpc_cpu::record_step;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if (++di >= decode_cache_end_p) {
|
if (++di >= decode_cache_end_p) {
|
||||||
|
Loading…
Reference in New Issue
Block a user