projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1868c9f
)
Fix up in case a req hasn't yet been generated for this instruction (if there was...
author
Kevin Lim
<ktlim@umich.edu>
Tue, 12 Dec 2006 04:51:21 +0000
(23:51 -0500)
committer
Kevin Lim
<ktlim@umich.edu>
Tue, 12 Dec 2006 04:51:21 +0000
(23:51 -0500)
--HG--
extra : convert_revision :
43f4ea5e6a234cc6071006eab72135c11b8523c8
src/cpu/o3/lsq_unit_impl.hh
patch
|
blob
|
history
diff --git
a/src/cpu/o3/lsq_unit_impl.hh
b/src/cpu/o3/lsq_unit_impl.hh
index 4facea9f9527c0300bc08cc2e9defbf702209eee..3b84d3411af230f49187b0402f489905499990e1 100644
(file)
--- a/
src/cpu/o3/lsq_unit_impl.hh
+++ b/
src/cpu/o3/lsq_unit_impl.hh
@@
-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);