1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2026-01-22 18:15:59 +00:00

Updated PLASMA JIT Compiler Implementation (markdown)

David Schmenk
2020-01-16 16:19:11 -08:00
parent 4d411bd959
commit 883e88cdfc

@@ -172,6 +172,6 @@ The last test was to compile a much more substantial PLASMA source code program
**PLASMA 4K Code Buffer JIT VM: `119.02 seconds`**
With these results, I made one change to the JIT VM: I removed the Warmup Count altogether. It cleaned up the VM's JIT entry point nicely. A 4K code buffer is pre-allocated and the default Call Count is 45. I left the Maximum Size at 255 for now.
With these results, I made one change to the JIT VM: I removed the Warmup Count altogether. It cleaned up the VM's JIT entry point nicely. A 4K code buffer is pre-allocated and the default Call Count is 32. I put the Maximum Size at 96.
Although the 6502 is a very limited resource CPU, the PLASMA JIT compiler puts the available registers to good use throughout the execution of the generated machine code.