summaryrefslogtreecommitdiff
path: root/chapter20/README.md
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2026-10-18 22:09:58 -0700
committerCliff Click <cliffc@acm.org>2026-10-18 22:09:58 -0700
commit300d2a9c3672acacc8bdd8d5370a424651a00571 (patch)
treef33d895f6ec4e08692efa4c090c681257553097d /chapter20/README.md
parent0be52f8dd82f70d4c557fe916d47dc425401f848 (diff)
downloadSimple-300d2a9c3672acacc8bdd8d5370a424651a00571.tar.gz
Simple-300d2a9c3672acacc8bdd8d5370a424651a00571.zip
Cleanup & backportclinit
The phase rework, made new phases explicit and add them to the CodeGen driver. Fix the flag-spilling on X86 and ARM. Fix the GCM conservative anti-deps and backport.
Diffstat (limited to 'chapter20/README.md')
-rw-r--r--chapter20/README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/chapter20/README.md b/chapter20/README.md
index 96803e51..34824650 100644
--- a/chapter20/README.md
+++ b/chapter20/README.md
@@ -7,6 +7,11 @@ English | [日本語](README.ja.md)
The grammar is unchanged from [Chapter 18](../chapter18/docs/18-grammar.md).
+`RegAlloc` follows local scheduling and assigns physical registers or stack
+slots to live ranges. Request the complete pipeline through allocation with
+`code.driver(CodeGen.Phase.RegAlloc, "x86_64_v2", "SystemV")`. Instruction
+encoding is introduced in Chapter 21; this chapter stops with allocated nodes.
+
## Some Reading Material
This is a Briggs-Chaitin-Click allocator, and is very similar to the one used