linux/lib/xz
Lasse Collin bdfc041171 xz: optimize for-loop conditions in the BCJ decoders
Compilers cannot optimize the addition "i + 4" away since theoretically it
could overflow.

Link: https://lkml.kernel.org/r/20240721133633.47721-11-lasse.collin@tukaani.org
Signed-off-by: Lasse Collin <lasse.collin@tukaani.org>
Reviewed-by: Sam James <sam@gentoo.org>
Cc: Albert Ou <aou@eecs.berkeley.edu>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Joel Stanley <joel@jms.id.au>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Jubin Zhong <zhongjubin@huawei.com>
Cc: Jules Maselbas <jmaselbas@zdiv.net>
Cc: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Paul Walmsley <paul.walmsley@sifive.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Rui Li <me@lirui.org>
Cc: Simon Glass <sjg@chromium.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-09-01 20:43:26 -07:00
..
Kconfig xz: fix comments and coding style 2024-09-01 20:43:24 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
xz_crc32.c xz: cleanup CRC32 edits from 2018 2024-09-01 20:43:25 -07:00
xz_dec_bcj.c xz: optimize for-loop conditions in the BCJ decoders 2024-09-01 20:43:26 -07:00
xz_dec_lzma2.c xz: switch from public domain to BSD Zero Clause License (0BSD) 2024-09-01 20:43:24 -07:00
xz_dec_stream.c xz: switch from public domain to BSD Zero Clause License (0BSD) 2024-09-01 20:43:24 -07:00
xz_dec_syms.c xz: switch from public domain to BSD Zero Clause License (0BSD) 2024-09-01 20:43:24 -07:00
xz_dec_test.c xz: switch from public domain to BSD Zero Clause License (0BSD) 2024-09-01 20:43:24 -07:00
xz_lzma2.h xz: switch from public domain to BSD Zero Clause License (0BSD) 2024-09-01 20:43:24 -07:00
xz_private.h xz: cleanup CRC32 edits from 2018 2024-09-01 20:43:25 -07:00
xz_stream.h xz: switch from public domain to BSD Zero Clause License (0BSD) 2024-09-01 20:43:24 -07:00