Made branch delay slots get squashed, and passed back an NPC and NNPC to start fetching from.
--HG-- extra : convert_revision : a2e4845fedf113b5a2fd92d3d28ce5b006278103
This commit is contained in:
@@ -514,6 +514,7 @@ DefaultCommit<Impl>::squashAll(unsigned tid)
|
||||
toIEW->commitInfo[tid].branchMispredict = false;
|
||||
|
||||
toIEW->commitInfo[tid].nextPC = PC[tid];
|
||||
toIEW->commitInfo[tid].nextNPC = nextPC[tid];
|
||||
}
|
||||
|
||||
template <class Impl>
|
||||
@@ -770,6 +771,7 @@ DefaultCommit<Impl>::commit()
|
||||
fromIEW->branchTaken[tid];
|
||||
|
||||
toIEW->commitInfo[tid].nextPC = fromIEW->nextPC[tid];
|
||||
toIEW->commitInfo[tid].nextNPC = fromIEW->nextNPC[tid];
|
||||
|
||||
toIEW->commitInfo[tid].mispredPC = fromIEW->mispredPC[tid];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user