O3: Let squashed and deferred instructions issue.
authorGabe Black <gblack@eecs.umich.edu>
Sun, 7 Aug 2011 22:41:07 +0000 (15:41 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Sun, 7 Aug 2011 22:41:07 +0000 (15:41 -0700)
Let squahsed and deferred instructions issue so they don't accumulate and clog
up the CPU.

src/cpu/o3/inst_queue_impl.hh

index def2c8f97f98a1d2aafe085fd84296c11bfbba5f..9f1dc77b21d48f5b7043092bcd8f2936a4ace5e2 100644 (file)
@@ -1097,7 +1097,7 @@ InstructionQueue<Impl>::getDeferredMemInstToExecute()
 {
     for (ListIt it = deferredMemInsts.begin(); it != deferredMemInsts.end();
          ++it) {
-        if ((*it)->translationCompleted) {
+        if ((*it)->translationCompleted || (*it)->isSquashed()) {
             DynInstPtr ret = *it;
             deferredMemInsts.erase(it);
             return ret;