Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

avx2 optimized pcg32 random number generator

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 1.32 sec, absolute running time: 0.24 sec, cpu time: 0.12 sec, memory peak: 3 Mb, absolute service time: 1,56 sec 
fork mode |  history  | discussion
Running 12pcg_state_32ILb0EE
12pcg_state_32ILb0EE single rand xor cycles per call  avg: 5.59359(1431.96) min: 4.27734(1095) max: 124.934 xor: 20745dd5
12pcg_state_32ILb0EE fill 64 bytes array bytes per cycle  avg: 0.822365(19923) min: 0.957625(17109) max: 0.26681 xor: 8a32fdb6
12pcg_state_32ILb0EE fill 1024 bytes array bytes per cycle  avg: 0.857517(305701) min: 0.950717(275733) max: 0.554943 xor: 78aae99b
Running 27pcg_state_mcg_128_xsl_rr_64
27pcg_state_mcg_128_xsl_rr_64 single rand xor cycles per call  avg: 11.2649(2883.81) min: 7.08984(1815) max: 376.301 xor: 4de3168f
27pcg_state_mcg_128_xsl_rr_64 fill 64 bytes array bytes per cycle  avg: 0.810699(20209.7) min: 0.882568(18564) max: 0.323654 xor: f180fbf4
27pcg_state_mcg_128_xsl_rr_64 fill 1024 bytes array bytes per cycle  avg: 0.880885(297592) min: 1.00582(260628) max: 0.466243 xor: db44d987
Running 24pcg_state_64_rxs_m_xs_64
24pcg_state_64_rxs_m_xs_64 single rand xor cycles per call  avg: 5.22727(1338.18) min: 3.35156(858) max: 123.48 xor: 3e95c800
24pcg_state_64_rxs_m_xs_64 fill 64 bytes array bytes per cycle  avg: 1.57761(10385.3) min: 2.22276(7371) max: 0.047414 xor: fadffab
24pcg_state_64_rxs_m_xs_64 fill 1024 bytes array bytes per cycle  avg: 1.94086(135066) min: 2.22815(117651) max: 0.630284 xor: cd5d0a42
Running 17pcg_state_32_simdILm1EE
17pcg_state_32_simdILm1EE single rand xor cycles per call  avg: 6.22283(1593.05) min: 2.66016(681) max: 166.219 xor: 20745dd5
17pcg_state_32_simdILm1EE fill 64 bytes array bytes per cycle  avg: 2.77908(5895.48) min: 2.99087(5478) max: 0.431419 xor: 8a32fdb6
17pcg_state_32_simdILm1EE fill 1024 bytes array bytes per cycle  avg: 2.64774(99006.6) min: 2.97854(88011) max: 0.885098 xor: 78aae99b
Running 17pcg_state_32_simdILm2EE
17pcg_state_32_simdILm2EE single rand xor cycles per call  avg: 2.45871(629.43) min: 2.40234(615) max: 3.38672 xor: 20745dd5
17pcg_state_32_simdILm2EE fill 64 bytes array bytes per cycle  avg: 2.35489(6957.44) min: 2.98597(5487) max: 0.287529 xor: 8a32fdb6
17pcg_state_32_simdILm2EE fill 1024 bytes array bytes per cycle  avg: 2.63094(99638.9) min: 3.08082(85089) max: 1.3446 xor: 78aae99b
Running 17pcg_state_32_simdILm4EE
17pcg_state_32_simdILm4EE single rand xor cycles per call  avg: 2.48906(637.2) min: 2.46094(630) max: 3.98438 xor: 20745dd5
17pcg_state_32_simdILm4EE fill 64 bytes array bytes per cycle  avg: 2.67069(6134.75) min: 3.08899(5304) max: 0.44132 xor: 8a32fdb6
17pcg_state_32_simdILm4EE fill 1024 bytes array bytes per cycle  avg: 2.72076(96349.5) min: 3.0818(85062) max: 1.44234 xor: 78aae99b
Running 17pcg_state_32_simdILm8EE
17pcg_state_32_simdILm8EE single rand xor cycles per call  avg: 2.84941(729.45) min: 2.76562(708) max: 3.35156 xor: 20745dd5
17pcg_state_32_simdILm8EE fill 64 bytes array bytes per cycle  avg: 2.97281(5511.28) min: 3.0855(5310) max: 0.476307 xor: 8a32fdb6
17pcg_state_32_simdILm8EE fill 1024 bytes array bytes per cycle  avg: 2.646(99071.7) min: 3.08136(85074) max: 1.13089 xor: 78aae99b
Running 17pcg_state_32_simdILm16EE
17pcg_state_32_simdILm16EE single rand xor cycles per call  avg: 3.86941(990.57) min: 2.71875(696) max: 111.961 xor: 20745dd5
17pcg_state_32_simdILm16EE fill 64 bytes array bytes per cycle  avg: 2.91124(5627.83) min: 3.08724(5307) max: 0.489016 xor: 8a32fdb6
17pcg_state_32_simdILm16EE fill 1024 bytes array bytes per cycle  avg: 2.70601(96874.8) min: 3.18399(82332) max: 1.02557 xor: 78aae99b
Running 12pcg_state_32ILb1EE
12pcg_state_32ILb1EE single rand xor cycles per call  avg: 3.93896(1008.38) min: 3.89062(996) max: 4.06641 xor: 20745dd5
12pcg_state_32ILb1EE fill 64 bytes array bytes per cycle  avg: 1.71927(9529.62) min: 2.2066(7425) max: 0.31213 xor: 8a32fdb6
12pcg_state_32ILb1EE fill 1024 bytes array bytes per cycle  avg: 2.5679(102085) min: 3.01658(86901) max: 1.16341 xor: 78aae99b