summaryrefslogtreecommitdiff
path: root/src/common/common.h
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2015-05-06 23:18:04 -0300
committerGravatar Yuri Kunde Schlesner2015-05-07 15:45:20 -0300
commitae963d75f8ac37dd870054c20ff14f4e5418f661 (patch)
tree6209719ebaf0729292cdc97b4ac952dab1773b7b /src/common/common.h
parentCommon: Remove more unused compatibility defines (diff)
downloadyuzu-ae963d75f8ac37dd870054c20ff14f4e5418f661.tar.gz
yuzu-ae963d75f8ac37dd870054c20ff14f4e5418f661.tar.xz
yuzu-ae963d75f8ac37dd870054c20ff14f4e5418f661.zip
Common: Move SSE detection ifdefs to platform.h
Diffstat (limited to '')
-rw-r--r--src/common/common.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/common/common.h b/src/common/common.h
index 00d1d14f9..e8d32bc93 100644
--- a/src/common/common.h
+++ b/src/common/common.h
@@ -39,20 +39,4 @@
39 #define MEMORY_ALIGNED128(x) __attribute__((aligned(128))) x 39 #define MEMORY_ALIGNED128(x) __attribute__((aligned(128))) x
40#endif 40#endif
41 41
42#if defined _M_GENERIC
43# define _M_SSE 0x0
44#elif defined __GNUC__
45# if defined __SSE4_2__
46# define _M_SSE 0x402
47# elif defined __SSE4_1__
48# define _M_SSE 0x401
49# elif defined __SSSE3__
50# define _M_SSE 0x301
51# elif defined __SSE3__
52# define _M_SSE 0x300
53# endif
54#elif (_MSC_VER >= 1500) || __INTEL_COMPILER // Visual Studio 2008
55# define _M_SSE 0x402
56#endif
57
58#include "swap.h" 42#include "swap.h"