O3: Remove unneeded variable.
--HG-- extra : convert_revision : 4624ccd3f08818f4632881d6aca6d1cc343bbdcf
This commit is contained in:
parent
d1fb5ad91e
commit
19292d3f06
2 changed files with 1 additions and 14 deletions
|
@ -402,13 +402,6 @@ class DefaultIEW
|
|||
/** Records if there is a fetch redirect on this cycle for each thread. */
|
||||
bool fetchRedirect[Impl::MaxThreads];
|
||||
|
||||
/** Used to track if all instructions have been dispatched this cycle.
|
||||
* If they have not, then blocking must have occurred, and the instructions
|
||||
* would already be added to the skid buffer.
|
||||
* @todo: Fix this hack.
|
||||
*/
|
||||
bool dispatchedAllInsts;
|
||||
|
||||
/** Records if the queues have been changed (inserted or issued insts),
|
||||
* so that IEW knows to broadcast the updated amount of free entries.
|
||||
*/
|
||||
|
|
|
@ -929,7 +929,7 @@ DefaultIEW<Impl>::dispatch(unsigned tid)
|
|||
|
||||
++iewUnblockCycles;
|
||||
|
||||
if (validInstsFromRename() && dispatchedAllInsts) {
|
||||
if (validInstsFromRename()) {
|
||||
// Add the current inputs to the skid buffer so they can be
|
||||
// reprocessed when this stage unblocks.
|
||||
skidInsert(tid);
|
||||
|
@ -943,8 +943,6 @@ template <class Impl>
|
|||
void
|
||||
DefaultIEW<Impl>::dispatchInsts(unsigned tid)
|
||||
{
|
||||
dispatchedAllInsts = true;
|
||||
|
||||
// Obtain instructions from skid buffer if unblocking, or queue from rename
|
||||
// otherwise.
|
||||
std::queue<DynInstPtr> &insts_to_dispatch =
|
||||
|
@ -1011,8 +1009,6 @@ DefaultIEW<Impl>::dispatchInsts(unsigned tid)
|
|||
// get full in the IQ.
|
||||
toRename->iewUnblock[tid] = false;
|
||||
|
||||
dispatchedAllInsts = false;
|
||||
|
||||
++iewIQFullEvents;
|
||||
break;
|
||||
} else if (ldstQueue.isFull(tid)) {
|
||||
|
@ -1026,8 +1022,6 @@ DefaultIEW<Impl>::dispatchInsts(unsigned tid)
|
|||
// get full in the IQ.
|
||||
toRename->iewUnblock[tid] = false;
|
||||
|
||||
dispatchedAllInsts = false;
|
||||
|
||||
++iewLSQFullEvents;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue