Skip to content

Commit

Permalink
fix: add missing "pclmulqdq" instruction to _cpu_check ("read_cpu_f…
Browse files Browse the repository at this point in the history
…lags") (#14758)
  • Loading branch information
alexander-beedie committed Feb 29, 2024
1 parent b959a6c commit 6b8f8ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions py-polars/polars/_cpu_check.py
Expand Up @@ -205,6 +205,7 @@ def read_cpu_flags() -> dict[str, bool]:
"sse4.1": bool(cpuid1.ecx & (1 << 19)),
"sse4.2": bool(cpuid1.ecx & (1 << 20)),
"popcnt": bool(cpuid1.ecx & (1 << 23)),
"pclmulqdq": bool(cpuid1.ecx & (1 << 1)),
"avx": bool(cpuid1.ecx & (1 << 28)),
"bmi1": bool(cpuid7.ebx & (1 << 3)),
"bmi2": bool(cpuid7.ebx & (1 << 8)),
Expand Down

0 comments on commit 6b8f8ba

Please sign in to comment.