diff options
Diffstat (limited to 'src/cpu/checker')
-rw-r--r-- | src/cpu/checker/cpu.cc | 2 | ||||
-rw-r--r-- | src/cpu/checker/cpu.hh | 5 | ||||
-rw-r--r-- | src/cpu/checker/cpu_impl.hh | 5 |
3 files changed, 4 insertions, 8 deletions
diff --git a/src/cpu/checker/cpu.cc b/src/cpu/checker/cpu.cc index 5cb1ccf18..de9945af1 100644 --- a/src/cpu/checker/cpu.cc +++ b/src/cpu/checker/cpu.cc @@ -78,7 +78,7 @@ CheckerCPU::CheckerCPU(Params *p) startNumLoad = 0; youngestSN = 0; - changedPC = willChangePC = changedNextPC = false; + changedPC = willChangePC = false; exitOnError = p->exitOnError; warnOnlyOnLoadError = p->warnOnlyOnLoadError; diff --git a/src/cpu/checker/cpu.hh b/src/cpu/checker/cpu.hh index c49f264f9..9f4c4d58c 100644 --- a/src/cpu/checker/cpu.hh +++ b/src/cpu/checker/cpu.hh @@ -296,12 +296,14 @@ class CheckerCPU : public BaseCPU void setMiscRegNoEffect(int misc_reg, const MiscReg &val) { + DPRINTF(Checker, "Setting misc reg %d with no effect to check later\n", misc_reg); miscRegIdxs.push(misc_reg); return thread->setMiscRegNoEffect(misc_reg, val); } void setMiscReg(int misc_reg, const MiscReg &val) { + DPRINTF(Checker, "Setting misc reg %d with effect to check later\n", misc_reg); miscRegIdxs.push(misc_reg); return thread->setMiscReg(misc_reg, val); } @@ -316,7 +318,7 @@ class CheckerCPU : public BaseCPU const StaticInst *si, int idx, const MiscReg &val) { int reg_idx = si->destRegIdx(idx) - TheISA::Misc_Reg_Base; - return thread->setMiscReg(reg_idx, val); + return this->setMiscReg(reg_idx, val); } #if THE_ISA == MIPS_ISA @@ -392,7 +394,6 @@ class CheckerCPU : public BaseCPU bool changedPC; bool willChangePC; TheISA::PCState newPCState; - bool changedNextPC; bool exitOnError; bool updateOnError; bool warnOnlyOnLoadError; diff --git a/src/cpu/checker/cpu_impl.hh b/src/cpu/checker/cpu_impl.hh index 23e9c103e..b6ec4f77b 100644 --- a/src/cpu/checker/cpu_impl.hh +++ b/src/cpu/checker/cpu_impl.hh @@ -230,11 +230,6 @@ Checker<Impl>::verify(DynInstPtr &completed_inst) } changedPC = false; } - if (changedNextPC) { - DPRINTF(Checker, "Changed NextPC recently to %#x\n", - thread->nextInstAddr()); - changedNextPC = false; - } // Try to fetch the instruction uint64_t fetchOffset = 0; |