summaryrefslogtreecommitdiff
path: root/src/common/x64/cpu_detect.h
diff options
context:
space:
mode:
authorGravatar Morph2023-03-21 21:13:03 -0400
committerGravatar Morph2023-03-27 17:45:22 -0400
commitd2cfe25b07906f36c688ccacde30e3dc50123e8f (patch)
treee99fb164079a31fd1f619d0afedf8c7f07d9fc8a /src/common/x64/cpu_detect.h
parentMerge pull request #10002 from german77/log (diff)
downloadyuzu-d2cfe25b07906f36c688ccacde30e3dc50123e8f.tar.gz
yuzu-d2cfe25b07906f36c688ccacde30e3dc50123e8f.tar.xz
yuzu-d2cfe25b07906f36c688ccacde30e3dc50123e8f.zip
x64: cpu_detect: Add detection of waitpkg instructions
waitpkg introduces 3 instructions, UMONITOR, UMWAIT and TPAUSE.
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 ca8db19d6..8253944d6 100644
--- a/src/common/x64/cpu_detect.h
+++ b/src/common/x64/cpu_detect.h
@@ -67,6 +67,7 @@ struct CPUCaps {
67 bool pclmulqdq : 1; 67 bool pclmulqdq : 1;
68 bool popcnt : 1; 68 bool popcnt : 1;
69 bool sha : 1; 69 bool sha : 1;
70 bool waitpkg : 1;
70}; 71};
71 72
72/** 73/**