changeset 4a0223da4924 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=4a0223da4924
description:
o3 cpu: Remove unused variables
diffstat:
src/cpu/o3/cpu.cc | 3 ---
src/cpu/o3/cpu.hh | 8 --------
src/cpu/o3/thread_context_impl.hh | 1 -
3 files changed, 0 insertions(+), 12 deletions(-)
diffs (49 lines):
diff -r e7c4f86ffa40 -r 4a0223da4924 src/cpu/o3/cpu.cc
--- a/src/cpu/o3/cpu.cc Mon Jan 07 13:05:45 2013 -0500
+++ b/src/cpu/o3/cpu.cc Mon Jan 07 13:05:45 2013 -0500
@@ -467,9 +467,6 @@
for (ThreadID tid = 0; tid < this->numThreads; tid++)
this->thread[tid]->setFuncExeInst(0);
-
- lockAddr = 0;
- lockFlag = false;
}
template <class Impl>
diff -r e7c4f86ffa40 -r 4a0223da4924 src/cpu/o3/cpu.hh
--- a/src/cpu/o3/cpu.hh Mon Jan 07 13:05:45 2013 -0500
+++ b/src/cpu/o3/cpu.hh Mon Jan 07 13:05:45 2013 -0500
@@ -124,9 +124,6 @@
/** Overall CPU status. */
Status _status;
- /** Per-thread status in CPU, used for SMT. */
- Status _threadStatus[Impl::MaxThreads];
-
private:
/**
@@ -781,11 +778,6 @@
/** Get the dcache port (used to find block size for translations). */
virtual CpuPort &getDataPort() { return dcachePort; }
- Addr lockAddr;
-
- /** Temporary fix for the lock flag, works in the UP case. */
- bool lockFlag;
-
/** Stat for total number of times the CPU is descheduled. */
Stats::Scalar timesIdled;
/** Stat for total number of cycles the CPU spends descheduled. */
diff -r e7c4f86ffa40 -r 4a0223da4924 src/cpu/o3/thread_context_impl.hh
--- a/src/cpu/o3/thread_context_impl.hh Mon Jan 07 13:05:45 2013 -0500
+++ b/src/cpu/o3/thread_context_impl.hh Mon Jan 07 13:05:45 2013 -0500
@@ -89,7 +89,6 @@
// Transfer kernel stats from one CPU to the other.
thread->kernelStats = old_context->getKernelStats();
- cpu->lockFlag = false;
} else {
thread->funcExeInst = old_context->readFuncExeInst();
}
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev