From 15f5da4cd4bb2eed8e8c33e914d1c1c40e2af2c2 Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Wed, 26 Jun 2013 22:12:23 +0000 Subject: Cycles / SSE2: * kernel_sse2 was built without actual SSE2 intrinsics on x86 systems. --- intern/cycles/kernel/kernel_sse2.cpp | 2 ++ intern/cycles/util/util_types.h | 1 + 2 files changed, 3 insertions(+) diff --git a/intern/cycles/kernel/kernel_sse2.cpp b/intern/cycles/kernel/kernel_sse2.cpp index b58e41f954f..cfadb02b93b 100644 --- a/intern/cycles/kernel/kernel_sse2.cpp +++ b/intern/cycles/kernel/kernel_sse2.cpp @@ -22,6 +22,8 @@ #ifdef WITH_OPTIMIZED_KERNEL +#define __KERNEL_SSE2__ + #include "kernel.h" #include "kernel_compat_cpu.h" #include "kernel_math.h" diff --git a/intern/cycles/util/util_types.h b/intern/cycles/util/util_types.h index 891fb82d06b..868502bc0ac 100644 --- a/intern/cycles/util/util_types.h +++ b/intern/cycles/util/util_types.h @@ -108,6 +108,7 @@ #endif #endif +/* SSE2 is available on x64 and SSE3 CPUs, so enable here as well */ #ifndef __KERNEL_SSE2__ #define __KERNEL_SSE2__ #endif -- cgit v1.2.3