Check out my first novel, midnight's simulacra!

RDRAND

From dankwiki
Revision as of 03:38, 4 August 2011 by Dank (talk | contribs) (Created page with "RDRAND is an AVX instruction available on Intel processors for which CPUID sets bit 30 of the ECX register high. It is available at all privilege levels, and generates 16...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

RDRAND is an AVX instruction available on Intel processors for which CPUID sets bit 30 of the ECX register high. It is available at all privilege levels, and generates 16-, 32- or 64-bit random integer values (64-bit only in long mode). Its single operand is the (general-purpose) destination register. It sets the CF bit of EFLAGS to 1 if the destination register has been successfully set. Bull Mountain (the DRNG hardware + RDRAND instruction) is said to leverage "NIST SP800-90, FIPS-140-2, and ANSI X9.82." The Bull Mountain hardware is per-processor package.

See Also