LSQ: Add some better dprintfs for storeset predictor.

This commit is contained in:
Mrinmoy Ghosh 2011-08-19 15:08:05 -05:00
parent 0db95030fc
commit d0e0485902
3 changed files with 6 additions and 5 deletions

View file

@ -1189,8 +1189,8 @@ DefaultCommit<Impl>::commitHead(DynInstPtr &head_inst, unsigned inst_num)
}
}
#endif
DPRINTF(Commit, "Committing instruction with [sn:%lli]\n",
head_inst->seqNum);
DPRINTF(Commit, "Committing instruction with [sn:%lli] PC %s\n",
head_inst->seqNum, head_inst->pcState());
if (head_inst->traceData) {
head_inst->traceData->setFetchSeq(head_inst->seqNum);
head_inst->traceData->setCPSeq(thread[tid]->numInst);

View file

@ -169,7 +169,7 @@ class MemDepUnit
++memdep_count;
DPRINTF(MemDepUnit, "Memory dependency entry created. "
"memdep_count=%i\n", memdep_count);
"memdep_count=%i %s\n", memdep_count, inst->pcState());
#endif
}
@ -183,7 +183,7 @@ class MemDepUnit
--memdep_count;
DPRINTF(MemDepUnit, "Memory dependency entry deleted. "
"memdep_count=%i\n", memdep_count);
"memdep_count=%i %s\n", memdep_count, inst->pcState());
#endif
}

View file

@ -285,7 +285,8 @@ MemDepUnit<MemDepPred, Impl>::insertBarrier(DynInstPtr &barr_inst)
loadBarrierSN = barr_sn;
storeBarrier = true;
storeBarrierSN = barr_sn;
DPRINTF(MemDepUnit, "Inserted a memory barrier\n");
DPRINTF(MemDepUnit, "Inserted a memory barrier %s SN:%lli\n",
barr_inst->pcState(),barr_sn);
} else if (barr_inst->isWriteBarrier()) {
storeBarrier = true;
storeBarrierSN = barr_sn;