全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Spill?

Definition 8.17 University Computer Science — Year 3 · 第 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.
在原文中阅读 →