mirror of
https://github.com/intel/isa-l.git
synced 2024-12-12 17:33:50 +01:00
d3cfb2fb77
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> |
||
---|---|---|
.. | ||
igzip_checked_inflate_fuzz_test.c | ||
igzip_dump_inflate_corpus.c | ||
igzip_fuzz_inflate.c | ||
igzip_simple_inflate_fuzz_test.c | ||
igzip_simple_round_trip_fuzz_test.c | ||
Makefile.am | ||
Makefile.unx |