diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2023-12-20 21:15:16 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2023-12-28 17:17:39 +0200 |
commit | cd64dd70d5665b6048829c45772d08606f44672e (patch) | |
tree | 7e276ff67971dbb1c6c6282264dad694b17c5f69 /tests/test_compress_generated_text | |
parent | liblzma: Check also for __clang__ in memcmplen.h. (diff) | |
download | xz-cd64dd70d5665b6048829c45772d08606f44672e.tar.xz |
liblzma: Use 8-byte method in memcmplen.h on ARM64.
It requires fast unaligned access to 64-bit integers
and a fast instruction to count leading zeros in
a 64-bit integer (__builtin_ctzll()). This perhaps
should be enabled on some other archs too.
Thanks to Chenxi Mao for the original patch:
https://github.com/tukaani-project/xz/pull/75 (the first commit)
According to the numbers there, this may improve encoding
speed by about 3-5 %.
This enables the 8-byte method on MSVC ARM64 too which
should work but wasn't tested.
Diffstat (limited to 'tests/test_compress_generated_text')
0 files changed, 0 insertions, 0 deletions