diff options
author | lloyd <[email protected]> | 2013-12-25 07:16:42 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2013-12-25 07:16:42 +0000 |
commit | 4df481d89ddbfe7bc4b29875762ec200e6986dfd (patch) | |
tree | e152b081a4a76a5fd4180a5163716f8568e0bdab /doc | |
parent | 2d08403fba517571ee1959c39664ffa63357b8f3 (diff) |
Add CPUID check for AVX-512
Diffstat (limited to 'doc')
-rw-r--r-- | doc/examples/cpuid.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/examples/cpuid.cpp b/doc/examples/cpuid.cpp index 9ffb810a9..c231397e4 100644 --- a/doc/examples/cpuid.cpp +++ b/doc/examples/cpuid.cpp @@ -36,11 +36,12 @@ int main() print_if_feature("SSE4.1", CPUID::has_sse41()); print_if_feature("SSE4.2", CPUID::has_sse42()); print_if_feature("AVX2", CPUID::has_avx2()); - print_if_feature("BMI2", CPUID::has_bmi2()); + print_if_feature("AVX-512F", CPUID::has_avx512f()); print_if_feature("AltiVec", CPUID::has_altivec()); print_header("Other extensions"); print_if_feature("RDTSC", CPUID::has_rdtsc()); + print_if_feature("BMI2", CPUID::has_bmi2()); print_if_feature("PCMUL", CPUID::has_pcmuludq()); print_if_feature("AES-NI", CPUID::has_aes_ni()); print_if_feature("RDRAND", CPUID::has_rdrand()); |