projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1aaeac
)
O3: Let squashed and deferred instructions issue.
author
Gabe Black
<gblack@eecs.umich.edu>
Sun, 7 Aug 2011 22:41:07 +0000
(15:41 -0700)
committer
Gabe 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
patch
|
blob
|
history
diff --git
a/src/cpu/o3/inst_queue_impl.hh
b/src/cpu/o3/inst_queue_impl.hh
index def2c8f97f98a1d2aafe085fd84296c11bfbba5f..9f1dc77b21d48f5b7043092bcd8f2936a4ace5e2 100644
(file)
--- a/
src/cpu/o3/inst_queue_impl.hh
+++ b/
src/cpu/o3/inst_queue_impl.hh
@@
-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;