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:
d0ccb7f
)
add stub for SV REG configs
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sat, 29 Sep 2018 03:19:19 +0000
(
04:19
+0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sat, 29 Sep 2018 03:19:19 +0000
(
04:19
+0100)
riscv/processor.cc
patch
|
blob
|
history
diff --git
a/riscv/processor.cc
b/riscv/processor.cc
index 83c6439dd70d188348b4b5d5dd77123e1af00c79..71b030b20d8d127f4a0af8ea760917f1c6cd7eb7 100644
(file)
--- a/
riscv/processor.cc
+++ b/
riscv/processor.cc
@@
-346,6
+346,15
@@
void processor_t::set_csr(int which, reg_t val)
state.vl = std::min(state.mvl, state.XPR[val]);
state.XPR.write(val, state.vl);
break;
+ case CSR_SVREGCFG0:
+ case CSR_SVREGCFG1:
+ case CSR_SVREGCFG2:
+ case CSR_SVREGCFG3:
+ case CSR_SVREGCFG4:
+ case CSR_SVREGCFG5:
+ case CSR_SVREGCFG6:
+ case CSR_SVREGCFG7:
+ break;
#endif
case CSR_FFLAGS:
dirty_fp_state;