forked from eden-emu/eden
Common: Move SSE detection ifdefs to platform.h
This commit is contained in:
parent
a594fdb66e
commit
ae963d75f8
3 changed files with 21 additions and 16 deletions
|
@ -39,20 +39,4 @@
|
|||
#define MEMORY_ALIGNED128(x) __attribute__((aligned(128))) x
|
||||
#endif
|
||||
|
||||
#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
|
||||
|
||||
#include "swap.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue