light: disable "denormals are zero", causing build issues on gcc4.8/linux
This commit is contained in:
parent
882fbaa5e0
commit
ec37b52807
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue