diff options
-rw-r--r-- | intern/cycles/bvh/bvh_embree.cpp | 5 | ||||
-rw-r--r-- | intern/cycles/util/util_defines.h | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/intern/cycles/bvh/bvh_embree.cpp b/intern/cycles/bvh/bvh_embree.cpp index c082478e5b1..07d5d672dce 100644 --- a/intern/cycles/bvh/bvh_embree.cpp +++ b/intern/cycles/bvh/bvh_embree.cpp @@ -31,8 +31,6 @@ #ifdef WITH_EMBREE # include <embree3/rtcore_geometry.h> -# include <pmmintrin.h> -# include <xmmintrin.h> # include "bvh/bvh_embree.h" @@ -306,8 +304,7 @@ BVHEmbree::BVHEmbree(const BVHParams ¶ms_, rtc_device(NULL), build_quality(RTC_BUILD_QUALITY_REFIT) { - _MM_SET_FLUSH_ZERO_MODE(_MM_FLUSH_ZERO_ON); - _MM_SET_DENORMALS_ZERO_MODE(_MM_DENORMALS_ZERO_ON); + SIMD_SET_FLUSH_TO_ZERO; } BVHEmbree::~BVHEmbree() diff --git a/intern/cycles/util/util_defines.h b/intern/cycles/util/util_defines.h index e8e414587fb..0a239a944a5 100644 --- a/intern/cycles/util/util_defines.h +++ b/intern/cycles/util/util_defines.h @@ -26,7 +26,7 @@ /* Bitness */ #if defined(__ppc64__) || defined(__PPC64__) || defined(__x86_64__) || defined(__ia64__) || \ - defined(_M_X64) + defined(_M_X64) || defined(__aarch64__) # define __KERNEL_64_BIT__ #endif |