You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 06f5ea4
Browse filesBrowse the repository at this point in the historyBrowse files
Adds wave8Transpose_16x2_pipe2() + fl_parlio_inner_pipe2 + fl_parlio_measure_pipe2
to the AutoResearch boot-time bench harness. Processes TWO consecutive byte
positions per outer iteration with the symbol-major loop calling
spread_transpose16_symbol on both back-to-back, so the compiler can interleave
the two independent OR-trees and fill in-order pipeline bubbles.
Measured on ESP32-P4 v1.3 (16-lane × 256 LEDs, 12 000 byte-positions, two runs):
baseline (memcpy) = 9 655 / 9 656 µs/frame (1.00×)
L2 (direct write) = 9 300 / 9 300 µs/frame (+3.8%)
**pipe2 (this)** = 7 625 / 7 624 µs/frame (**+26.6%, BEATS TX!**)
WS2812B 16-lane TX = 7 680 µs/frame
For the first time, encode is FASTER than DMA drain on single-core single-Wave8
P4. Closes the ISR-streaming gap (#2548) algorithmically without #2527 (dual-
core) or #2523 (WaveN). Production wiring follows in a separate PR.
The win comes from the Phase 0 measurement implication: transpose was running
at ~5.6 cyc/op (vs 1-cyc/op theoretical max on the in-order RV32 core), so
~80 % of cycles in transpose were bubbles (load-use stalls + dependency chain
delays). Interleaving an independent OR-tree from the next byte position lets
the compiler fill those bubbles.
This invalidates the stop condition declared in commit b17bfb1 — the
generalized RV32 lesson holds (don't trade arithmetic for memory, don't try to
register-cache more than the GPR budget allows), but the orthogonal angle
of cross-position ILP via software pipelining was never tried in any of the
6 prior prototypes (L1, L2, L3, L4-byte, L4-nibble, L7, fused_v2).
Refs #2548.
Co-Authored-By: Claude Opus 4.7 <[email protected]>
0 commit comments