aboutsummaryrefslogtreecommitdiff
path: root/riscv/execute.cc
diff options
context:
space:
mode:
authorKip Walker <kip@rivosinc.com>2022-06-01 10:51:57 -0700
committerAndrew Waterman <andrew@sifive.com>2022-06-01 14:27:07 -0700
commit7e9da9966856743fb17c42a0a2c2c915e3a3e2b9 (patch)
tree7479c3e088b2d62f73481ca0de6b496fc43fbd01 /riscv/execute.cc
parent68b3eb9bf1c04c19a66631f717163dd9ba2c923c (diff)
downloadspike-7e9da9966856743fb17c42a0a2c2c915e3a3e2b9.zip
spike-7e9da9966856743fb17c42a0a2c2c915e3a3e2b9.tar.gz
spike-7e9da9966856743fb17c42a0a2c2c915e3a3e2b9.tar.bz2
Remove the now-unused PC_SERIALIZE_WFI
When WFI was changed to throw a C++ exception, the special-npc signaling became obsolete.
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; \