[Bf-blender-cvs] [2f527a8] master: Cycles: Fix compilation error on 32bit platforms

Sergey Sharybin noreply at git.blender.org
Mon Jun 16 20:24:08 CEST 2014


Commit: 2f527a88b66845a50f686ce255a02d5e04ef3937
Author: Sergey Sharybin
Date:   Tue Jun 17 00:22:10 2014 +0600
https://developer.blender.org/rB2f527a88b66845a50f686ce255a02d5e04ef3937

Cycles: Fix compilation error on 32bit platforms

===================================================================

M	intern/cycles/util/util_simd.cpp

===================================================================

diff --git a/intern/cycles/util/util_simd.cpp b/intern/cycles/util/util_simd.cpp
index 8bc1c5d..8f5e78d 100644
--- a/intern/cycles/util/util_simd.cpp
+++ b/intern/cycles/util/util_simd.cpp
@@ -15,6 +15,9 @@
  * limitations under the License
  */
 
+/* SSE optimization disabled for now on 32 bit, see bug #36316 */
+#if !(defined(__GNUC__) && (defined(i386) || defined(_M_IX86)))
+
 #include "util_simd.h"
 
 CCL_NAMESPACE_BEGIN
@@ -44,3 +47,4 @@ const __m128 _mm_lookupmask_ps[16] = {
 
 CCL_NAMESPACE_END
 
+#endif




More information about the Bf-blender-cvs mailing list