summaryrefslogtreecommitdiff
path: root/libre/blender/arm-no-sse2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/blender/arm-no-sse2.patch')
-rw-r--r--libre/blender/arm-no-sse2.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/libre/blender/arm-no-sse2.patch b/libre/blender/arm-no-sse2.patch
new file mode 100644
index 000000000..80a1267c4
--- /dev/null
+++ b/libre/blender/arm-no-sse2.patch
@@ -0,0 +1,15 @@
+diff --git a/intern/cycles/device/device_cpu.cpp b/intern/cycles/device/device_cpu.cpp
+index 16908b0244a..96aeeaa8081 100644
+--- a/intern/cycles/device/device_cpu.cpp
++++ b/intern/cycles/device/device_cpu.cpp
+@@ -719,8 +719,8 @@ public:
+ int start_sample = tile.start_sample;
+ int end_sample = tile.start_sample + tile.num_samples;
+
+- _MM_SET_FLUSH_ZERO_MODE(_MM_FLUSH_ZERO_ON);
+- _MM_SET_DENORMALS_ZERO_MODE(_MM_DENORMALS_ZERO_ON);
++// n/a to arm _MM_SET_FLUSH_ZERO_MODE(_MM_FLUSH_ZERO_ON);
++// n/a to arm _MM_SET_DENORMALS_ZERO_MODE(_MM_DENORMALS_ZERO_ON);
+
+ for(int sample = start_sample; sample < end_sample; sample++) {
+ if(task.get_cancel() || task_pool.canceled()) {