changeset 0fd6a08a7332 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=0fd6a08a7332
description:
        cpu: o3: remove unused function annotateMemoryUnits()

diffstat:

 src/cpu/o3/fu_pool.cc |  16 ----------------
 src/cpu/o3/fu_pool.hh |   5 -----
 2 files changed, 0 insertions(+), 21 deletions(-)

diffs (41 lines):

diff -r 67f3b26c65c5 -r 0fd6a08a7332 src/cpu/o3/fu_pool.cc
--- a/src/cpu/o3/fu_pool.cc     Sat Mar 07 13:55:56 2015 -0500
+++ b/src/cpu/o3/fu_pool.cc     Mon Mar 09 09:39:07 2015 -0500
@@ -157,22 +157,6 @@
     }
 }
 
-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 -r 67f3b26c65c5 -r 0fd6a08a7332 src/cpu/o3/fu_pool.hh
--- a/src/cpu/o3/fu_pool.hh     Sat Mar 07 13:55:56 2015 -0500
+++ b/src/cpu/o3/fu_pool.hh     Mon Mar 09 09:39:07 2015 -0500
@@ -133,11 +133,6 @@
     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.
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to