2026-06-30 07:26 UTC
they call it a low-level virtual machine because virtual instructions are close to machine instructions
the virtual instruction: sitofp
the machine instructions: https://godbolt.org/z/qfbGErns3
Replies (2)
-
@whitequark@social.treehouse.systems 2026-06-30 07:31
@wingo@mastodon.social Limited Liability Virtual Machine (if it breaks you get to keep all the pieces)
-
@rawrafox@ruby.social 2026-06-30 08:32
@wingo@mastodon.social For what it's worth, if you actually enable RVV it becomes a lot less bad. And if you set a more decent vlen then it becomes borderline good. https://godbolt.org/z/j1aPb7h8r At 1024 bits and above it collapses down to a mere three instructions for the sitofp.