|
|
@ -63,6 +63,25 @@
|
|
|
|
#define EMU_ARCHITECTURE_X86
|
|
|
|
#define EMU_ARCHITECTURE_X86
|
|
|
|
#endif
|
|
|
|
#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
|
|
|
|
// Compiler-Specific Definitions
|
|
|
|
|
|
|
|
|
|
|
|