aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/cpu_id.cpp
diff options
context:
space:
mode:
authoreeight <eeight@yandex-team.ru>2022-02-10 16:46:19 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:19 +0300
commitbd085aee9b4f7a0bee302ce687964ffb7098f986 (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/system/cpu_id.cpp
parent475c0a46f28166e83fd263badc7546377cddcabe (diff)
downloadydb-bd085aee9b4f7a0bee302ce687964ffb7098f986.tar.gz
Restoring authorship annotation for <eeight@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/cpu_id.cpp')
-rw-r--r--util/system/cpu_id.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/system/cpu_id.cpp b/util/system/cpu_id.cpp
index 67eabee3be..598c71f4d9 100644
--- a/util/system/cpu_id.cpp
+++ b/util/system/cpu_id.cpp
@@ -162,10 +162,10 @@ bool NX86::HaveBMI1() noexcept {
return (TX86CpuInfo(0x7, 0).EBX >> 3) & 1u;
}
-bool NX86::HaveBMI2() noexcept {
- return (TX86CpuInfo(0x7, 0).EBX >> 8) & 1u;
-}
-
+bool NX86::HaveBMI2() noexcept {
+ return (TX86CpuInfo(0x7, 0).EBX >> 8) & 1u;
+}
+
bool NX86::HaveAVX512F() noexcept {
#if defined(_x86_)
// https://software.intel.com/en-us/articles/how-to-detect-knl-instruction-support