GeistHaus
log in · sign up

Building the fastest Lua interpreter.. automatically!

sillycross.github.io

This is Part 1 of a series of posts. Part 2 is available here: Building a baseline JIT for Lua automatically It is well-known that writing a good VM for a dynamic language is never an easy job. High

4 pages link to this URL
[RFC] Exposing ghccc calling convention as preserve_none to clang

Inspired by the Deegen talk at the LLVM dev meeting (blog post) where one of the issues mentioned was that clang doesn’t expose ghccc to source code, as well as past internal conversations about similar issues with protobuf table driven parsing, I’d like to expose ghccc to Clang via __attribute__((preserve_none)). ghccc is a calling convention has no callee-saved registers and uses as many registers as possible to pass parameters. This allows chained musttail calls to not have to preserve regis...

3 inbound links website en