AnCH Framework 0.1
Another C++ Hack Framework
 
Loading...
Searching...
No Matches
anch::device::CPU Class Reference

CPU features detection. More...

#include <cpu.hpp>

+ Inheritance diagram for anch::device::CPU:
+ Collaboration diagram for anch::device::CPU:

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
 

Friends

class anch::Singleton< CPU >
 

Additional Inherited Members

- Static Public Member Functions inherited from anch::Singleton< CPU >
static CPU & getInstance ()
 

Detailed Description

CPU features detection.

Utility class which provides runtime CPU detection.

Since
0.1
Author
Vincent Lachenal

Member Function Documentation

◆ isAES()

bool anch::device::CPU::isAES ( ) const

AES support getter

Returns
AES feature support

◆ isMMX()

bool anch::device::CPU::isMMX ( ) const

MMX support getter

Returns
MMX feature support

◆ isSSE()

bool anch::device::CPU::isSSE ( ) const

SSE support getter

Returns
SSE feature support

◆ isSSE2()

bool anch::device::CPU::isSSE2 ( ) const

SSE2 support getter

Returns
SSE2 feature support

◆ isSSE3()

bool anch::device::CPU::isSSE3 ( ) const

SSE3 support getter

Returns
SSE3 feature support

◆ isSSE4()

bool anch::device::CPU::isSSE4 ( ) const

SSE4 support getter

Returns
SSE4 feature support

◆ isSSE4_1()

bool anch::device::CPU::isSSE4_1 ( ) const

SSE4.1 support getter

Returns
SSE4.1 feature support

◆ isSSE4_2()

bool anch::device::CPU::isSSE4_2 ( ) const

SSE4.2 support getter

Returns
SSE4.2 feature support

◆ isSSSE3()

bool anch::device::CPU::isSSSE3 ( ) const

SSSE3 support getter

Returns
SSSE3 feature support

The documentation for this class was generated from the following file: