-
Notifications
You must be signed in to change notification settings - Fork 322
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
Whats the process to use Highway with an architecture older than AVX2? #2400
Comments
There are still some Intel Celeron, Pentium, and Atom CPU's that support SSE4 (including SSE4.2) but not AVX or AVX2, and some of the Intel Celeron and Pentium CPU's that don't support AVX or AVX2 were manufactured as late as 2021. To compile for SSE4 or later targets, you can compile with the |
Thanks @johnplatts. Why is the clang option given as Im essentially wanting to support the best baseleine for AVX+ Macs along with Apple silicon, and any Windown Intel from that same era. I I ended up with |
Visual C++ 2022 now has the |
If I want to target a slightly older baseline, say
-march=core-avx-i
for example, does that cause issues?Whats the recommended practice in this instance? Im assuming compiling with
/arch:AVX2
etc is never a good idea on an older computer that might not have that support. i.e. When you are distributing the application already compiled like for commercial software. When It's important to have minimum system requirement that's inclusive of older CPU's is it ok to move the baseline back to AVX etc or is AVX really a minimum?Thanks!
The text was updated successfully, but these errors were encountered: