[babl] babl: adjust default BABL_TOLERANCE
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [babl] babl: adjust default BABL_TOLERANCE
- Date: Fri, 8 Nov 2019 12:58:13 +0000 (UTC)
commit e41da81b67128a8d29d8fd106e5b1ac53da16ecb
Author: Øyvind Kolås <pippin gimp org>
Date: Fri Nov 8 13:54:15 2019 +0100
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.
babl/babl-fish-path.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/babl/babl-fish-path.c b/babl/babl-fish-path.c
index c8911d192..8d86e627e 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]