Merge pull request #842 from cxd4/SSE-instead-of-inline-asm

[core] fixed undeclared SSE2 intrinsics on non-Win32
This commit is contained in:
zilmar 2015-12-22 12:52:12 +11:00
commit 341efe227d
1 changed files with 11 additions and 0 deletions

View File

@ -12,6 +12,17 @@
#include <Common/stdtypes.h>
/*
* The limits of COP1 extend to native SSE2 register capabilities, but for
* now this is only being included to dodge the MSVC inline asm for x86.
*
* As better cross-platform methods of handling FP precision are implemented
* for non-Intel-architecture builds, this #include may become obsolete.
*/
#if defined(__i386) || defined(__x86_64__) || defined(_M_X64)
#include <emmintrin.h>
#endif
enum PauseType
{
PauseType_FromMenu,