changeset 00bddca96da6 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=00bddca96da6
description:
        mem: Remove unused cache squash functionality

        Tidying up.

diffstat:

 src/mem/cache/cache.cc |  22 ----------------------
 src/mem/cache/cache.hh |   7 -------
 2 files changed, 0 insertions(+), 29 deletions(-)

diffs (49 lines):

diff -r 62544e45c0f4 -r 00bddca96da6 src/mem/cache/cache.cc
--- a/src/mem/cache/cache.cc    Fri Aug 21 07:03:23 2015 -0400
+++ b/src/mem/cache/cache.cc    Fri Aug 21 07:03:24 2015 -0400
@@ -263,28 +263,6 @@
     markInServiceInternal(mshr, pending_dirty_resp);
 }
 
-
-void
-Cache::squash(int threadNum)
-{
-    bool unblock = false;
-    BlockedCause cause = NUM_BLOCKED_CAUSES;
-
-    if (noTargetMSHR && noTargetMSHR->threadNum == threadNum) {
-        noTargetMSHR = NULL;
-        unblock = true;
-        cause = Blocked_NoTargets;
-    }
-    if (mshrQueue.isFull()) {
-        unblock = true;
-        cause = Blocked_NoMSHRs;
-    }
-    mshrQueue.squash(threadNum);
-    if (unblock && !mshrQueue.isFull()) {
-        clearBlocked(cause);
-    }
-}
-
 /////////////////////////////////////////////////////
 //
 // Access path: requests coming in from the CPU side
diff -r 62544e45c0f4 -r 00bddca96da6 src/mem/cache/cache.hh
--- a/src/mem/cache/cache.hh    Fri Aug 21 07:03:23 2015 -0400
+++ b/src/mem/cache/cache.hh    Fri Aug 21 07:03:24 2015 -0400
@@ -343,13 +343,6 @@
     bool invalidateVisitor(CacheBlk &blk);
 
     /**
-     * Squash all requests associated with specified thread.
-     * intended for use by I-cache.
-     * @param threadNum The thread to squash.
-     */
-    void squash(int threadNum);
-
-    /**
      * Generate an appropriate downstream bus request packet for the
      * given parameters.
      * @param cpu_pkt  The upstream request that needs to be satisfied.
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to