[babl] extensions: reduce amount of competing conversions



commit f1c8e1b9840d9e500a9d3a721a143106996f843c
Author: Øyvind Kolås <pippin gimp org>
Date:   Sun Jan 23 02:18:46 2022 +0100

    extensions: reduce amount of competing conversions
    
    Avoid loading extensions if a variant with better SIMD support
    is expected to exist. We know all variants that are expectd to
    exist and thus can register only the fastest known variant.
    
    This avoids combinatorial explosion of conversions to test.

 extensions/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/extensions/meson.build b/extensions/meson.build
index fe7dcc020..be83612db 100644
--- a/extensions/meson.build
+++ b/extensions/meson.build
@@ -72,7 +72,7 @@ foreach ext : extensions
   shared_library(
     ext[0],
     ext[0] + '.c',
-    c_args: ext[1],
+    c_args: [ext[1], '-DBABL_SIMDFREE' ],
     include_directories: babl_ext_inc,
     link_with: babl,
     link_args: babl_ext_link_args,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]