1.1 KiB
1.1 KiB
Handoff — what the x86 backend costs, and keeping it from rotting
Branch: dev-loop. This lane is item 7 of HANDOFF-x86-rt.md's "What remains" — code size and speed, measured
rather than guessed — plus the closing note under it, which asks for the survey to run on its own so a refusal
cannot sit unnoticed for a month again.
Nothing in lib/ is touched. Another lane is rewriting lib/x86.ml at the same time, so everything here lives in
spike/x86 and in test/dune, and anything this lane finds that would want a compiler change is written down at
the bottom rather than made.
The plan, in the order it is being done
test/dunegrows an@x86alias beside@sanitizeand@valgrind, runningspike/x86/survey.shin a strict mode that exits nonzero when anything DIFFERs or is refused by name. Done first because it is the half that stops the rot and it is bounded.spike/x86/cost.shmeasures binary size, the program's own text, and best-of-N wall time for each corpus program both ways, andspike/x86/COST.mdreads the numbers out.
Status
Stub. Nothing measured yet.