Recently we’ve started work on using more avx512 features in zlib-rs. The avx512 family of target features provides SIMD intrinsics that use 512-bit vectors (double the size of avx2, which uses 256-bit vectors). These wider intrinsics can speed up certain algorithms dramatically.

When we first started working on zlib-rs in 2023 many of the avx512 target features were still unstable, and we didn’t have avx512 hardware to develop on. A couple of years later we have a mature project, more capable hardware, and Rust has stabilized avx512 target features and intrinsics.

Algorithms

There are three parts of the zlib-rs codebase that we believe benefit from using avx512. The implementations for these are adapted from …

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help