diff options
| author | Alasdair Armstrong | 2018-09-07 16:43:07 +0100 |
|---|---|---|
| committer | Alasdair Armstrong | 2018-09-07 16:43:07 +0100 |
| commit | 7d0280d7ad08bbf9e33164c634c538effdd1340b (patch) | |
| tree | 208c4c605e64e01fde3f9bb67a49f4f3d801464e /riscv | |
| parent | a8f2a0ba2b97a0aa2a83b32b44932de876e6b4be (diff) | |
RISCV: Run RISC-V tests using version compiled to C
Current pass rate is 170 out of 181. Looks like there are some issues
with rv64ua-p-lrsc.elf, rv64ua-v-lrsc.elf, and rv64uc-p-rvc.elf which
I think are caused by me not implementing parts of the RISC-V platform
correctly in C. Some of the div and mod tests also fail, which is
probably an issue with using the correct rounding.
Diffstat (limited to 'riscv')
| -rwxr-xr-x | riscv/reset_vec.bin | bin | 0 -> 28 bytes | |||
| -rw-r--r-- | riscv/riscv_platform.c | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/riscv/reset_vec.bin b/riscv/reset_vec.bin Binary files differnew file mode 100755 index 00000000..d2d3563c --- /dev/null +++ b/riscv/reset_vec.bin diff --git a/riscv/riscv_platform.c b/riscv/riscv_platform.c index 6330ae4d..7f6ec470 100644 --- a/riscv/riscv_platform.c +++ b/riscv/riscv_platform.c @@ -62,7 +62,7 @@ void plat_insns_per_tick(sail_int *rop, unit u) mach_bits plat_htif_tohost(unit u) { - return UINT64_C(0x2000000); + return UINT64_C(0x80001000); } unit memea(mach_bits len, sail_int n) |
