From: Øyvind Kolås Date: Fri, 8 Nov 2019 12:54:15 +0000 (+0100) Subject: babl: adjust default BABL_TOLERANCE X-Git-Tag: archive/raspbian/1%0.1.106-3+rpi1^2~15^2~10^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e41da81b67128a8d29d8fd106e5b1ac53da16ecb;p=babl.git babl: adjust default BABL_TOLERANCE This as a start of fixing issue #49, lower precision code gets generated on AMD EPYC, due to use of rcpps to get a reciprocal - which has lower precision on AMD EPYC. The conversions with AMD EPYC gets included with a small margin - so we should not be shedding many other fast conversions due to this. --- diff --git a/babl/babl-fish-path.c b/babl/babl-fish-path.c index c8911d1..8d86e62 100644 --- a/babl/babl-fish-path.c +++ b/babl/babl-fish-path.c @@ -21,7 +21,7 @@ #include "babl-internal.h" #include "babl-ref-pixels.h" -#define BABL_TOLERANCE 0.0000047 +#define BABL_TOLERANCE 0.0000041 #define BABL_MAX_COST_VALUE 2000000 #define BABL_HARD_MAX_PATH_LENGTH 8 #define BABL_MAX_NAME_LEN 1024