cpu: o3: combine if with same condition

This commit is contained in:
Nilay Vaish
2015-03-09 09:39:07 -05:00
parent 61edd5ac97
commit 54bc67f619

View File

@@ -906,13 +906,10 @@ DefaultCommit<Impl>::commit()
if (toIEW->commitInfo[tid].mispredictInst->isUncondCtrl()) {
toIEW->commitInfo[tid].branchTaken = true;
}
++branchMispredicts;
}
toIEW->commitInfo[tid].pc = fromIEW->pc[tid];
if (toIEW->commitInfo[tid].mispredictInst) {
++branchMispredicts;
}
}
if (commitStatus[tid] == ROBSquashing) {