diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-06-16 22:22:10 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-06-16 22:23:00 +0400 |
commit | 2f527a88b66845a50f686ce255a02d5e04ef3937 (patch) | |
tree | 0254dfac76613f984310ae22e640ee11ef54e397 /intern | |
parent | f9b7617104a74d9b1a267a775627cdad60e0e333 (diff) |
Cycles: Fix compilation error on 32bit platforms
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/util/util_simd.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/cycles/util/util_simd.cpp b/intern/cycles/util/util_simd.cpp index 8bc1c5d16d8..8f5e78d9fbd 100644 --- a/intern/cycles/util/util_simd.cpp +++ b/intern/cycles/util/util_simd.cpp @@ -15,6 +15,9 @@ * limitations under the License */ +/* SSE optimization disabled for now on 32 bit, see bug #36316 */ +#if !(defined(__GNUC__) && (defined(i386) || defined(_M_IX86))) + #include "util_simd.h" CCL_NAMESPACE_BEGIN @@ -44,3 +47,4 @@ const __m128 _mm_lookupmask_ps[16] = { CCL_NAMESPACE_END +#endif |