diff options
Diffstat (limited to 'intern/cycles/kernel/kernel_sse3.cpp')
-rw-r--r-- | intern/cycles/kernel/kernel_sse3.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/intern/cycles/kernel/kernel_sse3.cpp b/intern/cycles/kernel/kernel_sse3.cpp index e6760981eef..9d0abb93cc6 100644 --- a/intern/cycles/kernel/kernel_sse3.cpp +++ b/intern/cycles/kernel/kernel_sse3.cpp @@ -17,10 +17,6 @@ /* Optimized CPU kernel entry points. This file is compiled with SSE3/SSSE3 * optimization flags and nearly all functions inlined, while kernel.cpp * is compiled without for other CPU's. */ - -#include "util_optimization.h" - -#ifdef WITH_CYCLES_OPTIMIZED_KERNEL_SSE3 /* SSE optimization disabled for now on 32 bit, see bug #36316 */ #if !(defined(__GNUC__) && (defined(i386) || defined(_M_IX86))) @@ -29,6 +25,10 @@ #define __KERNEL_SSSE3__ #endif +#include "util_optimization.h" + +#ifdef WITH_CYCLES_OPTIMIZED_KERNEL_SSE3 + #include "kernel.h" #include "kernel_compat_cpu.h" #include "kernel_math.h" |