Fix up in case a req hasn't yet been generated for this instruction (if there was a fault prior to translation).
--HG-- extra : convert_revision : 43f4ea5e6a234cc6071006eab72135c11b8523c8
This commit is contained in:
parent
1868c9fd7f
commit
34924ce3b8
1 changed files with 2 additions and 1 deletions
|
@ -418,7 +418,8 @@ LSQUnit<Impl>::executeLoad(DynInstPtr &inst)
|
|||
// realizes there is activity.
|
||||
// Mark it as executed unless it is an uncached load that
|
||||
// needs to hit the head of commit.
|
||||
if (!(inst->req->isUncacheable()) || inst->isAtCommit()) {
|
||||
if (!(inst->req && inst->req->isUncacheable()) ||
|
||||
inst->isAtCommit()) {
|
||||
inst->setExecuted();
|
||||
}
|
||||
iewStage->instToCommit(inst);
|
||||
|
|
Loading…
Reference in a new issue