forgot to merge file

This commit is contained in:
Stanislav Shwartsman 2011-08-21 14:38:33 +00:00
parent 13feb0772a
commit 1e2e3c8b0e
2 changed files with 10 additions and 2 deletions

View File

@ -674,7 +674,7 @@ typedef
#define BX_SUPPORT_HANDLERS_CHAINING_SPEEDUPS 0
#if (BX_SUPPORT_SMP || BX_DEBUGGER || BX_GDBSTUB) && BX_SUPPORT_HANDLERS_CHAINING_SPEEDUPS
#error "Handler-chanining-speedups are not supported together with internal debugger or SMP !"
#error "Handler-chaining-speedups are not supported together with internal debugger or SMP !"
#endif
#if BX_SUPPORT_3DNOW

View File

@ -36,6 +36,10 @@ typedef void BX_INSF_TYPE;
#define BX_DEBUG_DISASM_INSTRUCTION() /* do nothing */
#endif
#define BX_NEXT_TRACE(i) { return; }
#if BX_SUPPORT_HANDLERS_CHAINING_SPEEDUPS
#define BX_NEXT_INSTR(i) { \
BX_CPU_THIS_PTR prev_rip = RIP; /* commit new RIP */ \
BX_INSTR_AFTER_EXECUTION(BX_CPU_ID, i); \
@ -48,7 +52,11 @@ typedef void BX_INSF_TYPE;
return BX_CPU_CALL_METHOD(i->execute, (i)); \
}
#define BX_NEXT_TRACE(i) { return; }
#else
#define BX_NEXT_INSTR(i) { return; }
#endif
// <TAG-TYPE-EXECUTEPTR-START>
#if BX_USE_CPU_SMF