ManaPlus
|
Enumerations | |
enum | { FEATURE_EMPTY = 0 , FEATURE_MMX = 1 , FEATURE_SSE = 2 , FEATURE_SSE2 = 4 , FEATURE_SSSE3 = 8 , FEATURE_SSE4 = 16 , FEATURE_SSE42 = 32 , FEATURE_AVX = 64 , FEATURE_AVX2 = 128 } |
Functions | |
void | detect () |
void | printFlags () |
uint32_t | getFlags () |
anonymous enum |
void Cpu::detect | ( | ) |
Definition at line 46 of file cpu.cpp.
References FEATURE_AVX, FEATURE_AVX2, FEATURE_MMX, FEATURE_SSE, FEATURE_SSE2, FEATURE_SSE4, FEATURE_SSE42, FEATURE_SSSE3, findFirst(), FOR_EACH, Logger::log(), logger, anonymous_namespace{cpu.cpp}::mCpuFlags, printFlags(), splitToStringVector(), and Catch::trim().
Referenced by Client::gameInit(), and main().
uint32_t Cpu::getFlags | ( | ) |
Definition at line 176 of file cpu.cpp.
References anonymous_namespace{cpu.cpp}::mCpuFlags.
Referenced by DyePalette::initFunctions().
void Cpu::printFlags | ( | ) |
Definition at line 152 of file cpu.cpp.
References FEATURE_AVX, FEATURE_AVX2, FEATURE_MMX, FEATURE_SSE, FEATURE_SSE2, FEATURE_SSE4, FEATURE_SSE42, FEATURE_SSSE3, Logger::log(), logger, and anonymous_namespace{cpu.cpp}::mCpuFlags.
Referenced by detect().