Generate random numbers of 16/32/64 bit wide random integers.
extern int _rdrand16_step(unsigned short *random_val); |
extern int _rdrand32_step(unsigned int *random_val); |
extern int _rdrand64_step(unsigned __int64 *random_val); |
These intrinsics generate random numbers of 16/32/64 bit wide random integers. These intrinsics are mapped to the hardware instruction RDRAND. The generated random value is written to the given memory location and the success status is returned: 1 if the hardware returned a valid random value, and 0 otherwise.
Copyright © 1996-2011, Intel Corporation. All rights reserved.