summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-11-06 12:51:08 -0800
committerGabe Black <gblack@eecs.umich.edu>2007-11-06 12:51:08 -0800
commit19292d3f06c5cfd33d6b5d8ba4a9eeadd0d11d47 (patch)
tree2d030b385cd0b720fbcedae069954f63075c1d9f /src/cpu
parentd1fb5ad91e2429739b5a746fa36ab0ee822e33b7 (diff)
downloadgem5-19292d3f06c5cfd33d6b5d8ba4a9eeadd0d11d47.tar.xz
O3: Remove unneeded variable.
--HG-- extra : convert_revision : 4624ccd3f08818f4632881d6aca6d1cc343bbdcf
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/o3/iew.hh7
-rw-r--r--src/cpu/o3/iew_impl.hh8
2 files changed, 1 insertions, 14 deletions
diff --git a/src/cpu/o3/iew.hh b/src/cpu/o3/iew.hh
index eef5a15d2..457e2a024 100644
--- a/src/cpu/o3/iew.hh
+++ b/src/cpu/o3/iew.hh
@@ -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.
*/
diff --git a/src/cpu/o3/iew_impl.hh b/src/cpu/o3/iew_impl.hh
index 399c44909..84d10e966 100644
--- a/src/cpu/o3/iew_impl.hh
+++ b/src/cpu/o3/iew_impl.hh
@@ -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;
}