Skip to content

Conversation

@Shnatsel
Copy link
Collaborator

@Shnatsel Shnatsel commented Oct 20, 2025

Boosts some of the benchmarks by 50% on Zen 4.

This instruction first appeared in 2019: https://en.wikipedia.org/wiki/Sunny_Cove_(microarchitecture)
Intel docs: https://builders.intel.com/docs/networkbuilders/galois-field-new-instructions-gfni-technology-guide-1-1639042826.pdf

On CPUs from before 2019 it's usually not worth it to use AVX-512 anyway because of the severe downlocking it induces.

Fixes #40

Boosts some of the benchmarks by 50% on Zen 4.

This instruction first appeared in 2019: https://en.wikipedia.org/wiki/Sunny_Cove_(microarchitecture)
Intel docs: https://builders.intel.com/docs/networkbuilders/galois-field-new-instructions-gfni-technology-guide-1-1639042826.pdf

On CPUs from before 2019 it's usually not worth it to use AVX-512 anyway because of the severe downlocking it induces.
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.16%. Comparing base (d4fa132) to head (083b2ec).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #41   +/-   ##
=======================================
  Coverage   99.16%   99.16%           
=======================================
  Files          12       12           
  Lines        2167     2167           
=======================================
  Hits         2149     2149           
  Misses         18       18           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Shnatsel Shnatsel requested a review from smu160 October 20, 2025 20:00
Copy link
Member

@smu160 smu160 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome. Thank you!!

@Shnatsel Shnatsel merged commit f301054 into main Oct 20, 2025
8 checks passed
@Shnatsel Shnatsel deleted the multiversioning branch October 20, 2025 20:39
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.

Multiversioning leaves performance on the table on Zen 4

4 participants