Skip to content

Wave8 opt: investigate ESP32-P4 SIMD/PIE extensions for the transpose #2531

Closed

Description

@zackees

Option from #2524.

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.

Parent: #2524 · Investigation/data: #2522

Activity

  1. zackees commented on May 29, 2026

    @zackees
    MemberAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions