summaryrefslogtreecommitdiff
path: root/src/common/x64/cpu_detect.h
diff options
context:
space:
mode:
authorGravatar Morph2023-06-28 01:07:10 -0400
committerGravatar Morph2023-06-28 01:36:06 -0400
commit4303ed614d0d758d9e9bcdef8afee3274769d2fb (patch)
treeb4652d7ce7635a1b7080fc57abd42c9d81f8f2e3 /src/common/x64/cpu_detect.h
parentMerge pull request #10933 from merryhime/dunno (diff)
downloadyuzu-4303ed614d0d758d9e9bcdef8afee3274769d2fb.tar.gz
yuzu-4303ed614d0d758d9e9bcdef8afee3274769d2fb.tar.xz
yuzu-4303ed614d0d758d9e9bcdef8afee3274769d2fb.zip
x64: Add detection of monitorx instructions
monitorx introduces 2 instructions: MONITORX and MWAITX.
Diffstat (limited to 'src/common/x64/cpu_detect.h')
-rw-r--r--src/common/x64/cpu_detect.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/x64/cpu_detect.h b/src/common/x64/cpu_detect.h
index 8253944d6..756459417 100644
--- a/src/common/x64/cpu_detect.h
+++ b/src/common/x64/cpu_detect.h
@@ -63,6 +63,7 @@ struct CPUCaps {
63 bool gfni : 1; 63 bool gfni : 1;
64 bool invariant_tsc : 1; 64 bool invariant_tsc : 1;
65 bool lzcnt : 1; 65 bool lzcnt : 1;
66 bool monitorx : 1;
66 bool movbe : 1; 67 bool movbe : 1;
67 bool pclmulqdq : 1; 68 bool pclmulqdq : 1;
68 bool popcnt : 1; 69 bool popcnt : 1;