-
I've noticed S2 uses 47 unique opcodes in |
Beta Was this translation helpful? Give feedback.
Answered by
klauspost
Jan 7, 2023
Replies: 1 comment 3 replies
-
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. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
klauspost
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.