Closed
Description
wip/instruction-decode
branch breaks RISC-V instruction decoding and emulation into separate stage, meaning that it is feasible to incorporate further IR optimizations and JIT code generation. However, we do need additional efforts to make it practical:
- Executing RISC-V instructions by compiling the program a basic block at a time, thus avoiding unnecessary translation;
- Implementing an efficient way to look in a hash map for a code block matching the current program counter as
wip/jit
does; - Reducing IR dispatch cost means of computed-goto or tail-call elimination (as wasm3 does).
All of the above should appear in wip/instruction-decode
branch before its merge into master
branch.
Metadata
Metadata
Assignees
Labels
No labels