summaryrefslogtreecommitdiff
path: root/src/common/x64/cpu_detect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/x64/cpu_detect.cpp')
-rw-r--r--src/common/x64/cpu_detect.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/x64/cpu_detect.cpp b/src/common/x64/cpu_detect.cpp
index 65369bfbe..a95dc15a3 100644
--- a/src/common/x64/cpu_detect.cpp
+++ b/src/common/x64/cpu_detect.cpp
@@ -138,6 +138,7 @@ static CPUCaps Detect() {
138 if (max_ex_fn >= 0x80000001) { 138 if (max_ex_fn >= 0x80000001) {
139 // Check for more features 139 // Check for more features
140 __cpuid(cpu_id, 0x80000001); 140 __cpuid(cpu_id, 0x80000001);
141 caps.lzcnt = Common::Bit<5>(cpu_id[2]);
141 caps.fma4 = Common::Bit<16>(cpu_id[2]); 142 caps.fma4 = Common::Bit<16>(cpu_id[2]);
142 } 143 }
143 144