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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user