Compare five real examples across four targets on three measured platforms, preserving raw samples, independent output verification and artifact provenance.
Complete the WebAssembly support needed by the examples, inspect ZX bundles, prune generated C dependencies while preserving C++ linkage, and validate native script execution. Optimize only the temporary bootstrap seed and retain fresh-build measurements and historical benchmark records under bench/results.
Local tests: all 522 cases passed across the full run and corrected header-test rerun; all 16 bootstrap modules match. Playground runtime, bundle runtime, private browser layouts and matrix controls, published artifacts and local site links passed.
The header-inline section guard gained !defined(ZIRAN_NO_HEADER_INLINE),
but the checked-in compiler_source.h and compiler_text.h still had the
old guard, so compiler_source.sh and compiler_text.sh found them stale.
A #target procedure gets a clone per x86-64 SIMD tier in C, and the
procedure itself picks one through CPUID and the OS's YMM state, read
once. ZIRAN_SIMD_TIER lowers the choice for tests. Checking keeps 256-bit
vectors from crossing the procedure's boundary by value, since AVX2
clones would pass them in YMM registers. Saved IR records the modifier
(format 61). TinyCC, NEON and other targets compile the procedure once.
#inline after a procedure's result makes generated C always inline it:
private procedures become static inline with always_inline on GCC and
Clang, and a public procedure keeps its cross-module header copy past the
usual size limits. A procedure that calls itself is rejected
(check.inline).
#cold marks a slow path: the C definition is noinline and cold, other
modules call its one definition instead of a header copy, and Go gets
//go:noinline. Neither modifier changes what a call does.
Saved IR records the modifier, so the ZIR format version is now 60.
tests/procedure_inlining.sh checks the attributes, which calls stay out
of line, C at -O0 and -O2, Go, native and portable results, saved IR, and
the rejected forms.
Share checked operands with the Rust backend, preserve caller storage for memory operands, and isolate CPU-feature helpers behind cached runtime detection. Fix quoted-brace discovery for one-line assembly procedures and target-width Rust word types.
Add source/saved IR conformance, explicit unsupported-variant fallbacks, cross-target evidence and a repeatable native-control benchmark.
A line such as 'for y: 0..2 { for x: 0..2 {' opened only the outer
block, and '} }' closed only one, so the file failed with
"unterminated declaration at end of file". A control header whose
body stays open now passes its remaining text on as the next logical
line without queueing a closer, and '} }' splits into two closers.
Unterminated literals inside the body still leave the line unsplit.