spillbench // register deprivation
A compiler experiment · on real silicon

Register
Deprivation.

A CPU has a fixed, tiny set of registers — the fastest memory it owns. When a computation needs more live values than there are registers, the compiler spills the overflow to the stack. So: what if we take registers away on purpose, one at a time, and watch the spills — and the clock — climb?

loading measurements…