]> git.ipfire.org Git - thirdparty/zstd.git/commit
AArch64: Revert previous branch optimization
authorArpad Panyik <Arpad.Panyik@arm.com>
Wed, 8 Oct 2025 18:58:45 +0000 (18:58 +0000)
committerArpad Panyik <Arpad.Panyik@arm.com>
Wed, 8 Oct 2025 18:58:45 +0000 (18:58 +0000)
commit33618c89e511637f8a6ef955b3501766d71feb53
tree3ec8e1d293835ce336ecaa36fbd09f45ee26f510
parent23dae4bf49a8b36ab88509c85137b49f74bbc76d
AArch64: Revert previous branch optimization

Revert a branch optimization that was based on an incorrect
assumption in the AArch64 part of ZSTD_decodeSequence. In extreme
cases the existing implementation could lead to data corruption.

Insert an UNLIKELY hint to guide the compilers toward generating more
efficient machine code.
lib/decompress/zstd_decompress_block.c