Library of random number generators based on SSE command set

نویسندگان

  • Lev Barash
  • Lev Shchur
چکیده

Pseudo random numbers, generated recursively by deterministic rules, represent one of important ingredients in algorithms for numerical simulations such as molecular dynamics and of Monte Carlo simulations, widely used in physics, chemistry, material science and cryptography [1]. It is a great challenge to design random number generators (RNGs) producing pseudo random numbers that behave as realizations of independent uniformly distributed random variables and approximate “true randomness” [2]. In the contribution we present a library of modern and most reliable RNGs known today. Namely, the realizations of the modern generators MT19937, MRG32k3a, LFSR113, GM19-SSE, GM31-SSE and GM61-SSE are presented. MT19937 is the 2002 version of the Mersenne Twister generator of Matsumoto and Nishimira [3], which is based on the recent generalizations to the GFSR method. MRG32k3a is the combined multiple recursive generator proposed in [4], and LFSR113 is the combined Tausworthe generator of L’Ecuyer [5]. The generators GM19-SSE, GM31-SSE and GM61-SSE are based on evolution of an ensemble of chaotic dynamical systems [6]. An important feature of our library is the ability to speed up the algorithms using Streaming SIMD (Single Instruction, Multiple Data) Extensions 2 (SSE2) technology, introduced in Intel Pentium 4 processors in 2001 [7], and also supported by AMD starting with their Opteron and Athlon 64 ranges of AMD64 64-bit CPUs in 2003. It allows to use 128-bit XMM-registers in a single operation to accelerate computations. In particular, for several operations, it allows simultaneous processing for four 32-bit numbers. Similar technique was previously used for implementing several RNGs [8, 6]. In the present work we demonstrate that this approach can essentially speed up most RNGs. We present library of the generators and of their SSE2 realizations.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

RNGSSELIB: Program library for random number generation. More generators, parallel streams of random numbers and Fortran compatibility

RNGSSELIB: Program library for random number generation. More generators, parallel streams of random numbers and Fortran compatibility. Abstract In this update, we present the new version of the random number generator (RNG) library RNGSSELIB, which, in particular, contains fast SSE real-izations of a number of modern and most reliable generators [1]. The new features are: i) Fortran compatibil...

متن کامل

Design of low power random number generators for quantum-dot cellular automata

Quantum-dot cellular automata (QCA) are a promising nanotechnology to implement digital circuits at the nanoscale. Devices based on QCA have the advantages of faster speed, lower power consumption, and greatly reduced sizes. In this paper, we are presented the circuits, which generate random numbers in QCA.  Random numbers have many uses in science, art, statistics, cryptography, gaming, gambli...

متن کامل

Design of low power random number generators for quantum-dot cellular automata

Quantum-dot cellular automata (QCA) are a promising nanotechnology to implement digital circuits at the nanoscale. Devices based on QCA have the advantages of faster speed, lower power consumption, and greatly reduced sizes. In this paper, we are presented the circuits, which generate random numbers in QCA.  Random numbers have many uses in science, art, statistics, cryptography, gaming, gambli...

متن کامل

TestU 01 A Software Library in ANSI C for Empirical Testing of Random Number Generators User

The library implements several types of generators in generic form, as well as many specific generators proposed in the literature or found in widely-used software. It provides general implementations of the classical statistical tests for random number generators, as well as several others proposed in the literature, and some original ones. These tests can be applied to the generators predefin...

متن کامل

TestU 01 A Software Library in ANSI C for Empirical Testing of Random Number Generators

The library implements several types of generators in generic form, as well as many specific generators proposed in the literature or found in widely-used software. It provides general implementations of the classical statistical tests for random number generators, as well as several others proposed in the literature, and some original ones. These tests can be applied to the generators predefin...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010