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.
This commit is contained in:
Dam Sunwoo 2014-01-24 15:29:29 -06:00
parent 37433d91a3
commit f1cd6b1ba8

View file

@ -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;