Skip to content

Provide x86-64-v2 optimizations #247

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

Open
lemire opened this issue May 1, 2024 · 2 comments
Open

Provide x86-64-v2 optimizations #247

lemire opened this issue May 1, 2024 · 2 comments

Comments

@lemire
Copy link
Member

lemire commented May 1, 2024

Windows 11 version 24H2, Rocky Linux 9, RedHat Linux 9, all defaults on x86-64-v2 which means that we have SSSE3, SSE4.1, SSE4.2 and POPCNT. We might be able to include more optimizations for these cases.

https://gist.github.com/CKingX/0d555071fa5555c4a982b20e8273077f

@IRainman
Copy link

IRainman commented Mar 9, 2025

Also since Windows 8 it's not boot without popcnt.

@lemire
Copy link
Member Author

lemire commented Mar 10, 2025

@IRainman We may not be able to support x86-64-v2 optimizations under Visual Studio because it does not set macros.

Having to do runtime dispatching might be too much for a header-only library.

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

No branches or pull requests

2 participants