diff options
author | MITSUNARI Shigeo <[email protected]> | 2014-04-11 06:30:46 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2014-04-11 06:30:46 +0900 |
commit | 38d3d7074feda2cd6a0e71b5fb2b46adeb9a7829 (patch) | |
tree | 843e5044ee9984cfab0526b973da13e6b985c057 /sample/test_util.cpp | |
parent | 73da31f5c8b464000f86c3b5dd8950b617a7f39c (diff) | |
download | xbyak-38d3d7074feda2cd6a0e71b5fb2b46adeb9a7829.tar.gz xbyak-38d3d7074feda2cd6a0e71b5fb2b46adeb9a7829.zip |
add detection of rdrand to Xbyak::util::Cpu
Diffstat (limited to 'sample/test_util.cpp')
-rw-r--r-- | sample/test_util.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sample/test_util.cpp b/sample/test_util.cpp index 6146731..9dec376 100644 --- a/sample/test_util.cpp +++ b/sample/test_util.cpp @@ -48,6 +48,7 @@ void putCPUinfo() { Cpu::tBMI2, "bmi2" }, { Cpu::tLZCNT, "lzcnt" }, { Cpu::tENHANCED_REP, "enh_rep" }, + { Cpu::tRDRAND, "rdrand" }, }; for (size_t i = 0; i < NUM_OF_ARRAY(tbl); i++) { if (cpu.has(tbl[i].type)) printf(" %s", tbl[i].str); |