Skip to content

Commit

Permalink
Remove POPCNT check
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwalisch committed Apr 4, 2024
1 parent 1cc9516 commit 60539de
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/CpuInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
/* %ecx bit flags */
#define bit_AVX512VBMI (1 << 1)
#define bit_AVX512VBMI2 (1 << 6)
#define bit_POPCNT (1 << 23)

/* xgetbv bit flags */
#define XSTATE_SSE (1 << 1)
Expand Down Expand Up @@ -87,10 +86,6 @@ bool has_AVX512()

run_CPUID(1, 0, abcd);

// PrimeGenerator::fillNextPrimes() requires POPCNT
if ((abcd[2] & bit_POPCNT) != bit_POPCNT)
return false;

int osxsave_mask = (1 << 27);

// Ensure OS supports extended processor state management
Expand Down

0 comments on commit 60539de

Please sign in to comment.