From 275aa5141db6eda3587214e0f1d3a134768f557d Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sun, 17 Mar 2024 20:59:55 -0700 Subject: [PATCH] v1.20 --- NEWS.md | 22 ++++++++++++++++++++++ libdeflate.h | 4 ++-- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/NEWS.md b/NEWS.md index 83a44bf2..ca28d592 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,27 @@ # libdeflate release notes +## Version 1.20 + +* Improved CRC-32 performance on recent x86 CPUs by adding + VPCLMULQDQ-accelerated implementations using 256-bit and 512-bit vectors. + +* Improved Adler-32 performance on recent x86 CPUs by adding + VNNI-accelerated implementations using 256-bit and 512-bit vectors. + +* Improved CRC-32 and Adler-32 performance on short inputs. + +* Optimized the portable implementation of Adler-32. + +* Added some basic optimizations for RISC-V. + +* Dropped support for gcc versions older than v4.9 (released in 2014) + and clang versions older than v3.9 (released in 2016). + +* Dropped support for CRC-32 acceleration on 32-bit ARM using the ARMv8 pmull or + crc32 instructions. This code only worked on CPUs that also have a 64-bit + mode, and it was already disabled on many compiler versions due to compiler + limitations. CRC-32 acceleration remains fully supported on 64-bit ARM. + ## Version 1.19 * Added new functions `libdeflate_alloc_compressor_ex()` and diff --git a/libdeflate.h b/libdeflate.h index 0a274f0f..05dac048 100644 --- a/libdeflate.h +++ b/libdeflate.h @@ -13,8 +13,8 @@ extern "C" { #endif #define LIBDEFLATE_VERSION_MAJOR 1 -#define LIBDEFLATE_VERSION_MINOR 19 -#define LIBDEFLATE_VERSION_STRING "1.19" +#define LIBDEFLATE_VERSION_MINOR 20 +#define LIBDEFLATE_VERSION_STRING "1.20" /* * Users of libdeflate.dll on Windows can define LIBDEFLATE_DLL to cause