aboutsummaryrefslogtreecommitdiffhomepage
path: root/sample
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2023-12-19 17:34:46 +0900
committerMITSUNARI Shigeo <[email protected]>2023-12-19 17:34:46 +0900
commit440972b88c13daab58396f46a4f7b8abcfba6748 (patch)
treea517ec612376850879a6f4a808ba4e3fa3df29d3 /sample
parent68a30b91fa64f94928064a4f6f8861c0c848bede (diff)
downloadxbyak-440972b88c13daab58396f46a4f7b8abcfba6748.tar.gz
xbyak-440972b88c13daab58396f46a4f7b8abcfba6748.zip
add detection of KEYLOCKER, KEYLOCKER_WIDE
Diffstat (limited to 'sample')
-rw-r--r--sample/test_util.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/sample/test_util.cpp b/sample/test_util.cpp
index f88c265..941a598 100644
--- a/sample/test_util.cpp
+++ b/sample/test_util.cpp
@@ -107,6 +107,8 @@ void putCPUinfo(bool onlyCpuidFeature)
{ Cpu::tAVX10, "avx10" },
{ Cpu::tAESKLE, "aeskle" },
{ Cpu::tWIDE_KL, "wide_kl" },
+ { Cpu::tKEYLOCKER, "keylocker" },
+ { Cpu::tKEYLOCKER_WIDE, "keylocker_wide" },
};
for (size_t i = 0; i < NUM_OF_ARRAY(tbl); i++) {
if (cpu.has(tbl[i].type)) printf(" %s", tbl[i].str);