1
1
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2
2
From: Kleis Auke Wolthuizen <github@kleisauke.nl>
3
3
Date: Wed, 2 Jun 2021 14:07:04 +0200
4
- Subject: [PATCH 1/9 ] Remove LCMS mutex
4
+ Subject: [PATCH 1/11 ] Remove LCMS mutex
5
5
6
6
Upstream-Status: Accepted [https://github.com/libjxl/libjxl/commit/057cd06c19875bcf8b5d34d41d92a8abdb856b7c]
7
7
@@ -70,7 +70,7 @@ index 1111111..2222222 100644
70
70
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
71
71
From: Kleis Auke Wolthuizen <github@kleisauke.nl>
72
72
Date: Tue, 8 Jun 2021 12:40:01 +0200
73
- Subject: [PATCH 2/9 ] Allow to build with system-wide installed lcms
73
+ Subject: [PATCH 2/11 ] Allow to build with system-wide installed lcms
74
74
75
75
See: https://gitlab.com/wg1/jpeg-xl/-/issues/124
76
76
@@ -158,7 +158,7 @@ index 1111111..2222222 100644
158
158
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
159
159
From: Kleis Auke Wolthuizen <github@kleisauke.nl>
160
160
Date: Tue, 8 Jun 2021 13:14:53 +0200
161
- Subject: [PATCH 3/9 ] Allow to build without LodePNG
161
+ Subject: [PATCH 3/11 ] Allow to build without LodePNG
162
162
163
163
Since there's no official release available.
164
164
@@ -300,7 +300,7 @@ index 1111111..2222222 100644
300
300
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
301
301
From: Kleis Auke Wolthuizen <github@kleisauke.nl>
302
302
Date: Tue, 8 Jun 2021 13:30:49 +0200
303
- Subject: [PATCH 4/9 ] Ensure DLLs are installed in the bin directory
303
+ Subject: [PATCH 4/11 ] Ensure DLLs are installed in the bin directory
304
304
305
305
306
306
diff --git a/lib/jxl.cmake b/lib/jxl.cmake
@@ -339,7 +339,7 @@ index 1111111..2222222 100644
339
339
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
340
340
From: Kleis Auke Wolthuizen <github@kleisauke.nl>
341
341
Date: Wed, 9 Jun 2021 19:38:33 +0200
342
- Subject: [PATCH 5/9 ] tsc_timer.h: sync with nanobenchmark.cc from Highway (#797)
342
+ Subject: [PATCH 5/11 ] tsc_timer.h: sync with nanobenchmark.cc from Highway (#797)
343
343
344
344
This file was originally originated from nanobenchmark.cc on the
345
345
Highway project. Re-syncing this file ensures that the fixes from
@@ -493,7 +493,7 @@ index 1111111..2222222 100644
493
493
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
494
494
From: Kleis Auke Wolthuizen <github@kleisauke.nl>
495
495
Date: Sun, 10 Oct 2021 18:50:00 +0200
496
- Subject: [PATCH 6/9 ] --exclude-libs=ALL is only supported on ELF platforms
496
+ Subject: [PATCH 6/11 ] --exclude-libs=ALL is only supported on ELF platforms
497
497
498
498
This linker option is not available for COFF and Mach-O platforms.
499
499
@@ -519,7 +519,7 @@ index 1111111..2222222 100644
519
519
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
520
520
From: Jan Wassenberg <janwas@google.com>
521
521
Date: Fri, 12 Nov 2021 09:12:35 +0100
522
- Subject: [PATCH 7/9 ] Avoid deprecated Highway functions
522
+ Subject: [PATCH 7/11 ] Avoid deprecated Highway functions
523
523
524
524
Instead use the newer overloads with the extra d arg required to
525
525
support SVE/RISC-V.
@@ -867,7 +867,7 @@ index 1111111..2222222 100644
867
867
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
868
868
From: Jan Wassenberg <janwas@google.com>
869
869
Date: Thu, 6 Jan 2022 09:36:20 +0100
870
- Subject: [PATCH 8/9 ] Avoid deprecated Hwy functions - add d arg
870
+ Subject: [PATCH 8/11 ] Avoid deprecated Hwy functions - add d arg
871
871
872
872
Upstream-Status: Accepted [https://github.com/libjxl/libjxl/commit/0902f85ca6e9e305338baf7974192acab8c53ac5]
873
873
@@ -973,7 +973,7 @@ index 1111111..2222222 100644
973
973
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
974
974
From: Jan Wassenberg <janwas@google.com>
975
975
Date: Fri, 4 Feb 2022 11:37:43 +0100
976
- Subject: [PATCH 9/9 ] Rename deprecated StoreFence to FlushStream
976
+ Subject: [PATCH 9/11 ] Rename deprecated StoreFence to FlushStream
977
977
978
978
Upstream-Status: Accepted [https://github.com/libjxl/libjxl/commit/600b591538827247f1b2ad6ee6ae627a2173b7ec]
979
979
@@ -1017,3 +1017,54 @@ index 1111111..2222222 100644
1017
1017
#endif
1018
1018
1019
1019
#if defined(__MACH__)
1020
+
1021
+ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
1022
+ From: Jan Wassenberg <janwas@google.com>
1023
+ Date: Wed, 13 Apr 2022 11:04:32 +0200
1024
+ Subject: [PATCH 10/11] Prepare for EMU128 target: avoid x86-specific code
1025
+
1026
+ Upstream-Status: Accepted [https://github.com/libjxl/libjxl/commit/98d25826edc1d93284ba36928b96c0f13968e940]
1027
+
1028
+ diff --git a/lib/jxl/convolve-inl.h b/lib/jxl/convolve-inl.h
1029
+ index 1111111..2222222 100644
1030
+ --- a/lib/jxl/convolve-inl.h
1031
+ +++ b/lib/jxl/convolve-inl.h
1032
+ @@ -44,7 +44,7 @@ class Neighbors {
1033
+ return c; // Same (the first mirrored value is the last valid one)
1034
+ #else // 128 bit
1035
+ // c = LKJI
1036
+ - #if HWY_ARCH_X86
1037
+ + #if HWY_TARGET <= (1 << HWY_HIGHEST_TARGET_BIT_X86)
1038
+ return V{_mm_shuffle_ps(c.raw, c.raw, _MM_SHUFFLE(2, 1, 0, 0))}; // KJII
1039
+ #else
1040
+ const D d;
1041
+
1042
+ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
1043
+ From: Jan Wassenberg <janwas@google.com>
1044
+ Date: Fri, 22 Apr 2022 10:16:44 +0200
1045
+ Subject: [PATCH 11/11] Further fix of convolve-inl, missed some spots
1046
+
1047
+ Upstream-Status: Accepted [https://github.com/libjxl/libjxl/commit/1f849bd281453bfe6502a9aad58dffb3ac088e17]
1048
+
1049
+ diff --git a/lib/jxl/convolve-inl.h b/lib/jxl/convolve-inl.h
1050
+ index 1111111..2222222 100644
1051
+ --- a/lib/jxl/convolve-inl.h
1052
+ +++ b/lib/jxl/convolve-inl.h
1053
+ @@ -72,7 +72,7 @@ class Neighbors {
1054
+ return Zero(d);
1055
+ #else // 128 bit
1056
+ // c = LKJI
1057
+ - #if HWY_ARCH_X86
1058
+ + #if HWY_TARGET <= (1 << HWY_HIGHEST_TARGET_BIT_X86)
1059
+ return V{_mm_shuffle_ps(c.raw, c.raw, _MM_SHUFFLE(1, 0, 0, 1))}; // JIIJ
1060
+ #else
1061
+ const D d;
1062
+ @@ -98,7 +98,7 @@ class Neighbors {
1063
+ return Zero(d);
1064
+ #else // 128 bit
1065
+ // c = LKJI
1066
+ - #if HWY_ARCH_X86
1067
+ + #if HWY_TARGET <= (1 << HWY_HIGHEST_TARGET_BIT_X86)
1068
+ return V{_mm_shuffle_ps(c.raw, c.raw, _MM_SHUFFLE(0, 0, 1, 2))}; // IIJK
1069
+ #else
1070
+ const D d;
0 commit comments