aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/zstd/lib/compress
Commit message (Collapse)AuthorAgeFilesLines
* MFV: zstd 1.5.7.Xin LI2026-04-0829-3101/+6115
| | | | | MFC after: 2 weeks Relnotes: yes
* MFV: zstd 1.5.2Allan Jude2023-01-2727-2184/+5442
| | | | | | | | | | | | Merge commit 'b3392d84da5bf2162baf937c77e0557f3fd8a52b' into zstd_1.5.2 full changelog: https://github.com/facebook/zstd/compare/v1.4.8...v1.5.2 Updated sys/kern/subr_compressor.c to new API MFC after: 3 days Relnotes: yes Sponsored by: Klara, Inc.
* zstd: Fix non-FreeBSD CI libzstd buildConrad Meyer2021-01-031-3/+4
| | | | | | | | | | | | | Fix non-FreeBSD CI build after v1.4.8. This definition was only used in zstd(1), which isn't part of non-FreeBSD CI (I guess). The ifdef was added in v1.4.5 import. Upstream does not currently support shared-linked zstd(1), but I have proposed https://github.com/facebook/zstd/pull/2450 . If that is adopted, we can add -DZSTD_PROGRAMS_LINK_SHARED to our libzstd build and drop some diffs. Reported by: uqs
* sys/contrib/zstd: Import zstd 1.4.8Conrad Meyer2020-12-2519-1344/+2599
| | | | | | | | | | | | Merge commit 'f6ae97673c28bdb9ae795bd235ab6f26f2536a2d' into main Changes from 1.4.5: * https://github.com/facebook/zstd/releases/tag/v1.4.8 * https://github.com/facebook/zstd/releases/tag/v1.4.7 (and there was no public v1.4.6) Conflicts: sys/contrib/zstd/lib/common/zstd_internal.h (new ZSTD_NO_INTRINSICS)
* Update to Zstandard 1.4.5Conrad Meyer2020-05-2325-694/+1858
| | | | | | | | | | | | | | | | | | | | | | | As usual, the full release notes are found on Github: https://github.com/facebook/zstd/releases/tag/v1.4.5 Notable changes include: * Improved decompress performance on amd64 and arm (5-10% and 15-50%, respectively). * '--patch-from' zstd(1) CLI option, which provides something like a very fast version of bspatch(1) with slightly worse compression. See release notes. In this update, I dropped the 3-year old -O0 workaround for an LLVM ARM bug; the bug was fixed in LLVM SVN in 2017, but we didn't remove this workaround from our tree until now. MFC after: I won't, but feel free Relnotes: yes Notes: svn path=/head/; revision=361426
* Update to Zstandard 1.4.4Conrad Meyer2019-11-1613-603/+1416
| | | | | | | | | | | | | | | The full release notes can be found on Github: https://github.com/facebook/zstd/releases/tag/v1.4.4 Notable changes in this release include improved decompression speed (about 10%). See the Github release notes for more details. MFC after: I'm not going to, but feel free Relnotes: yes Notes: svn path=/head/; revision=354777
* Update to Zstandard 1.4.2Conrad Meyer2019-08-0813-816/+1082
| | | | | | | | | | | | | | | The full release notes for 1.4.1 (skipped) and 1.4.2 can be found on Github: https://github.com/facebook/zstd/releases/tag/v1.4.1 https://github.com/facebook/zstd/releases/tag/v1.4.2 These are mostly minor updates; 1.4.1 purportedly brings something like 7% faster decompression speed. Relnotes: yes Notes: svn path=/head/; revision=350760
* Update to Zstandard 1.4.0Conrad Meyer2019-04-199-521/+755
| | | | | | | | | | | The full release notes can be found on Github: https://github.com/facebook/zstd/releases/tag/v1.4.0 Relnotes: yes Notes: svn path=/head/; revision=346364
* Update to Zstandard 1.3.8Conrad Meyer2018-12-2915-692/+1228
| | | | | | | | | | | | | | | | | | | | | | This merge brings in a couple new files, which needed to be attached to the build; a new dependency on <limits.h>, which must be stubbed; and a name change in the Context parameter constants, from ZSTD_p_foo to ZSTD_c_foo. Significantly, it fixes a kernel build error with GCC where floating-point functions were included in the kernel build, by hiding them under the same compile-time #ifdef that already covered their invocation. That issue was introduced to FreeBSD in the 1.3.7 update and tracked upstream here: https://github.com/facebook/zstd/issues/1386 The full 1.3.8 release notes can be found on Github: https://github.com/facebook/zstd/releases/tag/v1.3.8 Relnotes: yes Notes: svn path=/head/; revision=342598
* Revert accidentally included changes in r342108Conrad Meyer2018-12-152-14/+0
| | | | | | | | | If you're curious, please follow along in https://reviews.freebsd.org/D18537 . Sorry for the noise. Notes: svn path=/head/; revision=342109
* efirt: When present, attempt to use EFI runtime services to shutdownConrad Meyer2018-12-152-0/+14
| | | | | | | | | | PR: maybe related to 233998 (inconclusive at this time) Submitted by: byuu <byuu AT tutanota.com> (previous version) Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D18506 Notes: svn path=/head/; revision=342108
* Update to Zstandard 1.3.7Conrad Meyer2018-10-2218-1410/+3187
| | | | | | | | Relnotes: yes Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=339606
* Update to Zstandard 1.3.4Conrad Meyer2018-03-2616-2070/+3710
| | | | | | | | | | | | | | | Includes our local patch to conditionalize use of __builtin_clz(ll) on Clang's __has_builtin() (which is just defined to false when building with GCC). The issue is tracked upstream at https://github.com/facebook/zstd/pull/884 . Otherwise, these are vanilla Zstandard 1.3.4 files. Reported by: allanjude, Yann Collet Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=331602
* Update to Zstandard 1.3.3Conrad Meyer2018-03-1413-1181/+1341
| | | | | | | | | | | | | Includes patch to conditionalize use of __builtin_clz(ll) on __has_builtin(). The issue is tracked upstream at https://github.com/facebook/zstd/pull/884 . Otherwise, these are vanilla Zstandard 1.3.3 files. Note that the 1.3.4 release should be due out soon. Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=330894
* Use __has_builtin() to ensure clz and clzll builtins are availableAllan Jude2017-12-041-2/+2
| | | | | | | | | | The existing check of the GCC version number is not sufficient This fixes the build on sparc64 in preparation for integrating ZSTD into the kernel for ZFS and Crash Dumps. Notes: svn path=/head/; revision=326506
* Move zstd from contrib to sys/contrib so it can be used in theWarner Losh2017-11-1416-0/+9248
kernel. Adjust the Makefiles that referenced it to the new path. Sponsored by: Netflix OK'd by: cem@ and AllanJude@ Notes: svn path=/head/; revision=325792