[PATCHv2] SSE2/SSSE3 optimized version of get_checksum1() for x86-64
jorrit.jongma+rsync at gmail.com
Wed May 20 08:50:58 UTC 2020
I haven't found a way to control GCC's target selector at runtime
(though in theory it could be possible), so switching between specific
optimizations (SSE2 vs SSSE3) may prove difficult or require
additional duplication of code. Bypassing the optimizations completely
in an all-or-nothing way should be possible relatively easily, though.
On Wed, May 20, 2020 at 9:18 AM Roland <devzero at web.de> wrote:
> would it perhaps make sense to have a "--disable-sse2/3" commandline
> switch in rsync, too - at least for some timeframe until this is
> considered "rock solid" ?
> i dislike having automatic cpu feature switching code in a tool which
> needs to be reliable for me, this new optimization may have issues - and
> without such switch it can't be easily workarounded without replacing
> the binary/package.
More information about the rsync