summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorJorrit Jongma <git@jongma.org>2020-05-22 19:38:37 +0200
committerWayne Davison <wayne@opencoder.net>2020-05-22 22:37:21 -0700
commit531ffa8104fa26e58ed487c340ed64af5d456fb2 (patch)
treee14ed35b7da6fcd8e77a3d59403a59fc9bf0e69b /Makefile.in
parentd7212df0f134ac82f9afb46d478ab3ac1511c61b (diff)
downloadrsync-531ffa8104fa26e58ed487c340ed64af5d456fb2.tar.gz
Optimized assembler version of md5_process() for x86-64
Originally created by Marc Bevand and placed in the public domain. Enable/disabled via the same --enable-simd configure switch as the rolling checksum optimizations.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 0e18e96e..13cba5d9 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -31,7 +31,7 @@ VERSION=@RSYNC_VERSION@
.SUFFIXES:
.SUFFIXES: .c .o
-SIMD_x86_64=simd-checksum-x86_64.o
+SIMD_x86_64=simd-checksum-x86_64.o lib/md5-asm-x86_64.o
GENFILES=configure.sh aclocal.m4 config.h.in proto.h proto.h-tstamp rsync.1 rsync-ssl.1 rsyncd.conf.5
HEADERS=byteorder.h config.h errcode.h proto.h rsync.h ifuncs.h itypes.h inums.h \
@@ -122,6 +122,9 @@ rounding.h: rounding.c rsync.h proto.h
simd-checksum-x86_64.o: simd-checksum-x86_64.cpp
$(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -o $@ $<
+lib/md5-asm-x86_64.o: lib/md5-asm-x86_64.s
+ $(CC) -c -o $@ $<
+
tls$(EXEEXT): $(TLS_OBJ)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(TLS_OBJ) $(LIBS)