fwsGonzo / libriscv

The fastest RISC-V sandbox
BSD 3-Clause "New" or "Revised" License
526 stars 46 forks source link

Use real instruction count to avoid exiting binary translation loops #93

Closed fwsGonzo closed 11 months ago

fwsGonzo commented 11 months ago

Binary translation improvements that aims to improve performance and B-extension support

C-extension is still out of the question, but it would be nice to support the already supported B-extension instructions in order to avoid weird simulation bugs. It has always been the case that binary translation has been a little bit wonky, but it is now starting to feel robust and reliable. Already running the DOOM example at less CPU% than regular interpreter.