diff options
author | spreis <spreis@yandex-team.ru> | 2022-02-10 16:47:13 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:13 +0300 |
commit | bcd1126cbd5d445cd0665d295198aa39c6ab8cbe (patch) | |
tree | d41d29a041d5733ef148335290dbb817b197d4cd /util/system/cpu_id.cpp | |
parent | 986cb5d624f352524bfa0c42c9a7695235cdaa41 (diff) | |
download | ydb-bcd1126cbd5d445cd0665d295198aa39c6ab8cbe.tar.gz |
Restoring authorship annotation for <spreis@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/cpu_id.cpp')
-rw-r--r-- | util/system/cpu_id.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/system/cpu_id.cpp b/util/system/cpu_id.cpp index 598c71f4d9..36ce089296 100644 --- a/util/system/cpu_id.cpp +++ b/util/system/cpu_id.cpp @@ -102,10 +102,10 @@ bool NX86::HaveSSE3() noexcept { return TX86CpuInfo(0x1).ECX & 1u; } -bool NX86::HavePCLMUL() noexcept { - return (TX86CpuInfo(0x1).ECX >> 1) & 1u; -} - +bool NX86::HavePCLMUL() noexcept { + return (TX86CpuInfo(0x1).ECX >> 1) & 1u; +} + bool NX86::HaveSSSE3() noexcept { return (TX86CpuInfo(0x1).ECX >> 9) & 1u; } @@ -259,5 +259,5 @@ const char* CpuBrand(ui32* store) noexcept { bool NX86::CachedHave##X() noexcept { \ return SingletonWithPriority<TFlagsCache, 0>()->Have##X##_; \ } -Y_CPU_ID_ENUMERATE_OUTLINED_CACHED_DEFINE(Y_DEF_NAME) +Y_CPU_ID_ENUMERATE_OUTLINED_CACHED_DEFINE(Y_DEF_NAME) #undef Y_DEF_NAME |