mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-03-22 15:19:52 +01:00
put #ifdef around denormal functions, they only exist when using SSE/SSE3
This commit is contained in:
parent
ca792f12b5
commit
b01e7a6a36
@ -8,8 +8,14 @@
|
||||
#include <direct.h>
|
||||
#endif
|
||||
#include "SDLCompat.h"
|
||||
|
||||
#ifdef X86_SSE
|
||||
#include <xmmintrin.h>
|
||||
#endif
|
||||
#ifdef X86_SSE3
|
||||
#include <pmmintrin.h>
|
||||
#endif
|
||||
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user