Grant Report - MoarVM JIT Compiler Expression Backend - January 2019

No Comments

Brrt (Bart Wiegmans) is untangling the intricacies of floating point expressions so close to the metal in his MoarVM JIT Compiler grant. He provides some of his insights in his recent blog post. Here is his brief report (edited slightly by me):

Last month, I've been busy with floating point support. Getting that ready involved two things:

  • Getting the type system for the expression template precompiler ready. This works now, I'm happy with the result.

  • Fixing the register allocator to support it. This works as well, but isn't fully tested.

  • Ensured that we convert the register to x86-compatible form in the register allocator rather than in the emitter, which means that we can often select better registers.

The next thing on my list is irregular instruction handling.


Leave a comment

About TPF

The Perl Foundation - supporting the Perl community since 2000. Find out more at

About this Entry

This page contains a single entry by Mark A Jensen published on February 6, 2019 3:14 AM.

Maintaining Perl 5 (Tony Cook): December 2018 Grant Report was the previous entry in this blog.

Request for Comments: Dave Rolsky's class at TPC 2019 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.


OpenID accepted here Learn more about OpenID
Powered by Movable Type 6.2.2