Roy Oursler
6f3599c191
igzip: Modify igzip_cli to abort when in_file is out_file
...
Change-Id: Iccb1926e6eb4461ff9f02ab6d593689e96e94155
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-12-04 10:41:40 -07:00
Roy Oursler
1fdc5941a3
igzip: Modify set_long_icf to handle small end_in
...
Change-Id: I24c3420df5d9e84d27fe28eff96155e5fcd51760
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-12-04 10:41:40 -07:00
Roy Oursler
ba1a000680
igzip: Implement set_long_icf to compare more than 258
...
Change-Id: Ia8813d176da6bfcd3c6ef441eca1c59ac99db7f2
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-12-04 10:41:40 -07:00
Roy Oursler
bdb6289bbe
igzip: Reduce data usage of set_long_icf_fg_06
...
Change-Id: If05629100ef21fa43a0275110ad978c705c1a7bd
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-12-04 10:41:40 -07:00
Roy Oursler
fce71b0670
igzip: Implement icf_body random data skip ahead
...
Change-Id: I5dd5f37ec0cdfe4f2591685dc4a0a056f0b07ea3
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-12-04 10:41:40 -07:00
Greg Tucker
eaa1c18a94
doc: Fix spelling errors in headers
...
Change-Id: I0f4164b39b185fa808c66208df0731b5e031d7fd
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2018-12-04 10:12:14 -07:00
Greg Tucker
e19101f5de
doc: Add detail of internal checksum value in gzip/zlib mode
...
Change-Id: I8f7fdcec40371e61eb19248cb24c9837d0845a0c
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2018-12-04 10:11:40 -07:00
Greg Tucker
940515d51f
igzip: Add missing initialization in perf test
...
Change-Id: Ia51a45edd48bd57c925f86c9de7616075a81e64d
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2018-11-29 16:37:56 -07:00
Greg Tucker
e1470f70f6
igzip: Fixup a few labels and return warnings
...
Change-Id: Iaf2634a939fc741006895407b4b219a2f2cae98e
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2018-11-29 16:37:56 -07:00
Greg Tucker
2e212f28fa
build: Fix for mac nasm lack of symbol types
...
Change-Id: I9ee86a3e32876d3860477c8365fc459d94a8920e
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2018-11-29 13:54:36 -07:00
Greg Tucker
86c865b784
test: Fix for script where no tags are pulled
...
Change-Id: I88753b8c7abcef3826078fbad21486fb403a1acf
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2018-11-16 11:06:00 -07:00
Greg Tucker
37a42dd2e8
build: Fix for older mingw that does not auto add extention
...
Change-Id: I5217da1f59ed747aa85da30fd005343e245c4fe2
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2018-11-15 18:02:49 -07:00
Greg Tucker
9d7e8097bc
build: Fix for change in mingw linker adding extention
...
New mingw linker will always add .exe extention to filenames regardless of the
-o file name.
Change-Id: I089bc95e91ca9a11c0f6fbb23ff138699d9b42f9
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2018-11-15 10:57:25 -07:00
Greg Tucker
06b926fbb6
igzip: Fix portability issue when bad window size passed
...
If a user passes an invalid size for window bits it could have triggered an
undefined shift by larger than variable size.
Change-Id: Ib2999b094af075596be3333418667ae9b498e2ae
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2018-10-25 14:43:27 -07:00
Roy Oursler
b4dfd61d06
igzip: Fix missing argument in base aliases
...
Fix missing argument in decode_huffman_code_block_stateless base alias that
causes runtime issues for some architectures.
Change-Id: I84c34bf2635dad2fca6235bd4fe0a5bc78dfbbe6
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-10-23 12:54:36 -07:00
Roy Oursler
8a2be4b693
igzip: Optimize reset hash table
...
Change-Id: I380353ec846190acc87f19fd7660991e2db62010
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-10-18 17:47:09 -07:00
Roy Oursler
412abd81ea
igzip: Make all perf tests run a round for warmup
...
Change-Id: I9b6d4bd261b8633a6d44458aaa7c0b4bb7d713a5
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-10-18 15:13:31 -07:00
Roy Oursler
2458a651b7
igzip: Increase overestimate of compressed data size in igzip_perf
...
Change-Id: I16adcd817737f71fc59dac585c65c73eb3397d99
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-10-18 14:53:12 -07:00
Roy Oursler
e4bfb4d22e
igzip: Remove unecessary validation checks from igzip_perf
...
Change-Id: I0a79bfc9604153ab554275949caf987265e17113
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-10-17 13:52:55 -07:00
Roy Oursler
5793a8514e
igzip: Modify igzip_perf to be able to avoid perf testing inflate
...
Change-Id: I384485a6ce8b35cae3738aebc9291d5ff5f8b029
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-10-17 13:52:47 -07:00
Roy Oursler
cb17625279
igzip: Implement zlib stateful perf for igzip_perf
...
Change-Id: I124de36254dd079e6cf46681fd0cbc86659f2561
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-10-17 13:52:34 -07:00
Roy Oursler
18fd996588
igzip: Add flush type performance testing to igzip_perf
...
Change-Id: I66de7fa27de43ada1930475aafd1558f09d32ea9
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-10-17 13:51:09 -07:00
Roy Oursler
71a76468d6
igzip: Setup wrapper_hdr_test to use isal_gzip_hdr_init
...
Change-Id: I42c6ff0375b87d892bfebf28853403adef0a68c7
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-10-16 18:36:05 -07:00
Roy Oursler
943120532f
igzip: Expose isal_gzip_header_init for Windows DLLs
...
Change-Id: I4594ac0b42c43295d60a87d54aed91943e8f762b
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-10-16 16:43:58 -07:00
Greg Tucker
09e787231b
ec: Change gf_mad_test to use multi-binary function
...
Change-Id: Ibe484239b75514b5563dd043bb0e8c46d3bdac5e
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2018-10-09 17:55:56 -07:00
Greg Tucker
4832ace5f2
build: Add file permissions check to format script
...
Also do white space checks on more files.
Change-Id: Ie6fae6726336bf8ebf3f6aa5c1534d98cd3f9510
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2018-10-05 16:08:54 -07:00
Ondřej Nový
fddcb00eb0
igzip: Set NAME section in man page to something usefull
...
Change-Id: I57f9d51513adfbdc679e09a3d3f9690a7f04bb93
Signed-off-by: Ondřej Nový <ondrej.novy@firma.seznam.cz>
2018-10-01 09:28:06 -07:00
Greg Tucker
7031fa9072
Update release notes for v2.24 additions
...
Change-Id: Ib6ebccda1c0725d9755dd8e0b61646431984550b
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2018-09-27 13:35:04 -07:00
Greg Tucker
8ddc8d0117
mem: Fix zero detect base function for mingw
...
Mingw does not define WORDSIZE and incorrect int width was used.
Change-Id: Idc9f560dd1c722d51f6e54ba2342feafa13f8fa5
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2018-09-26 10:32:31 -07:00
Greg Tucker
3983fac41f
build: Bump revision to 2.24
...
Change-Id: I55b665f36867e827b5b3660e6fee297908cdc4ea
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2018-09-25 15:37:30 -07:00
Seth Howell
2065e638f2
tools: fix format of test_end function
...
This will make the function more flexible
Change-Id: I39acc83ca51ebd22d91166a47efa0d84f415669d
Signed-off-by: Seth Howell <seth.howell@intel.com>
2018-09-25 15:00:05 -07:00
John Kariuki
6e2013391a
mem: Add zero detect memory functions
...
This patch introduces the base, avx and sse optimized zero detect memory function.
The zero detect memory function tests if a memory region is all zeroes. If all the
bytes in the memory region are zero, the function return a zero. Otherwise, if the
memory region has non zero bytes, the zero detect function returns a 1.
Change-Id: If965badf750377124d0067d09f888d0419554998
Signed-off-by: John Kariuki <John.K.Kariuki@intel.com>
2018-09-25 14:33:31 -07:00
Greg Tucker
c872426b1c
doc: Add man file for igzip
...
Change-Id: I13b054aebddcdc1bfa9ae9b82cf4fc5c8ebab94b
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2018-09-25 11:03:09 -07:00
Greg Tucker
391db3314a
igzip: Add a few missing descriptions to cli
...
Change-Id: I4000547679ccee01541e0203e49d62b99f4f317b
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2018-09-25 11:01:45 -07:00
Greg Tucker
41fc273c43
igzip: Add missing files for distcheck
...
Change-Id: Ic6acd926c19113ecfa4233ca8d0a658e1a10ecd8
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2018-09-21 16:13:17 -07:00
Roy Oursler
a570a3e5d4
igzip: Limit max compare_large to limit redundant matching
...
Change-Id: I989c9b805700fdced4624fb5f4b4c19cce389448
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-09-20 11:12:02 -07:00
Roy Oursler
906e5d213b
igzip: Test swap flush for all levels
...
Change-Id: I889af775ba3474cf802e2bcb85f82d39d60ee518
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-09-20 11:12:02 -07:00
Roy Oursler
9689ba7e13
igzip: Remove igzip copy of crc32_gzip
...
Change-Id: I859ed904effa0a8bd7462b77b13e359014912639
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-09-20 11:12:02 -07:00
Roy Oursler
7205c23647
igzip: Improve optional compile options for wrapper_hdr_test
...
Change TEST_SEED and RANDOMS to be set only when they
are not already defined.
Change-Id: Ib101be4a1726875372eb7b19cd1bcdae90c9267d
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-09-20 11:12:02 -07:00
Roy Oursler
c19657241a
igzip: Setup optimized static header table to be default
...
Change-Id: Ia54682f7e1e321a26f941da8f884f385cfd42ad9
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-09-20 11:12:02 -07:00
Roy Oursler
a673395ac0
igzip: Improve test to test create_hufftables_subset
...
Change-Id: Ibefb5daa37050e6739f7004ff6e2004c342dd422
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-09-20 11:12:02 -07:00
Roy Oursler
b9a546058f
igzip: Add gzip/zlib wrapper testing to large test
...
Change-Id: I656c29f123692d2b29d70cb3c6711b49aafb1dc9
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-09-20 11:12:02 -07:00
Roy Oursler
f1f8d0917d
igzip: Modify stateless to limit max compression size
...
Change-Id: Ic2fcbe8fe643bcbd00bdc13e649e42b639098dad
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-09-20 11:12:02 -07:00
Roy Oursler
49e3329729
igzip: Fix Stateless Full Flush type0 block bugs
...
Prevent type 0 block in stateless full flush from attempting to write a trailer
when it not the end of the stream and fix the values of block_start and
block_end.
Change-Id: Ia8beac20fc244b1b3e5690cbc15d4d4bb8ada68e
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-09-20 11:12:02 -07:00
Roy Oursler
a1f8e55d11
igzip: Remove movnti instructions
...
Change-Id: I760b737bb5b138de4d62d841e2f24bc41c6a8b68
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-09-20 11:12:02 -07:00
Roy Oursler
7345490999
igzip: Modify igzip_body assembly to run to last 16 bytes.
...
Change-Id: Ib2c688d0b2d7ff5d4fd7b14bb6eea72a7f689cd3
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-09-20 11:12:02 -07:00
Roy Oursler
52d974762b
igzip: Create precomputed static inflate_huff_code
...
Change-Id: I94a2de2b5e5bebc37e30f5d597a95c493da504c0
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-09-20 11:12:02 -07:00
Roy Oursler
8387b65800
igzip: Modify hash table size based on input size
...
Change-Id: Ieeddb36ef8cd9615011876e4d8dc941a06622d1b
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-09-20 11:12:02 -07:00
Roy Oursler
8e4f1a1a38
igzip: Create generic deflate performance utility
...
Change-Id: Idf180660797f97a492550fb557652f036cd55509
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-09-20 11:12:02 -07:00
Roy Oursler
991fd252f1
igzip: Remove igzip_perf.c
...
Compression is too data dependent for igzip_perf.c to give any meaninful result.
Change-Id: I6d22cb5eb959404807b9c83de38e06d46c3ede76
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2018-09-20 11:12:02 -07:00