]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Rename slide_hash_power8.c to slide_power8.c to be consistent with other slide hash...
authorNathan Moinvaziri <nathan@nathanm.com>
Thu, 25 Feb 2021 00:52:07 +0000 (16:52 -0800)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Sat, 12 Jun 2021 16:26:15 +0000 (18:26 +0200)
CMakeLists.txt
arch/power/Makefile.in
arch/power/slide_power8.c [moved from arch/power/slide_hash_power8.c with 100% similarity]
configure

index d7f8924441b1fdb9d3f0ed5962d846b15ee9aa69..e45bdc84e2e397fdd236efa97f8a0f2c167daa86 100644 (file)
@@ -742,7 +742,7 @@ if(WITH_OPTIM)
             add_definitions(-DPOWER8_VSX_SLIDEHASH)
             list(APPEND ZLIB_ARCH_HDRS ${ARCHDIR}/power.h)
             list(APPEND ZLIB_ARCH_SRCS ${ARCHDIR}/power.c)
-            set(POWER8_SRCS ${ARCHDIR}/adler32_power8.c ${ARCHDIR}/slide_hash_power8.c)
+            set(POWER8_SRCS ${ARCHDIR}/adler32_power8.c ${ARCHDIR}/slide_power8.c)
             list(APPEND ZLIB_ARCH_SRCS ${POWER8_SRCS})
             set_property(SOURCE ${POWER8_SRCS} PROPERTY COMPILE_FLAGS "${POWER8FLAG} ${NOLTOFLAG}")
         endif()
index cf5839b9345734ff1d9e3825444cfad70e407e2a..e7a2473a3975e5f9fc242e66c1292936cddc7301 100644 (file)
@@ -19,8 +19,8 @@ all: power.o \
      power.lo \
      adler32_power8.o \
      adler32_power8.lo \
-     slide_hash_power8.o \
-     slide_hash_power8.lo
+     slide_power8.o \
+     slide_power8.lo
 
 power.o:
        $(CC) $(CFLAGS) $(INCLUDES) -c -o $@ $(SRCDIR)/power.c
@@ -34,11 +34,11 @@ adler32_power8.o:
 adler32_power8.lo:
        $(CC) $(SFLAGS) $(P8FLAGS) $(NOLTOFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/adler32_power8.c
 
-slide_hash_power8.o:
-       $(CC) $(CFLAGS) $(P8FLAGS) $(NOLTOFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/slide_hash_power8.c
+slide_power8.o:
+       $(CC) $(CFLAGS) $(P8FLAGS) $(NOLTOFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/slide_power8.c
 
-slide_hash_power8.lo:
-       $(CC) $(SFLAGS) $(P8FLAGS) $(NOLTOFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/slide_hash_power8.c
+slide_power8.lo:
+       $(CC) $(SFLAGS) $(P8FLAGS) $(NOLTOFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/slide_power8.c
 
 mostlyclean: clean
 clean:
index 353cad4d801846b78fffe8b61300bd8cfa356a68..339e8fd8c976ee4fd04c5325db96da23f820ffd1 100755 (executable)
--- a/configure
+++ b/configure
@@ -1531,8 +1531,8 @@ EOF
                 CFLAGS="${CFLAGS} -DPOWER8 -DPOWER_FEATURES -DPOWER8_VSX_ADLER32 -DPOWER8_VSX_SLIDEHASH"
                 SFLAGS="${SFLAGS} -DPOWER8 -DPOWER_FEATURES -DPOWER8_VSX_ADLER32 -DPOWER8_VSX_SLIDEHASH"
 
-                ARCH_STATIC_OBJS="${ARCH_STATIC_OBJS} power.o adler32_power8.o slide_hash_power8.o"
-                ARCH_SHARED_OBJS="${ARCH_SHARED_OBJS} power.lo adler32_power8.lo slide_hash_power8.lo"
+                ARCH_STATIC_OBJS="${ARCH_STATIC_OBJS} power.o adler32_power8.o slide_power8.o"
+                ARCH_SHARED_OBJS="${ARCH_SHARED_OBJS} power.lo adler32_power8.lo slide_power8.lo"
             fi
         fi
     ;;