diff options
| author | 2015-06-20 20:13:06 +0100 | |
|---|---|---|
| committer | 2015-06-27 14:43:57 +0100 | |
| commit | 82718c4a41d141b524026af4d70af167965e5a1c (patch) | |
| tree | b54846e18b5f2b1ddfc206f86c9d3e73a47b1214 /src | |
| parent | Services: Use the standard _WIN32 define in soc:U instead of our own EMU_PLAT... (diff) | |
| download | yuzu-82718c4a41d141b524026af4d70af167965e5a1c.tar.gz yuzu-82718c4a41d141b524026af4d70af167965e5a1c.tar.xz yuzu-82718c4a41d141b524026af4d70af167965e5a1c.zip | |
Common: Remove unused SSE version checking and a GCC macro.
Diffstat (limited to '')
| -rw-r--r-- | src/common/platform.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/common/platform.h b/src/common/platform.h index df780ac6f..bda3e7be7 100644 --- a/src/common/platform.h +++ b/src/common/platform.h | |||
| @@ -62,28 +62,3 @@ | |||
| 62 | #elif defined(__i386) || defined(_M_IX86) || defined(__arm__) || defined(_M_ARM) | 62 | #elif defined(__i386) || defined(_M_IX86) || defined(__arm__) || defined(_M_ARM) |
| 63 | #define EMU_ARCH_BITS 32 | 63 | #define EMU_ARCH_BITS 32 |
| 64 | #endif | 64 | #endif |
| 65 | |||
| 66 | //////////////////////////////////////////////////////////////////////////////////////////////////// | ||
| 67 | // Feature detection | ||
| 68 | |||
| 69 | #if defined _M_GENERIC | ||
| 70 | # define _M_SSE 0x0 | ||
| 71 | #elif defined __GNUC__ | ||
| 72 | # if defined __SSE4_2__ | ||
| 73 | # define _M_SSE 0x402 | ||
| 74 | # elif defined __SSE4_1__ | ||
| 75 | # define _M_SSE 0x401 | ||
| 76 | # elif defined __SSSE3__ | ||
| 77 | # define _M_SSE 0x301 | ||
| 78 | # elif defined __SSE3__ | ||
| 79 | # define _M_SSE 0x300 | ||
| 80 | # endif | ||
| 81 | #elif (_MSC_VER >= 1500) || __INTEL_COMPILER // Visual Studio 2008 | ||
| 82 | # define _M_SSE 0x402 | ||
| 83 | #endif | ||
| 84 | |||
| 85 | //////////////////////////////////////////////////////////////////////////////////////////////////// | ||
| 86 | // Compiler-Specific Definitions | ||
| 87 | |||
| 88 | #define GCC_VERSION_AVAILABLE(major, minor) (defined(__GNUC__) && (__GNUC__ > (major) || \ | ||
| 89 | (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) | ||