cpu: o3: remove unused function annotateMemoryUnits()
This commit is contained in:
parent
4b048901cf
commit
f69a74fda6
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue