From 6737a040614180f8ac27221e29bb35a09485fedf Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 4 Oct 2013 14:47:37 +0000 Subject: 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. --- intern/cycles/util/util_system.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'intern/cycles/util/util_system.cpp') diff --git a/intern/cycles/util/util_system.cpp b/intern/cycles/util/util_system.cpp index 40ec93b6124..2bb15b9074a 100644 --- a/intern/cycles/util/util_system.cpp +++ b/intern/cycles/util/util_system.cpp @@ -116,8 +116,8 @@ int system_cpu_bits() 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; -- cgit v1.2.3