Warning: This is an old version. The latest stable version is Version 9.0.1.
In header: #include <cpuid/cpuinfo.hpp>
cpuinfo () | |
~cpuinfo () | |
bool | has_fpu () const |
bool | has_mmx () const |
bool | has_sse () const |
bool | has_sse2 () const |
bool | has_sse3 () const |
bool | has_ssse3 () const |
bool | has_sse4_1 () const |
bool | has_sse4_2 () const |
bool | has_pclmulqdq () const |
bool | has_avx () const |
bool | has_avx2 () const |
bool | has_avx512_f () const |
bool | has_avx512_dq () const |
bool | has_avx512_ifma () const |
bool | has_avx512_pf () const |
bool | has_avx512_er () const |
bool | has_avx512_cd () const |
bool | has_avx512_bw () const |
bool | has_avx512_vl () const |
bool | has_avx512_vbmi () const |
bool | has_avx512_vbmi2 () const |
bool | has_avx512_vnni () const |
bool | has_avx512_bitalg () const |
bool | has_avx512_vpopcntdq () const |
bool | has_avx512_4vnniw () const |
bool | has_avx512_4fmaps () const |
bool | has_avx512_vp2intersect () const |
bool | has_f16c () const |
bool | has_aes () const |
bool | has_neon () const |
The cpuinfo object extract information about which, if any, additional instructions are supported by the CPU.
Constructor for feature detection with default values.
Destructor.
Return true if the CPU supports x87 Floating-Point Unit.
Return true if the CPU supports MMX.
Return true if the CPU supports Streaming SIMD Extensions.
Return true if the CPU supports Streaming SIMD Extensions 2.
Return true if the CPU supports Streaming SIMD Extensions 3.
Return true if the CPU supports Supplemental Streaming SIMD Extensions 3.
Return true if the CPU supports Streaming SIMD Extensions 4.1.
Return true if the CPU supports Streaming SIMD Extensions 4.2.
Return true if the CPU supports carry-less multiplication of two 64-bit polynomials over the finite field GF(2)
Return true if the CPU supports Advanced Vector Extensions.
Return true if the CPU supports Advanced Vector Extensions 2.
Return true if the CPU supports AVX-512 Foundation.
Return true if the CPU supports AVX-512 Doubleword and Quadword Instructions
Return true if the CPU supports AVX-512 Integer Fused Multiply Add.
Return true if the CPU supports AVX-512 Prefetch Instructions.
Return true if the CPU supports AVX-512 Exponential and Reciprocal Instructions
Return true if the CPU supports AVX-512 Conflict Detection Instructions.
Return true if the CPU supports AVX-512 Byte and Word Instructions.
Return true if the CPU supports AVX-512 Vector Length Extensions.
Return true if the CPU supports AVX-512 Vector Byte Manipulation Instructions
Return true if the CPU supports AVX-512 Vector Byte Manipulation Instructions 2
Return true if the CPU supports AVX-512 Vector Neural Network Instructions
Return true if the CPU supports AVX-512 Bit Algorithms.
Return true if the CPU supports Vector population count instruction.
Return true if the CPU supports AVX-512 Vector Neural Network Instructions Word variable precision
Return true if the CPU supports AVX-512 Fused Multiply Accumulation Packed Single precision
Return true if the CPU supports AVX-512 Vector Pair Intersection to a Pair of Mask Registers
Return true if the CPU supports converting between half-precision and standard IEEE single-precision floating-point formats
Return true if the CPU supports Advanced Encryption Standard instruction set
Return true if the CPU supports ARM Advanced SIMD.