add detection of VEX-encoded GRP instructions(group1, group2, lzcnt)

This commit is contained in:
MITSUNARI Shigeo 2013-05-30 17:03:40 +09:00
parent 9099a8aa6f
commit 362d379b3d
2 changed files with 11 additions and 2 deletions

View file

@ -43,6 +43,9 @@ void putCPUinfo()
{ Cpu::tAVX, "avx" },
{ Cpu::tFMA, "fma" },
{ Cpu::tAVX2, "avx2" },
{ Cpu::tGPR1, "gpr-group1" },
{ Cpu::tGPR2, "gpr-group2" },
{ Cpu::tLZCNT, "lzcnt" },
};
for (size_t i = 0; i < NUM_OF_ARRAY(tbl); i++) {
if (cpu.has(tbl[i].type)) printf(" %s", tbl[i].str);