Fix up previous commit to proper logic.
authorKevin Lim <ktlim@umich.edu>
Sat, 30 Dec 2006 18:21:25 +0000 (13:21 -0500)
committerKevin Lim <ktlim@umich.edu>
Sat, 30 Dec 2006 18:21:25 +0000 (13:21 -0500)
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

src/cpu/o3/commit_impl.hh

index c3c4983c53f606ec5615ec7a9ed3a6efe2c1c5c1..96f094926fd4faaf7002d6fa9f83e77494054fda 100644 (file)
@@ -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;
             }