Tech article
Rat's Register Allocator
No preview is available. Read the original article for the full story.
Hacker News | Oct 10, 2026 | mpweiher
Automated excerpt
The register allocator maps each vreg to a physical register: a general-purpose register (12 can be used) or an xmm register (14 on Linux1). A vreg whose bundle got a register becomes that register. Before each instruction, rat loads each spilled operand into a temporary register.
Selected automatically from source text; not independently written or fact-checked. Read the original for full context.