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
Wave8 opt: investigate ESP32-P4 SIMD/PIE extensions for the transpose #2531
The naive transpose is scalar bit-twiddling. Investigate whether the ESP32-P4 RISC-V vector/PIE (AI) instruction extensions expose a usable byte-shuffle / bit-gather to accelerate the 16-lane bit-matrix transpose.
Answered by the #2535 investigation + #2533 benchmark. ESP32-P4 PIE (xesppie) has no movemask / bit-level cross-lane primitive, so it cannot accelerate a bit-matrix transpose; PIE asm assembles + runs on the chip but the transpose stays on the portable scalar spread-LUT (#2534). Closing the transpose-specific SIMD/PIE investigation.
Activity
zackees commentedon May 29, 2026
Answered by the #2535 investigation + #2533 benchmark. ESP32-P4 PIE (xesppie) has no movemask / bit-level cross-lane primitive, so it cannot accelerate a bit-matrix transpose; PIE asm assembles + runs on the chip but the transpose stays on the portable scalar spread-LUT (#2534). Closing the transpose-specific SIMD/PIE investigation.