add detection of rdrand to Xbyak::util::Cpu
This commit is contained in:
parent
73da31f5c8
commit
38d3d7074f
6 changed files with 9 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue