detect AVX2
This commit is contained in:
parent
a2c0dbd6c9
commit
9099a8aa6f
2 changed files with 19 additions and 5 deletions
|
@ -42,6 +42,7 @@ void putCPUinfo()
|
|||
{ Cpu::tPCLMULQDQ, "pclmulqdq" },
|
||||
{ Cpu::tAVX, "avx" },
|
||||
{ Cpu::tFMA, "fma" },
|
||||
{ Cpu::tAVX2, "avx2" },
|
||||
};
|
||||
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