Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwalisch committed Jul 29, 2024
1 parent 032037d commit bf8e09f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/x86/cpuid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ bool has_cpuid_avx512_vbmi2()

run_cpuid(7, 0, abcd);

// PrimeGenerator::fillNextPrimes() requires AVX512F, AVX512VBMI & AVX512VBMI2
// PrimeGenerator::fillNextPrimes_avx512() requires AVX512F, AVX512VBMI & AVX512VBMI2
return ((abcd[1] & bit_AVX512F) == bit_AVX512F &&
(abcd[2] & (bit_AVX512VBMI | bit_AVX512VBMI2)) == (bit_AVX512VBMI | bit_AVX512VBMI2));
}
Expand Down

0 comments on commit bf8e09f

Please sign in to comment.