Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Spill?

Definition 8.17 University Computer Science — Year 3 · Hoofdstuk 8 — Program Analysis and Optimisation

A spilled temporary lives in a slot of the frame instead of a register, and is loaded before each use and stored after each definition. Its spill cost estimates the memory accesses this adds: here, each use or definition counts 10d10^{d}, with dd the depth of the loops around it.

The interference graph of sumsq, 6 vertices and 10 edges as in , coloured with four colours. n, s, i and t3 form a clique, so three colours are not enough. The three short-lived temporaries share colour 0.
The interference graph of sumsq, 6 vertices and 10 edges as in Output 8.3, coloured with four colours. n, s, i and t3 form a clique, so three colours are not enough. The three short-lived temporaries share colour 0.
Lees in het hoofdstuk →