changeset 717172baf4dd in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=717172baf4dd
description:
        arm,dev: remove PMU assertion hit on reset

        Remve the assertion that we always need to add a delta larger than
        zero as that does not seem to be true when we hit it in the
        'PMU reset cycle counter to zero' case.

        Committed by Jason Lowe-Power <[email protected]>

diffstat:

 src/arch/arm/pmu.cc |  2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diffs (12 lines):

diff -r ae6e3dd1c32c -r 717172baf4dd src/arch/arm/pmu.cc
--- a/src/arch/arm/pmu.cc       Fri Apr 15 10:02:58 2016 -0500
+++ b/src/arch/arm/pmu.cc       Fri Apr 15 10:03:03 2016 -0500
@@ -574,8 +574,6 @@
     const uint64_t msb(1ULL << (overflow64 ? 63 : 31));
     const uint64_t old_value(value);
 
-    assert(delta > 0);
-
     value += delta;
 
     // Overflow if the msb goes from 1 to 0
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to