M4RI
1.0.1
|
Compute the parity of 64 words in parallel. More...
#include "misc.h"
Go to the source code of this file.
Macros | |
#define | __M4RI_MIX32(a, b) |
Step for mixing two 64-bit words to compute their parity. | |
#define | __M4RI_MIX16(a, b) |
Step for mixing two 64-bit words to compute their parity. | |
#define | __M4RI_MIX8(a, b) |
Step for mixing two 64-bit words to compute their parity. | |
#define | __M4RI_MIX4(a, b) |
Step for mixing two 64-bit words to compute their parity. | |
#define | __M4RI_MIX2(a, b) |
Step for mixing two 64-bit words to compute their parity. | |
#define | __M4RI_MIX1(a, b) |
Step for mixing two 64-bit words to compute their parity. |
Functions | |
static word | m4ri_parity64_helper (word *buf) |
See parity64. | |
static word | m4ri_parity64 (word *buf) |
Computes parity of each of buf[0], buf[1], ..., buf[63]. Returns single word whose bits are the parities of buf[0], ..., buf[63]. |
Compute the parity of 64 words in parallel.
#define __M4RI_MIX1 | ( | a, | |
b | |||
) |
Step for mixing two 64-bit words to compute their parity.
#define __M4RI_MIX16 | ( | a, | |
b | |||
) |
Step for mixing two 64-bit words to compute their parity.
#define __M4RI_MIX2 | ( | a, | |
b | |||
) |
Step for mixing two 64-bit words to compute their parity.
#define __M4RI_MIX32 | ( | a, | |
b | |||
) |
Step for mixing two 64-bit words to compute their parity.
#define __M4RI_MIX4 | ( | a, | |
b | |||
) |
Step for mixing two 64-bit words to compute their parity.
#define __M4RI_MIX8 | ( | a, | |
b | |||
) |
Step for mixing two 64-bit words to compute their parity.