Little changes at comments.

This commit is contained in:
Andrea Mazzoleni 2013-10-29 18:22:05 +01:00
parent a92f4264df
commit fafa641b42
3 changed files with 4 additions and 4 deletions

View file

@ -100,7 +100,7 @@ void set_cauchy(unsigned char* matrix)
/*
* Next rows of the Cauchy matrix.
*
* We continue forming the Cauchy matrix with yj = 2^j obtaining :
* Continue forming the Cauchy matrix with yj = 2^j obtaining :
*
* 1/(xi+yj) = 1/(2^-i + 2^j)
*
@ -235,7 +235,7 @@ int main(void)
set_cauchy(matrix);
printf("/**\n");
printf(" * Extended Cauchy matrix used to generate parity.\n");
printf(" * Normalized Extended Cauchy matrix used to generate parity.\n");
printf(" * This matrix is valid for up to %u parity with %u data disks.\n", PARITY, DISK);
printf(" *\n");
for(p=0;p<PARITY;++p) {

2
raid.c
View file

@ -671,7 +671,7 @@ void raidTP_ssse3(unsigned char** vbuf, unsigned data, unsigned size)
asm volatile("pshufb %xmm5,%xmm6");
asm volatile("pxor %xmm6,%xmm2");
}
/* first disk with all coefficients at 1 */
asm volatile("movdqa %0,%%xmm4" : : "m" (vbuf[0][i]));

View file

@ -8797,7 +8797,7 @@ const unsigned char __attribute__((aligned(256))) gfinv[256] =
};
/**
* Extended Cauchy matrix used to generate parity.
* Normalized Extended Cauchy matrix used to generate parity.
* This matrix is valid for up to 6 parity with 251 data disks.
*
* 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01