changeset d25827665112 in /z/repo/m5 details: http://repo.m5sim.org/m5?cmd=changeset;node=d25827665112 description: O3: Don't test misprediction on load instructions until executed.
diffstat: src/cpu/o3/iew_impl.hh | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diffs (16 lines): diff -r c0be563517da -r d25827665112 src/cpu/o3/iew_impl.hh --- a/src/cpu/o3/iew_impl.hh Tue Jan 18 16:30:05 2011 -0600 +++ b/src/cpu/o3/iew_impl.hh Tue Jan 18 16:30:05 2011 -0600 @@ -1297,7 +1297,11 @@ !toCommit->squash[tid] || toCommit->squashedSeqNum[tid] > inst->seqNum) { - if (inst->mispredicted()) { + // Prevent testing for misprediction on load instructions, + // that have not been executed. + bool loadNotExecuted = !inst->isExecuted() && inst->isLoad(); + + if (inst->mispredicted() && !loadNotExecuted) { fetchRedirect[tid] = true; DPRINTF(IEW, "Execute: Branch mispredict detected.\n"); _______________________________________________ m5-dev mailing list m5-dev@m5sim.org http://m5sim.org/mailman/listinfo/m5-dev