summaryrefslogtreecommitdiff
path: root/chapter19
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2025-04-10 09:38:18 -0700
committerCliff Click <cliffc@acm.org>2025-04-10 09:38:18 -0700
commit7d22a8e805befd5d733d079cbbbce634bb6ae623 (patch)
tree28bb7a7510f196d839f6bd1f1c65c16c20255a7b /chapter19
parent074f718a104dbbb8b1b0a2205c176659a27dfd9f (diff)
downloadSimple-7d22a8e805befd5d733d079cbbbce634bb6ae623.tar.gz
Simple-7d22a8e805befd5d733d079cbbbce634bb6ae623.zip
README
Diffstat (limited to 'chapter19')
-rw-r--r--chapter19/README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/chapter19/README.md b/chapter19/README.md
index a866876d..752e139f 100644
--- a/chapter19/README.md
+++ b/chapter19/README.md
@@ -3,6 +3,20 @@
You can also read [this chapter](https://github.com/SeaOfNodes/Simple/tree/linear-chapter19) in a linear Git revision history on the [linear](https://github.com/SeaOfNodes/Simple/tree/linear) branch and [compare](https://github.com/SeaOfNodes/Simple/compare/linear-chapter18...linear-chapter19) it to the previous chapter.
+## Meta-Issues / Code-Dev Issues of Instruction Selection, Register Allocation and Encodings
+
+The output of Instruction Selection - the mapping from idealized Simple Nodes
+to machine-specific ones - is difficult to test in bulk without an execution
+strategy. We won't have an execution stratgy until all three of Instruction
+Selection, Register Allocation and Encodings are done. Hence in and around the
+completion of Encoding we expect to find lots of bugs in Instruction Selection
+and Register Allocation. We certainly hand-inspect the output and fix obvious
+problems, but still lots bugs linger until we can actually run the code.
+
+This means that other chapters have updates and bug-fixes to the work being
+described here.
+
+
## Portable Compilation
A new abstract `Machine` class is added, one per unique CPU port. `Machine`