From f6742ea26e1a1cac21b486c7c5adad6fb6304e92 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Sun, 25 Jan 2015 07:22:26 -0500 Subject: 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. --- src/cpu/nativetrace.hh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/cpu/nativetrace.hh') diff --git a/src/cpu/nativetrace.hh b/src/cpu/nativetrace.hh index f6bf63d76..d91dbd6ec 100644 --- a/src/cpu/nativetrace.hh +++ b/src/cpu/nativetrace.hh @@ -56,9 +56,8 @@ class NativeTraceRecord : public ExeTracerRecord NativeTraceRecord(NativeTrace * _parent, Tick _when, ThreadContext *_thread, const StaticInstPtr _staticInst, TheISA::PCState _pc, - bool spec, const StaticInstPtr _macroStaticInst = NULL) - : ExeTracerRecord(_when, _thread, _staticInst, _pc, spec, - _macroStaticInst), + const StaticInstPtr _macroStaticInst = NULL) + : ExeTracerRecord(_when, _thread, _staticInst, _pc, _macroStaticInst), parent(_parent) { } @@ -83,11 +82,8 @@ class NativeTrace : public ExeTracer const StaticInstPtr staticInst, TheISA::PCState pc, const StaticInstPtr macroStaticInst = NULL) { - if (tc->misspeculating()) - return NULL; - return new NativeTraceRecord(this, when, tc, - staticInst, pc, tc->misspeculating(), macroStaticInst); + staticInst, pc, macroStaticInst); } template -- cgit v1.2.3