mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-03 05:10:16 -05:00
Fixes RAIDTP mmx implementation.
This commit is contained in:
parent
28297c52d9
commit
a3d939d024
1 changed files with 1 additions and 0 deletions
1
raid.c
1
raid.c
|
|
@ -616,6 +616,7 @@ void raidTP_mmxr1(unsigned char** buffer, unsigned diskmax, unsigned size)
|
||||||
asm volatile("movq %0,%%mm7" : : "m" (raid6_mmx_constants.x1d));
|
asm volatile("movq %0,%%mm7" : : "m" (raid6_mmx_constants.x1d));
|
||||||
asm volatile("pxor %mm4,%mm4");
|
asm volatile("pxor %mm4,%mm4");
|
||||||
asm volatile("pxor %mm5,%mm5");
|
asm volatile("pxor %mm5,%mm5");
|
||||||
|
asm volatile("pxor %mm6,%mm6");
|
||||||
|
|
||||||
for(d=0;d<size;d+=8) {
|
for(d=0;d<size;d+=8) {
|
||||||
asm volatile("movq %0,%%mm0" : : "m" (buffer[z0][d])); /* P[0] */
|
asm volatile("movq %0,%%mm0" : : "m" (buffer[z0][d])); /* P[0] */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue