Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@seiko2plus
Copy link
Member

This patch add several improvements to the Lookup Table (LUT) for non-scalable architectures.

  • Transposed loads: Introduced a pre-calculated transposed storage (trans_) and loading strategy. This allows using optimized interleaved loads (X2 and X4) when vector lanes match the blocking factor, reducing the need for expensive gather operations.
  • FourTablesLookup: Handle case where the vector length is exactly one-quarter of the table width using 4-way table lookups.

Maintenance:

  • Removed runtime specializations for scalable extensions. These now explicitly fallback to Highway's GatherIndex (no performance gain on SVE).

This patch add several improvements to the Lookup Table (LUT) for non-scalable architectures.

- **Transposed loads:** Introduced a pre-calculated transposed storage (`trans_`) and loading strategy.
   This allows using optimized interleaved loads (X2 and X4) when vector lanes match the blocking factor,
   reducing the need for expensive gather operations.
- **FourTablesLookup:** Handle case where the vector length is exactly one-quarter
   of the table width using 4-way table lookups.

Maintenance:
- Removed runtime specializations for scalable extensions.
  These now explicitly fallback to Highway's `GatherIndex` (no
  performance gain on SVE).
@seiko2plus seiko2plus marked this pull request as ready for review December 22, 2025 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.