embench / embench-iot

The main Embench repository
https://www.embench.org/
GNU General Public License v3.0
258 stars 104 forks source link

Add spike RISC-V simulator support #184

Open widlarizer opened 1 year ago

widlarizer commented 1 year ago

As unhelpful it may be for performance testing, spike is a valid target for evaluating compilers on code size while ensuring the benchmarks are still functional. This directory has been glued together from various fragments of community code with original licenses ensured to be GPL compatible and copyright notices modified with SPDX tags added. Some open questions:

widlarizer commented 1 year ago

Resulting time parsing isn't implemented yet due to https://github.com/riscv-software-src/riscv-isa-sim/issues/1493

widlarizer commented 1 year ago

That implemented cycle count parsing. The ISA is hard coded to RV32GC and letting that be configurable is another open question