diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-03-28 15:09:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-28 15:09:35 +0200 |
commit | 40efd2ab56c2296da4524085a133021f7731e67f (patch) | |
tree | a43b51a4056ad7664346a63f145c889da1f59d16 /src/common/x64/cpu_detect.cpp | |
parent | Merge pull request #10002 from german77/log (diff) | |
parent | telemetry: Add waitpkg instruction (diff) | |
download | yuzu-40efd2ab56c2296da4524085a133021f7731e67f.tar yuzu-40efd2ab56c2296da4524085a133021f7731e67f.tar.gz yuzu-40efd2ab56c2296da4524085a133021f7731e67f.tar.bz2 yuzu-40efd2ab56c2296da4524085a133021f7731e67f.tar.lz yuzu-40efd2ab56c2296da4524085a133021f7731e67f.tar.xz yuzu-40efd2ab56c2296da4524085a133021f7731e67f.tar.zst yuzu-40efd2ab56c2296da4524085a133021f7731e67f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/common/x64/cpu_detect.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/x64/cpu_detect.cpp b/src/common/x64/cpu_detect.cpp index e54383a4a..72ed6e96c 100644 --- a/src/common/x64/cpu_detect.cpp +++ b/src/common/x64/cpu_detect.cpp @@ -144,6 +144,7 @@ static CPUCaps Detect() { caps.bmi2 = Common::Bit<8>(cpu_id[1]); caps.sha = Common::Bit<29>(cpu_id[1]); + caps.waitpkg = Common::Bit<5>(cpu_id[2]); caps.gfni = Common::Bit<8>(cpu_id[2]); __cpuidex(cpu_id, 0x00000007, 0x00000001); |