mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-26 18:06:28 -05:00
Changes the argument format of raid_rec() and renames raid_par() to raid_gen().
This commit is contained in:
parent
365b4127c0
commit
00a05a80e5
15 changed files with 363 additions and 390 deletions
|
|
@ -31,9 +31,9 @@ static const struct gfzconst16 {
|
|||
|
||||
#ifdef CONFIG_X86
|
||||
/*
|
||||
* PARz (triple parity with powers of 2^-1) SSE2 implementation
|
||||
* GENz (triple parity with powers of 2^-1) SSE2 implementation
|
||||
*/
|
||||
void raid_parz_sse2(int nd, size_t size, void **vv)
|
||||
void raid_genz_sse2(int nd, size_t size, void **vv)
|
||||
{
|
||||
uint8_t **v = (uint8_t **)vv;
|
||||
uint8_t *p;
|
||||
|
|
@ -89,11 +89,11 @@ void raid_parz_sse2(int nd, size_t size, void **vv)
|
|||
|
||||
#ifdef CONFIG_X86_64
|
||||
/*
|
||||
* PARz (triple parity with powers of 2^-1) SSE2 implementation
|
||||
* GENz (triple parity with powers of 2^-1) SSE2 implementation
|
||||
*
|
||||
* Note that it uses 16 registers, meaning that x64 is required.
|
||||
*/
|
||||
void raid_parz_sse2ext(int nd, size_t size, void **vv)
|
||||
void raid_genz_sse2ext(int nd, size_t size, void **vv)
|
||||
{
|
||||
uint8_t **v = (uint8_t **)vv;
|
||||
uint8_t *p;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue