Fix SMC detection optimization
This commit is contained in:
parent
77d901da42
commit
722d489ad9
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: icache.cc,v 1.24 2009-03-22 21:12:35 sshwarts Exp $
|
||||
// $Id: icache.cc,v 1.25 2009-03-24 16:04:47 sshwarts Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (c) 2007 Stanislav Shwartsman
|
||||
@ -61,6 +61,7 @@ void BX_CPU_C::serveICacheMiss(bxICacheEntry_c *cache_entry, Bit32u eipBiased, b
|
||||
// Cache miss. We weren't so lucky, but let's be optimistic - try to build
|
||||
// trace from incoming instruction bytes stream !
|
||||
cache_entry->pAddr = pAddr;
|
||||
pageWriteStampTable.markICache(pAddr);
|
||||
cache_entry->writeStamp = *(BX_CPU_THIS_PTR currPageWriteStampPtr);
|
||||
|
||||
unsigned remainingInPage = BX_CPU_THIS_PTR eipPageWindowSize - eipBiased;
|
||||
|
Loading…
Reference in New Issue
Block a user