From 103eb95463946bbd8e487ce474bc437580b086a7 Mon Sep 17 00:00:00 2001 From: Kim Walisch Date: Mon, 11 Nov 2024 10:23:58 +0100 Subject: [PATCH] Fix typo --- src/x86/cpuid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x86/cpuid.cpp b/src/x86/cpuid.cpp index 9a95cb5d..d15c74ff 100644 --- a/src/x86/cpuid.cpp +++ b/src/x86/cpuid.cpp @@ -120,7 +120,7 @@ bool has_cpuid_avx512_bw() // AND_PreSieveTables_avx512 requires AVX512F, AVX512BW return ((abcd[1] & bit_AVX512F) == bit_AVX512F && - (abcd[1] & bit_AVX512F) == bit_AVX512BW); + (abcd[1] & bit_AVX512BW) == bit_AVX512BW); } bool has_cpuid_avx512_vbmi2()