]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Remove unused COMPARE258 macro since longest_match only uses COMPARE256.
authorNathan Moinvaziri <nathan@nathanm.com>
Sat, 8 Jan 2022 21:28:41 +0000 (13:28 -0800)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Sun, 9 Jan 2022 20:30:27 +0000 (21:30 +0100)
arch/x86/compare258_avx.c
arch/x86/compare258_sse.c
compare258.c
match_tpl.h

index 3452127f5a3cfb073f8ff591178c554e672500c1..4fafc4c6d66f968d90d3c8971047e1425eddb253 100644 (file)
@@ -60,14 +60,12 @@ Z_INTERNAL uint32_t compare258_unaligned_avx2(const unsigned char *src0, const u
 
 #define LONGEST_MATCH       longest_match_unaligned_avx2
 #define COMPARE256          compare256_unaligned_avx2_static
-#define COMPARE258          compare258_unaligned_avx2_static
 
 #include "match_tpl.h"
 
 #define LONGEST_MATCH_SLOW
 #define LONGEST_MATCH       longest_match_slow_unaligned_avx2
 #define COMPARE256          compare256_unaligned_avx2_static
-#define COMPARE258          compare258_unaligned_avx2_static
 
 #include "match_tpl.h"
 
index 1bea2e95bdb057e0310d1afb5955e716e3874388..f0accfd83108ae1c08535ada04e07e814dc8244d 100644 (file)
@@ -67,14 +67,12 @@ Z_INTERNAL uint32_t compare258_unaligned_sse4(const unsigned char *src0, const u
 
 #define LONGEST_MATCH       longest_match_unaligned_sse4
 #define COMPARE256          compare256_unaligned_sse4_static
-#define COMPARE258          compare258_unaligned_sse4_static
 
 #include "match_tpl.h"
 
 #define LONGEST_MATCH_SLOW
 #define LONGEST_MATCH       longest_match_slow_unaligned_sse4
 #define COMPARE256          compare256_unaligned_sse4_static
-#define COMPARE258          compare258_unaligned_sse4_static
 
 #include "match_tpl.h"
 
index e6e63f249e4aed830ed0bf672533feeab3e2671c..8260f332b1c43be5267687a846bd1ddfe555763f 100644 (file)
@@ -59,14 +59,12 @@ Z_INTERNAL uint32_t compare258_c(const unsigned char *src0, const unsigned char
 
 #define LONGEST_MATCH       longest_match_c
 #define COMPARE256          compare256_c_static
-#define COMPARE258          compare258_c_static
 
 #include "match_tpl.h"
 
 #define LONGEST_MATCH_SLOW
 #define LONGEST_MATCH       longest_match_slow_c
 #define COMPARE256          compare256_c_static
-#define COMPARE258          compare258_c_staticc
 
 #include "match_tpl.h"
 
@@ -106,14 +104,12 @@ Z_INTERNAL uint32_t compare258_unaligned_16(const unsigned char *src0, const uns
 
 #define LONGEST_MATCH       longest_match_unaligned_16
 #define COMPARE256          compare256_unaligned_16_static
-#define COMPARE258          compare258_unaligned_16_static
 
 #include "match_tpl.h"
 
 #define LONGEST_MATCH_SLOW
 #define LONGEST_MATCH       longest_match_slow_unaligned_16
 #define COMPARE256          compare256_unaligned_16_static
-#define COMPARE258          compare258_unaligned_16_static
 
 #include "match_tpl.h"
 
@@ -153,14 +149,12 @@ Z_INTERNAL uint32_t compare258_unaligned_32(const unsigned char *src0, const uns
 
 #define LONGEST_MATCH       longest_match_unaligned_32
 #define COMPARE256          compare256_unaligned_32_static
-#define COMPARE258          compare258_unaligned_32_static
 
 #include "match_tpl.h"
 
 #define LONGEST_MATCH_SLOW
 #define LONGEST_MATCH       longest_match_slow_unaligned_32
 #define COMPARE256          compare256_unaligned_32_static
-#define COMPARE258          compare258_unaligned_32_static
 
 #include "match_tpl.h"
 
@@ -202,14 +196,12 @@ Z_INTERNAL uint32_t compare258_unaligned_64(const unsigned char *src0, const uns
 
 #define LONGEST_MATCH       longest_match_unaligned_64
 #define COMPARE256          compare256_unaligned_64_static
-#define COMPARE258          compare258_unaligned_64_static
 
 #include "match_tpl.h"
 
 #define LONGEST_MATCH_SLOW
 #define LONGEST_MATCH       longest_match_slow_unaligned_64
 #define COMPARE256          compare256_unaligned_64_static
-#define COMPARE258          compare258_unaligned_64_static
 
 #include "match_tpl.h"
 
index e11abfbb72b2a79085fa9068b1a5c6e449ac55f3..75181bf851ef166320fc4f8a0fd2fa88cbf4552a 100644 (file)
@@ -288,4 +288,3 @@ break_matching:
 #undef LONGEST_MATCH_SLOW
 #undef LONGEST_MATCH
 #undef COMPARE256
-#undef COMPARE258