History log of /isa-l/igzip/huff_codes.c (Results 1 – 25 of 29)
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>


# 1500db75 23-Jan-2024 Colin Ian King <colin.i.king@gmail.com>

Fix a handful of spelling mistakes and typos

There are quite a few spelling mistakes and typos in comments and
user facing message literal strings as found using codespell. Fix
these.

Signed-off-by

Fix a handful of spelling mistakes and typos

There are quite a few spelling mistakes and typos in comments and
user facing message literal strings as found using codespell. Fix
these.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>

show more ...


# 9f75defd 14-Jul-2022 Greg Tucker <greg.b.tucker@intel.com>

Remove all slver legacy segments

The relic slver is no longer used for individual versioning
on functions and is confusing tools looking for data in text
sections. This removes all instances instead

Remove all slver legacy segments

The relic slver is no longer used for individual versioning
on functions and is confusing tools looking for data in text
sections. This removes all instances instead of fixing since
its usefulness is waining. Fixes #221

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

show more ...


# 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 ...


# b721db98 06-Aug-2019 Jun He <jun.he@arm.com>

igzip: optimize convert_dist_to_dist_sym to branchless

convert_dist_to_dist_sym uses long if/else branch to get look back distance.
The distance calculation is well formed for each distance range, s

igzip: optimize convert_dist_to_dist_sym to branchless

convert_dist_to_dist_sym uses long if/else branch to get look back distance.
The distance calculation is well formed for each distance range, so it could
be optimized for a branchless version.

Change-Id: I4e1e5170f8b3238631f3048087f95acc53e4498e
Signed-off-by: Jun He <jun.he@arm.com>

show more ...


# 5be1ba22 13-Dec-2018 Roy Oursler <roy.j.oursler@intel.com>

igzip: Remove undefined unaligned loads

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


# e8ca21ba 13-Jun-2018 Roy Oursler <roy.j.oursler@intel.com>

igzip: Fix update_histogram_base buffer finish

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


# bb05f0fc 22-Mar-2018 Roy Oursler <roy.j.oursler@intel.com>

igzip: Fix sizeof(void *) in isal_create_hufftables

Fixes #33

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


# 47348345 22-Mar-2018 Roy Oursler <roy.j.oursler@intel.com>

igzip: Fix uninitialized used of bl_count[0]

Fixes #34

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


# bcde6e41 12-Mar-2018 Daniel Verkamp <daniel.verkamp@intel.com>

igzip: mark huff_codes.c internal functions static

Remove declarations from huff_codes.h (preserving doc comments where
applicable) and mark functions that are only called within huff_codes.c
as sta

igzip: mark huff_codes.c internal functions static

Remove declarations from huff_codes.h (preserving doc comments where
applicable) and mark functions that are only called within huff_codes.c
as static.

Change-Id: Idc0113d4eca9e97347def86a502073ef7126114b
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>

show more ...


# 07eac8fc 12-Mar-2018 Daniel Verkamp <daniel.verkamp@intel.com>

igzip: mark private data as static

These globals are only used within huff_codes.c, so they don't need to
be globally visible.

Change-Id: I1e118b3a95cfb7d21bf33c66559362483e460d58
Signed-off-by: Da

igzip: mark private data as static

These globals are only used within huff_codes.c, so they don't need to
be globally visible.

Change-Id: I1e118b3a95cfb7d21bf33c66559362483e460d58
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>

show more ...


# 52bb3229 22-Feb-2018 Jean-Yves VET <jyvet@ddn.com>

build: fix compilation with CPU not supporting SSE

This patch makes the project compile and run (tests and
performance tests as well) with CPUs which are not
supporting SSE instructions.

Signed-off

build: fix compilation with CPU not supporting SSE

This patch makes the project compile and run (tests and
performance tests as well) with CPUs which are not
supporting SSE instructions.

Signed-off-by: Jean-Yves Vet <jyvet@ddn.com>

show more ...


# 4ae2d1be 10-Jun-2017 Roy Oursler <roy.j.oursler@intel.com>

igzip: Implement optimized level 2 compression

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


# e79c57c7 21-Sep-2017 Roy Oursler <roy.j.oursler@intel.com>

igzip: Fix issue with isal_create_hufftables_subset

isal_create_hufftables_subset failed to generate length symbols, but should
generate those symbols as a histogram does not guarantee finding all l

igzip: Fix issue with isal_create_hufftables_subset

isal_create_hufftables_subset failed to generate length symbols, but should
generate those symbols as a histogram does not guarantee finding all lengths
found in compression

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

show more ...


# 9099918d 23-Aug-2017 Peng Xiao <xiao.peng61@zte.com.cn>

fixing huff_codes.c's compiling problem on CentOS 6.5 as gcc 4.4.7 only support C89

Signed-off-by: Peng Xiao <xiao.peng61@zte.com.cn>


# 64143a74 21-Mar-2017 Roy Oursler <roy.j.oursler@intel.com>

igzip: Implement type 0 blocks for level 1 compress

Change-Id: If55ab161623d29fa6fb08df3bc813e654918e592


# c28be0d3 27-Mar-2017 Greg Tucker <greg.b.tucker@intel.com>

igzip: Remove unnecessary casts causing warnings in 32bit build

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


# ec6e5de6 22-Mar-2017 Greg Tucker <greg.b.tucker@intel.com>

igzip: Move build_heap base functions to own file

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


# f80a1ed6 22-Mar-2017 Roy Oursler <roy.j.oursler@intel.com>

igzip: Create base functions for build_heap and build_huff_tree

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


# 9992cc19 16-Mar-2017 Roy Oursler <roy.j.oursler@intel.com>

igzip: Implement static header on level 1 compress

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


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

igzip: Increase isal_mod_hist size to stop histogram overflow

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


# 01dfbcc4 03-Oct-2016 Roy Oursler <roy.j.oursler@intel.com>

igzip: implement igzip two pass

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


# d4c6067d 26-Sep-2016 Roy Oursler <roy.j.oursler@intel.com>

igzip: Fix bug in default histogram generation

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


# 88192ce5 23-Sep-2016 Greg Tucker <greg.b.tucker@intel.com>

igzip: Add missing slver for isal_create_hufftables_subset

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


# 8fe5cbee 24-Aug-2016 Roy Oursler <roy.j.oursler@intel.com>

igzip: Decrease stack size of update_histogram_base.

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


12