From: Gabe Black Date: Sun, 7 Aug 2011 22:41:07 +0000 (-0700) Subject: O3: Let squashed and deferred instructions issue. X-Git-Tag: stable_2012_02_02~146 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a9b793115679dbf13e0ca7f717b8be3ec14b3ea2;p=gem5.git O3: Let squashed and deferred instructions issue. Let squahsed and deferred instructions issue so they don't accumulate and clog up the CPU. --- diff --git a/src/cpu/o3/inst_queue_impl.hh b/src/cpu/o3/inst_queue_impl.hh index def2c8f97..9f1dc77b2 100644 --- a/src/cpu/o3/inst_queue_impl.hh +++ b/src/cpu/o3/inst_queue_impl.hh @@ -1097,7 +1097,7 @@ InstructionQueue::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;