diff options
author | Sv. Lockal <lockalsash@gmail.com> | 2015-05-10 22:32:32 +0300 |
---|---|---|
committer | Sv. Lockal <lockalsash@gmail.com> | 2015-05-10 22:32:32 +0300 |
commit | d55868c3b2004cba008e21f5607dc08076594451 (patch) | |
tree | 5d4d1b4cd3dea190b2de8ff0d8c1594b2e12381c /intern/cycles/util | |
parent | 3ec168465d31c90cc75b5ea70de492dbeb4ac992 (diff) |
Cycles: And yet another compilation fix after half-float commit for clang.
Suggested by Brecht, tested with gcc > 4.4 and Clang
Diffstat (limited to 'intern/cycles/util')
-rw-r--r-- | intern/cycles/util/util_optimization.h | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/intern/cycles/util/util_optimization.h b/intern/cycles/util/util_optimization.h index b230bb1a627..c951c35fc76 100644 --- a/intern/cycles/util/util_optimization.h +++ b/intern/cycles/util/util_optimization.h @@ -102,28 +102,7 @@ #ifdef _MSC_VER #include <intrin.h> #else - -#ifdef __KERNEL_SSE2__ -#include <xmmintrin.h> /* SSE 1 */ -#include <emmintrin.h> /* SSE 2 */ -#endif - -#ifdef __KERNEL_SSE3__ -#include <pmmintrin.h> /* SSE 3 */ -#endif - -#ifdef __KERNEL_SSSE3__ -#include <tmmintrin.h> /* SSSE 3 */ -#endif - -#ifdef __KERNEL_SSE41__ -#include <smmintrin.h> /* SSE 4.1 */ -#endif - -#ifdef __KERNEL_AVX__ -#include <immintrin.h> /* AVX */ -#endif - +#include <x86intrin.h> #endif #else |