diff options
author | MITSUNARI Shigeo <[email protected]> | 2023-08-06 09:57:45 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2023-08-06 09:57:45 +0900 |
commit | 9b3687a68aa14bd0656f01a2dfb011c43535ea38 (patch) | |
tree | 90d510c863d3f520fc426da535e5a2c5667e5caa /sample/test_util.cpp | |
parent | ecdd01ee59995d56f47da4796dd8352fa228070a (diff) | |
download | xbyak-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.cpp | 3 |
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); |