Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-07-18 | Fix __clear_cache(0, 0) compilation issue (#30) | Daniel Lustig | 1 | -1/+1 | |
See also https://github.com/riscv/riscv-pk/pull/240 | |||||
2020-11-23 | Merge pull request #27 from bucaps/satp_stval-fixes | Andrew Waterman | 3 | -5/+5 | |
Minor clang-related fixes | |||||
2020-11-24 | v/entry.S: replace sbadaddr with stval | Gokturk Yuksek | 1 | -1/+1 | |
The RISC-V Privileged ISA v1.10 uses stval instead of sbadaddr. Although GCC can cope with sbadaddr, clang cannot. It fails with: error: operand must be a valid system register name or an integer in the range [0, 4095] | |||||
2020-11-24 | Replace sptbr with satp throughout | Gokturk Yuksek | 2 | -4/+4 | |
The RISC-V Privileged ISA v1.10 uses satp instead of sptbr. Although GCC can cope with sptbr, clang cannot. It fails with: error: operand must be a valid system register name or an integer in the range [0, 4095] Modified the variable name in vm.c as well to ensure consistency and avoid possible confusion. | |||||
2020-10-14 | Merge pull request #26 from SandeepRajendran/master | Andrew Waterman | 1 | -1/+1 | |
Unconditionally clear mie register while disabling interrupts. | |||||
2020-10-14 | unconditionally clear mie register | Sandeep Rajendran | 1 | -1/+1 | |
2020-07-14 | Merge pull request #24 from wuzhy/master | Andrew Waterman | 1 | -2/+2 | |
fix a building error | |||||
2020-07-14 | fix a building error | Zhi Yong Wu | 1 | -2/+2 | |
riscv64-unknown-elf-gcc -march=rv32g -mabi=ilp32 -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -DENTROPY=0xf7930f7 -std=gnu99 -O2 -I/data/riscv/riscv-tools/riscv-tests/isa/../env/v -I/data/riscv/riscv-tools/riscv-tests/isa/macros/scalar -T/data/riscv/riscv-tools/riscv-tests/isa/../env/v/link.ld /data/riscv/riscv-tools/riscv-tests/isa/../env/v/entry.S /data/riscv/riscv-tools/riscv-tests/isa/../env/v/*.c rv32ui/simple.S -o rv32ui-v-simple /opt/riscv/lib/gcc/riscv64-unknown-elf/10.1.0/../../../../riscv64-unknown-elf/bin/ld: /tmp/cc8oFAkO.o: in function `tohost': (.tohost+0x0): multiple definition of `tohost'; /tmp/ccOTKaAa.o:(.sbss+0x10): first defined here /opt/riscv/lib/gcc/riscv64-unknown-elf/10.1.0/../../../../riscv64-unknown-elf/bin/ld: /tmp/cc8oFAkO.o: in function `fromhost': (.tohost+0x40): multiple definition of `fromhost'; /tmp/ccOTKaAa.o:(.sbss+0x8): first defined here collect2: error: ld returned 1 exit status /data/riscv/riscv-tools/riscv-tests/isa/Makefile:74: recipe for target 'rv32ui-v-simple' failed make[1]: *** [rv32ui-v-simple] Error 1 make[1]: Leaving directory '/data/riscv/riscv-tools/riscv-tests/isa' Makefile:28: recipe for target 'isa' failed make: *** [isa] Error 2 Signed-off-by: Zhi Yong Wu <zhiyong.wu@sophgo.com> | |||||
2020-04-14 | Merge pull request #23 from chihminchao/rvv-0.9 | Andrew Waterman | 3 | -262/+391 | |
Rvv 0.9 | |||||
2020-04-14 | encoding: add new vector instruction in spec 0.9 | Chih-Min Chao | 1 | -0/+27 | |
1. add rtz rounding instructions 2. add vfslide instructions Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com> | |||||
2020-04-14 | encoding: add new VCSR for vector 0.9 | Chih-Min Chao | 3 | -2/+7 | |
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com> | |||||
2020-04-14 | encoding: update csr definition | Chih-Min Chao | 1 | -2/+30 | |
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com> | |||||
2020-04-14 | encoding: use unified ordering to avoid library change | Chih-Min Chao | 1 | -258/+327 | |
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com> | |||||
2020-03-05 | enable vector unit in V environment (#20) | Han-Kuan Chen | 1 | -0/+3 | |
2020-03-04 | Initialize x registers in p, pm, pt rather than just v (#21) | Andrew Waterman | 1 | -1/+35 | |
2020-03-02 | restore mtvec (#19) | Han-Kuan Chen | 1 | -1/+1 | |
2020-02-27 | Enable vector unit in V environment by default | Andrew Waterman | 1 | -2/+2 | |
2020-02-27 | Update encoding.h | Andrew Waterman | 1 | -15/+1244 | |
2020-02-24 | Fix #17 (#18) | Paul Donahue | 1 | -2/+0 | |
Don't make assumptions about delegatability in medeleg. | |||||
2019-12-16 | Initialize all the x-registers for determinism | Andrew Waterman | 1 | -0/+32 | |
This isn't required for correctness, but it helps debugging (and, in a few restricted scenarios, it avoids x-prop issues). Closes #16 | |||||
2019-12-02 | Merge pull request #15 from chihminchao/ecall_and_vector | Andrew Waterman | 2 | -0/+22 | |
Ecall and vector | |||||
2019-11-28 | rvv: add mstatus.vs definition and initial mcaro | Chih-Min Chao | 2 | -0/+18 | |
1. mstatus.vs is similar to mstatus.fs but desiged for vector extension. 2. add mstatus.vs initialization macro. The macro also enables floating unit. Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com> | |||||
2019-11-28 | fill exit syscall information to make semihosting work | Chih-Min Chao | 1 | -0/+4 | |
Some simulators support semihosting feature to brigde syscall to host. The change keep the exit syscall and the arguments in the related registers. Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com> | |||||
2019-08-15 | Don't truncate the LFSR to 32 bits | Andrew Waterman | 1 | -2/+2 | |
This caused it to collapse to 0, preventing coherence_torture from doing anything interesting at all... | |||||
2019-02-19 | Support testing Sv48 with -DSv48 option | Andrew Waterman | 1 | -21/+47 | |
2019-01-04 | Align entry points for RVC compilation | Andrew Waterman | 1 | -0/+4 | |
2018-09-23 | Avoid writing reserved values to pmpaddr CSR | Andrew Waterman | 2 | -2/+4 | |
2018-09-06 | Enable EXTRA_INIT macro to work in VM environment (#10) | Michael McKeown | 2 | -0/+5 | |
2017-11-27 | Rename sptbr to satp | Andrew Waterman | 3 | -25/+25 | |
2017-08-16 | Merge pull request #4 from riscv/sfence_memory | Palmer Dabbelt | 1 | -1/+1 | |
Inform GCC that "sfence.vma" clobbers memory | |||||
2017-08-16 | Inform GCC that "sfence.vma" clobbers memory | Palmer Dabbelt | 1 | -1/+1 | |
2017-07-03 | Fix physical load address for recent binutilspriv-1.10 | Andrew Waterman | 1 | -3/+6 | |
2017-05-05 | bump encoding.h | Andrew Waterman | 1 | -0/+3 | |
2017-05-01 | Set ELF entry point correctly | Andrew Waterman | 3 | -11/+9 | |
2017-03-30 | New PMP encoding | Andrew Waterman | 3 | -7/+8 | |
2017-03-29 | Test sstatus.SUM more thoroughly by keeping it usually disabled | Andrew Waterman | 1 | -1/+6 | |
2017-03-27 | Separate page faults from physical memory access exceptions | Andrew Waterman | 3 | -17/+22 | |
2017-03-24 | Clean up physical memory test init code | Andrew Waterman | 1 | -5/+20 | |
2017-03-24 | Avoid misa in physical memory tests | Andrew Waterman | 1 | -2/+2 | |
The spec allows it to be hardwired to 0, so don't rely on its value. | |||||
2017-03-23 | Align mtvec target | Andrew Waterman | 1 | -0/+1 | |
2017-03-23 | Rely on assembler to provide PMP CSRs | Andrew Waterman | 2 | -7/+6 | |
2017-03-21 | Use gp for TESTNUM, so compiled C code won't touch it | Andrew Waterman | 1 | -1/+1 | |
2017-03-21 | Set up PMP if present | Andrew Waterman | 3 | -7/+71 | |
2017-03-13 | Update encoding | Andrew Waterman | 1 | -0/+3 | |
2017-03-09 | WIP on priv-1.10 | Andrew Waterman | 3 | -61/+177 | |
2017-03-02 | Check XLEN only after initializing mtvec | Andrew Waterman | 1 | -1/+1 | |
2016-12-06 | avoid non-standard predefined macros | Andrew Waterman | 5 | -10/+6 | |
2016-08-26 | Disable interrupts during VM tests | Andrew Waterman | 1 | -2/+3 | |
The code doesn't support interrupts, and it was relying on the reset value of the mie register (which is undefined) to disable them. | |||||
2016-08-26 | Update encoding | Andrew Waterman | 1 | -72/+341 | |
2016-08-17 | Avoid division in VM tests | Andrew Waterman | 2 | -6/+6 | |
so we can use the same object code on processors without the M extension |