aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/common
diff options
context:
space:
mode:
authorGravatar Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-06-20 20:13:06 +0100
committerGravatar Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-06-27 14:43:57 +0100
commit82718c4a41d141b524026af4d70af167965e5a1c (patch)
treeb54846e18b5f2b1ddfc206f86c9d3e73a47b1214 /src/common
parentc34524743168af08812894ae635cd837fc77d403 (diff)
Common: Remove unused SSE version checking and a GCC macro.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/platform.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/common/platform.h b/src/common/platform.h
index df780ac6..bda3e7be 100644
--- a/src/common/platform.h
+++ b/src/common/platform.h
@@ -62,28 +62,3 @@
#elif defined(__i386) || defined(_M_IX86) || defined(__arm__) || defined(_M_ARM)
#define EMU_ARCH_BITS 32
#endif
-
-////////////////////////////////////////////////////////////////////////////////////////////////////
-// Feature detection
-
-#if defined _M_GENERIC
-# define _M_SSE 0x0
-#elif defined __GNUC__
-# if defined __SSE4_2__
-# define _M_SSE 0x402
-# elif defined __SSE4_1__
-# define _M_SSE 0x401
-# elif defined __SSSE3__
-# define _M_SSE 0x301
-# elif defined __SSE3__
-# define _M_SSE 0x300
-# endif
-#elif (_MSC_VER >= 1500) || __INTEL_COMPILER // Visual Studio 2008
-# define _M_SSE 0x402
-#endif
-
-////////////////////////////////////////////////////////////////////////////////////////////////////
-// Compiler-Specific Definitions
-
-#define GCC_VERSION_AVAILABLE(major, minor) (defined(__GNUC__) && (__GNUC__ > (major) || \
- (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor))))