Idea I have no time to implement: A RISC-V emulator for iOS, using a single jump table for every 16-bit compressed instruction. Would probably be a lot faster than iSH. 16 bits is small enough that you could inline every single instruction. (I know not all insns are compressed, but most are.)
Comments
can you point me to existing similar solutions/documentation/paper that would guide me there?
https://github.com/libriscv/libriscv