aboutsummaryrefslogtreecommitdiff
path: root/graphics/darktable/files/patch-src_common_extra__optimizations.h
blob: 8bacc37406e095c430d822025d4b90a0d262bd26 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- src/common/extra_optimizations.h.orig	2022-12-14 15:18:18 UTC
+++ src/common/extra_optimizations.h
@@ -17,19 +17,3 @@
 */
 
 #pragma once
-
-/* Enable extra optimizations on GCC by including this header at the very
- * beginning of your *.c file (before any other includes). This applies
- * these optimizations for all of the source file.
- *
- * we use finite-math-only because divisions by zero are manually avoided
- * in the code, the rest is loop reorganization and vectorization optimization
- **/
-
-#if defined(__GNUC__)
-#pragma GCC optimize ("unroll-loops", "split-loops", \
-                      "loop-nest-optimize", "tree-loop-im", \
-                      "tree-loop-ivcanon", "ira-loop-pressure", \
-                      "variable-expansion-in-unroller", \
-                      "ivopts", "finite-math-only")
-#endif