diff options
author | lloyd <[email protected]> | 2011-06-16 15:00:21 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2011-06-16 15:00:21 +0000 |
commit | 8511c97586bf70394e0144d6edbf6fa56778ffde (patch) | |
tree | 178b2a45d4a801057f6893b0ff2f988815c53fa1 /doc | |
parent | 36ca4c962bf963ad9f76fb2c26202c0679cbd7ae (diff) |
Detect (though not using) the CPUID bit for the RDRAND instruction
Diffstat (limited to 'doc')
-rw-r--r-- | doc/examples/cpuid.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/examples/cpuid.cpp b/doc/examples/cpuid.cpp index 6d4cc7593..bd81e417b 100644 --- a/doc/examples/cpuid.cpp +++ b/doc/examples/cpuid.cpp @@ -42,5 +42,6 @@ int main() print_if_feature("RDTSC", CPUID::has_rdtsc()); print_if_feature("PCMUL", CPUID::has_pcmuludq()); print_if_feature("AES-NI", CPUID::has_aes_ni()); + print_if_feature("RDRND", CPUID::has_rdrand()); print_if_feature("MOVBE", CPUID::has_movbe()); } |