26b927f9aae35767f9fff824765d48ea98a282a7 |
|
23-Mar-2016 |
Alex Deymo <deymo@google.com> |
Enable BCJ fiter support in xz-embedded. BCJ (branch/call/jump) filters in XZ will convert relative jumps into absolute addresses to increase the redundancy. Since binary code has plenty of relative jumps, this often improves compression ratio of .xz. Preliminary test shows an improvement of 2% in the compression ratio when compressing ELF files, which is already around 25% compression ratio when using xz. This patch enables the BCJ for x86, arm and thumb code filters (the actual data being compressed, not the supported architectures where the filter can run). This increases the size of the .a in ~12 KiB. Bug: 27817327 TEST=Used xz-embedded to decompress a file compressed with `xz --x86 --lzma2` (cherry picked from commit 20e8a04716ec9eca8ea5aa4788f0cbf69a7f6842) Change-Id: Icbfc05b711675ce26b4362218026abdcc22f368f
/external/lzma/xz-embedded/xz_config.h
|