Skip to content

Vectorised instructions for S2? #732

Answered by klauspost
marklit asked this question in Q&A
Discussion options

You must be logged in to vote

I have not found any useful SIMD instructions for compression.

There is a single interesting BMI instruction which is 1 cycle faster on AMD Zen1-3. It is enabled at compile time by setting GOAMD64=v3 env var.

Didn't see significant enough speedup to duplicate all code for it. On most Intel CPUs and Zen4 they are equal anyway.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@marklit
Comment options

@alexey-milovidov
Comment options

@klauspost
Comment options

Answer selected by klauspost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #730 on January 07, 2023 11:05.