diff options
author | Wayne Davison <wayne@opencoder.net> | 2022-03-03 17:00:57 -0800 |
---|---|---|
committer | Wayne Davison <wayne@opencoder.net> | 2022-03-03 17:00:57 -0800 |
commit | b81a5095563776397a4239132d2b737a1083e02f (patch) | |
tree | 01eea79f2735ae82e5252b81d7f3b0b6416dd76e /rsync.h | |
parent | 26f4dbe12c63d77ce8dcb7623b53bcf76be5c277 (diff) | |
download | rsync-b81a5095563776397a4239132d2b737a1083e02f.tar.gz |
Make asm use more selectable
- Make the SIMD ASM code off by default. Use configure --enable-simd-asm
to enable.
- Allow MD5 ASM code to be requested even when OpenSSL is handling MD4
checksums. Use configure --enable-md5-asm to enable.
Diffstat (limited to 'rsync.h')
-rw-r--r-- | rsync.h | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -18,11 +18,6 @@ * with this program; if not, visit the http://fsf.org website. */ -/* a non-zero CHAR_OFFSET makes the rolling sum stronger, but is - incompatible with older versions :-( */ -#define CHAR_OFFSET 0 - -#ifndef AVX2_ASM /* do not include the rest of file for assembly */ #define False 0 #define True 1 #define Unset (-1) /* Our BOOL values are always an int. */ @@ -43,6 +38,9 @@ #define BACKUP_SUFFIX "~" +/* a non-zero CHAR_OFFSET makes the rolling sum stronger, but is + incompatible with older versions :-( */ +#define CHAR_OFFSET 0 /* These flags are only used during the flist transfer. */ @@ -1477,7 +1475,6 @@ const char *get_panic_action(void); fprintf(stderr, "%s in %s at line %d\n", msg, __FILE__, __LINE__); \ exit_cleanup(RERR_UNSUPPORTED); \ } while (0) -#endif /* AVX2_ASM */ #ifdef HAVE_MALLINFO2 #define MEM_ALLOC_INFO mallinfo2 |