diff --git a/src/cpu/o3/iew.cc b/src/cpu/o3/iew.cc index b53e389807..a3985ab297 100644 --- a/src/cpu/o3/iew.cc +++ b/src/cpu/o3/iew.cc @@ -590,19 +590,6 @@ IEW::instToCommit(const DynInstPtr& inst) (*iewQueue)[wbCycle].size++; } -unsigned -IEW::validInstsFromRename() -{ - unsigned inst_count = 0; - - for (int i=0; isize; i++) { - if (!fromRename->insts[i]->isSquashed()) - inst_count++; - } - - return inst_count; -} - void IEW::skidInsert(ThreadID tid) { @@ -875,7 +862,7 @@ IEW::dispatch(ThreadID tid) ++iewStats.unblockCycles; - if (validInstsFromRename()) { + if (fromRename->size != 0) { // Add the current inputs to the skid buffer so they can be // reprocessed when this stage unblocks. skidInsert(tid); diff --git a/src/cpu/o3/iew.hh b/src/cpu/o3/iew.hh index 5049eb4808..b1667df725 100644 --- a/src/cpu/o3/iew.hh +++ b/src/cpu/o3/iew.hh @@ -271,11 +271,6 @@ class IEW */ void writebackInsts(); - /** Returns the number of valid, non-squashed instructions coming from - * rename to dispatch. - */ - unsigned validInstsFromRename(); - /** Checks if any of the stall conditions are currently true. */ bool checkStall(ThreadID tid);