diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2022-11-14 23:14:41 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2022-11-14 23:16:38 +0200 |
commit | 8370ec8edf9ddf8d1d9fef03d8d1027503ec4c35 (patch) | |
tree | 5a5badf9edc6b6aaf3f8aa4e6cea15940c34b733 /src/xz/message.c | |
parent | liblzma: Add fast CRC64 for 32/64-bit x86 using SSSE3 + SSE4.1 + CLMUL. (diff) | |
download | xz-8370ec8edf9ddf8d1d9fef03d8d1027503ec4c35.tar.xz |
Replace the experimental ARM64 filter with a new experimental version.
This is incompatible with the previous version.
This has space/tab fixes in filter_*.c and bcj.h too.
Diffstat (limited to 'src/xz/message.c')
-rw-r--r-- | src/xz/message.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/xz/message.c b/src/xz/message.c index 345049e6..d4883709 100644 --- a/src/xz/message.c +++ b/src/xz/message.c @@ -1034,9 +1034,16 @@ message_filters_to_str(char buf[FILTERS_STR_SIZE], } case LZMA_FILTER_ARM64: { - const lzma_options_arm64 *opt = filters[i].options; - my_snprintf(&pos, &left, "arm64=width=%" PRIu32, - opt->width); + // FIXME TODO: Merge with the above generic BCJ list + // once the Filter ID is changed to the final value. + const lzma_options_bcj *opt = filters[i].options; + my_snprintf(&pos, &left, "arm64"); + + // Show the start offset only when really needed. + if (opt != NULL && opt->start_offset != 0) + my_snprintf(&pos, &left, "=start=%" PRIu32, + opt->start_offset); + break; } |