Fix hardware capabilities detection; cksum --debug
This MR fixes the GNU cksum.sh by correctly taking in account the GLIBC_TUNABLES env var
Fixes #9518
GNU testsuite comparison:
Congrats! The gnu test tests/cksum/cksum is no longer failing!
GNU testsuite comparison:
Congrats! The gnu test tests/cksum/cksum is no longer failing!
GNU testsuite comparison:
Congrats! The gnu test tests/cksum/cksum is no longer failing!
GNU testsuite comparison:
Congrats! The gnu test tests/cksum/cksum is no longer failing!
My string approach worked but was naive. Your enum-based design with TryFrom validation is the right way: type-safe, O(log n) lookups, feature alias support. Excellent work
avx512: detect_avx512() && !disabled.contains(&"AVX512F".to_string()),
avx2: detect_avx2() && !disabled.contains(&"AVX2".to_string()),
pclmul: detect_pclmul() && !disabled.contains(&"PMULL".to_string()),
vmull: detect_vmull() && !disabled.contains(&"VMULL".to_string()),
sse2: detect_sse2() && !disabled.contains(&"SSE2".to_string()),
asimd: detect_asimd() && !disabled.contains(&"ASIMD".to_string()),
GNU testsuite comparison:
Skip an intermittent issue tests/tail/overlay-headers (fails in this run but passes in the 'main' branch)
Congrats! The gnu test tests/cksum/cksum is no longer failing!
Congrats! The gnu test tests/cksum/cksum is no longer failing!
Kudos, good work!