Botan
1.10.9
|
#include <cpuid.h>
Static Public Member Functions | |
static size_t | cache_line_size () |
static bool | has_aes_ni () |
static bool | has_altivec () |
static bool | has_avx () |
static bool | has_movbe () |
static bool | has_pcmuludq () |
static bool | has_rdrand () |
static bool | has_rdtsc () |
static bool | has_sse2 () |
static bool | has_sse41 () |
static bool | has_sse42 () |
static bool | has_ssse3 () |
static void | initialize () |
|
inlinestatic |
Return a best guess of the cache line size
Definition at line 29 of file cpuid.h.
Referenced by Botan::prefetch_readonly(), and Botan::prefetch_readwrite().
|
inlinestatic |
Check if the processor supports AES-NI
Definition at line 70 of file cpuid.h.
Referenced by Botan::AES_ISA_Engine::find_block_cipher().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Check if the processor supports RDRAND
Definition at line 88 of file cpuid.h.
Referenced by Botan::Intel_Rdrand::poll().
|
inlinestatic |
Check if the processor supports RDTSC
Definition at line 34 of file cpuid.h.
Referenced by Botan::High_Resolution_Timestamp::poll().
|
inlinestatic |
Check if the processor supports SSE2
Definition at line 40 of file cpuid.h.
Referenced by Botan::SIMD_Engine::find_block_cipher(), and Botan::SIMD_Engine::find_hash().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Check if the processor supports SSSE3
Definition at line 46 of file cpuid.h.
Referenced by Botan::SIMD_Engine::find_block_cipher().
|
static |
Probe the CPU and see what extensions are supported
Definition at line 190 of file cpuid.cpp.
References CALL_CPUID.
Referenced by Botan::Library_State::initialize().