ports/graphics/darktable/files/patch-src_iop_channelmixerrgb.c
Jean-Sébastien Pédron 20f4b68993
graphics/darktable: Update to 4.8.1
Release notes:
* https://github.com/darktable-org/darktable/releases/tag/release-4.8.0
* https://github.com/darktable-org/darktable/releases/tag/release-4.8.1

PR:		277742, 280065, 280450
Reported by:	Andrew <andrew_terekhov@yahoo.com>
2024-07-29 11:17:44 +02:00

27 lines
1.3 KiB
C

--- src/iop/channelmixerrgb.c.orig 2024-07-27 09:15:05 UTC
+++ src/iop/channelmixerrgb.c
@@ -16,23 +16,6 @@
along with darktable. If not, see <http://www.gnu.org/licenses/>.
*/
-/** Note :
- * we use finite-math-only and fast-math because divisions by zero are manually avoided in the code
- * fp-contract=fast enables hardware-accelerated Fused Multiply-Add
- * the rest is loop reorganization and vectorization optimization
- **/
-#if defined(__GNUC__)
-#pragma GCC optimize ("unroll-loops", "tree-loop-if-convert", \
- "tree-loop-distribution", "no-strict-aliasing", \
- "loop-interchange", "loop-nest-optimize", "tree-loop-im", \
- "unswitch-loops", "tree-loop-ivcanon", "ira-loop-pressure", \
- "split-ivs-in-unroller", "variable-expansion-in-unroller", \
- "split-loops", "ivopts", "predictive-commoning",\
- "tree-loop-linear", "loop-block", "loop-strip-mine", \
- "finite-math-only", "fp-contract=fast", "fast-math", \
- "tree-vectorize", "no-math-errno")
-#endif
-
// #define AI_ACTIVATED
/* AI feature not good enough so disabled for now
If enabled there must be $DESCRIPTION: entries in illuminants.h for bauhaus