]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
3 years ago[rsyncable] Ensure ZSTD_compressBound() is respected 2776/head
Nick Terrell [Mon, 13 Sep 2021 23:59:20 +0000 (16:59 -0700)] 
[rsyncable] Ensure ZSTD_compressBound() is respected

In degenerate cases `--rsyncable` could create very small blocks (1
byte). This causes the compressed output to be larger than
`ZSTD_compressBound()`. Fix the issue by ensuring that rsyncable mode
never outputs blocks smaller than 128 KB.

The minimum job size is 512 KB, so we shouldn't lose many
synchronization points from skipping any that cause blocks smaller than
128 KB. And even if we do, that is fine, because we'll find the next
one.

This fixes the `raw_dictionary_round_trip` oss-fuzz assert.

Credit to OSS-Fuzz

3 years agoMerge pull request #2775 from eli-schwartz/meson
Yann Collet [Fri, 10 Sep 2021 12:47:52 +0000 (05:47 -0700)] 
Merge pull request #2775 from eli-schwartz/meson

meson: fix type error for integer option

3 years agomeson: fix type error for integer option 2775/head
Eli Schwartz [Mon, 6 Sep 2021 20:04:48 +0000 (16:04 -0400)] 
meson: fix type error for integer option

meson forgave using the wrong type, but this isn't guaranteed. muon
simply failed.

3 years agoMerge pull request #2749 from felixhandte/zstd-fast-pipelined
Felix Handte [Thu, 9 Sep 2021 21:05:30 +0000 (17:05 -0400)] 
Merge pull request #2749 from felixhandte/zstd-fast-pipelined

Pipelined Implementation of ZSTD_fast (~+5% Speed)

3 years agoMerge pull request #2769 from senhuang42/typo_fix
sen [Tue, 7 Sep 2021 15:09:55 +0000 (11:09 -0400)] 
Merge pull request #2769 from senhuang42/typo_fix

[easy] Fix patch-from help msg typo

3 years agoFix patch-from help msg typo 2769/head
senhuang42 [Tue, 7 Sep 2021 14:08:35 +0000 (10:08 -0400)] 
Fix patch-from help msg typo

3 years agoMerge pull request #2763 from senhuang42/opt_compiletime
sen [Thu, 2 Sep 2021 15:59:02 +0000 (11:59 -0400)] 
Merge pull request #2763 from senhuang42/opt_compiletime

Improve compile speed and binary size in `opt`

3 years agoMerge pull request #2762 from facebook/level13
Yann Collet [Thu, 2 Sep 2021 03:32:53 +0000 (20:32 -0700)] 
Merge pull request #2762 from facebook/level13

minor rebalancing of level 13

3 years agoMerge pull request #2761 from senhuang42/fse_wksp_fix
sen [Wed, 1 Sep 2021 21:09:45 +0000 (17:09 -0400)] 
Merge pull request #2761 from senhuang42/fse_wksp_fix

Add 8 bytes to FSE_buildCTable wksp

3 years agoRemove inlining for opt 2763/head
Sen Huang [Wed, 1 Sep 2021 20:48:11 +0000 (13:48 -0700)] 
Remove inlining for opt

3 years agoupdated regression tests 2762/head
Yann Collet [Wed, 1 Sep 2021 20:26:39 +0000 (13:26 -0700)] 
updated regression tests

3 years agominor rebalancing of level 13
Yann Collet [Wed, 1 Sep 2021 20:02:07 +0000 (13:02 -0700)] 
minor rebalancing of level 13

This new setup is slighly better on `silesia.tar` :
Ratio : 3.649 -> 3.655
Speed : 11.9 MB/s -> 12.2 MB/s
At the cost of more memory : 24 MB -> 32 MB
The new memory budget is a reasonable interpolation between neighboring levels 12 and 14:
level 12 : 24 MB
level 13 : 32 MB (increased from 24 MB)
level 14 : 48 MB
Window size remains unaffected (4 MB)

3 years agoAdd 8 bytes to FSE workspace 2761/head
senhuang42 [Wed, 1 Sep 2021 16:25:20 +0000 (12:25 -0400)] 
Add 8 bytes to FSE workspace

3 years agoUpdate results.csv 2749/head
W. Felix Handte [Wed, 1 Sep 2021 18:45:00 +0000 (14:45 -0400)] 
Update results.csv

3 years agoFix VS Build: Explicitly Cast to Narrow Ints
W. Felix Handte [Mon, 30 Aug 2021 16:27:49 +0000 (12:27 -0400)] 
Fix VS Build: Explicitly Cast to Narrow Ints

3 years agoChange Target Size in Fuzzer
W. Felix Handte [Thu, 26 Aug 2021 17:46:32 +0000 (13:46 -0400)] 
Change Target Size in Fuzzer

It's a bit strange, because this is hitting the dictionary special case where
the dictionary is contiguous with the input and still runs in the single-
segment path.

We should probably change that to hit the `extDict` path instead?

3 years agoDeduplicate Implementations
W. Felix Handte [Thu, 26 Aug 2021 17:29:58 +0000 (13:29 -0400)] 
Deduplicate Implementations

This removes the old `ZSTD_compressBlock_fast_generic()` and renames the new
`ZSTD_compressBlock_fast_generic_pipelined()` to replace it. This is
functionally a no-op.

3 years agoTweak Step
W. Felix Handte [Fri, 20 Aug 2021 21:06:41 +0000 (17:06 -0400)] 
Tweak Step

3 years agoUnroll Loop Core; Reduce Frequency of Repcode Check & Step Calc (+>1% Speed)
W. Felix Handte [Fri, 20 Aug 2021 19:56:14 +0000 (15:56 -0400)] 
Unroll Loop Core; Reduce Frequency of Repcode Check & Step Calc (+>1% Speed)

Unrolling the loop to handle 2 positions in each iteration allows us to reduce
the frequency of some operations that don't need to happen at every position.
One such operation is the step calculation, which is a very rough heuristic
anyways. It's fine if we do this a position later. The other operation is the
repcode check. But since the repcode check already tries expanding back one
position, we're really not missing much of importance by only trying it every
other position.

This commit also slightly reorders some operations.

3 years agoAdd `ip1 + 128` Prefetch; Tiny Cleanup
W. Felix Handte [Thu, 19 Aug 2021 17:58:09 +0000 (13:58 -0400)] 
Add `ip1 + 128` Prefetch; Tiny Cleanup

3 years agoNit: Only Store 2 Hash Variables
W. Felix Handte [Wed, 18 Aug 2021 20:15:53 +0000 (16:15 -0400)] 
Nit: Only Store 2 Hash Variables

3 years agoNit: Dedup idx0 and idx1
W. Felix Handte [Wed, 18 Aug 2021 20:11:22 +0000 (16:11 -0400)] 
Nit: Dedup idx0 and idx1

3 years agoGive Up on Searching End of Block
W. Felix Handte [Wed, 18 Aug 2021 20:02:01 +0000 (16:02 -0400)] 
Give Up on Searching End of Block

Amusingly, it seems to be a non-trivial performance hit to add in final
searches or even hash table insertions during cleanup. So let's not. It seems
to not make any meaningful difference in compression ratio.

3 years agoPrefetch Input in Incompressible Sections (+0.25% Speed)
W. Felix Handte [Wed, 18 Aug 2021 19:21:43 +0000 (15:21 -0400)] 
Prefetch Input in Incompressible Sections (+0.25% Speed)

3 years agoShrink Pipeline from 4 Positions to 3
W. Felix Handte [Wed, 18 Aug 2021 17:44:27 +0000 (13:44 -0400)] 
Shrink Pipeline from 4 Positions to 3

3 years agoRe-Order Operations for Slightly Better Performance
W. Felix Handte [Wed, 18 Aug 2021 16:47:48 +0000 (12:47 -0400)] 
Re-Order Operations for Slightly Better Performance

3 years agoTrack Step Size Statefully, Rather than Recalculating Every Time
W. Felix Handte [Wed, 18 Aug 2021 16:47:14 +0000 (12:47 -0400)] 
Track Step Size Statefully, Rather than Recalculating Every Time

3 years agoInitial Pipelined Implementation for ZSTD_fast
W. Felix Handte [Tue, 17 Aug 2021 16:42:39 +0000 (12:42 -0400)] 
Initial Pipelined Implementation for ZSTD_fast

3 years agoFix Benchmark Corruption Display
W. Felix Handte [Tue, 17 Aug 2021 15:31:15 +0000 (11:31 -0400)] 
Fix Benchmark Corruption Display

3 years agoMerge pull request #2758 from facebook/qemu
Yann Collet [Tue, 31 Aug 2021 16:56:50 +0000 (09:56 -0700)] 
Merge pull request #2758 from facebook/qemu

added qemu tests

3 years agoMerge branch 'dev' into qemu 2758/head
Yann Collet [Tue, 31 Aug 2021 15:16:46 +0000 (08:16 -0700)] 
Merge branch 'dev' into qemu

3 years agoMerge pull request #2757 from facebook/transferGA
Yann Collet [Tue, 31 Aug 2021 14:40:21 +0000 (07:40 -0700)] 
Merge pull request #2757 from facebook/transferGA

Reduce test time on TravisCI

3 years agoadd powerpc qemu emulation
Yann Collet [Mon, 30 Aug 2021 13:37:50 +0000 (06:37 -0700)] 
add powerpc qemu emulation

3 years agoattempt at adding m68k qemu tests
Yann Collet [Mon, 30 Aug 2021 04:39:06 +0000 (21:39 -0700)] 
attempt at adding m68k qemu tests

with optional success (for the time being)

3 years agoremove qemu tests 2757/head
Yann Collet [Mon, 30 Aug 2021 03:54:18 +0000 (20:54 -0700)] 
remove qemu tests

that are being transfered to GA in #2758.
This represents a saving of ~25mn of cpu time on TravisCI.

3 years agofix alignment condition in FSE_buildCTable
Yann Collet [Mon, 30 Aug 2021 02:05:04 +0000 (19:05 -0700)] 
fix alignment condition in FSE_buildCTable

2-bytes alignment is enough for 16-bit fields

3 years agofix playTests.sh when EXE_PREFIX not null
Yann Collet [Mon, 30 Aug 2021 00:20:12 +0000 (17:20 -0700)] 
fix playTests.sh when EXE_PREFIX not null

3 years agoadding optional QEMU_SYS
Yann Collet [Sun, 29 Aug 2021 23:43:32 +0000 (16:43 -0700)] 
adding optional QEMU_SYS

3 years agoadded qemu tests
Yann Collet [Sun, 29 Aug 2021 23:28:41 +0000 (16:28 -0700)] 
added qemu tests

running zstd library on emulated targets

3 years agoremove versions-compatibility test from GA
Yann Collet [Sun, 29 Aug 2021 22:47:04 +0000 (15:47 -0700)] 
remove versions-compatibility test from GA

since it fails on Github Actions specifically.

The test is run on TravisCI for the time being.
Its duration has been reduced to ~6mn anyway.

3 years agoreduce length of scanbuild static analyzer test
Yann Collet [Sun, 29 Aug 2021 22:26:31 +0000 (15:26 -0700)] 
reduce length of scanbuild static analyzer test

This was ~30mn, by far the longest run on travisCI.
That's because it re-analyzes multiple times the same files (library files notably).
It also performs actions that make no sense for the static analyzer purpose,
such as building the single-file library.

Reduced time spent in this test by reducing its scope :
just build the CLI, and obviously the library along it.
These are the only ones that really deserve to be analyzed.

Unfortunately, it still results in a number of false positives when using newer versions of scanbuild
(each version of scanbuild generates a different list of false positives).
These will have to be fixed before transfering to Github Actions.

3 years agoaccelerate versionsCompatibilityTest
Yann Collet [Sun, 29 Aug 2021 21:48:11 +0000 (14:48 -0700)] 
accelerate versionsCompatibilityTest

by allowing parallel build of units,
and reducing optimization levels.

Parallel build is only effective on "recent" versions of `zstd`,
as previously, the list of units was passed as a list of source files,
which is something neither `make` nor `gcc` can parallelize.
So its impact is mildly effective (-20%).

Reducing optimization level to `-O1` makes compilation much faster.
It also makes runtime slower,
but in this test, compilation time dominates run time.
The savings are very significant (-50%).

On my test system, it reduces the length of this test from 13mn to 5mn.

3 years agotransferred inter-versions compatibility tests to GA
Yann Collet [Sun, 29 Aug 2021 18:53:56 +0000 (11:53 -0700)] 
transferred inter-versions compatibility tests to GA

3 years agoMerge pull request #2753 from senhuang42/better_error_msg
sen [Tue, 24 Aug 2021 00:37:48 +0000 (20:37 -0400)] 
Merge pull request #2753 from senhuang42/better_error_msg

[easy] Fix zstd bench error message

3 years agoFix benchzstd error message 2753/head
senhuang42 [Mon, 23 Aug 2021 23:10:16 +0000 (19:10 -0400)] 
Fix benchzstd error message

3 years agoMerge pull request #2746 from eli-schwartz/meson-fixup
Yann Collet [Mon, 23 Aug 2021 22:57:47 +0000 (15:57 -0700)] 
Merge pull request #2746 from eli-schwartz/meson-fixup

meson fixups

3 years agoMerge pull request #2752 from facebook/hashLog3max
Yann Collet [Fri, 20 Aug 2021 19:51:17 +0000 (12:51 -0700)] 
Merge pull request #2752 from facebook/hashLog3max

make ZSTD_HASHLOG3_MAX private

3 years agomake ZSTD_HASHLOG3_MAX private 2752/head
Yann Collet [Fri, 20 Aug 2021 16:52:42 +0000 (09:52 -0700)] 
make ZSTD_HASHLOG3_MAX private

This is an implementation detail,
it doesn't belong to public space (zstd.h).

3 years agoMerge pull request #2750 from senhuang42/sb_compress
sen [Fri, 20 Aug 2021 16:47:24 +0000 (12:47 -0400)] 
Merge pull request #2750 from senhuang42/sb_compress

Improve branch misses on FSE symbol spreading

3 years agoImprove branch misses on FSE symbol spreading 2750/head
senhuang42 [Tue, 6 Jul 2021 14:08:15 +0000 (10:08 -0400)] 
Improve branch misses on FSE symbol spreading

3 years agomeson: set the symbol visibility of the shared library to hidden 2746/head
Eli Schwartz [Mon, 9 Aug 2021 01:43:59 +0000 (21:43 -0400)] 
meson: set the symbol visibility of the shared library to hidden

This matches the Makefile build. Due to one private xxhash symbol in use
by the program, it recompiles a private copy of xxhash.

Due to the test binaries making extensive (?) use of private symbols, it
doesn't even attempt to link to shared libzstd, and instead, all of the
original object files are added to libtestcommon itself for private
linkage. This, too, matches the Makefile build.

Ref. #2261

3 years agomeson: fix warnings in build files
Eli Schwartz [Mon, 9 Aug 2021 01:11:20 +0000 (21:11 -0400)] 
meson: fix warnings in build files

meson prefers that project-level options for Wall/Wextra/pedantic be
used, rather than hardcoding raw flags in add_project_arguments. If you
do the latter anyway, it raises a meson warning.

Set the default options for the project to use all this.

Also move the -Werror comment to the project default options with
appropriate format, but leave it commented out since it does not work.

3 years agomeson: link tests with a convenience library of sources used by multiple binaries
Eli Schwartz [Tue, 10 Aug 2021 00:03:57 +0000 (20:03 -0400)] 
meson: link tests with a convenience library of sources used by multiple binaries

This saves repeatedly compiling them, resulting in 16 fewer compile
steps, in exchange for one `ar` step.

3 years agoMerge pull request #2692 from senhuang42/rebalance_clevel
sen [Fri, 6 Aug 2021 16:51:31 +0000 (12:51 -0400)] 
Merge pull request #2692 from senhuang42/rebalance_clevel

[RFC] Rebalance compression levels

4 years agoOptimize 32-bit VecMask_next() 2692/head
Sen Huang [Thu, 29 Jul 2021 15:35:36 +0000 (08:35 -0700)] 
Optimize 32-bit VecMask_next()

4 years agoMerge pull request #2742 from felixhandte/set-mtime
Felix Handte [Wed, 4 Aug 2021 20:44:46 +0000 (16:44 -0400)] 
Merge pull request #2742 from felixhandte/set-mtime

Set mtime on Output Files

4 years agoAdd 64 row entry support for lazy
senhuang42 [Thu, 3 Jun 2021 07:54:31 +0000 (10:54 +0300)] 
Add 64 row entry support for lazy

4 years agoRebalance clevels for lazy
senhuang42 [Thu, 3 Jun 2021 07:38:23 +0000 (10:38 +0300)] 
Rebalance clevels for lazy

4 years agoMerge pull request #2732 from senhuang42/huf_sort_improvement
sen [Wed, 4 Aug 2021 20:07:56 +0000 (16:07 -0400)] 
Merge pull request #2732 from senhuang42/huf_sort_improvement

[HUF] Improve Huffman sorting algorithm

4 years agoRemove sleep()s in Test; Replace with Artificial mtime 2742/head
W. Felix Handte [Wed, 4 Aug 2021 19:53:37 +0000 (15:53 -0400)] 
Remove sleep()s in Test; Replace with Artificial mtime

This behavior of `touch` is standardized in POSIX, so it should be available.

4 years agoUpdate mtime and atime for Written Files
W. Felix Handte [Wed, 4 Aug 2021 18:49:56 +0000 (14:49 -0400)] 
Update mtime and atime for Written Files

4 years agoPull `utime()` Call into Helper
W. Felix Handte [Wed, 4 Aug 2021 18:49:00 +0000 (14:49 -0400)] 
Pull `utime()` Call into Helper

4 years agoImprove Huffman sorting algorithm 2732/head
senhuang42 [Thu, 8 Jul 2021 19:48:57 +0000 (15:48 -0400)] 
Improve Huffman sorting algorithm

4 years agoAdd Test to Verify mtime is Copied to Destination
W. Felix Handte [Tue, 3 Aug 2021 21:20:12 +0000 (17:20 -0400)] 
Add Test to Verify mtime is Copied to Destination

4 years agoMerge pull request #2733 from terrelln/huf-cspeed
Nick Terrell [Tue, 3 Aug 2021 16:59:54 +0000 (12:59 -0400)] 
Merge pull request #2733 from terrelln/huf-cspeed

[HUF] Improve Huffman encoding speed

4 years ago[fuzz] Add Huffman round trip fuzzer 2733/head
Nick Terrell [Tue, 3 Aug 2021 04:02:31 +0000 (21:02 -0700)] 
[fuzz] Add Huffman round trip fuzzer

* Add a Huffman round trip fuzzer
* Fix two minor bugs in Huffman that aren't exposed in zstd
  - Incorrect weight comparison (weights are allowed to be equal to
    table log).
  - HUF_compress1X_usingCTable_internal() can return compressed
    size >= source size, so the assert that `cSize <= 65535` isn't
    correct, and it needs to be checked instead.

4 years agoMerge pull request #2677 from senhuang42/ci_overhaul_2
sen [Mon, 2 Aug 2021 13:55:49 +0000 (09:55 -0400)] 
Merge pull request #2677 from senhuang42/ci_overhaul_2

[CI][2/2] Migrate CI tests which (currently) fail

4 years agoFix static analyzer warnings 2677/head
Sen Huang [Thu, 29 Jul 2021 16:05:51 +0000 (09:05 -0700)] 
Fix static analyzer warnings

4 years agoAdd VS2019 test, migrate minimal decompressor macros to GHActions
Sen Huang [Thu, 29 Jul 2021 15:49:36 +0000 (08:49 -0700)] 
Add VS2019 test, migrate minimal decompressor macros to GHActions

4 years agoMerge pull request #2724 from jonringer/fix-pzstd-static-build
Nick Terrell [Wed, 28 Jul 2021 21:53:01 +0000 (14:53 -0700)] 
Merge pull request #2724 from jonringer/fix-pzstd-static-build

pzstd: fix linking for static builds

4 years agoMerge pull request #2707 from koalabearguo/dev
Nick Terrell [Wed, 28 Jul 2021 21:52:15 +0000 (14:52 -0700)] 
Merge pull request #2707 from koalabearguo/dev

Z_PREFIX  zError function

4 years agoMerge pull request #2729 from felixhandte/fix-ddss-load
Felix Handte [Wed, 28 Jul 2021 17:12:50 +0000 (13:12 -0400)] 
Merge pull request #2729 from felixhandte/fix-ddss-load

Fix DDSS Load

4 years ago[HUF] Improve Huffman encoding speed
Nick Terrell [Mon, 12 Jul 2021 18:57:01 +0000 (11:57 -0700)] 
[HUF] Improve Huffman encoding speed

Improve Huffman encoding speed by 20% for gcc and 10% for clang.

| Compiler |     Benchmark     | Config  |   Dataset   | Ratio | Speed MB/s (dev) | Speed MB/s (huf-cspeed) | Speed MB/s (huf-cspeed - dev) |
|----------|-------------------|---------|-------------|-------|------------------|-------------------------|-------------------------------|
| gcc      | compress          | level_1 | enwik7      | 2.43  | 253.70           | 258.72                  | 2.0%                          |
| gcc      | compress          | level_1 | silesia     | 2.88  | 341.90           | 348.15                  | 1.8%                          |
| gcc      | compress_literals | level_1 | enwik7      | 1.49  | 761.83           | 912.76                  | 19.8%                         |
| gcc      | compress_literals | level_1 | silesia     | 1.28  | 754.83           | 902.37                  | 19.5%                         |
| gcc      | compress_literals | level_7 | enwik7      | 1.29  | 502.81           | 552.79                  | 9.9%                          |
| gcc      | compress_literals | level_7 | silesia     | 1.11  | 675.97           | 776.44                  | 14.9%                         |
| clang    | compress          | level_1 | enwik7      | 2.43  | 277.54           | 280.98                  | 1.2%                          |
| clang    | compress          | level_1 | silesia     | 2.88  | 369.98           | 375.46                  | 1.5%                          |
| clang    | compress_literals | level_1 | enwik7      | 1.49  | 828.83           | 918.41                  | 10.8%                         |
| clang    | compress_literals | level_1 | silesia     | 1.28  | 815.81           | 905.41                  | 11.0%                         |
| clang    | compress_literals | level_7 | enwik7      | 1.29  | 533.13           | 553.30                  | 3.8%                          |
| clang    | compress_literals | level_7 | silesia     | 1.11  | 714.52           | 775.38                  | 8.5%                          |

4 years agoFix DDSS Load 2729/head
W. Felix Handte [Thu, 22 Jul 2021 16:37:35 +0000 (12:37 -0400)] 
Fix DDSS Load

This PR fixes an incorrect comparison in figuring out `minChain` in
`ZSTD_dedicatedDictSearch_lazy_loadDictionary()`. This incorrect comparison
had been masked by the fact that `idx` was always 1, until @terrelln changed
that in #2726.

Credit-to: OSS-Fuzz
4 years agoMerge pull request #2726 from terrelln/oss-fuzz-fix
Nick Terrell [Wed, 21 Jul 2021 20:46:21 +0000 (13:46 -0700)] 
Merge pull request #2726 from terrelln/oss-fuzz-fix

[bug-fix] Fix a determinism bug with the DUBT

4 years ago[bug-fix] Fix a determinism bug with the DUBT 2726/head
Nick Terrell [Thu, 15 Jul 2021 19:14:44 +0000 (12:14 -0700)] 
[bug-fix] Fix a determinism bug with the DUBT

The DUBT can be non-deterministic if an index is equal to
`ZSTD_DUBT_UNSORTED_MARK`. Ensure that never happens by starting the
indices at 2.

This bug was found by the OSS-Fuzz determinism fuzzer. With this change
the fuzzer test passes. And I've confirmed that this is the root cause,
not just hiding the problem.

Aside: This took me a long time to figure out, because I thought I had
tried this first thing. But, apparantly I messed it up, because when I
was going through it again with @felixhandte, I was pointing out that it
wasn't the case, but it turns out it was.

Credit to: OSS-Fuzz

4 years agoMerge pull request #2725 from makise-homura/mcst-lcc-support
Yann Collet [Wed, 14 Jul 2021 22:09:12 +0000 (00:09 +0200)] 
Merge pull request #2725 from makise-homura/mcst-lcc-support

Add support for MCST LCC compiler

4 years agoClarify no-tree-vectorize usage for ICC and LCC 2725/head
makise-homura [Wed, 14 Jul 2021 17:00:44 +0000 (20:00 +0300)] 
Clarify no-tree-vectorize usage for ICC and LCC

4 years agoChange zstdcli's main() declaration due to -Wmain on some compilers
makise-homura [Wed, 14 Jul 2021 16:55:47 +0000 (19:55 +0300)] 
Change zstdcli's main() declaration due to -Wmain on some compilers

4 years agoAdd support for MCST LCC compiler
makise-homura [Sat, 10 Jul 2021 00:57:06 +0000 (03:57 +0300)] 
Add support for MCST LCC compiler

4 years agopzstd: fix linking for static builds 2724/head
Jonathan Ringer [Fri, 9 Jul 2021 20:21:15 +0000 (13:21 -0700)] 
pzstd: fix linking for static builds

4 years agoMerge pull request #2717 from binhdvo/bootcamp
binhdvo [Thu, 1 Jul 2021 14:39:58 +0000 (10:39 -0400)] 
Merge pull request #2717 from binhdvo/bootcamp

Proactively skip huffman compression based on sampling where non-comp…

4 years agoMerge pull request #2720 from senhuang42/remove_folder
sen [Wed, 30 Jun 2021 18:37:21 +0000 (14:37 -0400)] 
Merge pull request #2720 from senhuang42/remove_folder

Remove folder when done with test

4 years agoRemove folder when done with test 2720/head
senhuang42 [Wed, 30 Jun 2021 17:09:00 +0000 (13:09 -0400)] 
Remove folder when done with test

4 years agoProactively skip huffman compression based on sampling where non-compressibility... 2717/head
Binh Vo [Mon, 28 Jun 2021 14:06:20 +0000 (10:06 -0400)] 
Proactively skip huffman compression based on sampling where non-compressibility is suspected

4 years agoMerge pull request #2655 from heitbaum/patch-1
Nick Terrell [Wed, 30 Jun 2021 01:33:40 +0000 (18:33 -0700)] 
Merge pull request #2655 from heitbaum/patch-1

