| diff -urN blender-2.78a.orig/intern/cycles/kernel/kernels/cpu/kernel_avx.cpp blender-2.78a/intern/cycles/kernel/kernels/cpu/kernel_avx.cpp |
| --- blender-2.78a.orig/intern/cycles/kernel/kernels/cpu/kernel_avx.cpp 2017-01-21 23:34:42.502290800 +0000 |
| +++ blender-2.78a/intern/cycles/kernel/kernels/cpu/kernel_avx.cpp 2017-01-21 23:35:05.135410900 +0000 |
| @@ -19,7 +19,7 @@ |
| * is compiled without for other CPU's. */ |
| |
| /* SSE optimization disabled for now on 32 bit, see bug T36316. */ |
| -# if !(defined(__GNUC__) && (defined(__i386__) || defined(_M_IX86))) |
| +# if !(defined(__GNUC__) && (defined(__i386__) || defined(_M_IX86))) || defined(WIN32) |
| # define __KERNEL_SSE__ |
| # define __KERNEL_SSE2__ |
| # define __KERNEL_SSE3__ |
| diff -urN blender-2.78a.orig/intern/cycles/kernel/kernels/cpu/kernel_avx2.cpp blender-2.78a/intern/cycles/kernel/kernels/cpu/kernel_avx2.cpp |
| --- blender-2.78a.orig/intern/cycles/kernel/kernels/cpu/kernel_avx2.cpp 2017-01-21 23:34:42.535294300 +0000 |
| +++ blender-2.78a/intern/cycles/kernel/kernels/cpu/kernel_avx2.cpp 2017-01-21 23:35:11.368213100 +0000 |
| @@ -19,7 +19,7 @@ |
| # define KERNEL_STUB |
| #else |
| /* SSE optimization disabled for now on 32 bit, see bug T36316. */ |
| -# if !(defined(__GNUC__) && (defined(__i386__) || defined(_M_IX86))) |
| +# if !(defined(__GNUC__) && (defined(__i386__) || defined(_M_IX86))) || defined(WIN32) |
| # define __KERNEL_SSE__ |
| # define __KERNEL_SSE2__ |
| # define __KERNEL_SSE3__ |
| diff -urN blender-2.78a.orig/intern/cycles/kernel/kernels/cpu/kernel_sse2.cpp blender-2.78a/intern/cycles/kernel/kernels/cpu/kernel_sse2.cpp |
| --- blender-2.78a.orig/intern/cycles/kernel/kernels/cpu/kernel_sse2.cpp 2017-01-21 23:34:42.509291800 +0000 |
| +++ blender-2.78a/intern/cycles/kernel/kernels/cpu/kernel_sse2.cpp 2017-01-21 23:35:16.535104100 +0000 |
| @@ -19,7 +19,7 @@ |
| # define KERNEL_STUB |
| #else |
| /* SSE optimization disabled for now on 32 bit, see bug T36316. */ |
| -# if !(defined(__GNUC__) && (defined(__i386__) || defined(_M_IX86))) |
| +# if !(defined(__GNUC__) && (defined(__i386__) || defined(_M_IX86))) || defined(WIN32) |
| # define __KERNEL_SSE2__ |
| # endif |
| #endif /* WITH_CYCLES_OPTIMIZED_KERNEL_SSE2 */ |
| diff -urN blender-2.78a.orig/intern/cycles/kernel/kernels/cpu/kernel_sse3.cpp blender-2.78a/intern/cycles/kernel/kernels/cpu/kernel_sse3.cpp |
| --- blender-2.78a.orig/intern/cycles/kernel/kernels/cpu/kernel_sse3.cpp 2017-01-21 23:34:42.521290800 +0000 |
| +++ blender-2.78a/intern/cycles/kernel/kernels/cpu/kernel_sse3.cpp 2017-01-21 23:35:21.888140600 +0000 |
| @@ -19,7 +19,7 @@ |
| # define KERNEL_STUB |
| #else |
| /* SSE optimization disabled for now on 32 bit, see bug T36316. */ |
| -# if !(defined(__GNUC__) && (defined(__i386__) || defined(_M_IX86))) |
| +# if !(defined(__GNUC__) && (defined(__i386__) || defined(_M_IX86))) || defined(WIN32) |
| # define __KERNEL_SSE2__ |
| # define __KERNEL_SSE3__ |
| # define __KERNEL_SSSE3__ |
| diff -urN blender-2.78a.orig/intern/cycles/kernel/kernels/cpu/kernel_sse41.cpp blender-2.78a/intern/cycles/kernel/kernels/cpu/kernel_sse41.cpp |
| --- blender-2.78a.orig/intern/cycles/kernel/kernels/cpu/kernel_sse41.cpp 2017-01-21 23:34:42.528291800 +0000 |
| +++ blender-2.78a/intern/cycles/kernel/kernels/cpu/kernel_sse41.cpp 2017-01-21 23:35:41.958064000 +0000 |
| @@ -19,7 +19,7 @@ |
| # define KERNEL_STUB |
| #else |
| /* SSE optimization disabled for now on 32 bit, see bug T36316. */ |
| -# if !(defined(__GNUC__) && (defined(__i386__) || defined(_M_IX86))) |
| +# if !(defined(__GNUC__) && (defined(__i386__) || defined(_M_IX86))) || defined(WIN32) |
| # define __KERNEL_SSE2__ |
| # define __KERNEL_SSE3__ |
| # define __KERNEL_SSSE3__ |