- Aug 23, 2023
-
-
Jerry Zhao authored
This makes it easier to support tests with large memory footprints, as the default 63 pages may be insufficient
-
- Mar 17, 2023
-
-
Andrew Waterman authored
Enable RNMIs if the extension is present, as the feature affects trap behavior when RNMIs are masked.
-
Andrew Waterman authored
-
- Mar 03, 2023
-
-
Andrew Waterman authored
Resolves https://github.com/riscv-software-src/riscv-tests/issues/460
-
- Feb 03, 2023
-
-
deepak0414 authored
Certain tests (particularly negative) may require a fault to occur. However in order to pass the tests, page fault and traps must return back to the tests. This patch add support for page fault and trap filtering in env. Signed-off-by:Deepak Gupta <debug@rivosinc.com>
-
- Feb 01, 2022
-
-
eistar authored
In "evict" function in v/vm.c, when evict a dirty page in user space, memcpy should be from that page, rather than to evicted page.
-
- Sep 25, 2021
-
-
liweiwei90 authored
* update riscv_arch.h to support QEMU: add size attribute for tohost/fromhost add writing zero to (tohost + 4) to write_tohost * revert the align of tohost/fromhost to 64 bytes
-
- Jul 20, 2021
-
-
Andrew Waterman authored
-
- Jul 19, 2021
-
-
Daniel Lustig authored
See also https://github.com/riscv/riscv-pk/pull/240
-
- Nov 24, 2020
-
-
Andrew Waterman authored
Minor clang-related fixes
-
Gokturk Yuksek authored
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]
-
Gokturk Yuksek authored
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.
-
- Oct 15, 2020
-
-
Andrew Waterman authored
Unconditionally clear mie register while disabling interrupts.
-
Sandeep Rajendran authored
-
- Jul 15, 2020
-
-
Andrew Waterman authored
fix a building error
-
- Jul 14, 2020
-
-
Zhi Yong Wu authored
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>
-
- Apr 14, 2020
-
-
Andrew Waterman authored
Rvv 0.9
-
Chih-Min Chao authored
1. add rtz rounding instructions 2. add vfslide instructions Signed-off-by:Chih-Min Chao <chihmin.chao@sifive.com>
-
Chih-Min Chao authored
Signed-off-by:Chih-Min Chao <chihmin.chao@sifive.com>
-
Chih-Min Chao authored
Signed-off-by:Chih-Min Chao <chihmin.chao@sifive.com>
-
Chih-Min Chao authored
Signed-off-by:Chih-Min Chao <chihmin.chao@sifive.com>
-
- Mar 06, 2020
-
-
Han-Kuan Chen authored
-
- Mar 05, 2020
-
-
Andrew Waterman authored
-
- Mar 03, 2020
-
-
Han-Kuan Chen authored
-
- Feb 28, 2020
-
-
Andrew Waterman authored
-
Andrew Waterman authored
-
- Feb 25, 2020
-
-
Paul Donahue authored
Don't make assumptions about delegatability in medeleg.
-
- Dec 17, 2019
-
-
Andrew Waterman authored
This isn't required for correctness, but it helps debugging (and, in a few restricted scenarios, it avoids x-prop issues). Closes #16
-
- Dec 03, 2019
-
-
Andrew Waterman authored
Ecall and vector
-
- Nov 28, 2019
-
-
Chih-Min Chao authored
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>
-
Chih-Min Chao authored
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>
-
- Aug 16, 2019
-
-
Andrew Waterman authored
This caused it to collapse to 0, preventing coherence_torture from doing anything interesting at all...
-
- Feb 20, 2019
-
-
Andrew Waterman authored
-
- Jan 05, 2019
-
-
Andrew Waterman authored
-
- Sep 24, 2018
-
-
Andrew Waterman authored
-
- Sep 07, 2018
-
-
Michael McKeown authored
-
- Nov 28, 2017
-
-
Andrew Waterman authored
-
- Aug 17, 2017
-
-
Palmer Dabbelt authored
Inform GCC that "sfence.vma" clobbers memory
-
Palmer Dabbelt authored
-
- Jul 04, 2017
-
-
Andrew Waterman authored
-