diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2024-01-23 00:09:48 +0200 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2024-01-23 23:05:47 +0800 |
commit | 50255feeaabcc7e7db22b858a6bd64a9b5b4f16d (patch) | |
tree | bed06df927f6a9d1d91dd3360925ea3c1a3625bf /src/xz/util.h | |
parent | xz: Update xz -lvv for RISC-V filter. (diff) | |
download | xz-50255feeaabcc7e7db22b858a6bd64a9b5b4f16d.tar.xz |
liblzma: RISC-V filter: Use byte-by-byte access.
Not all RISC-V processors support fast unaligned access so
it's better to read only one byte in the main loop. This can
be faster even on x86-64 when compared to reading 32 bits at
a time as half the time the address is only 16-bit aligned.
The downside is larger code size on archs that do support
fast unaligned access.
Diffstat (limited to 'src/xz/util.h')
0 files changed, 0 insertions, 0 deletions