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:
438a337
)
Don't force load trigger timing to After
author
Andrew Waterman
<waterman@cs.berkeley.edu>
Mon, 10 Oct 2016 20:32:25 +0000
(13:32 -0700)
committer
Andrew Waterman
<waterman@cs.berkeley.edu>
Mon, 10 Oct 2016 20:32:25 +0000
(13:32 -0700)
Allow the CSR writer to make the choice.
@timsifive @colinschmidt this fixes the failing rv64mi-p-breakpoint test.
riscv/processor.cc
patch
|
blob
|
history
diff --git
a/riscv/processor.cc
b/riscv/processor.cc
index 47a3a668fafe80a2bcebfaa4a60ecb1b59058781..f3764ae1e276265a30298dbd83a627d914b2bf13 100644
(file)
--- a/
riscv/processor.cc
+++ b/
riscv/processor.cc
@@
-437,8
+437,6
@@
void processor_t::set_csr(int which, reg_t val)
// Assume we're here because of csrw.
if (mc->execute)
mc->timing = 0;
- if (mc->load)
- mc->timing = 1;
trigger_updated();
}
break;