mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-25 01:16:31 -05:00
Uses a more general interface for the RAID engine.
This commit is contained in:
parent
684edf2173
commit
e80a5e868f
5 changed files with 108 additions and 56 deletions
4
speed.c
4
speed.c
|
|
@ -591,7 +591,7 @@ void speed(void)
|
|||
|
||||
SPEED_START {
|
||||
for(j=0;j<nd;++j) {
|
||||
/* +1 to avoid PAR1 optimized case */
|
||||
/* +1 to avoid PAR2 optimized case */
|
||||
raid_rec2_int8(2, id, ip + 1, nd, block_size, buffer);
|
||||
}
|
||||
} SPEED_STOP
|
||||
|
|
@ -603,7 +603,7 @@ void speed(void)
|
|||
if (raid_cpu_has_ssse3()) {
|
||||
SPEED_START {
|
||||
for(j=0;j<nd;++j) {
|
||||
/* +1 to avoid PAR1 optimized case */
|
||||
/* +1 to avoid PAR2 optimized case */
|
||||
raid_rec2_ssse3(2, id, ip + 1, nd, block_size, buffer);
|
||||
}
|
||||
} SPEED_STOP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue