summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorShark64 <shark@bitchx.it>2021-09-27 03:16:55 +0200
committerGitHub <noreply@github.com>2021-09-26 18:16:55 -0700
commit265785b7b9969f041d3e228642dde2a7ecc243bb (patch)
treeea83bda90f25b97379e22538dfa2544aa5a9c231 /Makefile.in
parent97f4d48a070d5fc2c1286696ee9ef318f9e9a9c5 (diff)
downloadrsync-265785b7b9969f041d3e228642dde2a7ecc243bb.tar.gz
x86-64 AVX2 assemby implemenation of get_checksum1() (#174)
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 eeda5fc7..42bc383b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -29,7 +29,7 @@ SHELL=/bin/sh
.SUFFIXES:
.SUFFIXES: .c .o
-SIMD_x86_64=simd-checksum-x86_64.o
+SIMD_x86_64=simd-checksum-x86_64.o simd-checksum-avx2.o
ASM_x86_64=lib/md5-asm-x86_64.o
GENFILES=configure.sh aclocal.m4 config.h.in rsync.1 rsync.1.html \
@@ -140,6 +140,9 @@ git-version.h: mkgitver $(wildcard $(srcdir)/.git/logs/HEAD)
simd-checksum-x86_64.o: simd-checksum-x86_64.cpp
@$(srcdir)/cmdormsg disable-simd $(CXX) -I. $(CXXFLAGS) $(CPPFLAGS) -c -o $@ $(srcdir)/simd-checksum-x86_64.cpp
+simd-checksum-avx2.o: simd-checksum-avx2.S
+ @$(srcdir)/cmdormsg disable-asm $(CC) $(CFLAGS) --include=$(srcdir)/rsync.h -DAVX2_ASM -I. @NOEXECSTACK@ -c -o $@ $(srcdir)/simd-checksum-avx2.S
+
lib/md5-asm-x86_64.o: lib/md5-asm-x86_64.S config.h lib/md-defines.h
@$(srcdir)/cmdormsg disable-asm $(CC) -I. @NOEXECSTACK@ -c -o $@ $(srcdir)/lib/md5-asm-x86_64.S