diff options
Diffstat (limited to 'src/cpu/checker')
-rw-r--r-- | src/cpu/checker/cpu_impl.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cpu/checker/cpu_impl.hh b/src/cpu/checker/cpu_impl.hh index 5637eb08b..49ff8eaa1 100644 --- a/src/cpu/checker/cpu_impl.hh +++ b/src/cpu/checker/cpu_impl.hh @@ -573,12 +573,12 @@ Checker<Impl>::validateState() "registers from main CPU", curTick(), unverifiedInst->instAddr()); // Terribly convoluted way to make sure O3 model does not implode - bool inSyscall = unverifiedInst->thread->inSyscall; - unverifiedInst->thread->inSyscall = true; + bool no_squash_from_TC = unverifiedInst->thread->noSquashFromTC; + unverifiedInst->thread->noSquashFromTC = true; // Heavy-weight copying of all registers thread->copyArchRegs(unverifiedInst->tcBase()); - unverifiedInst->thread->inSyscall = inSyscall; + unverifiedInst->thread->noSquashFromTC = no_squash_from_TC; // Set curStaticInst to unverifiedInst->staticInst curStaticInst = unverifiedInst->staticInst; |