Commit Graph

5 Commits

Author SHA1 Message Date
Alex Chiang
c3cdf434f3 Add supporting RISC-V cross compilation workflows
Add RISC-V cross-compilation test
Enable RVV support at compile time
2023-05-12 16:57:32 +02:00
Vladislav Shchapov
20d8fa8af1 Replace global CPU feature flag variables with local variable in init_functable
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2023-03-06 13:26:09 +01:00
Ilya Leoshkevich
9be98893aa Use PREFIX() for some of the Z_INTERNAL symbols
https://github.com/powturbo/TurboBench links zlib and zlib-ng into the
same binary, causing non-static symbol conflicts. Fix by using PREFIX()
for flush_pending(), bi_reverse(), inflate_ensure_window() and all of
the IBM Z symbols.

Note: do not use an explicit zng_, since one of the long-term goals is
to be able to link two versions of zlib-ng into the same binary for
benchmarking [1].

[1] https://github.com/zlib-ng/zlib-ng/pull/1248#issuecomment-1096648932
2022-04-27 10:37:43 +02:00
Nathan Moinvaziri
a5a0b40e17 Move cpu_feature includes out of zutil.h. 2022-01-23 16:39:48 +01:00
Nathan Moinvaziri
6f179fd301 Added adler32, compare256, crc32, and slide_hash benchmarks using Google Benchmark.
Co-authored-by: Adam Stylinski <kungfujesus06@gmail.com>
2022-01-17 09:10:02 +01:00