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 | b49848d6e361b76904f094b7d5e10d6edea75afe (patch) | |
tree | 9814fbd1c3effac9b8377c5d604b367b14e2db55 /util/system/cpu_id.cpp | |
parent | bcd1126cbd5d445cd0665d295198aa39c6ab8cbe (diff) | |
download | ydb-b49848d6e361b76904f094b7d5e10d6edea75afe.tar.gz |
Restoring authorship annotation for <spreis@yandex-team.ru>. Commit 2 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 36ce089296..598c71f4d9 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 |