diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2022-09-19 20:24:26 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2022-09-19 20:24:26 +0300 |
commit | d5b0906fa55157f48c200188a3951d80df9cb308 (patch) | |
tree | 8751d2e460bc977bfc634913dfcec1533720a328 /src/xz/args.c | |
parent | liblzma: Add experimental ARM64 BCJ filter with a temporary Filter ID. (diff) | |
download | xz-d5b0906fa55157f48c200188a3951d80df9cb308.tar.xz |
xz: Add --experimental-arm64[=width=WIDTH].
It will be renamed to --arm64 once it is stable.
Man page or --long-help weren't updated yet.
Diffstat (limited to 'src/xz/args.c')
-rw-r--r-- | src/xz/args.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/xz/args.c b/src/xz/args.c index be293902..941214b5 100644 --- a/src/xz/args.c +++ b/src/xz/args.c @@ -126,6 +126,7 @@ parse_real(args_info *args, int argc, char **argv) OPT_IA64, OPT_ARM, OPT_ARMTHUMB, + OPT_ARM64, OPT_SPARC, OPT_DELTA, OPT_LZMA1, @@ -197,6 +198,7 @@ parse_real(args_info *args, int argc, char **argv) { "ia64", optional_argument, NULL, OPT_IA64 }, { "arm", optional_argument, NULL, OPT_ARM }, { "armthumb", optional_argument, NULL, OPT_ARMTHUMB }, + { "experimental-arm64", optional_argument, NULL, OPT_ARM64 }, { "sparc", optional_argument, NULL, OPT_SPARC }, { "delta", optional_argument, NULL, OPT_DELTA }, @@ -370,6 +372,11 @@ parse_real(args_info *args, int argc, char **argv) options_bcj(optarg)); break; + case OPT_ARM64: + coder_add_filter(LZMA_FILTER_ARM64, + options_arm64(optarg)); + break; + case OPT_SPARC: coder_add_filter(LZMA_FILTER_SPARC, options_bcj(optarg)); |