diff options
Diffstat (limited to 'intern/cycles/util/util_types.h')
-rw-r--r-- | intern/cycles/util/util_types.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/intern/cycles/util/util_types.h b/intern/cycles/util/util_types.h index bb6de1197e7..fe1cb61ffa9 100644 --- a/intern/cycles/util/util_types.h +++ b/intern/cycles/util/util_types.h @@ -70,6 +70,21 @@ #include <tmmintrin.h> /* SSE 3 */ #include <smmintrin.h> /* SSE 4 */ +#define __KERNEL_SSE2__ +#define __KERNEL_SSE3__ +#define __KERNEL_SSE4__ + +#else + +#ifdef __x86_64__ + +#include <xmmintrin.h> /* SSE 1 */ +#include <emmintrin.h> /* SSE 2 */ + +#define __KERNEL_SSE2__ + +#endif + #endif #ifndef _WIN32 |