diff options
author | lloyd <[email protected]> | 2009-11-10 07:39:52 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-11-10 07:39:52 +0000 |
commit | 743014387833eb52e71fc9d4381e2a546e80f158 (patch) | |
tree | 2d96541d1d00e5e0a16476e1cccbddf5380689d4 /doc/examples | |
parent | 7e50031d49653e3d76cd972e5909eab1795e248a (diff) |
Rename CPUID::has_intel_aes to has_aes_intel, and add CPUID::has_aes_via,
which is currently just a stub returning false.
Diffstat (limited to 'doc/examples')
-rw-r--r-- | doc/examples/cpuid.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/examples/cpuid.cpp b/doc/examples/cpuid.cpp index 30ac4d676..bc33ef907 100644 --- a/doc/examples/cpuid.cpp +++ b/doc/examples/cpuid.cpp @@ -7,12 +7,15 @@ using namespace Botan; int main() { printf("Cache line size: %d\n", CPUID::cache_line_size()); + printf("RDTSC: %d\n", CPUID::has_rdtsc()); printf("SSE2 %d\n", CPUID::has_sse2()); printf("SSSE3 %d\n", CPUID::has_ssse3()); printf("SSE41 %d\n", CPUID::has_sse41()); printf("SSE42 %d\n", CPUID::has_sse42()); - printf("AES-NI %d\n", CPUID::has_intel_aes()); + printf("AES-NI %d\n", CPUID::has_aes_intel()); + + printf("AES-VIA %d\n", CPUID::has_aes_via()); printf("AltiVec %d\n", CPUID::has_altivec()); } |