aboutsummaryrefslogtreecommitdiff
path: root/riscv/execute.cc
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/execute.cc')
-rw-r--r--riscv/execute.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/riscv/execute.cc b/riscv/execute.cc
index ea4dc5b..7cb16dd 100644
--- a/riscv/execute.cc
+++ b/riscv/execute.cc
@@ -242,7 +242,6 @@ void processor_t::step(size_t n)
switch (pc) { \
case PC_SERIALIZE_BEFORE: state.serialized = true; break; \
case PC_SERIALIZE_AFTER: ++instret; break; \
- case PC_SERIALIZE_WFI: n = ++instret; break; \
default: abort(); \
} \
pc = state.pc; \