summaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authorJorrit Jongma <git@jongma.org>2020-05-22 13:03:55 +0200
committerWayne Davison <wayne@opencoder.net>2020-05-22 11:31:31 -0700
commit5fa4209ca0ce67f18fc9fd5da2ac6a83b4f7d34e (patch)
tree443187a68438fb5e0bb53bae4e756c729db3a295 /options.c
parent4f6c8c6652c74b958c631ca9a16f450c6ce6a23c (diff)
downloadrsync-5fa4209ca0ce67f18fc9fd5da2ac6a83b4f7d34e.tar.gz
AVX2 optimized version of get_checksum1() for x86-64
Additionally restructures build switches and defines from SSE2 to SIMD, to allow potential reuse should patches become available with SIMD instructions for other processor architectures. (Some minor tweaks of Jorrit's patch to avoid requiring GNU make and to avoid C++ comments in .c files.)
Diffstat (limited to 'options.c')
-rw-r--r--options.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/options.c b/options.c
index c1e957b8..e2adcf83 100644
--- a/options.c
+++ b/options.c
@@ -578,7 +578,7 @@ static void print_rsync_version(enum logcode f)
char const *links = "no ";
char const *iconv = "no ";
char const *ipv6 = "no ";
- char const *sse2 = "no ";
+ char const *simd = "no ";
STRUCT_STAT *dumstat;
#if SUBPROTOCOL_VERSION != 0
@@ -615,8 +615,8 @@ static void print_rsync_version(enum logcode f)
#ifdef CAN_SET_SYMLINK_TIMES
symtimes = "";
#endif
-#ifdef ENABLE_SSE2
- sse2 = "";
+#ifdef HAVE_SIMD
+ simd = "";
#endif
rprintf(f, "%s version %s protocol version %d%s\n",
@@ -631,8 +631,8 @@ static void print_rsync_version(enum logcode f)
(int)(sizeof (int64) * 8));
rprintf(f, " %ssocketpairs, %shardlinks, %ssymlinks, %sIPv6, batchfiles, %sinplace,\n",
got_socketpair, hardlinks, links, ipv6, have_inplace);
- rprintf(f, " %sappend, %sACLs, %sxattrs, %siconv, %ssymtimes, %sprealloc, %ssse2\n",
- have_inplace, acls, xattrs, iconv, symtimes, prealloc, sse2);
+ rprintf(f, " %sappend, %sACLs, %sxattrs, %siconv, %ssymtimes, %sprealloc, %sSIMD\n",
+ have_inplace, acls, xattrs, iconv, symtimes, prealloc, simd);
#ifdef MAINTAINER_MODE
rprintf(f, "Panic Action: \"%s\"\n", get_panic_action());