summaryrefslogtreecommitdiffstats
path: root/src/common/x64/cpu_detect.h
diff options
context:
space:
mode:
authorJames Rowe <jroweboy@gmail.com>2020-01-18 02:41:18 +0100
committerJames Rowe <jroweboy@gmail.com>2020-01-18 02:41:18 +0100
commit4512a6bbfcf360fc826b5cc9188a224bbedc5d62 (patch)
tree9f24bd665a4c91f98a1058a21f0831e9a6f0025a /src/common/x64/cpu_detect.h
parentMerge pull request #3316 from TotalCaesar659/linux-headbar-icon (diff)
downloadyuzu-4512a6bbfcf360fc826b5cc9188a224bbedc5d62.tar
yuzu-4512a6bbfcf360fc826b5cc9188a224bbedc5d62.tar.gz
yuzu-4512a6bbfcf360fc826b5cc9188a224bbedc5d62.tar.bz2
yuzu-4512a6bbfcf360fc826b5cc9188a224bbedc5d62.tar.lz
yuzu-4512a6bbfcf360fc826b5cc9188a224bbedc5d62.tar.xz
yuzu-4512a6bbfcf360fc826b5cc9188a224bbedc5d62.tar.zst
yuzu-4512a6bbfcf360fc826b5cc9188a224bbedc5d62.zip
Diffstat (limited to '')
-rw-r--r--src/common/x64/cpu_detect.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/common/x64/cpu_detect.h b/src/common/x64/cpu_detect.h
index 0af3a8adb..20f2ba234 100644
--- a/src/common/x64/cpu_detect.h
+++ b/src/common/x64/cpu_detect.h
@@ -4,23 +4,12 @@
#pragma once
-#include <string>
-
namespace Common {
-/// x86/x64 CPU vendors that may be detected by this module
-enum class CPUVendor {
- INTEL,
- AMD,
- OTHER,
-};
-
/// x86/x64 CPU capabilities that may be detected by this module
struct CPUCaps {
- CPUVendor vendor;
char cpu_string[0x21];
char brand_string[0x41];
- int num_cores;
bool sse;
bool sse2;
bool sse3;
@@ -35,20 +24,6 @@ struct CPUCaps {
bool fma;
bool fma4;
bool aes;
-
- // Support for the FXSAVE and FXRSTOR instructions
- bool fxsave_fxrstor;
-
- bool movbe;
-
- // This flag indicates that the hardware supports some mode in which denormal inputs and outputs
- // are automatically set to (signed) zero.
- bool flush_to_zero;
-
- // Support for LAHF and SAHF instructions in 64-bit mode
- bool lahf_sahf_64;
-
- bool long_mode;
};
/**
@@ -57,10 +32,4 @@ struct CPUCaps {
*/
const CPUCaps& GetCPUCaps();
-/**
- * Gets a string summary of the name and supported capabilities of the host CPU
- * @return String summary
- */
-std::string GetCPUCapsString();
-
} // namespace Common