Skip to content

MiniVM v0.0.3 - Can't save the World

Compare
Choose a tag to compare
@ShawSumma ShawSumma released this 19 May 14:12
acd0979

Release 0.0.3

Changes to how functions work in the --tb-no-lbbv mode. Functions are now stored like i32's of their block id.

Added flag --dump-c to dump generated c code when target does so.

Faster Dynamic JIT.

The Dynamic JIT (non versioning / --tb-no-lbbv) is now faster thanks to splitting of locals into each their own variable.

Future Work to come with using tb phi nodes and values instead.

MiniVM Save System

MiniVM can save a snapshot of functions and _ENV to a file.

  • Added flag --save=file.bin to export the environment to a file.
  • Added flag --load=file.bin to import an environment from a file.

These snapshots should work across target architectures, tho the format changes if a new standard function is added due to them being stored as an index.