Greg Tucker
ec6e5de665
igzip: Move build_heap base functions to own file
...
Change-Id: I0161cd65c71df00fadad9dd69e207e9fb29a54ef
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2017-03-30 18:20:09 -07:00
Roy Oursler
f80a1ed62b
igzip: Create base functions for build_heap and build_huff_tree
...
Change-Id: I19c2d7bbf1ac8270458b165a385c385a60f1cadc
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2017-03-30 18:18:14 -07:00
Greg Tucker
f316e96217
igzip: Add base function aliases and group src by arch
...
Change-Id: I4b6c8f62a09545d1ed4f48dc16b3fe8c8a5c72ea
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2017-03-30 18:16:36 -07:00
Greg Tucker
1268a57a32
raid: Add base function aliases and group src by arch
...
Change-Id: If7d987bcebb0ed1293d6836cd038746e7b0bbd85
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2017-03-30 18:09:32 -07:00
Greg Tucker
5d9cf8cadf
ec: Fixes for 32-bit build
...
Change-Id: Iac362f0d7282716a8502afcec939b0d1877a943f
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2017-03-30 17:56:07 -07:00
Greg Tucker
a0bfd8d02b
ec: Add base function aliases
...
Change-Id: I36f1a7948e0009ca5f4f67437f4aa704e737a05a
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2017-03-30 17:40:16 -07:00
Greg Tucker
14f07a9134
crc: Add base function aliases
...
Change-Id: I45e14808418b203e1761ae3ee4e4e510ae1e07e9
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2017-03-30 17:37:48 -07:00
Roy Oursler
871ad43fad
igzip: Fix bug in isal_deflate where processed is not calculated correctly.
...
Change-Id: I61e15a18ebe3130e73010337d2d41f59e2227f08
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2017-03-30 17:20:32 -07:00
Roy Oursler
be09e56b36
igzip: Modify igzip_example to provide example of higher compression levels
...
Change-Id: Iccd0528ac088e1eec3921aa5fde99769d75e3334
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2017-03-30 17:19:54 -07:00
Roy Oursler
bad6569acc
igzip: Document and add some defines for higher level compressions
...
Change-Id: I4d9fc9d7f697e721e247a64b2522ef2793c2d07f
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2017-03-30 17:18:55 -07:00
Roy Oursler
13692d61a3
igzip: Fix bug when 0 length buffer is passed
...
Avoid unsigned addition overflow when avail_in = 0 and next_in = -1 causing a
comparison to be correct when it should not be.
Change-Id: I3ff7123a89867317f383931cc95c8738ba2f8d56
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2017-03-30 17:17:04 -07:00
Greg Tucker
de7d639ab1
igzip: Change zero length array and typos found in windows build
...
Change-Id: Ia185b600af3c5f3b34bb9411daae6877f99b05d7
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2017-03-30 17:15:57 -07:00
Greg Tucker
cd2146de95
igzip: Add missing file to dist list
...
Change-Id: I6dc920bbae9bd1800ba12e7174cdf6bc98f75489
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2017-03-30 17:15:14 -07:00
Roy Oursler
9992cc1920
igzip: Implement static header on level 1 compress
...
Change-Id: I0fe61eb6d3994a0977a4486a2a4cf21af38dc250
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2017-03-30 17:13:12 -07:00
Roy Oursler
e38ed4b54e
igzip: Increase isal_mod_hist size to stop histogram overflow
...
Change-Id: I1c651c9625d0fb543cd89e53e2b78b391176ef68
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2017-03-30 17:11:51 -07:00
Roy Oursler
761b207376
igzip: delete generate_constant_block_header since it has not function
...
Change-Id: Id236f7a847f660b35165f9936850b3ff73609017
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2017-03-30 17:09:13 -07:00
Roy Oursler
91fef2d39c
igzip: Fix generate_custom_huffcodes
...
Reimplement generate_custom_hufftables.c to avoid internal dependencies. Remove
the symbol subset feature since a default incomplete huffman code is dangerous
and that functionaly is available when generating custom huffman codes.
Change-Id: I014d8e127b49583fe7d6ac9ce861cc3138ffec46
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2017-03-30 16:58:37 -07:00
Roy Oursler
5d15580467
igzip: Modify stateless_file_perf to test compression levels
...
Change-Id: If628e7f949da6862b99cebe6a0a59c6e6d5443e4
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2017-03-30 16:56:13 -07:00
Roy Oursler
a41d352a03
igzip: Modify assembly functions and structs to work on Windows
...
Change-Id: Icd106c3330dec72601e6f03340c07c6e1d1b5794
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2017-03-30 16:55:14 -07:00
Roy Oursler
f2c35a9fd4
igzip: Fix underflow bugs whe null pointer is passed in igzip base functions
...
Change-Id: Ia24326dcde6f8be9ee019690b8206d2779ddebb2
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2017-03-30 16:54:35 -07:00
Roy Oursler
7c7272e89c
igzip: Optimize two pass first pass
...
Change-Id: I45efa8304f929d91238c8173c0fac00ec64ab323
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2017-03-30 16:53:26 -07:00
Roy Oursler
4725626847
igzip: Setup to allow encode_df to decode lit lit pairs.
...
Change-Id: Ic93797a09c5a908fc1c6005b40439978d7484773
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2017-03-30 16:52:21 -07:00
Roy Oursler
8a05e7d780
igzip: vecotorize encode_df_asm.asm
...
Change-Id: I11e005556e150a5bf8c6cc9410fa7d98196847f1
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2017-03-30 16:50:53 -07:00
Roy Oursler
fb13462fac
igzip: Use SHLX and SHRX in encode_df_asm
...
Change-Id: Ic3165579587c905d8e347b35efa6cbedb5dbf5f3
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2017-03-30 16:50:53 -07:00
Roy Oursler
01dfbcc484
igzip: implement igzip two pass
...
Change-Id: I9564b2da251a02197b39cab5f141e7aff1ae8439
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2017-03-30 16:50:48 -07:00
Roy Oursler
43d1029b81
igzip: Modify sync_flush to not worry about writing eob
...
Change-Id: If3e7d5ff628574d715be348d96cdb82645985c25
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2017-03-30 16:06:47 -07:00
Greg Tucker
4ec9df4f8a
ec: Group src by arch
...
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2017-03-06 16:13:48 -07:00
Greg Tucker
8c975e9cbc
crc: Group source by arch
...
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2017-03-06 15:46:02 -07:00
Greg Tucker
97bbddc723
build: Change to canonical system type in autoconf
...
Change-Id: I5eb76fcf5da46fe85ad4fc06511a47d822e7da2c
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2017-03-06 09:40:07 -07:00
Greg Tucker
5ec8ea0e14
doc: Add build details and contributing
...
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2017-02-24 14:50:34 -07:00
Greg Tucker
81c8c823cd
Fix configure for a strict shell
...
The 'test ==' can give issues under some shells 'test =' is better.
Reported-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2017-01-20 16:04:47 -07:00
Greg Tucker
9be74b389f
doc: Add doxyfile for API doc creation
...
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2017-01-11 19:14:23 -07:00
Greg Tucker
d549db38e5
doc: Fix igzip header description for isal_create_hufftables
...
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2017-01-11 10:31:44 -07:00
Greg Tucker
3f891d7c2b
Update readme with new function list
...
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2016-12-06 23:00:34 -07:00
Greg Tucker
a075bfcc5d
Update windows config files
...
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2016-12-06 22:42:20 -07:00
Greg Tucker
8b8ba4e968
Update build config to v2.17
...
Change-Id: Ibe18733dd03f684f4e1042d684bd5bc543753031
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2016-12-06 21:39:59 -07:00
Greg Tucker
14c68812f3
Update release notes for v2.17 additions
...
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2016-12-06 21:28:52 -07:00
Greg Tucker
9d0fda20fd
igzip: Add copyright notice
...
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2016-12-06 21:06:10 -07:00
Greg Tucker
d301837657
igzip: Add file perf test for semi-dynamic
...
Change-Id: Ief045d7ca30d160128359b0dce3c63d9034c1016
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2016-12-06 16:20:33 -07:00
Greg Tucker
077b31b560
igzip: Fix feof usage in examples
...
Change-Id: Ic5f2f3cf62c57b685be6bc4f68a8c8e246452023
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
2016-12-06 16:18:54 -07:00
Roy Oursler
dfa4fd0940
igzip: Fix inflate bug with long when invalid huffman codes.
...
Change-Id: I52bfed0afa208462ed4a8614dd46cda5a5dc968d
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2016-12-06 16:18:32 -07:00
Roy Oursler
3bc0efa6c2
igzip: Add inflate std vector test to igzip_rand_test
...
Change-Id: If84de68e9f096e225b3b7e8b695f84c3ab6fe778
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2016-12-06 16:18:00 -07:00
Roy Oursler
89fedafcc9
igzip: Fix make_huff_code_lookup_table initialization bug.
...
Change-Id: I192ce6c907271d52bfda5bf4be6d5b2a35a9d459
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2016-12-06 16:17:17 -07:00
Roy Oursler
f0a39fea2a
igzip: Fix make_inflate_huff_code bug causing out of bounds writes
...
Change-Id: I7dcdb22031cb7b506f76578ee6d080924d917476
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2016-12-06 16:16:55 -07:00
Roy Oursler
7fefb53938
igzip: Add a hufftable for the static Huffman code in Deflate
...
Change-Id: If8aadce05bcb705e608fe3ed6028be9a7448fa59
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2016-12-06 16:15:57 -07:00
Roy Oursler
e1bcebc93a
igzip: Fix igzip to work with huffman codes with small headers.
...
Change-Id: Icd1236ada831c027f97cd4a6cabdeb15022b56be
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2016-12-06 16:15:32 -07:00
Xiaodong Liu
f42fc40db3
crc64: cache prefetch optimization
...
Change-Id: I4d4df3881e6fb8365cba605f7f5d010503ce73e9
Signed-off-by: Xiaodong Liu <xiaodong.liu@intel.com>
2016-12-06 15:58:38 -07:00
Xiaodong Liu
b933fe8341
crc32: cache prefetch optimization
...
Change-Id: Id5783f8e76d63f42bde6d4797dff0bd5c4bfca19
Signed-off-by: Xiaodong Liu <xiaodong.liu@intel.com>
2016-12-06 15:51:43 -07:00
Xiaodong Liu
67fa1a7baf
crc32: add memset to performance cases
...
Change-Id: Ifc99a26d842fbf6963c259b6c82a1e0a312e081f
Signed-off-by: Xiaodong Liu <xiaodong.liu@intel.com>
2016-12-06 15:32:16 -07:00
Roy Oursler
600d887143
igzip: Fix bug in inflate when exactly one distance is coded
...
Initialize the lookup table so invalid lookups do not cause segfaults.
Change-Id: Ibb88c4c473fa233f8821c35b3e32ff62814c2b15
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
2016-12-06 13:59:04 -07:00