summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDam Sunwoo <dam.sunwoo@arm.com>2014-01-24 15:29:29 -0600
committerDam Sunwoo <dam.sunwoo@arm.com>2014-01-24 15:29:29 -0600
commitf1cd6b1ba8ce66f04793133233ac0135c6b11646 (patch)
treeea3c6aa36c6fef23211bd52304df5f00d50fe37a /src
parent37433d91a361a96bb95cc5a745d39ba931c68630 (diff)
downloadgem5-f1cd6b1ba8ce66f04793133233ac0135c6b11646.tar.xz
cpu: remove faulty simpoint basic block inst count assertion
This patch removes an assertion in the simpoint profiling code that asserts that a previously-seen basic block has the exact same number of instructions executed as before. This can be false if the basic block generates aborts or takes interrupts at different locations within the basic block. The basic block profiling are not affected significantly as these events are rare in general.
Diffstat (limited to 'src')
-rw-r--r--src/cpu/simple/atomic.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cpu/simple/atomic.cc b/src/cpu/simple/atomic.cc
index d29903c2f..13c4b9bd3 100644
--- a/src/cpu/simple/atomic.cc
+++ b/src/cpu/simple/atomic.cc
@@ -618,7 +618,6 @@ AtomicSimpleCPU::profileSimPoint()
// If basic block is seen before, just increment the count by the
// number of insts in basic block.
BBInfo& info = map_itr->second;
- assert(info.insts == currentBBVInstCount);
info.count += currentBBVInstCount;
}
currentBBVInstCount = 0;