]> git.ipfire.org Git - thirdparty/zstd.git/commit
no longer limit automated BMI2 detection to x64 4251/head
authorYann Collet <yann.collet.73@gmail.com>
Sun, 19 Jan 2025 08:08:57 +0000 (00:08 -0800)
committerYann Collet <yann.collet.73@gmail.com>
Sun, 19 Jan 2025 08:08:57 +0000 (00:08 -0800)
commita556559841db607ede4e4e0a85773e5b214e66f1
treed16ee1f3b0dd281fe73dc0731df0f0f624d414fa
parente475dc4c05f436b80c31e383d414b538495558ac
no longer limit automated BMI2 detection to x64

this was previously no triggered in x86 32-bit mode,
due to a limitation in `bitstream.h`, that was fixed in #4248.

Now, `bmi2` will be automatically detected and triggered
at compilation time, if the corresponding instruction set is enabled,
even in 32-bit mode.

Also: updated library documentation, to feature STATIC_BMI2 build variable
lib/README.md
lib/common/compiler.h