embench / embench-iot

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

Add spike RISC-V simulator support #184

Open widlarizer opened 8 months ago

widlarizer commented 8 months 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 8 months ago

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

widlarizer commented 8 months ago

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