projects
/
riscv-isa-sim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f55234
)
Return to interactive mode after a trap
author
Andrew Waterman
<waterman@cs.berkeley.edu>
Fri, 12 Feb 2016 18:59:46 +0000
(10:59 -0800)
committer
Andrew Waterman
<waterman@cs.berkeley.edu>
Wed, 2 Mar 2016 20:15:25 +0000
(12:15 -0800)
riscv/execute.cc
patch
|
blob
|
history
diff --git
a/riscv/execute.cc
b/riscv/execute.cc
index 014055ba3ecc9f138d54deb959eaf55e4e1de689..5c3fdf7991552d1bff8a9c42425dff52d16f5eb4 100644
(file)
--- a/
riscv/execute.cc
+++ b/
riscv/execute.cc
@@
-120,6
+120,7
@@
miss:
catch(trap_t& t)
{
take_trap(t, pc);
+ n = instret;
}
state.minstret += instret;