summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2015-03-09 09:39:07 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2015-03-09 09:39:07 -0500
commitf69a74fda63860c795e22c5dcd739a559cf95b5d (patch)
tree7c5e192e4ad2f28be95885767c6eb41b603573c9 /src/cpu
parent4b048901cfd557f1a5845cc33048f550a681123e (diff)
downloadgem5-f69a74fda63860c795e22c5dcd739a559cf95b5d.tar.xz
cpu: o3: remove unused function annotateMemoryUnits()
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/o3/fu_pool.cc16
-rw-r--r--src/cpu/o3/fu_pool.hh5
2 files changed, 0 insertions, 21 deletions
diff --git a/src/cpu/o3/fu_pool.cc b/src/cpu/o3/fu_pool.cc
index 3edc2c35b..016b171bc 100644
--- a/src/cpu/o3/fu_pool.cc
+++ b/src/cpu/o3/fu_pool.cc
@@ -157,22 +157,6 @@ FUPool::FUPool(const Params *p)
}
}
-void
-FUPool::annotateMemoryUnits(Cycles hit_latency)
-{
- maxOpLatencies[MemReadOp] = hit_latency;
-
- fuListIterator i = funcUnits.begin();
- fuListIterator iend = funcUnits.end();
- for (; i != iend; ++i) {
- if ((*i)->provides(MemReadOp))
- (*i)->opLatency(MemReadOp) = hit_latency;
-
- if ((*i)->provides(MemWriteOp))
- (*i)->opLatency(MemWriteOp) = hit_latency;
- }
-}
-
int
FUPool::getUnit(OpClass capability)
{
diff --git a/src/cpu/o3/fu_pool.hh b/src/cpu/o3/fu_pool.hh
index 79b2adf83..2e1b71dad 100644
--- a/src/cpu/o3/fu_pool.hh
+++ b/src/cpu/o3/fu_pool.hh
@@ -133,11 +133,6 @@ class FUPool : public SimObject
FUPool(const Params *p);
~FUPool();
- /** Annotates units that provide memory operations. Included only because
- * old FU pool provided this function.
- */
- void annotateMemoryUnits(Cycles hit_latency);
-
/**
* Gets a FU providing the requested capability. Will mark the unit as busy,
* but leaves the freeing of the unit up to the IEW stage.