mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Disable AVX512 on CPUs with narrow shuffle ports or double-pumped 256-bit datapath
This commit is contained in:
parent
c0c10197bd
commit
8ae654d8a6
6 changed files with 136 additions and 42 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue