Repository navigation
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
|
GNU testsuite comparison: |
Merging this PR will degrade performance by 49.84%1 warning, 1 note
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
591f2d7 to
b556e2c
Compare
|
/rerun |
e28e9d1 to
6152c9e
Compare
6152c9e to
ebd181d
Compare
|
Split the AVX requirement out of this PR into a separate, independent change.
This PR now only contains the PMULL hardware capability parsing fix and its test; the AVX detection change lives in the follow-up PR. |
ebd181d to
1f5e315
Compare
|
thanks for looking into this! |
1f5e315 to
b441eaa
Compare
|
@sylvestre The AVX part is already out, it's in #16900, and this PR now only touches the name table in hardware.rs. The aliasing of Confirmed locally: glibc.cpu.hwcaps=-AVX512F,-AVX2,-AVX,-PMULL still prints "using pclmul". #16900 doesn't depend on this PR, so it can land first and keep tests/cksum/cksum green throughout. |
|
We should be careful not to over-index on matching GNU debug output, debug output should reflect our actual implementation. |
b441eaa to
31d197c
Compare
PMULL was mapped onto Pclmulqdq, so the aarch64-only name disabled the x86 PCLMULQDQ feature, and PCLMULQDQ itself was not recognized at all. Map PCLMUL/PCLMULQDQ to Pclmulqdq and PMULL/VMULL to Pmull to match GNU, and drop the resolved TODO. Add a regression test covering both capability names.
31d197c to
8088ea1
Compare
Correct the hardware capability mapping for
PMULLand accept the fullPCLMULQDQname.Add a regression test for both capability names.
The aliasing of
-PMULLontoPclmulqdqis gone too. The AVX requirement in #16900 covers that assertion in tests/cksum/cksum.Closes #16434