You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnnil, fmt.Errorf("invalid PT_LOAD program segment %d, file size (%d) > mem size (%d)", i, prog.Filesz, prog.Memsz)
}
} else {
returnnil, fmt.Errorf("program segment %d has different file size (%d) than mem size (%d): filling for non PT_LOAD segments is not supported", i, prog.Filesz, prog.Memsz)
}
}
After fixing the ELF loading, wrap these benchmark tests in go benchmark test suite, so we can actually view the benchmarks.
The text was updated successfully, but these errors were encountered:
Currently, we're running riscv tests from this test vectors: https://github.com/riscv-software-src/riscv-tests.
There's also benchmark test vectors for the vm https://github.com/riscv-software-src/riscv-tests/tree/master/benchmarks, which are commented out in our tests.
asterisc/rvgo/test/vm_test.go
Line 161 in e1a5b01
In order to run these benchmark tests, we need to fix the elf of asterisc to correctly handle the different Prog.Type in benchmark elf files.
asterisc/rvgo/fast/elf.go
Lines 40 to 50 in e1a5b01
After fixing the ELF loading, wrap these benchmark tests in go benchmark test suite, so we can actually view the benchmarks.
The text was updated successfully, but these errors were encountered: