CPUID

A class handling runtime CPU feature detection

Members

Static functions

cacheLineSize
size_t cacheLineSize()

Return a best guess of the cache line size

hasAdx
bool hasAdx()

Check if the processor supports ADX extension

hasAesNi
bool hasAesNi()

Check if the processor supports AES-NI

hasAltivec
bool hasAltivec()

Check if the processor supports AltiVec/VMX

hasAvx2
bool hasAvx2()

Check if the processor supports AVX2

hasAvx512f
bool hasAvx512f()

Check if the processor supports AVX-512F

hasBmi2
bool hasBmi2()

Check if the processor supports BMI2

hasClmul
bool hasClmul()

Check if the processor supports CLMUL

hasIntelSha
bool hasIntelSha()

Check if the processor supports Intel SHA extension

hasRdrand
bool hasRdrand()

Check if the processor supports RDRAND

hasRdseed
bool hasRdseed()

Check if the processor supports RDSEED

hasRdtsc
bool hasRdtsc()

Check if the processor supports RDTSC

hasSse2
bool hasSse2()

Check if the processor supports SSE2

hasSse41
bool hasSse41()

Check if the processor supports SSE4.1

hasSse42
bool hasSse42()

Check if the processor supports SSE4.2

hasSsse3
bool hasSsse3()

Check if the processor supports SSSE3

toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta