Add optimized implementation of mersenne twister for aarch64
authorMichael Collison <michael.collison@arm.com>
Sun, 23 Jul 2017 22:46:34 +0000 (22:46 +0000)
committerMichael Collison <collison@gcc.gnu.org>
Sun, 23 Jul 2017 22:46:34 +0000 (22:46 +0000)
commit5bbf7664c3e26292702d9d7b37d6a1f872f8b5ea
tree602f85aa3eb7f63722540c741e95cafc2137af74
parentc5014982bac1ec109d90e422f9a10039c21a5aa0
Add optimized implementation of mersenne twister for aarch64

2017-07-23  Michael Collison  <michael.collison@arm.com>

Add optimized implementation of mersenne twister for aarch64
* config/cpu/aarch64/opt/ext/opt_random.h: New file.
(__arch64_recursion): New function.
(__aarch64_lsr_128): New function.
(__aarch64_lsl_128): New function.
(operator==): New function.
(simd_fast_mersenne_twister_engine): Implement
method _M_gen_rand.
* config/cpu/aarch64/opt/bits/opt_random.h: New file.
* include/ext/random: (simd_fast_mersenne_twister_engine):
add _M_state private array.

From-SVN: r250464
libstdc++-v3/ChangeLog
libstdc++-v3/config/cpu/aarch64/opt/bits/opt_random.h [new file with mode: 0644]
libstdc++-v3/config/cpu/aarch64/opt/ext/opt_random.h [new file with mode: 0644]
libstdc++-v3/include/ext/random