changeset 8c88a94c2f4f in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=8c88a94c2f4f
description:
O3: Remove assertion for case that is actually handled in code.
If an nonspeculative instruction has a fault it might not be in the
nonSpecInsts map.
diffstat:
src/cpu/o3/inst_queue_impl.hh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 883ab6df7e69 -r 8c88a94c2f4f src/cpu/o3/inst_queue_impl.hh
--- a/src/cpu/o3/inst_queue_impl.hh Wed May 04 20:38:27 2011 -0500
+++ b/src/cpu/o3/inst_queue_impl.hh Wed May 04 20:38:27 2011 -0500
@@ -1199,7 +1199,7 @@
!squashed_inst->isCompleted()) {
NonSpecMapIt ns_inst_it =
nonSpecInsts.find(squashed_inst->seqNum);
- assert(ns_inst_it != nonSpecInsts.end());
+
if (ns_inst_it == nonSpecInsts.end()) {
assert(squashed_inst->getFault() != NoFault);
} else {
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev