CPU features detection. More...
#include <cpu.hpp>
Public Member Functions | |
| bool | isAES () const |
| bool | isMMX () const |
| bool | isSSE () const |
| bool | isSSE2 () const |
| bool | isSSE3 () const |
| bool | isSSSE3 () const |
| bool | isSSE4 () const |
| bool | isSSE4_1 () const |
| bool | isSSE4_2 () const |
| Public Member Functions inherited from anch::Singleton< CPU > | |
| Singleton & | operator= (const Singleton &)=delete |
Friends | |
| class | anch::Singleton< CPU > |
Additional Inherited Members | |
| Static Public Member Functions inherited from anch::Singleton< CPU > | |
| static CPU & | getInstance () |
| Protected Member Functions inherited from anch::Singleton< CPU > | |
| Singleton () noexcept=default | |
| ~Singleton ()=default | |
CPU features detection.
Utility class which provides runtime CPU detection (CPUID instruction).
On other architectures than x86 / x86-64, every feature is reported as not supported.
| bool anch::device::CPU::isAES | ( | ) | const |
AES support getter
| bool anch::device::CPU::isMMX | ( | ) | const |
MMX support getter
| bool anch::device::CPU::isSSE | ( | ) | const |
SSE support getter
| bool anch::device::CPU::isSSE2 | ( | ) | const |
SSE2 support getter
| bool anch::device::CPU::isSSE3 | ( | ) | const |
SSE3 support getter
| bool anch::device::CPU::isSSE4 | ( | ) | const |
SSE4 support getter
| bool anch::device::CPU::isSSE4_1 | ( | ) | const |
SSE4.1 support getter
| bool anch::device::CPU::isSSE4_2 | ( | ) | const |
SSE4.2 support getter
| bool anch::device::CPU::isSSSE3 | ( | ) | const |
SSSE3 support getter