Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-04-01 | Set mtval to 0 on ebreak. Fixes #44. | Prashanth Mundkur | 2 | -1/+8 | |
2020-04-01 | Add a clarifying comment. | Prashanth Mundkur | 1 | -1/+2 | |
2020-04-01 | Add clarifying comment. | Prashanth Mundkur | 1 | -1/+1 | |
2020-04-01 | Merge pull request #45 from scottj97/pmpcfg | Prashanth Mundkur | 2 | -9/+9 | |
Fix several pmpcfg issues. This is the simplest way to mask, the alternative is to create a custom function to set each field. I'll add a comment for that magic value. | |||||
2020-03-29 | Mask pmpXcfg bits as required by spec | Scott Johnson | 1 | -1/+1 | |
See "Figure 3.28: PMP configuration register format." in RISC-V Privileged Spec. Bits 6 and 5 are required to be 0. | |||||
2020-03-29 | Read pmpcfg* value back out when reporting its value | Scott Johnson | 1 | -4/+4 | |
So that the reported value will see the masked bits that I am going to add next. | |||||
2020-03-29 | Fix typos that made pmp8cfg and pmp9cfg unwritable | Scott Johnson | 1 | -4/+4 | |
I'm not sure why this didn't cause a Sail compile error. | |||||
2020-03-03 | Add bit negation to prelude | Thomas Bauereiss | 1 | -1/+5 | |
For bounds calculation in sail-cheri-riscv. | |||||
2020-02-28 | Make types of min/max more precise | Thomas Bauereiss | 1 | -8/+6 | |
Might help typechecking sail-cheri-riscv code. | |||||
2020-02-26 | Add convenience 'osim' target for ocaml emulator. | Robert Norton | 1 | -0/+2 | |
2020-02-25 | Change operand order for csr instructions assembly to match spec. Fixes #34. | Robert Norton | 1 | -2/+2 | |
2020-02-25 | Re-instate csr names in assembly with an alternative workaround for sail bug ↵ | Robert Norton | 2 | -1/+6 | |
https://github.com/rems-project/sail/issues/62 . This reverts 82c7152b7374d9c24b2464a055aa4cd140048717. Fixes #35. | |||||
2020-02-25 | Revert "Further workaround for Sail mapping bug." | Robert Norton | 1 | -2/+2 | |
This reverts commit 82c7152b7374d9c24b2464a055aa4cd140048717. | |||||
2020-02-19 | Merge pull request #42 from arichardson/loopback | Prashanth Mundkur | 1 | -1/+1 | |
Only listen for RVFI-DII messages on 127.0.0.1 | |||||
2020-02-19 | Only listen for RVFI-DII messages on 127.0.0.1 | Alex Richardson | 1 | -1/+1 | |
2020-02-14 | Change RVFI ram size to 8MB as requested by Jon Woodruff. TODO: should make ↵ | Robert Norton | 1 | -1/+1 | |
it possible to override this using the -z option. | |||||
2020-02-13 | Merge pull request #41 from scottj97/fcsr-fix | Prashanth Mundkur | 2 | -5/+4 | |
Report correct value in trace for CSR writes to frm and fflags | |||||
2020-02-13 | Report correct value in trace for CSR writes to frm and fflags | Scott Johnson | 2 | -5/+4 | |
Previously it was always reporting the entire fcsr value as the new value of fflags/frm. Fixes #40. | |||||
2020-02-06 | Update mstatus.SD bit as well when dirtying the floating-point status. | Prashanth Mundkur | 1 | -5/+9 | |
2020-02-06 | Handle locked TOR entries when writing PMP addresses. | Prashanth Mundkur | 3 | -22/+28 | |
Fixes #36. | |||||
2020-02-06 | Initialize fdregs for rvfi. | Prashanth Mundkur | 1 | -0/+1 | |
2020-02-06 | Improve handling of fcsr by making it a bitfield. | Prashanth Mundkur | 4 | -55/+75 | |
Also properly dirty the FS bit in mstatus when writing to floating-point state. Fixes #38. | |||||
2020-02-04 | Add a very minimal spec derived from full spec for experimental use with Iris. | Robert Norton | 1 | -0/+1176 | |
2020-02-03 | Add softfloat fdext defs for rmem build. | Prashanth Mundkur | 1 | -1/+1 | |
2020-01-31 | Merge pull request #37 from scottj97/recursive-make | Robert Norton | 1 | -2/+2 | |
Invoke recursive make using $(MAKE) as GNU recommends | |||||
2020-01-30 | Invoke recursive make using $(MAKE) as GNU recommends | Scott Johnson | 1 | -2/+2 | |
"Recursive make commands should always use the variable MAKE, not the explicit command name ‘make’" See: https://www.gnu.org/software/make/manual/make.html#MAKE-Variable | |||||
2020-01-30 | Add missing effect from ext_rvfi_init. | Robert Norton | 1 | -1/+1 | |
2020-01-29 | Fix rvfi build. | Prashanth Mundkur | 2 | -2/+4 | |
2020-01-23 | Add lem stubs for softfloat externs.rsnikhil | Prashanth Mundkur | 4 | -32/+250 | |
2020-01-22 | Some fixes for lem build. | Prashanth Mundkur | 2 | -0/+8 | |
2020-01-22 | Fix coq build. | Prashanth Mundkur | 1 | -0/+1 | |
2020-01-22 | Merge branch 'master' into rsnikhil | Prashanth Mundkur | 11 | -61/+84 | |
2020-01-21 | Fix effects on encdec. | Prashanth Mundkur | 2 | -2/+2 | |
2020-01-20 | Merge pull request #33 from jrtc27/ext-exc-type | Robert Norton | 4 | -7/+18 | |
Allow extensions to provide their own exception codes/names | |||||
2020-01-20 | Add reporting of >64-bit RVFI mem accesses | Peter Rugg | 1 | -1/+5 | |
2020-01-18 | Allow extensions to provide their own exception codes/names | James Clarke | 4 | -7/+18 | |
2020-01-17 | Update handwritten Coq to use boolean predicates | Brian Campbell | 2 | -11/+13 | |
Matches recent changes to Sail | |||||
2020-01-14 | Remove code duplication in mem_readmem_meta_merge | Thomas Bauereiss | 1 | -27/+17 | |
2020-01-13 | Fix 32-bit AMO min/max operations on RV64. Closes #27. | Prashanth Mundkur | 1 | -10/+23 | |
2020-01-13 | Further workaround for Sail mapping bug. | Robert Norton | 1 | -2/+2 | |
The workaround from previous commit did not work for sail-cheri-riscv (I think it is a problem with topological sorting that is highly dependent on the order in which functions are defined and used). Unfortunately this means we no longer have CSR names in disassembly, only numbers. | |||||
2020-01-10 | Re-instate the catch-all csr_name_map clause and workaround the Sail bug ↵ | Robert Norton | 2 | -3/+6 | |
that prevented this from compiling previously. This will stop crashes on invalid CSRs in TestRIG. I have a reduced test case for the Sail bug and will investigate. | |||||
2020-01-08 | Add softfloat to rvfi build. | Prashanth Mundkur | 1 | -1/+1 | |
2020-01-07 | Merge branch 'master' into rsnikhil. | Prashanth Mundkur | 25 | -145/+267 | |
2020-01-07 | Merge pull request #32 from jrtc27/getopt-long | Prashanth Mundkur | 2 | -7/+7 | |
Fix parsing long options in the C emulator for RVFI-DII | |||||
2020-01-07 | Fix parsing long options in the C emulator for RVFI-DII | James Clarke | 1 | -3/+3 | |
idx, passed as longindex to getopt_long, is updated every time a long option is parsed to be the index of that option in the options array, not argv. We should instead use optind as in the non-RVFI-DII case, and we can remove the variable to avoid confusion since it is unused. | |||||
2020-01-07 | Separate out RVFI simulators like non-RVFI | James Clarke | 1 | -4/+4 | |
2020-01-07 | Merge pull request #22 from rems-project/rvfi_fix | Robert Norton | 1 | -35/+29 | |
Attempt to fix RVFI for instruction fetch exceptions. | |||||
2020-01-06 | Merge pull request #30 from jrtc27/amo-fault | Prashanth Mundkur | 3 | -14/+30 | |
Generate correct cause for AMO faults | |||||
2020-01-02 | improve pp | pes20 | 1 | -1/+1 | |
2020-01-01 | add location and type info to pp-raw | pes20 | 1 | -1/+1 | |