Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify SVE table lookup #494

Merged
merged 14 commits into from
Aug 15, 2024
Merged

Simplify SVE table lookup #494

merged 14 commits into from
Aug 15, 2024

Conversation

solidpixel
Copy link
Contributor

@solidpixel solidpixel commented Aug 10, 2024

The design of the SVE vtbl allows us to simply bitwise OR successive lookups for a multi-lookup table because, unlike x86 shuffles, it's guaranteed that high values outside of the active 32-bit slice return zero.

This has no impact on compression, but gives a small (0.5%) improvement to decompression performance.

bengaineyarm
bengaineyarm previously approved these changes Aug 15, 2024
Base automatically changed from test_ref to main August 15, 2024 09:10
@solidpixel solidpixel dismissed bengaineyarm’s stale review August 15, 2024 09:10

The base branch was changed.

@solidpixel solidpixel merged commit e371306 into main Aug 15, 2024
7 checks passed
@solidpixel solidpixel deleted the sve_vtbl_xor branch August 15, 2024 09:27
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.

2 participants