The plan contains 41 items. Its full active backlog is the implementation scope,
starting with the SIMD milestone. This is not a claim that all items are implemented.
plan-status.json records verified progress separately from unverified existing code, research, deferred and
retired items. Inspect an item's proof and prerequisites before changing architecture or guest state contracts:
python3 tools/cpu_plan.py list
python3 tools/cpu_plan.py show I15
The earlier prerequisite started at upstream 34c0be36. The O0 vector-arithmetic prerequisite moves residual calculations
behind the sticky IXC check and removes a redundant O0 shortcut guard. Directed tests compare the complete CPU
state across optimization levels and loaders. This prerequisite alone did not establish a whole-vector replacement
for mixed arithmetic lanes.
I7 classifies the audited vector FP helpers at their first declaration. A fixture keeps a dirty X4 live across
one batched helper call, verifies zero reloads of it and checks the emitted synchronization counts. This affects register
promotion at O1 and above. It does not add promotion to O0.
I8 emits scalar and vector float32/float64 FRECPE and FRSQRTE on little-endian x86 and AArch64 emitter paths, including exceptional lanes. Without AVX2, ordinary reciprocal inputs retain the proven division sequence. The shared estimate tables contain 256 reciprocal and 384 reciprocal-square-root entries per IR unit that needs them. Unsigned URECPE/URSQRTE also use bounded table lookups. All table indices and shift counts are bounded even in discarded lanes. NaN payloads, signed zeros, denormals, rounding modes and sticky exceptions are checked against the exact helper. FPSR contributions are reduced across the vector once. Scalar 32/64-bit FRECPX uses integer exponent operations with exact NaN and denormal handling on all targets. Half estimates now use the integer paths described below on little-endian targets. Other unproven host lowerings retain the exact helper paths.
I9 emits rounding and saturating shifts for 8/16/32/64-bit lanes on x86 and AArch64. Shift counts use their signed low byte, are bounded before LLVM shifts, and contribute to QC once per vector. x86 without AVX2 uses bounded constant-stage shifts. Other hosts retain exact helpers.
I11 adds guarded scalar rounding, FPCR-selected scalar/vector rounding, F16C half conversions and exact FMA inexactness residuals. The FMA residual runs only when IXC is clear. Float64 residuals use the error expansion of Boldo and Muller, with conservative intermediate range guards and exact fallback. Scalar O0 FMA retains the original emitted sequence: its candidate did not pass the measured regression gate. Vector O0/O2 and scalar O2 residuals passed that gate. Vector half-to-single and single-to-half conversions now use whole-vector exact fixups. Direct float64-to-half conversion retains the helper.
Native Linux AArch64 CI at 9a7cfd0d passed the full QEMU sweep, rounding, half-conversion and scalar/vector
residual tests. The x86-64 local sweep also passed. This completes I11's guarded-FP host checks for these native
hosts. The I15 continuation completed its separate integration checks as recorded above.
Guarded FABD reuses exact subtraction followed by sign clearing. Directed tests cover all shift counts, every half encoding, estimate bins/exponents, mixed exceptional lanes, aliases, rounding modes and FPSR. They run through O0/O2, AOT/JIT loaders and native/portable paths. The executed host is x86-64; these checks do not establish native execution on other hosts. Native AArch64 FPCR/FPSR integration (I12) remains a separate project. Exact scalar arithmetic remains inside batched fallbacks where no vector replacement is proven.
T3 now checks all 19 CLI statistics fields against hand counts for two complete integer modules. Each fixture runs both in one unit and split at function boundaries. The CLI checks also require function leaders, flag origins, promoted registers and IR before and after promotion.
T5 draws safe data operations from 81 families of the generated decoder. It varies conditional branches, bounded
loop counts, direct and indirect calls, tail calls, memory order and aligned exclusive retry loops. It runs
through both loaders and optimization levels, plus portable, hook and volatile configurations.
A 20-configuration seed matrix checks 10,240 complete program states. Two self-tests must detect planted flag-origin
and exclusive-update defects. This remains a bounded instruction grammar, not exhaustive sequence coverage.
Native Linux x86-64 and AArch64 CI passed the seed matrix and both planted-defect tests at 72deb357.
T6 corrects the stale documentation and source comments listed in the plan, preserving historical audit examples as historical evidence rather than current failure claims. Other items require their own implementation and proof.
Made from docs/history/cpu-translator-progress.md at 69237645142c. GPL-3.0-or-later.