aboutsummaryrefslogtreecommitdiffhomepage
path: root/sample/test_util.cpp
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2023-08-06 09:57:45 +0900
committerMITSUNARI Shigeo <[email protected]>2023-08-06 09:57:45 +0900
commit9b3687a68aa14bd0656f01a2dfb011c43535ea38 (patch)
tree90d510c863d3f520fc426da535e5a2c5667e5caa /sample/test_util.cpp
parentecdd01ee59995d56f47da4796dd8352fa228070a (diff)
downloadxbyak-9b3687a68aa14bd0656f01a2dfb011c43535ea38.tar.gz
xbyak-9b3687a68aa14bd0656f01a2dfb011c43535ea38.zip
add detection of SHA512, SM3, SM4
Diffstat (limited to 'sample/test_util.cpp')
-rw-r--r--sample/test_util.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/sample/test_util.cpp b/sample/test_util.cpp
index 3405905..7115b38 100644
--- a/sample/test_util.cpp
+++ b/sample/test_util.cpp
@@ -99,6 +99,9 @@ void putCPUinfo(bool onlyCpuidFeature)
{ Cpu::tRAO_INT, "rao-int" },
{ Cpu::tCMPCCXADD, "cmpccxadd" },
{ Cpu::tPREFETCHITI, "prefetchiti" },
+ { Cpu::tSHA512, "sha512" },
+ { Cpu::tSM3, "sm3" },
+ { Cpu::tSM4, "sm4" },
};
for (size_t i = 0; i < NUM_OF_ARRAY(tbl); i++) {
if (cpu.has(tbl[i].type)) printf(" %s", tbl[i].str);