diff --git a/src/PowderToySDL.cpp b/src/PowderToySDL.cpp index f9f6b8ce7..3215ea4b5 100644 --- a/src/PowderToySDL.cpp +++ b/src/PowderToySDL.cpp @@ -8,8 +8,14 @@ #include #endif #include "SDLCompat.h" + +#ifdef X86_SSE #include +#endif +#ifdef X86_SSE3 #include +#endif + #include #include #include @@ -1084,8 +1090,13 @@ int main(int argc, char * argv[]) signal(SIGABRT, SigHandler); #endif +#ifdef X86_SSE _MM_SET_FLUSH_ZERO_MODE(_MM_FLUSH_ZERO_ON); +#endif +#ifdef X86_SSE3 _MM_SET_DENORMALS_ZERO_MODE(_MM_DENORMALS_ZERO_ON); +#error test +#endif GameController * gameController = NULL; #if !defined(DEBUG) && !defined(_DEBUG)