Checker updates.
src/cpu/checker/cpu.cc:
src/cpu/checker/cpu.hh:
Updates for checker. Output more informative messages on error. Rename some functions. Add in option to warn (and not exit) on load results being incorrect.
src/cpu/checker/cpu_builder.cc:
src/cpu/checker/o3_cpu_builder.cc:
Add in parameter to warn (and not exit) on load result errors.
src/cpu/o3/commit_impl.hh:
src/cpu/o3/lsq_unit_impl.hh:
Renamed checker functin.
--HG--
extra : convert_revision : d7aa28b8462691d20600f97a7213e2acd91c5665
This commit is contained in:
@@ -975,7 +975,7 @@ DefaultCommit<Impl>::commitHead(DynInstPtr &head_inst, unsigned inst_num)
|
||||
// Use checker prior to updating anything due to traps or PC
|
||||
// based events.
|
||||
if (cpu->checker) {
|
||||
cpu->checker->tick(head_inst);
|
||||
cpu->checker->verify(head_inst);
|
||||
}
|
||||
|
||||
// Check if the instruction caused a fault. If so, trap.
|
||||
@@ -993,7 +993,7 @@ DefaultCommit<Impl>::commitHead(DynInstPtr &head_inst, unsigned inst_num)
|
||||
}
|
||||
|
||||
if (cpu->checker && head_inst->isStore()) {
|
||||
cpu->checker->tick(head_inst);
|
||||
cpu->checker->verify(head_inst);
|
||||
}
|
||||
|
||||
assert(!thread[tid]->inSyscall);
|
||||
|
||||
Reference in New Issue
Block a user