Uses a more general interface for the RAID engine.

This commit is contained in:
Andrea Mazzoleni 2013-12-28 15:12:09 +01:00
parent 684edf2173
commit e80a5e868f
5 changed files with 108 additions and 56 deletions

View file

@ -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