inorder: add necessary debug flag header files
This commit is contained in:
parent
59686795e3
commit
e572c01120
7 changed files with 9 additions and 8 deletions
|
@ -52,6 +52,7 @@
|
|||
#include "debug/InOrderCPU.hh"
|
||||
#include "debug/RefCount.hh"
|
||||
#include "debug/SkedCache.hh"
|
||||
#include "debug/Quiesce.hh"
|
||||
#include "mem/translating_port.hh"
|
||||
#include "params/InOrderCPU.hh"
|
||||
#include "sim/process.hh"
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
#include "cpu/inorder/cpu.hh"
|
||||
#include "cpu/inorder/resource.hh"
|
||||
#include "cpu/inorder/resource_pool.hh"
|
||||
#include "debug/ExecFaulting.hh"
|
||||
#include "debug/RefCount.hh"
|
||||
#include "debug/ResReqCount.hh"
|
||||
#include "debug/Resource.hh"
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#include "cpu/inorder/resources/branch_predictor.hh"
|
||||
#include "debug/InOrderBPred.hh"
|
||||
#include "debug/InOrderStage.hh"
|
||||
#include "debug/Resource.hh"
|
||||
|
||||
using namespace std;
|
||||
using namespace TheISA;
|
||||
|
|
|
@ -98,7 +98,7 @@ CacheUnit::CachePort::recvStatusChange(Status status)
|
|||
bool
|
||||
CacheUnit::CachePort::recvTiming(Packet *pkt)
|
||||
{
|
||||
DPRINTF(Cache, "RecvTiming: Pkt %x,\n", pkt->getAddr());
|
||||
DPRINTF(InOrderCachePort, "RecvTiming: Pkt %x,\n", pkt->getAddr());
|
||||
|
||||
if (pkt->isError())
|
||||
DPRINTF(InOrderCachePort, "Got error packet back for address: %x\n",
|
||||
|
@ -1218,7 +1218,7 @@ CacheUnitEvent::process()
|
|||
|
||||
//@todo: eventually, we should do a timing translation w/
|
||||
// hw page table walk on tlb miss
|
||||
DPRINTF(Fault, "Handling Fault %s : [sn:%i] %x\n", inst->fault->name(), inst->seqNum, inst->getMemAddr());
|
||||
DPRINTF(InOrderTLB, "Handling Fault %s : [sn:%i] %x\n", inst->fault->name(), inst->seqNum, inst->getMemAddr());
|
||||
inst->fault->invoke(tlb_res->cpu->tcBase(tid), inst->staticInst);
|
||||
|
||||
tlb_res->tlbBlocked[tid] = false;
|
||||
|
|
|
@ -62,12 +62,12 @@ DecodeUnit::execute(int slot_num)
|
|||
|
||||
if (inst->fault != NoFault) {
|
||||
inst->setBackSked(cpu->faultSked);
|
||||
DPRINTF(Decode,"[tid:%i]: Fault found for instruction [sn:%i]\n",
|
||||
DPRINTF(InOrderDecode,"[tid:%i]: Fault found for instruction [sn:%i]\n",
|
||||
inst->readTid(), inst->seqNum);
|
||||
} else {
|
||||
assert(!inst->staticInst->isMacroop());
|
||||
inst->setBackSked(cpu->createBackEndSked(inst));
|
||||
DPRINTF(Decode,"Decoded instruction [sn:%i]: %s : 0x%x\n",
|
||||
DPRINTF(InOrderDecode,"Decoded instruction [sn:%i]: %s : 0x%x\n",
|
||||
inst->seqNum, inst->instName(),
|
||||
inst->staticInst->machInst);
|
||||
}
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
#include "cpu/inorder/resources/execution_unit.hh"
|
||||
#include "cpu/inorder/cpu.hh"
|
||||
#include "cpu/inorder/resource_pool.hh"
|
||||
#include "debug/Fault.hh"
|
||||
#include "debug/InOrderExecute.hh"
|
||||
#include "debug/InOrderStall.hh"
|
||||
|
||||
|
|
|
@ -209,13 +209,10 @@ FetchSeqUnit::squash(DynInstPtr inst, int squash_stage,
|
|||
}
|
||||
|
||||
if (bdelay_inst) {
|
||||
DPRINTF(Resource, "Evaluating %s v. %s\n",
|
||||
bdelay_inst->pc, nextPC);
|
||||
|
||||
if (bdelay_inst->pc.instAddr() == nextPC.instAddr()) {
|
||||
bdelay_inst->pc = nextPC;
|
||||
advancePC(nextPC, inst->staticInst);
|
||||
DPRINTF(Resource, "Advanced PC to %s\n", nextPC);
|
||||
DPRINTF(InOrderFetchSeq, "Advanced PC to %s\n", nextPC);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue