diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-12-30 13:21:25 -0500 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-12-30 13:21:25 -0500 |
commit | 7d7f3d0e99eca98a5659e73bce56d615f0ed4fc3 (patch) | |
tree | cf992a9f0dbee25e9b558a2f68c228c2a015982d | |
parent | f6aa2ed47bbd3482ee970e92ad3af3d9ed455a6b (diff) | |
download | gem5-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.hh | 2 |
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; } |