diff options
author | Ali Saidi <Ali.Saidi@ARM.com> | 2015-01-25 07:22:26 -0500 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@ARM.com> | 2015-01-25 07:22:26 -0500 |
commit | f6742ea26e1a1cac21b486c7c5adad6fb6304e92 (patch) | |
tree | 416505359d690d558ba4f579123b5aba43da68d9 /src/cpu/exetrace.hh | |
parent | 0bd986015b2de741dc741f10e5afeaf5d8890ba1 (diff) | |
download | gem5-f6742ea26e1a1cac21b486c7c5adad6fb6304e92.tar.xz |
cpu: Remove all notion that we know when the cpu is misspeculating.
We have no way of knowing if a CPU model is on the wrong path with
our execute-in-execute CPU models. Don't pretend that we do.
Diffstat (limited to 'src/cpu/exetrace.hh')
-rw-r--r-- | src/cpu/exetrace.hh | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/cpu/exetrace.hh b/src/cpu/exetrace.hh index ebb712af6..51a8c05c9 100644 --- a/src/cpu/exetrace.hh +++ b/src/cpu/exetrace.hh @@ -37,7 +37,6 @@ #include "cpu/static_inst.hh" #include "cpu/thread_context.hh" #include "debug/ExecEnable.hh" -#include "debug/ExecSpeculative.hh" #include "params/ExeTracer.hh" #include "sim/insttracer.hh" @@ -50,9 +49,8 @@ class ExeTracerRecord : public InstRecord public: ExeTracerRecord(Tick _when, ThreadContext *_thread, const StaticInstPtr _staticInst, TheISA::PCState _pc, - bool spec, const StaticInstPtr _macroStaticInst = NULL) - : InstRecord(_when, _thread, _staticInst, _pc, spec, - _macroStaticInst) + const StaticInstPtr _macroStaticInst = NULL) + : InstRecord(_when, _thread, _staticInst, _pc, _macroStaticInst) { } @@ -80,11 +78,8 @@ class ExeTracer : public InstTracer if (!Trace::enabled) return NULL; - if (!Debug::ExecSpeculative && tc->misspeculating()) - return NULL; - return new ExeTracerRecord(when, tc, - staticInst, pc, tc->misspeculating(), macroStaticInst); + staticInst, pc, macroStaticInst); } }; |