diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-10-29 02:02:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-10-29 02:02:04 +0300 |
commit | a6d18b282ab916c6536dc25516affeb9200043b6 (patch) | |
tree | 9980735a47cb2118999fb4f4dceaa52bf9f4fae7 /src/utils/cpu.cpp | |
parent | 98c74738f21d7ae256f1273b6c1614ee64e2a3ad (diff) | |
download | manaverse-a6d18b282ab916c6536dc25516affeb9200043b6.tar.gz manaverse-a6d18b282ab916c6536dc25516affeb9200043b6.tar.bz2 manaverse-a6d18b282ab916c6536dc25516affeb9200043b6.tar.xz manaverse-a6d18b282ab916c6536dc25516affeb9200043b6.zip |
Fix code style.s20181102
Diffstat (limited to 'src/utils/cpu.cpp')
-rw-r--r-- | src/utils/cpu.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/utils/cpu.cpp b/src/utils/cpu.cpp index 6b553b096..99fd2d461 100644 --- a/src/utils/cpu.cpp +++ b/src/utils/cpu.cpp @@ -153,21 +153,21 @@ void Cpu::printFlags() if (logger == nullptr) return; std::string str("CPU features:"); - if ((mCpuFlags & FEATURE_MMX) != 0u) + if ((mCpuFlags & FEATURE_MMX) != 0U) str.append(" mmx"); - if ((mCpuFlags & FEATURE_SSE) != 0u) + if ((mCpuFlags & FEATURE_SSE) != 0U) str.append(" sse"); - if ((mCpuFlags & FEATURE_SSE2) != 0u) + if ((mCpuFlags & FEATURE_SSE2) != 0U) str.append(" sse2"); - if ((mCpuFlags & FEATURE_SSSE3) != 0u) + if ((mCpuFlags & FEATURE_SSSE3) != 0U) str.append(" ssse3"); - if ((mCpuFlags & FEATURE_SSE4) != 0u) + if ((mCpuFlags & FEATURE_SSE4) != 0U) str.append(" sse4"); - if ((mCpuFlags & FEATURE_SSE42) != 0u) + if ((mCpuFlags & FEATURE_SSE42) != 0U) str.append(" sse4_2"); - if ((mCpuFlags & FEATURE_AVX) != 0u) + if ((mCpuFlags & FEATURE_AVX) != 0U) str.append(" avx"); - if ((mCpuFlags & FEATURE_AVX2) != 0u) + if ((mCpuFlags & FEATURE_AVX2) != 0U) str.append(" avx2"); logger->log(str); } |