summaryrefslogtreecommitdiffstats
path: root/src/common/x64/cpu_detect.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-06-29 16:01:26 +0200
committerGitHub <noreply@github.com>2023-06-29 16:01:26 +0200
commit5e70db0d433054e18ab7432cafd2a87d68573642 (patch)
tree3ea86827d33b20a4083964feca7d7b532685efb9 /src/common/x64/cpu_detect.cpp
parentMerge pull request #10937 from german77/ring (diff)
parentx64: cpu_wait: Implement MWAITX for non-MSVC compilers (diff)
downloadyuzu-5e70db0d433054e18ab7432cafd2a87d68573642.tar
yuzu-5e70db0d433054e18ab7432cafd2a87d68573642.tar.gz
yuzu-5e70db0d433054e18ab7432cafd2a87d68573642.tar.bz2
yuzu-5e70db0d433054e18ab7432cafd2a87d68573642.tar.lz
yuzu-5e70db0d433054e18ab7432cafd2a87d68573642.tar.xz
yuzu-5e70db0d433054e18ab7432cafd2a87d68573642.tar.zst
yuzu-5e70db0d433054e18ab7432cafd2a87d68573642.zip
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 c998b1197..780120a5b 100644
--- a/src/common/x64/cpu_detect.cpp
+++ b/src/common/x64/cpu_detect.cpp
@@ -168,6 +168,7 @@ static CPUCaps Detect() {
__cpuid(cpu_id, 0x80000001);
caps.lzcnt = Common::Bit<5>(cpu_id[2]);
caps.fma4 = Common::Bit<16>(cpu_id[2]);
+ caps.monitorx = Common::Bit<29>(cpu_id[2]);
}
if (max_ex_fn >= 0x80000007) {