Ulrich Drepper <drep...@gmail.com> writes: > > Anyway, another change in the patch is support for a less expensive > implementation on Ivy Bridge processors. That processor has the > rdrand instruction. The code uses it if the instruction is usable. > Has been tested on real hardware. This is not the type of > arch-specific code I meant earlier. Will get to that tomorrow.
RDRAND is more for cryptographic purposes (key generation etc.), it's not supposed to replace pseudo random generators for simulations. For those you likely want a repeatable stream anyways, otherwise it'll be impossible to debug. -Andi -- a...@linux.intel.com -- Speaking for myself only