light: disable "denormals are zero", causing build issues on gcc4.8/linux

This commit is contained in:
Eric Wasylishen 2016-09-23 00:43:18 -06:00
parent 882fbaa5e0
commit ec37b52807
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@
#ifdef HAVE_EMBREE
#include <xmmintrin.h>
#include <pmmintrin.h>
//#include <pmmintrin.h>
#endif
#include <memory>
@ -220,7 +220,7 @@ LightThread(void *arg)
#ifdef HAVE_EMBREE
_MM_SET_FLUSH_ZERO_MODE(_MM_FLUSH_ZERO_ON);
_MM_SET_DENORMALS_ZERO_MODE(_MM_DENORMALS_ZERO_ON);
// _MM_SET_DENORMALS_ZERO_MODE(_MM_DENORMALS_ZERO_ON);
#endif
while (1) {