Browse Source
Don't waste time checking icount when unnecessary
pull/1263/head
Scott Johnson
3 years ago
No known key found for this signature in database
GPG Key ID: 61C1F01D3D1410C9
1 changed files with
1 additions and
1 deletions
-
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); |
|
|
|
|