Skip to content

Commit

Permalink
Update cpu_detect.cc
Browse files Browse the repository at this point in the history
Fix wrong check deffenition
  • Loading branch information
Dertosh authored Dec 13, 2024
1 parent a197221 commit 3ee325b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion absl/crc/internal/cpu_detect.cc
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ CpuType GetCpuType() {
}

bool SupportsArmCRC32PMULL() {
#if defined(HWCAP_CRC32) && defined(HWCAP_CRC32PMULL)
#if defined(HWCAP_CRC32) && defined(HWCAP_PMULL)
uint64_t hwcaps = getauxval(AT_HWCAP);
return (hwcaps & HWCAP_CRC32) && (hwcaps & HWCAP_PMULL);
#else
Expand Down

0 comments on commit 3ee325b

Please sign in to comment.