Lines Matching refs:psfmt32

387     uint32_t *psfmt32 = &ctx->sfmt[0].u[0];  in period_certification()  local
390 inner ^= psfmt32[idxof(i)] & parity[i]; in period_certification()
403 psfmt32[idxof(i)] ^= work; in period_certification()
449 uint32_t *psfmt32 = &ctx->sfmt[0].u[0]; in gen_rand32() local
456 r = psfmt32[ctx->idx++]; in gen_rand32()
485 uint32_t *psfmt32 = &ctx->sfmt[0].u[0]; in gen_rand64() local
499 r1 = psfmt32[ctx->idx]; in gen_rand64()
500 r2 = psfmt32[ctx->idx + 1]; in gen_rand64()
611 uint32_t *psfmt32; in init_gen_rand() local
617 psfmt32 = &ctx->sfmt[0].u[0]; in init_gen_rand()
619 psfmt32[idxof(0)] = seed; in init_gen_rand()
621 psfmt32[idxof(i)] = 1812433253UL * (psfmt32[idxof(i - 1)] in init_gen_rand()
622 ^ (psfmt32[idxof(i - 1)] >> 30)) in init_gen_rand()
646 uint32_t *psfmt32; in init_by_array() local
652 psfmt32 = &ctx->sfmt[0].u[0]; in init_by_array()
671 r = func1(psfmt32[idxof(0)] ^ psfmt32[idxof(mid)] in init_by_array()
672 ^ psfmt32[idxof(N32 - 1)]); in init_by_array()
673 psfmt32[idxof(mid)] += r; in init_by_array()
675 psfmt32[idxof(mid + lag)] += r; in init_by_array()
676 psfmt32[idxof(0)] = r; in init_by_array()
680 r = func1(psfmt32[idxof(i)] ^ psfmt32[idxof((i + mid) % N32)] in init_by_array()
681 ^ psfmt32[idxof((i + N32 - 1) % N32)]); in init_by_array()
682 psfmt32[idxof((i + mid) % N32)] += r; in init_by_array()
684 psfmt32[idxof((i + mid + lag) % N32)] += r; in init_by_array()
685 psfmt32[idxof(i)] = r; in init_by_array()
689 r = func1(psfmt32[idxof(i)] ^ psfmt32[idxof((i + mid) % N32)] in init_by_array()
690 ^ psfmt32[idxof((i + N32 - 1) % N32)]); in init_by_array()
691 psfmt32[idxof((i + mid) % N32)] += r; in init_by_array()
693 psfmt32[idxof((i + mid + lag) % N32)] += r; in init_by_array()
694 psfmt32[idxof(i)] = r; in init_by_array()
698 r = func2(psfmt32[idxof(i)] + psfmt32[idxof((i + mid) % N32)] in init_by_array()
699 + psfmt32[idxof((i + N32 - 1) % N32)]); in init_by_array()
700 psfmt32[idxof((i + mid) % N32)] ^= r; in init_by_array()
702 psfmt32[idxof((i + mid + lag) % N32)] ^= r; in init_by_array()
703 psfmt32[idxof(i)] = r; in init_by_array()