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/simple_thread.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/simple_thread.hh')
-rw-r--r-- | src/cpu/simple_thread.hh | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/cpu/simple_thread.hh b/src/cpu/simple_thread.hh index 6b8f3063a..1f9e58ad9 100644 --- a/src/cpu/simple_thread.hh +++ b/src/cpu/simple_thread.hh @@ -220,8 +220,6 @@ class SimpleThread : public ThreadState /// Set the status to Halted. void halt(); - virtual bool misspeculating(); - void copyArchRegs(ThreadContext *tc); void clearArchRegs() @@ -455,11 +453,4 @@ class SimpleThread : public ThreadState }; -// for non-speculative execution context, spec_mode is always false -inline bool -SimpleThread::misspeculating() -{ - return false; -} - #endif // __CPU_CPU_EXEC_CONTEXT_HH__ |