diff options
Diffstat (limited to 'src/mem/cache')
-rw-r--r-- | src/mem/cache/cache.cc | 3 | ||||
-rw-r--r-- | src/mem/cache/tags/base.hh | 6 | ||||
-rw-r--r-- | src/mem/cache/tags/base_set_assoc.cc | 8 | ||||
-rw-r--r-- | src/mem/cache/tags/base_set_assoc.hh | 6 | ||||
-rw-r--r-- | src/mem/cache/tags/fa_lru.cc | 8 | ||||
-rw-r--r-- | src/mem/cache/tags/fa_lru.hh | 6 |
6 files changed, 0 insertions, 37 deletions
diff --git a/src/mem/cache/cache.cc b/src/mem/cache/cache.cc index 215fc323a..81c2d35e1 100644 --- a/src/mem/cache/cache.cc +++ b/src/mem/cache/cache.cc @@ -288,9 +288,6 @@ Cache::access(PacketPtr pkt, CacheBlk *&blk, Cycles &lat, pkt->req->isInstFetch() ? " (ifetch)" : "", pkt->getAddr()); - if (pkt->req->isClearLL()) - tags->clearLocks(); - // flush and invalidate any existing block CacheBlk *old_blk(tags->findBlock(pkt->getAddr(), pkt->isSecure())); if (old_blk && old_blk->isValid()) { diff --git a/src/mem/cache/tags/base.hh b/src/mem/cache/tags/base.hh index 05f51167e..f1ef947a5 100644 --- a/src/mem/cache/tags/base.hh +++ b/src/mem/cache/tags/base.hh @@ -171,12 +171,6 @@ class BaseTags : public ClockedObject virtual void computeStats() {} /** - *iterated through all blocks and clear all locks - *Needed to clear all lock tracking at once - */ - virtual void clearLocks() {} - - /** * Print all tags used */ virtual std::string print() const = 0; diff --git a/src/mem/cache/tags/base_set_assoc.cc b/src/mem/cache/tags/base_set_assoc.cc index 8c48337bc..6fc186d19 100644 --- a/src/mem/cache/tags/base_set_assoc.cc +++ b/src/mem/cache/tags/base_set_assoc.cc @@ -135,14 +135,6 @@ BaseSetAssoc::findBlockBySetAndWay(int set, int way) const return sets[set].blks[way]; } -void -BaseSetAssoc::clearLocks() -{ - for (int i = 0; i < numBlocks; i++){ - blks[i].clearLoadLocks(); - } -} - std::string BaseSetAssoc::print() const { std::string cache_state; diff --git a/src/mem/cache/tags/base_set_assoc.hh b/src/mem/cache/tags/base_set_assoc.hh index 78c7489fe..9fe23ea91 100644 --- a/src/mem/cache/tags/base_set_assoc.hh +++ b/src/mem/cache/tags/base_set_assoc.hh @@ -381,12 +381,6 @@ public: } /** - *iterated through all blocks and clear all locks - *Needed to clear all lock tracking at once - */ - virtual void clearLocks(); - - /** * Called at end of simulation to complete average block reference stats. */ virtual void cleanupRefs(); diff --git a/src/mem/cache/tags/fa_lru.cc b/src/mem/cache/tags/fa_lru.cc index a53d25665..3f717e3a7 100644 --- a/src/mem/cache/tags/fa_lru.cc +++ b/src/mem/cache/tags/fa_lru.cc @@ -317,14 +317,6 @@ FALRU::check() return true; } -void -FALRU::clearLocks() -{ - for (int i = 0; i < numBlocks; i++){ - blks[i].clearLoadLocks(); - } -} - FALRU * FALRUParams::create() { diff --git a/src/mem/cache/tags/fa_lru.hh b/src/mem/cache/tags/fa_lru.hh index 1c6bd2431..def4c9b2c 100644 --- a/src/mem/cache/tags/fa_lru.hh +++ b/src/mem/cache/tags/fa_lru.hh @@ -306,12 +306,6 @@ public: } /** - *iterated through all blocks and clear all locks - *Needed to clear all lock tracking at once - */ - virtual void clearLocks(); - - /** * @todo Implement as in lru. Currently not used */ virtual std::string print() const { return ""; } |