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/options.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/options.c')
-rw-r--r-- | src/xz/options.c | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/src/xz/options.c b/src/xz/options.c index 899bd842..0c1ee221 100644 --- a/src/xz/options.c +++ b/src/xz/options.c @@ -224,45 +224,6 @@ options_bcj(const char *str) } -/////////// -// ARM64 // -/////////// - -enum { - OPT_WIDTH, -}; - - -static void -set_arm64(void *options, unsigned key, uint64_t value, - const char *valuestr lzma_attribute((__unused__))) -{ - lzma_options_arm64 *opt = options; - switch (key) { - case OPT_WIDTH: - opt->width = value; - break; - } -} - - -extern lzma_options_arm64 * -options_arm64(const char *str) -{ - static const option_map opts[] = { - { "width", NULL, LZMA_ARM64_WIDTH_MIN, LZMA_ARM64_WIDTH_MAX }, - { NULL, NULL, 0, 0 } - }; - - lzma_options_arm64 *options = xmalloc(sizeof(lzma_options_arm64)); - options->width = LZMA_ARM64_WIDTH_DEFAULT; - - parse_options(str, opts, &set_arm64, options); - - return options; -} - - ////////// // LZMA // ////////// |