From f69a74fda63860c795e22c5dcd739a559cf95b5d Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Mon, 9 Mar 2015 09:39:07 -0500 Subject: cpu: o3: remove unused function annotateMemoryUnits() --- src/cpu/o3/fu_pool.cc | 16 ---------------- src/cpu/o3/fu_pool.hh | 5 ----- 2 files changed, 21 deletions(-) (limited to 'src/cpu/o3') 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. -- cgit v1.2.3