mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-25 01:16:31 -05:00
Extends tests to use AVX2 functions.
This commit is contained in:
parent
a7cdd9cf2f
commit
4e419aa862
6 changed files with 278 additions and 11 deletions
|
|
@ -138,7 +138,7 @@ static inline int raid_cpu_has_avx2(void)
|
|||
if (!raid_cpu_has_xsavexrstor())
|
||||
return 0;
|
||||
|
||||
/* check if the OS suports AVX2 registers */
|
||||
/* check if the OS supports AVX2 registers */
|
||||
if (!raid_os_support_256bit_regs())
|
||||
return 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue