Scott Johnson 5 years ago
committed by GitHub
parent
commit
ad9420787c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      riscv/execute.cc

2
riscv/execute.cc

@ -371,7 +371,7 @@ void processor_t::step(size_t n)
// In the debug ROM this prevents us from wasting time looping, but also // In the debug ROM this prevents us from wasting time looping, but also
// allows us to switch to other threads only once per idle loop in case // allows us to switch to other threads only once per idle loop in case
// there is activity. // there is activity.
n = instret; n = ++instret;
} }
state.minstret += instret; state.minstret += instret;

Loading…
Cancel
Save