Go to the source code of this file.
Functions | |
static PRE_ALWAYS __m128i | mm_recursion (__m128i *a, __m128i *b, __m128i c, __m128i d, __m128i mask) ALWAYSINLINE |
static void | gen_rand_all (void) |
static void | gen_rand_array (w128_t *array, int size) |
The new BSD License is applied to this software, see LICENSE.txt
Definition in file SFMT-sse2.h.
static void gen_rand_all | ( | void | ) | [inline, static] |
This function fills the internal state array with pseudorandom integers.
Definition at line 52 of file SFMT-sse2.h.
References mm_recursion(), MSK1, MSK2, MSK3, MSK4, N, POS1, and sfmt.
static void gen_rand_array | ( | w128_t * | array, | |
int | size | |||
) | [inline, static] |
This function fills the user-specified array with pseudorandom integers.
array | an 128-bit array to be filled by pseudorandom numbers. | |
size | number of 128-bit pesudorandom numbers to be generated. |
Definition at line 80 of file SFMT-sse2.h.
References mm_recursion(), MSK1, MSK2, MSK3, MSK4, N, POS1, and sfmt.
static PRE_ALWAYS __m128i mm_recursion | ( | __m128i * | a, | |
__m128i * | b, | |||
__m128i | c, | |||
__m128i | d, | |||
__m128i | mask | |||
) | [static] |
This function represents the recursion formula.
a | a 128-bit part of the interal state array | |
b | a 128-bit part of the interal state array | |
c | a 128-bit part of the interal state array | |
d | a 128-bit part of the interal state array | |
mask | 128-bit mask |
Definition at line 31 of file SFMT-sse2.h.
References SL1, SL2, SR1, and SR2.
Referenced by gen_rand_all(), and gen_rand_array().