Be a little more careful about the use of SSE.

We really need to adopt the GCC model of one instruction set
per compilation unit.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6965 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang
2011-01-29 11:40:20 +00:00
parent d5e5730fef
commit 1287a9bb9f
5 changed files with 21 additions and 26 deletions

View File

@ -149,11 +149,13 @@ private:
// wxWidgets does not have a true dummy macro for this.
#define _trans(a) a
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3) || defined __APPLE__
#if defined __APPLE__ && defined __i386__
#define _M_SSE 0x300
#elif defined __APPLE__ && defined __x86_64__
#define _M_SSE 0x301
#endif
#if _MSC_VER >= 1500 // Visual Studio 2008
#elif __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)
#define _M_SSE 0x301
#elif _MSC_VER >= 1500 // Visual Studio 2008
#define _M_SSE 0x401
#endif