summaryrefslogtreecommitdiff
path: root/community/blender
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-07-05 17:44:26 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-07-05 17:44:26 +0200
commite80f4a12a5e313bbc484bc3958c90214749495ec (patch)
tree6c648b2c84f3c9f5de1cb8ce12df5008f31ac554 /community/blender
parent6889c282b79670062e758667a8272e68154b9676 (diff)
downloadpackages-e80f4a12a5e313bbc484bc3958c90214749495ec.tar.xz
community/blender: redone sse2 for i686
Diffstat (limited to 'community/blender')
-rw-r--r--community/blender/PKGBUILD2
-rw-r--r--community/blender/no-sse2.patch9
2 files changed, 5 insertions, 6 deletions
diff --git a/community/blender/PKGBUILD b/community/blender/PKGBUILD
index 39e79cff..47de888e 100644
--- a/community/blender/PKGBUILD
+++ b/community/blender/PKGBUILD
@@ -12,7 +12,7 @@ eval "$(
'
)"
source_i686+=('no-sse2.patch')
-sha512sums_i686+=('fce9d99e71900a6953287ba9e29ca56b54015e02bdd273da4fd86fd2556499c18b54cb0d835db47ee96f6fdd578a9cd6286b1b82b92c9db5582ce57c277590ab')
+sha512sums_i686+=('c811828bf178a69315498f1f7a04da26c7be11c05b2f8b505148aac4ee2bb4f29b683144cf6b99fab140ef3bdb6687350396cdea08de7fc5e61a22222e9be6e9')
if [ "${CARCH}" = 'i686' ]; then
eval "$(
declare -f prepare \
diff --git a/community/blender/no-sse2.patch b/community/blender/no-sse2.patch
index 082a566c..88620e02 100644
--- a/community/blender/no-sse2.patch
+++ b/community/blender/no-sse2.patch
@@ -1,13 +1,12 @@
diff -rauN blender-vanilla/intern/cycles/bvh/bvh_embree.cpp blender-no-sse2-patch/intern/cycles/bvh/bvh_embree.cpp
---- blender-vanilla/intern/cycles/bvh/bvh_embree.cpp 2021-04-30 11:51:03.234550251 +0200
-+++ blender-no-sse2-patch/intern/cycles/bvh/bvh_embree.cpp 2021-04-30 11:52:15.691582206 +0200
-@@ -306,8 +306,10 @@
+--- blender-vanilla/intern/cycles/bvh/bvh_embree.cpp 2021-07-05 17:31:59.689914965 +0200
++++ blender-no-sse2-patch/intern/cycles/bvh/bvh_embree.cpp 2021-07-05 17:33:10.596795518 +0200
+@@ -304,7 +304,9 @@
rtc_device(NULL),
build_quality(RTC_BUILD_QUALITY_REFIT)
{
+#if defined(__x86_64__) || defined(_M_X64)
- _MM_SET_FLUSH_ZERO_MODE(_MM_FLUSH_ZERO_ON);
- _MM_SET_DENORMALS_ZERO_MODE(_MM_DENORMALS_ZERO_ON);
+ SIMD_SET_FLUSH_TO_ZERO;
+#endif
}