Commit Graph

700 Commits

Author SHA1 Message Date
Bram Vandoren
a928488e09 fix XXH32 and XXH32_digest return types 2019-08-27 14:52:14 +02:00
Yann Collet
e22268617b
Merge pull request #245 from easyaspi314/power8-travis
[PPC64][TRAVIS] Fix VSX + add POWER8 support, fix VSX and ARM NEON Travis testing
2019-08-21 03:02:22 -07:00
easyaspi314 (Devin)
c62fd1b300 Enable PPC VSX and ARMv7 NEON tests. 2019-08-20 21:10:23 -04:00
easyaspi314 (Devin)
512b883665 [PPC64] Fix VSX, POWER8 support, and disable POWER7.
The VSX codepath is now working on POWER8 and is fully enabled.

The little endian code has been verified on POWER8E, although
a big endian machine was not available.

This uses vpermxor from POWER8 to shuffle on big endian.

There are a few other fixes as well to unify endian memes.
2019-08-20 21:06:11 -04:00
Yann Collet
dfd1bf117c added comments on VSX code path
which is still disabled for now.
2019-08-15 15:35:53 +02:00
Yann Collet
eccd0827b7 ignore generated .s assembly files 2019-08-15 14:39:41 +02:00
Yann Collet
10904c1277 added XXH_REROLL consistency test
to catch issues such as #240.
Also added XXH64 test for len==4
2019-08-10 11:44:30 +02:00
Yann Collet
67a50241c4
Merge pull request #241 from easyaspi314/clang-rotl
Use __builtin_rotate on Clang
2019-08-10 11:15:52 +02:00
easyaspi314 (Devin)
829386063b Use __builtin_rotate on Clang 2019-08-09 21:09:40 -04:00
Yann Collet
1c9f6ef789 introduced XXH_ASSERT()
avoid impacting prior `assert()` settings (with or without NDEBUG)
2019-08-05 16:44:18 +02:00
Yann Collet
f22cf8876d
Merge pull request #239 from Mezozoysky/cmake_cfg_types
Add CMake build types for single-configuration generators and set def…
2019-08-01 02:00:04 +02:00
Stanislav Demyanovich
a6c986b00c Add CMake build types for single-configuration generators and set default build type to Release. 2019-07-30 19:36:48 +07:00
Yann Collet
b760990065
Merge pull request #238 from Mezozoysky/cmake_opts
Cmake opts
2019-07-30 13:54:11 +02:00
Stanislav Demyanovich
d493a8ad7f Update cmake_unofficial/README.md 2019-07-30 15:57:07 +07:00
Stanislav Demyanovich
097ff91c23 Append .gitignore 2019-07-30 14:47:13 +07:00
Stanislav Demyanovich
1d2bccffc1 Fix/update CMake BUNDLED_MODE logic. 2019-07-30 14:44:49 +07:00
Stanislav Demyanovich
066c0f25dc Replace CMake build-related options with cache entries due to option() issues within CMake < 3.13 (CMP0077). 2019-07-30 13:03:35 +07:00
Yann Collet
510e8d53a0
Merge pull request #237 from Mezozoysky/cmaked
Add CMake Config.
2019-07-29 03:08:12 -07:00
Stanislav Demyanovich
58591b0780 Decrease CMake version to 2.8.12 2019-07-28 19:07:22 +07:00
Stanislav Demyanovich
e6ae601b0c Add CMake Config. 2019-07-28 19:07:03 +07:00
Stanislav Demyanovich
655214fcdd Format CMakeLists.txt indentation. 2019-07-28 17:33:18 +07:00
Yann Collet
b6210fe0de disable __uint128_t for 128-bit multiply in emscripten
as suggested by @easyaspi314
2019-07-26 16:16:01 -07:00
Yann Collet
a8bc574665 updated doc
and graphs.
2019-07-26 12:28:28 -07:00
Yann Collet
da50de8e2a Merge branch 'dev' of github.com:Cyan4973/xxHash into dev 2019-07-26 12:01:06 -07:00
Yann Collet
42de47b0b5 updated documentation
try to insist on the importance of inlining.
2019-07-26 12:00:13 -07:00
Yann Collet
f012d4ef0e
Merge pull request #235 from Cyan4973/cmake
add cmake test to Travis CI
2019-07-25 17:43:47 -07:00
Yann Collet
4b7daee000 fixed trailingWhiteSpace
so that it doesn't try (and fail) to analyze binary.version.1
2019-07-25 17:19:58 -07:00
Yann Collet
cb939e00dc add cmake test to Travis CI
fix #138
2019-07-25 17:03:25 -07:00
Yann Collet
b94a5e9477 bumped version number 2019-07-25 16:24:33 -07:00
Yann Collet
14386483ff
Merge pull request #234 from Cyan4973/assert
fixed assert()
2019-07-25 16:22:04 -07:00
Yann Collet
9e8d37b9df blind-fixed alignment assert in 32-bit mode 2019-07-25 15:55:03 -07:00
Yann Collet
ea71708285 fixed assert()
control their activity with DEBUGLEVEL=#,
automatically test assert() as part of `make test`
2019-07-25 15:37:46 -07:00
Yann Collet
4032928204 convert primes into hexadecimal format 2019-07-25 15:18:06 -07:00
Yann Collet
2d811454c2
Merge pull request #231 from Cyan4973/update128
Update XXH128
2019-07-25 14:58:10 -07:00
Yann Collet
091bf37296 fixed (hopefully) ARM NEON code path 2019-07-25 13:10:04 -07:00
Yann Collet
ac8211770c fix NEON path for ARM64
still not fixed for regulat ARMv7+NEON
2019-07-25 13:03:10 -07:00
Yann Collet
5adc627386 disabled VSX code path 2019-07-24 17:33:52 -07:00
Yann Collet
401c7d152d xxh128: fix incorrect swap 2019-07-23 16:23:38 -07:00
Yann Collet
dba981268a fixed namespace emulation 2019-07-23 16:12:13 -07:00
Yann Collet
32030d0033 add functions for 128-bit canonical representation 2019-07-23 15:49:54 -07:00
Yann Collet
e961044f73 fixed xxh128 utility functions 2019-07-23 15:33:58 -07:00
Yann Collet
9be1fbd7fa added XXH128 helper functions isEqual and cmp 2019-07-22 18:39:47 -07:00
Yann Collet
b5cd9ab494 fixed mid-size formula for xxh128 2019-07-22 17:39:21 -07:00
Yann Collet
2d95987ef4 completed xxh128 tests 2019-07-19 17:53:04 -07:00
Yann Collet
da9fd1df10 aligned streaming implementation of 128bits with 64bits
also : added XXH128() to benchmark program
2019-07-19 17:28:09 -07:00
Yann Collet
43a4a01bde mid-size mode for 128 bits 2019-07-19 16:44:53 -07:00
Yann Collet
6a52dd28da simple cross-pollenization
input impacts 128-bit of accumulator (in 128-bit mode)
2019-07-19 16:21:17 -07:00
Yann Collet
66ca7d4227 fixed namespace emulation 2019-07-18 15:29:22 -07:00
Yann Collet
06036d88c4 Updated xxh128, to follow same design as XXH3_64b
Still to do :
- 128bits cross pollenization
- mid-size special case (129-240)
2019-07-18 15:14:44 -07:00
Yann Collet
b2794abc8f
Merge pull request #230 from gregzaitsev/dev
Fixed rerolled version of 64-bit hash.
2019-07-18 14:39:46 -07:00