arm, mem: Remove unused CLEAR_LL request flag

Cleaning up dead code. The CLREX stores zero directly to
MISCREG_LOCKFLAG and so the request flag is no longer needed. The
corresponding functionality in the cache tags is also removed.
This commit is contained in:
Andreas Hansson
2015-08-21 07:03:25 -04:00
parent bda79817c8
commit 6eb434c8a2
8 changed files with 0 additions and 50 deletions

View File

@@ -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()) {

View File

@@ -170,12 +170,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
*/

View File

@@ -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;

View File

@@ -380,12 +380,6 @@ public:
return ((tag << tagShift) | ((Addr)set << setShift));
}
/**
*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.
*/

View File

@@ -317,14 +317,6 @@ FALRU::check()
return true;
}
void
FALRU::clearLocks()
{
for (int i = 0; i < numBlocks; i++){
blks[i].clearLoadLocks();
}
}
FALRU *
FALRUParams::create()
{

View File

@@ -305,12 +305,6 @@ public:
return (tag);
}
/**
*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
*/