mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-01-24 07:41:13 +01:00
26 lines
468 B
C++
26 lines
468 B
C++
|
|
class CPUFeaturesImpl
|
|
{
|
|
public:
|
|
CPUFeaturesImpl();
|
|
|
|
std::string GetCPUName(); // empty if not available
|
|
std::string GetCommaSeparatedExtensionList();
|
|
|
|
struct
|
|
{
|
|
bool ssse3{ false };
|
|
bool sse4_1{ false };
|
|
bool avx{ false };
|
|
bool avx2{ false };
|
|
bool lzcnt{ false };
|
|
bool movbe{ false };
|
|
bool bmi2{ false };
|
|
bool aesni{ false };
|
|
bool invariant_tsc{ false };
|
|
}x86;
|
|
private:
|
|
char m_cpuBrandName[0x40]{ 0 };
|
|
};
|
|
|
|
extern CPUFeaturesImpl g_CPUFeatures; |