mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-25 01:16:31 -05:00
Preliminary AVX2 support.
This commit is contained in:
parent
b32e3cdc03
commit
957db46f5b
7 changed files with 154 additions and 11 deletions
|
|
@ -79,6 +79,11 @@ void raid_init(void)
|
|||
raid_rec_ptr[4] = raid_recX_ssse3;
|
||||
raid_rec_ptr[5] = raid_recX_ssse3;
|
||||
}
|
||||
|
||||
if (raid_cpu_has_avx2()) {
|
||||
raid_gen_ptr[0] = raid_gen1_avx2;
|
||||
raid_gen_ptr[1] = raid_gen2_avx2;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* set the default mode */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue