Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Spill?

Definition 8.17 University Computer Science — Year 3 · Capítulo 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.
Ler no capítulo →