summaryrefslogtreecommitdiff
path: root/community/embree/embree-3.2.0-intrinsic.patch
blob: afb49357b33047f45fe7c4d0509e9d9edc2fc886 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -rauN embree-3.2.0/common/simd/vint4_sse2.h embree-3.2.0-intrinsic-patch/common/simd/vint4_sse2.h
--- embree-3.2.0/common/simd/vint4_sse2.h	2018-05-15 08:02:58.000000000 +0200
+++ embree-3.2.0-intrinsic-patch/common/simd/vint4_sse2.h	2018-06-20 20:44:57.322042285 +0200
@@ -455,7 +455,7 @@
   __forceinline int toScalar(const vint4& v) { return _mm_cvtsi128_si32(v); }
 
   __forceinline size_t toSizeT(const vint4& v) { 
-#if defined(__WIN32__) && !defined(__X86_64__) // win32 workaround
+#if !defined(__X86_64__) // win32 workaround
     return toScalar(v);
 #else
     return _mm_cvtsi128_si64(v);