Disable AVX512 on CPUs with narrow shuffle ports or double-pumped 256-bit datapath

This commit is contained in:
Andrea Mazzoleni 2026-05-27 14:39:08 +02:00
parent c0c10197bd
commit 8ae654d8a6
6 changed files with 136 additions and 42 deletions

View file

@ -92,6 +92,7 @@ sdecovtest:
$(SDE) -nhm -- ./selftest
$(SDE) -hsw -- ./selftest
$(SDE) -skx -- ./selftest
$(SDE) -clx -- ./selftest # For slow AVX-512 detection
$(SDE) -icl -- ./selftest
$(SDE) -icl -- ./speedtest
$(MAKE) lcov_capture
@ -100,6 +101,7 @@ sdecovtest:
# Use this target to run a complete test on Ice Lake simulator
sde:
$(SDE) -icl -- ./selftest
$(SDE) -clx -- ./speedtest
$(SDE) -icl -- ./speedtest
$(SDE) -icl -- ./fulltest

View file

@ -138,7 +138,7 @@ void speed(void)
#ifdef CONFIG_X86_64
printf("%8s", "avx2e");
printf("%8s", "avx512");
printf("%8s", "gfni");
printf("%8s", "gfni512");
#endif
#endif
printf("\n");
@ -703,7 +703,7 @@ void speed(void)
printf("%8s", "avx2");
#ifdef CONFIG_X86_64
printf("%8s", "avx512");
printf("%8s", "gfni");
printf("%8s", "gfni512");
#endif
#endif
printf("\n");