mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Doesn't use extended SSE registers in the Bulldozer AMD family.
This commit is contained in:
parent
02e11256de
commit
3d689c53de
3 changed files with 61 additions and 9 deletions
9
raid.c
9
raid.c
|
|
@ -2505,8 +2505,13 @@ void raid_init(void)
|
|||
}
|
||||
if (cpu_has_sse2()) {
|
||||
#if defined(__x86_64__)
|
||||
raid5_gen = raid5_sse2r8;
|
||||
raid6_gen = raid6_sse2r4;
|
||||
if (cpu_has_slowextendedreg()) {
|
||||
raid5_gen = raid5_sse2r4;
|
||||
raid6_gen = raid6_sse2r2;
|
||||
} else {
|
||||
raid5_gen = raid5_sse2r8;
|
||||
raid6_gen = raid6_sse2r4;
|
||||
}
|
||||
raidTP_gen = raidTP_sse2r2;
|
||||
raidQP_gen = raidQP_sse2r2;
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue