| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
and run it in GA CI
|
|
|
|
|
|
|
| |
ensure that `frametest` works fine with these values,
notably with low LZ4_MEMORY_USAGE (dict test notably)
following suggestions from @t-mat at #1016
|
| |
|
|\
| |
| | |
renamed unaligned -> LZ4_unaligned
|
| |
| |
| |
| |
| | |
better name space isolation
suggested by @boris-kolpackov in #1053
|
|/
|
|
| |
discovered by @yoniko.
|
| |
|
|
|
| |
The ARM64EC is a new Microsoft-designed ARM64 ABI that is compatible with AMD64 code. However, not all AMD64 intrinsic functions are supported. For, intrinsics that are lowered to AVX, AVX2 and AVX512 instructions are not supported, including the _tzcnt_u64. To make sure this file compiles for ARM64EC, the use of _tzcnt_u64 should be neutered.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This makes decoding significantly faster on M1; measured on compressed source
code across 8 hardware threads, decompressing 294 MB to 1301 MB takes 513 ms
of cumulative work (2.53 GB/s) before, and 406 ms (3.2 GB/s) after this change
on M1 Pro.
There's no way to check if the target architecture is M1 specifically but the
gains are likely to be similar on recent iterations on Apple processors, and
the original performance issue was probably more specific to Qualcomm.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Ensure that the memory block we're trying
to reuse is large enough for the new state.
Fixes #974
|
|
|
|
|
|
| |
This is required to correctly size a static member
to hold the hash table, whose size is derived from
LZ4_MEMORY_USAGE.
|
|\
| |
| | |
Print target directories during 'make install'.
|
| |
| |
| |
| | |
This takes #975 to its logical conclusion.
|
|/
|
|
|
|
|
|
|
| |
Change pkg-config generation such that the path variables,
not their values, are used in the definitions of Libs and Cflags,
and that $prefix is substituted into libdir and includedir iff
they start with its value.
This makes it easier to modify the already installed file if necessary.
|
| |
|
| |
|
| |
|
|
|
|
| |
only do arithmetic if offset > 0
|
|
|
|
|
| |
ensure `dictBase` is only used
when there is an actual dictionary content.
|
|
|
|
| |
was blindly adding an offset (0) to `dictionary` which could be `NULL`.
|
|
|
|
|
|
| |
now line 912
by ensuring pointer arithmetic is only performed
if there is a reason for an internal buffer to be used.
|
|\
| |
| | |
Fix potential memory corruption with negative memmove() size
|
| | |
|
|/ |
|
|\
| |
| | |
Don't trigger UBSan warning in LZ4_resetStreamHC_fast if LZ4_streamHC…
|
| |
| |
| |
| | |
LZ4_streamHCPtr->internal_donotuse.end is NULL.
|
|/ |
|
| |
|
|
|
|
|
| |
remove usage of include Makefile.inc in too Makefile
as it seems to somehow unexport CFLAGS ...
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
only include <intrin.h> on vs2005+ (#947)
remove some useless #pragma
fix a few minor Visual warnings
|
|\ |
|
| |
| |
| |
| |
| | |
for readability.
Mostly around --list capability
|
|/
|
|
| |
suggested by @aqrit in #947
|
| |
|
|
|
|
|
|
| |
to remain similar to stdlib's calloc().
Updated test to use c++ compiler for stricter signature check.
|
|\ |
|
| |\
| | |
| | | |
fix #874
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
coverity reported a warning regarding a memcpy() overwrite.
This is a false positive (the memory area is large enough),
but it's true that it's not trivial to determine (encompassing struct),
and it's proper anyway to only memcpy() just the right amount of data.
|
| |\ \
| | |/
| |/| |
fixed remaining ubsan warnings
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
makes it possible to replace at link time
malloc, calloc and free
by user-provided functions
which must be named LZ4_malloc(), LZ4_calloc() and LZ4_free().
answer #937
|
|/
|
|
|
| |
and update manuals.
fix #712
|
|
|
|
|
| |
- check alignment before casting a pointer
- saveDict : don't memmove() on NULL dst
|
|
|
|
|
| |
fix incorrect behavior of LZ4_saveDictHC()
when invoked right after initialization.
|