DPRINTF: Improve some dprintf messages.
This commit is contained in:
parent
a5a2b9ecbd
commit
9957035a42
|
@ -1340,10 +1340,10 @@ DefaultIEW<Impl>::executeInsts()
|
||||||
fetchRedirect[tid] = true;
|
fetchRedirect[tid] = true;
|
||||||
|
|
||||||
DPRINTF(IEW, "Execute: Branch mispredict detected.\n");
|
DPRINTF(IEW, "Execute: Branch mispredict detected.\n");
|
||||||
DPRINTF(IEW, "Predicted target was PC:%#x, NPC:%#x.\n",
|
DPRINTF(IEW, "Predicted target was PC: %s.\n",
|
||||||
inst->predInstAddr(), inst->predNextInstAddr());
|
inst->readPredTarg());
|
||||||
DPRINTF(IEW, "Execute: Redirecting fetch to PC: %s.\n",
|
DPRINTF(IEW, "Execute: Redirecting fetch to PC: %s.\n",
|
||||||
inst->pcState(), inst->nextInstAddr());
|
inst->pcState());
|
||||||
// If incorrect, then signal the ROB that it must be squashed.
|
// If incorrect, then signal the ROB that it must be squashed.
|
||||||
squashDueToBranch(inst, tid);
|
squashDueToBranch(inst, tid);
|
||||||
|
|
||||||
|
|
|
@ -71,7 +71,7 @@ void
|
||||||
PioDevice::init()
|
PioDevice::init()
|
||||||
{
|
{
|
||||||
if (!pioPort)
|
if (!pioPort)
|
||||||
panic("Pio port not connected to anything!");
|
panic("Pio port of %s not connected to anything!", name());
|
||||||
pioPort->sendStatusChange(Port::RangeChange);
|
pioPort->sendStatusChange(Port::RangeChange);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue