Browse Source

Don't waste time checking icount when unnecessary

pull/1263/head
Scott Johnson 3 years ago
parent
commit
805d71705c
No known key found for this signature in database GPG Key ID: 61C1F01D3D1410C9
  1. 2
      riscv/execute.cc

2
riscv/execute.cc

@ -263,7 +263,7 @@ void processor_t::step(size_t n)
state.single_step = state.STEP_STEPPED;
}
if (!state.serialized) {
if (!state.serialized && check_triggers_icount) {
auto match = TM.detect_icount_match();
if (match.has_value()) {
assert(match->timing == triggers::TIMING_BEFORE);

Loading…
Cancel
Save