| commit | 969ba4f2b92441eb0aeff4ccdb4b76bf969c30d2 | [log] [tgz] |
|---|---|---|
| author | caoyzh <caoyazhen_ok@163.com> | Tue Apr 14 21:33:25 2020 +0800 |
| committer | Nick Terrell <nickrterrell@gmail.com> | Thu May 07 13:10:46 2020 -0700 |
| tree | a80c1885709fc9ff665c179aeb6fb26d7f754c5e | |
| parent | a7e34ff693483177948fed563105a11843e9f590 [diff] [blame] |
Change the modification of ZSTD_wildcopy()
diff --git a/lib/common/zstd_internal.h b/lib/common/zstd_internal.h index 009d842..3bc7e55 100644 --- a/lib/common/zstd_internal.h +++ b/lib/common/zstd_internal.h
@@ -285,14 +285,19 @@ * at that point it is more likely to have a high trip count. */ #ifndef __aarch64__ + do { + COPY16(op, ip); + } + while (op < oend); +#else COPY16(op, ip); if (op >= oend) return; -#endif do { COPY16(op, ip); COPY16(op, ip); } while (op < oend); +#endif } }