add to detect enhanced rep movsb/stosb

This commit is contained in:
MITSUNARI Shigeo 2013-09-05 22:10:49 +09:00
parent c2fde4e2a6
commit bed8fae6e7
5 changed files with 5 additions and 2 deletions

View file

@ -47,6 +47,7 @@ void putCPUinfo()
{ Cpu::tBMI1, "bmi1" },
{ Cpu::tBMI2, "bmi2" },
{ Cpu::tLZCNT, "lzcnt" },
{ Cpu::tENHANCED_REP, "enh_rep" },
};
for (size_t i = 0; i < NUM_OF_ARRAY(tbl); i++) {
if (cpu.has(tbl[i].type)) printf(" %s", tbl[i].str);