aboutsummaryrefslogtreecommitdiffhomepage
path: root/sample
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2022-04-05 15:12:04 +0900
committerMITSUNARI Shigeo <[email protected]>2022-04-05 15:12:04 +0900
commitf8e2ad1e9d2248d2bfb7ee5eddf6ba0d08d30c22 (patch)
tree480b91fc6e424b4c6ea19a39cd1b6100dbf761e4 /sample
parenta220fd69a20255de3ef046507beee4850dab84e4 (diff)
downloadxbyak-f8e2ad1e9d2248d2bfb7ee5eddf6ba0d08d30c22.tar.gz
xbyak-f8e2ad1e9d2248d2bfb7ee5eddf6ba0d08d30c22.zip
add waitpkg detection to Cpu
Diffstat (limited to 'sample')
-rw-r--r--sample/test_util.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/sample/test_util.cpp b/sample/test_util.cpp
index da7ce9f..60cf77a 100644
--- a/sample/test_util.cpp
+++ b/sample/test_util.cpp
@@ -83,6 +83,7 @@ void putCPUinfo()
{ Cpu::tAMX_BF16, "amx(bf16)" },
{ Cpu::tAVX_VNNI, "avx_vnni" },
{ Cpu::tAVX512_FP16, "avx512_fp16" },
+ { Cpu::tWAITPKG, "waitpkg" },
};
for (size_t i = 0; i < NUM_OF_ARRAY(tbl); i++) {
if (cpu.has(tbl[i].type)) printf(" %s", tbl[i].str);