-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
phintrin correct availability checks
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9eef255
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default for
x86
is/arch:SSE2
, so we could likely remove or default to#define PhHasIntrinsics TRUE
always. But this commit was not intended to address that, just correct the availability checks that were already there. Specifically,PhHasAVX
was not correctly enabling theAVX2
optimizations when__isa_enabled
only specifiedISA_ENABLED_AVX512
availability, which would includeAVX2
.