]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Move include files out of match_tpl.h, to simplify dependency handling and
authorHans Kristian Rosbach <hk-git@circlestorm.org>
Thu, 4 Jan 2024 15:43:43 +0000 (16:43 +0100)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Fri, 19 Jan 2024 15:58:53 +0000 (16:58 +0100)
avoid attempting to parse the includes more times than needed.

arch/arm/compare256_neon.c
arch/power/compare256_power9.c
arch/riscv/compare256_rvv.c
arch/x86/compare256_avx2.c
arch/x86/compare256_sse2.c
compare256.c
match_tpl.h

index 4d6ba5334b8767e6c2df70f640fc8d1f48e97758..87d14c89c09bc1fe5dcff06ae042aa737e597bad 100644 (file)
@@ -4,7 +4,8 @@
  */
 
 #include "zbuild.h"
-
+#include "zutil_p.h"
+#include "deflate.h"
 #include "fallback_builtins.h"
 
 #if defined(ARM_NEON) && defined(HAVE_BUILTIN_CTZLL)
index f936cc9829f4287beee08c1ad201b812601b16cc..c8be498e4f60b2f3b84c90b5a1d4f9f7de923e20 100644 (file)
@@ -6,6 +6,8 @@
 #ifdef POWER9
 #include <altivec.h>
 #include "zbuild.h"
+#include "zutil_p.h"
+#include "deflate.h"
 #include "zendian.h"
 
 /* Older versions of GCC misimplemented semantics for these bit counting builtins.
index cf0de0deb776282ad56ab4fb454bb95477abddad..3d6c3e3aa5b1e923bb864676ab3fb22ba14eba31 100644 (file)
@@ -7,6 +7,8 @@
 #ifdef RISCV_RVV
 
 #include "zbuild.h"
+#include "zutil_p.h"
+#include "deflate.h"
 #include "fallback_builtins.h"
 
 #include <riscv_vector.h>
index a706a30fafcbc3187e6baf923dd915f235aee2b6..d2c835e4ee8ec4c99111134b7008bf2a0722f6e1 100644 (file)
@@ -4,7 +4,8 @@
  */
 
 #include "zbuild.h"
-
+#include "zutil_p.h"
+#include "deflate.h"
 #include "fallback_builtins.h"
 
 #if defined(X86_AVX2) && defined(HAVE_BUILTIN_CTZ)
index 015d5398b4bec0a74236c25c6ce8a945a9215380..216bb3a705c4a4329e96d3a4912163195737595a 100644 (file)
@@ -4,7 +4,8 @@
  */
 
 #include "zbuild.h"
-
+#include "zutil_p.h"
+#include "deflate.h"
 #include "fallback_builtins.h"
 
 #if defined(X86_SSE2) && defined(HAVE_BUILTIN_CTZ)
index 82551cdd579ece16e4995a4c9272f06dc57e93b4..0c12cb3a4ec4be52b447c7f13ee5fcae584cc90a 100644 (file)
@@ -5,6 +5,7 @@
 
 #include "zbuild.h"
 #include "zutil_p.h"
+#include "deflate.h"
 #include "fallback_builtins.h"
 
 /* ALIGNED, byte comparison */
index d076798520eeda01d41aa859274ced6e36049325..4856d64db2956bad3aa08fe95c42f54e2b9cc86f 100644 (file)
@@ -8,11 +8,6 @@
  *  https://github.com/gildor2/fast_zlib
  */
 
-#include "zbuild.h"
-#include "zutil_p.h"
-#include "deflate.h"
-#include "functable.h"
-
 #ifndef MATCH_TPL_H
 #define MATCH_TPL_H