[trace] remove zstd_trace.c reference from freestanding

4 years agoMerge pull request #2719 from danlark1/danlark_iwyu
Nick Terrell [Tue, 29 Jun 2021 23:53:10 +0000 (16:53 -0700)] 
Merge pull request #2719 from danlark1/danlark_iwyu

Include what you use in zstd_ldm_geartab

4 years agoMerge pull request #2689 from danlark1/dev
Nick Terrell [Tue, 29 Jun 2021 18:34:36 +0000 (11:34 -0700)] 
Merge pull request #2689 from danlark1/dev

Optimize zstd decompression by another x%

4 years agoInclude what you use in zstd_ldm_geartab 2719/head
Danila Kutenin [Tue, 29 Jun 2021 16:57:53 +0000 (17:57 +0100)] 
Include what you use in zstd_ldm_geartab

4 years agoAdd possible improvements for gcc-11 2689/head
Danila Kutenin [Tue, 29 Jun 2021 08:06:47 +0000 (09:06 +0100)] 
Add possible improvements for gcc-11

4 years agoMerge pull request #2716 from facebook/fix2701 2711/head
Yann Collet [Thu, 24 Jun 2021 17:57:18 +0000 (10:57 -0700)] 
Merge pull request #2716 from facebook/fix2701

remove invalid test

4 years agoMerge pull request #2715 from senhuang42/sequence_api_3
sen [Thu, 24 Jun 2021 17:02:11 +0000 (13:02 -0400)] 
Merge pull request #2715 from senhuang42/sequence_api_3

[RFC] Add internal API for converting ZSTD_Sequence into seqStore

4 years agoremove invalid test 2716/head
Yann Collet [Thu, 24 Jun 2021 16:07:55 +0000 (09:07 -0700)] 
remove invalid test

`--mt` is no longer supported by `zstreamtest`
(relevant API entry point has been removed from `libzstd`).

fix #2701

4 years agoAdd simple API for converting ZSTD_Sequence into seqStore 2715/head
senhuang42 [Wed, 23 Jun 2021 15:21:14 +0000 (11:21 -0400)] 
Add simple API for converting ZSTD_Sequence into seqStore

4 years agoMerge pull request #2714 from luisdallos/build-macros-typos
Felix Handte [Fri, 18 Jun 2021 20:16:44 +0000 (16:16 -0400)] 
Merge pull request #2714 from luisdallos/build-macros-typos

lib/Makefile: Fix small typo in ZSTD_FORCE_DECOMPRESS_* build macros

4 years agolib/Makefile: Fix small typo in ZSTD_FORCE_DECOMPRESS_* build macros 2714/head
Usuario [Fri, 18 Jun 2021 14:07:39 +0000 (10:07 -0400)] 
lib/Makefile: Fix small typo in ZSTD_FORCE_DECOMPRESS_* build macros

4 years agoMerge pull request #2710 from binhdvo/bootcamp
binhdvo [Thu, 17 Jun 2021 13:06:18 +0000 (09:06 -0400)] 
Merge pull request #2710 from binhdvo/bootcamp

Add option to use logical cores for default threads

4 years agoAdd option to use logical cores for default threads 2710/head
Binh Vo [Wed, 16 Jun 2021 13:38:43 +0000 (09:38 -0400)] 
Add option to use logical cores for default threads

4 years agoMerge pull request #2708 from binhdvo/skippable
binhdvo [Mon, 14 Jun 2021 23:00:31 +0000 (19:00 -0400)] 
Merge pull request #2708 from binhdvo/skippable

Add API for fetching skippable frame content

4 years agoAdd API for fetching skippable frame content 2708/head
Binh Vo [Fri, 11 Jun 2021 16:11:58 +0000 (12:11 -0400)] 
Add API for fetching skippable frame content