]> git.ipfire.org Git - thirdparty/zstd.git/commit
Use _bzhi_u32 for 32-bit builds when building with STATIC_BMI2
authorPavel P <pavlov.pavel@gmail.com>
Sat, 18 Jan 2025 19:32:30 +0000 (21:32 +0200)
committerPavel P <pavlov.pavel@gmail.com>
Sat, 18 Jan 2025 19:33:04 +0000 (21:33 +0200)
commitee17f4c6d295e82733673f824e7dba81a33e245b
tree7314c3a8119beba598ce4584353904984a6728d1
parentc8243b472479ae4d64c5b684cd8abe1984588597
Use _bzhi_u32 for 32-bit builds when building with STATIC_BMI2

`_bzhi_u64` is available only for 64-bit builds, while `BIT_getLowerBits` expects `nbBits` to be less than `BIT_MASK_SIZE` (`BIT_MASK_SIZE` is 32)
lib/common/bitstream.h