Important bugfix: passing the instruction cache entry pointer
does not account for arrays of instructions provided by one virtual instruction trace cache entry -> passing the current instruction directly. ALUInstr not yet completely tested. git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1704 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -33,7 +33,7 @@
|
||||
|
||||
// Just a dummy function to define a join-point. This function is
|
||||
// *just* called once within bx_cpu_c::cpu_loop(...).
|
||||
static inline void defineCPULoopJoinPoint(BX_CPU_C* pThis, bxICacheEntry_c *pEntry)
|
||||
static inline void defineCPULoopJoinPoint(BX_CPU_C* pThis, bxInstruction_c *pInstr)
|
||||
{
|
||||
/* nothing to do here */
|
||||
}
|
||||
@ -166,7 +166,7 @@ void BX_CPU_C::cpu_loop(Bit32u max_instr_count)
|
||||
*
|
||||
*/
|
||||
|
||||
defineCPULoopJoinPoint(BX_CPU_THIS, entry);
|
||||
defineCPULoopJoinPoint(BX_CPU_THIS, i);
|
||||
|
||||
/****************************************************************/
|
||||
// instruction decoding completed -> continue with execution
|
||||
|
||||
Reference in New Issue
Block a user