History log of /isa-l/igzip/generate_custom_hufftables.c (Results 1 – 13 of 13)
Revision Date Author Comments
# 55fbfabf 19-Apr-2024 Marcel Cornu <marcel.d.cornu@intel.com>

igzip: reformat using new code style

Signed-off-by: Marcel Cornu <marcel.d.cornu@intel.com>


# 5a00eaec 14-Dec-2023 Tomasz Kantecki <tomasz.kantecki@intel.com>

igzip: several fixes for issues reported by static code analysis

Signed-off-by: Tomasz Kantecki <tomasz.kantecki@intel.com>


# d3cfb2fb 11-Nov-2021 Ilya Leoshkevich <iii@linux.ibm.com>

Fix s390 build

The goal of this patch is to make isa-l testsuite pass on s390 with
minimal changes to the library. The one and only reason isa-l does not
work on s390 at the moment is that s390 is b

Fix s390 build

The goal of this patch is to make isa-l testsuite pass on s390 with
minimal changes to the library. The one and only reason isa-l does not
work on s390 at the moment is that s390 is big-endian, and isa-l
assumes little-endian at a lot of places.

There are two flavors of this: loading/storing integers from/to
memory, and overlapping structs. Loads/stores are already helpfully
wrapped by unaligned.h header, so replace the functions there with
endianness-aware variants. Solve struct member overlap by reversing
their order on big-endian.

Also, fix a couple of usages of uninitialized memory in the testsuite
(found with MemorySanitizer).

Fixes s390x part of #188.

Change-Id: Iaf14a113bd266900192cc8b44212f8a47a8c7753
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>

show more ...


# 438ecd81 20-Oct-2020 Greg Tucker <greg.b.tucker@intel.com>

Update custom hufftable tool for saving histogram

Change-Id: I515217b19373b8f996ff887268862cf2b102f3a4
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>


# 9968e7a0 20-Oct-2020 Greg Tucker <greg.b.tucker@intel.com>

Change gen cust hufftables to accept dictionary

Change-Id: I4eed03bdb91030b16b3ecfd8076adc890e4f59a2
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>


# 57eed2f0 13-Mar-2019 Yibo Cai <yibo.cai@arm.com>

aarch64: Cleanup build issues

This patch addresses one build failure and fixes several build warnings
for Arm (some for x86 too).

- Fix dynamic relocation link failure of ld.bfd 2.30 on Arm
[log]

aarch64: Cleanup build issues

This patch addresses one build failure and fixes several build warnings
for Arm (some for x86 too).

- Fix dynamic relocation link failure of ld.bfd 2.30 on Arm
[log] relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `xor_gen_neon' which may bind externally can not be used when making a shared object

- Add arch dependent "other_tests" to exclude x86 specific tests on Arm
[log] isa-l/erasure_code/gf_2vect_dot_prod_sse_test.c:181: undefined reference to `gf_2vect_dot_prod_sse'

- Check "fread" return value to fix gcc warnings on Arm and x86
[log] warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(in_buf, 1, in_size, in_file);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- Fix issue of comparing "char" with "int" on Arm. "char" is unsigned
on Arm by default, an unsigned char will never equal to EOF(-1).
[Log] programs/igzip_cli.c:318:31: warning: comparison is always true due to limited range of data type [-Wtype-limits]
while (tmp != '\n' && tmp != EOF)
^~

- Include <stdlib.h> to several files to fix build warnings on Arm
[log] igzip/igzip_inflate_perf.c:339:5: warning: incompatible implicit declaration of built-in function ‘exit’
exit(0);
^~~~

Change-Id: I82c1b63316b634b3d398ffba2ff815679d9051a8
Signed-off-by: Yibo Cai <yibo.cai@arm.com>

show more ...


# 42591691 01-May-2017 Roy Oursler <roy.j.oursler@intel.com>

igzip: Implement zlib compression format

Change-Id: I3d3cca425a494ac629cea230de74e3d32fcaea79
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>


# 91fef2d3 15-Mar-2017 Roy Oursler <roy.j.oursler@intel.com>

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
an

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>

show more ...


# 7fefb539 01-Nov-2016 Roy Oursler <roy.j.oursler@intel.com>

igzip: Add a hufftable for the static Huffman code in Deflate

Change-Id: If8aadce05bcb705e608fe3ed6028be9a7448fa59
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>


# bd4873c8 31-Aug-2016 Greg Tucker <greg.b.tucker@intel.com>

igzip: Fix missing paren in generate hufftable tool

Change-Id: I1b6d771bfaffd8353e260b7ae286d9abef5e4590
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>


# 88f95d85 05-Aug-2016 Roy Oursler <roy.j.oursler@intel.com>

igzip: Merge inflate.h and igzip_lib.h and fix external naming

Merge inflate.h and igzip_lib.h and rename many defines to avoid conflicts,
along with general cleanup of the new header.

Signed-off-b

igzip: Merge inflate.h and igzip_lib.h and fix external naming

Merge inflate.h and igzip_lib.h and rename many defines to avoid conflicts,
along with general cleanup of the new header.

Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
Reviewed-by: Greg Tucker <greg.b.tucker@intel.com>

show more ...


# 9d53af0c 30-Jul-2016 Roy Oursler <roy.j.oursler@intel.com>

igzip: Improve LARGE_WINDOW and change that option to be default.

Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
Reviewed-by: Greg Tucker <greg.b.tucker@intel.com>


# 660f49b0 02-Jun-2016 Greg Tucker <greg.b.tucker@intel.com>

Add data compression unit

Include fast DEFLATE compatable compression functions.

Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>