[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60550] trunk/blender/intern/cycles/util/ util_system.cpp: Attempt to fix #36935: disable SSE optimizations on 32 bit windows too.

Brecht Van Lommel brechtvanlommel at pandora.be
Fri Oct 4 16:47:37 CEST 2013


Revision: 60550
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60550
Author:   blendix
Date:     2013-10-04 14:47:37 +0000 (Fri, 04 Oct 2013)
Log Message:
-----------
Attempt to fix #36935: disable SSE optimizations on 32 bit windows too. Something
strange is going on here, but I don't think it can be fixed before the release,
if it is worth at all spending time on this.

Modified Paths:
--------------
    trunk/blender/intern/cycles/util/util_system.cpp

Modified: trunk/blender/intern/cycles/util/util_system.cpp
===================================================================
--- trunk/blender/intern/cycles/util/util_system.cpp	2013-10-04 14:28:32 UTC (rev 60549)
+++ trunk/blender/intern/cycles/util/util_system.cpp	2013-10-04 14:47:37 UTC (rev 60550)
@@ -116,8 +116,8 @@
 	return (sizeof(void*)*8);
 }
 
-/* SSE optimization disabled for now on 32 bit GCC, see bug #36316 */
-#if defined(__x86_64__) || defined(_M_X64) || ((defined(i386) || defined(_M_IX86)) && !defined(__GNUC__))
+/* SSE optimization disabled for now on 32 bit, see bug #36316 and #36935 */
+#if defined(__x86_64__) || defined(_M_X64) // ((defined(i386) || defined(_M_IX86))
 
 struct CPUCapabilities {
 	bool x64;




More information about the Bf-blender-cvs mailing list