Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2014-01-15 18:11:50 +0400
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2014-01-15 18:11:50 +0400
commit8af782ad22c42654d23ca6379f105af8d98956cc (patch)
tree0675da25547f48d984e3c522b7fb380d43f2ea15 /intern/cycles/kernel/kernel_sse3.cpp
parentebbb6adf32b91660aab13cf4f5061ae916af0a30 (diff)
Code cleanup: some reshuffling of SIMD defines moving more code to util_optimization.h.
Diffstat (limited to 'intern/cycles/kernel/kernel_sse3.cpp')
-rw-r--r--intern/cycles/kernel/kernel_sse3.cpp8
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"