register-allocation

Tag

Cards List
#register-allocation

Linear scan register allocation in Datalog

Hacker News Top ↗ · 4d ago Cached

A blog write-up of a full linear scan register allocator implemented in Datalog, co-developed with Yannis Smaragdakis at PLDI, demonstrating both where Datalog excels (liveness, basic blocks) and where it struggles (sequential interval eviction, forall emulation).

0 favorites 0 likes
#register-allocation

Chasing a -O2 pessimization in antcc

Lobsters Hottest ↗ · 2026-10-13 Cached

A deep-dive debugging writeup showing how antcc's -O2 pessimization made a Lua benchmark 1.4x slower than the unoptimized build, tracing the 2.4x code-size blowup in luaV_execute past inlining heuristics and IR expansion into instruction selection and register allocation.

0 favorites 0 likes
#register-allocation

rat's minimal register allocator

Lobsters Hottest ↗ · 2026-10-07 Cached

The author of the 'rat' compiler backend describes replacing a 1392-line linear scan register allocator with a 584-line priority bin-packing allocator in the family of LLVM's greedy allocator, which produces better code and naturally keeps call-crossing values in callee-saved registers.

0 favorites 0 likes
#register-allocation

Re: Suggestions on implementing an efficient instruction set simulator in LuaJIT2 (2011)

Lobsters Hottest ↗ · 2026-09-23 Cached

This 2011 mailing list thread discusses compiler challenges in optimizing interpreter loops and how LuaJIT2 achieves better performance through assembly-level techniques like fixed register assignment.

0 favorites 0 likes
← Back to home

Submit Feedback