summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2006-12-30 13:21:25 -0500
committerKevin Lim <ktlim@umich.edu>2006-12-30 13:21:25 -0500
commit7d7f3d0e99eca98a5659e73bce56d615f0ed4fc3 (patch)
treecf992a9f0dbee25e9b558a2f68c228c2a015982d
parentf6aa2ed47bbd3482ee970e92ad3af3d9ed455a6b (diff)
downloadgem5-7d7f3d0e99eca98a5659e73bce56d615f0ed4fc3.tar.xz
Fix up previous commit to proper logic.
src/cpu/o3/commit_impl.hh: Oops, changed the logic a little bit. Fix it up to how it used to be. --HG-- extra : convert_revision : df7f69b0997207b611374c3c92880f3a405e88be
-rw-r--r--src/cpu/o3/commit_impl.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/o3/commit_impl.hh b/src/cpu/o3/commit_impl.hh
index c3c4983c5..96f094926 100644
--- a/src/cpu/o3/commit_impl.hh
+++ b/src/cpu/o3/commit_impl.hh
@@ -998,7 +998,7 @@ DefaultCommit<Impl>::commitHead(DynInstPtr &head_inst, unsigned inst_num)
{
DPRINTF(Commit, "Waiting for all stores to writeback.\n");
return false;
- } else if (inst_num > 0) {
+ } else if (inst_num > 0 || iewStage->hasStoresToWB()) {
DPRINTF(Commit, "Waiting to become head of commit.\n");
return false;
}