Simple register spilling in a retargetable compiler

Christopher W. Fraser, David R. Hanson · Software Practice and Experience · 1992

Abstract This paper describes the management of register spills in a retargetable C compiler. Spills are rare, which means that testing is a bigger problem than performance. The trade‐offs have been arranged so that the common case (no spills) generates respectable code quickly and the uncommon case (spills) is less efficient but as simple as possible. The technique has proven practical and is in production use on VAX, Motorola 68020, SPARC and MIPS machines.

Read the paper · More papers on PaperTik