Yann Collet
6c052a93ce
added ARM64 target
...
for Visual 2017.
2019-07-10 17:40:59 -07:00
Yann Collet
7e5a1ab212
added visual images
2019-07-10 17:24:54 -07:00
Yann Collet
3173fc86c0
disable ARM binary tests
2019-07-10 17:19:31 -07:00
Yann Collet
790b4d29f9
new test command for Visual
2019-07-10 17:11:50 -07:00
Yann Collet
cffc1e9cd9
try to compile visual with static linking
...
so that produced binary can be tested
2019-07-10 16:40:51 -07:00
Yann Collet
78ad9b637d
try another name for Visual binary
2019-07-10 16:25:27 -07:00
Yann Collet
191af8507d
new test commands
...
prefer make check when available
2019-07-10 16:20:25 -07:00
Yann Collet
9b3d524794
disable inline keyword for clang c90 tests
2019-07-10 16:13:59 -07:00
Yann Collet
b6c63d5539
minor cleanup for Visual
...
still some issues running tests
2019-07-10 16:10:37 -07:00
Yann Collet
bea06fb823
fixed wrong directory listing (Visual)
2019-07-10 15:53:06 -07:00
Yann Collet
69d0d51585
changed cmake visual arch targets
2019-07-10 15:50:15 -07:00
Yann Collet
cdf90d3613
update copy command for visual
2019-07-10 15:46:51 -07:00
Yann Collet
adf33cfafd
removed branches from Visual build script
...
use env variable instead
2019-07-10 15:39:57 -07:00
Yann Collet
ab619fede6
removed clang warning class
2019-07-10 15:34:26 -07:00
Yann Collet
4344cee62c
added test directory listing
...
to figure out visual output layout
2019-07-10 15:32:47 -07:00
Yann Collet
94faa2f92f
changed flags for clang
2019-07-10 15:29:26 -07:00
Yann Collet
8136aa1c9f
updated script
...
to help parsing
2019-07-10 15:16:48 -07:00
Yann Collet
f4879f4eb4
removed a comment
...
seems to break script parsing
2019-07-10 14:55:56 -07:00
Yann Collet
6bc6c8a7be
updated appveyor script
...
- add a compilation test with clang
- add runtime tests for visual
- try to factorize script for visual
2019-07-10 14:53:16 -07:00
Yann Collet
7641c4dd28
define XXH_restrict
...
only use `restrict` keyword in C99+.
Fix #226
2019-07-09 15:39:04 -07:00
Yann Collet
98684b15c8
Merge pull request #225 from Cyan4973/reroll
...
Reroll patch
2019-07-03 16:39:47 -07:00
Yann Collet
a1179e2fb6
added doc
2019-07-03 16:11:51 -07:00
Yann Collet
1bfada562c
Merge branch 'dev' into reroll
2019-07-03 16:08:40 -07:00
Yann Collet
41ebe39b03
Merge pull request #224 from Cyan4973/visual_arm
...
Fix Visual compilation for ARM target
2019-07-03 15:38:52 -07:00
Yann Collet
7179700f91
fix #222 : __emulu is not defined for ARM
2019-07-03 15:04:03 -07:00
Yann Collet
acfa23970f
added test for visual compilation on arm
...
following suggestion from @v-strob
2019-07-03 14:56:13 -07:00
Yann Collet
fcc977ba19
Merge pull request #223 from aras-p/xxh3stream128
...
Initial attempt at 128-bit XXH3 streaming variant
2019-07-03 14:38:00 -07:00
Yann Collet
e12f785151
init to 0 is enough
2019-07-03 14:25:05 -07:00
Yann Collet
d5e9850cef
Merge branch 'dev' into fix222
2019-07-03 14:24:54 -07:00
Yann Collet
d9b65e78e1
added test case for #222
...
and a simpler fix : just init bufferedSize to 0 after consumption.
2019-07-03 14:23:43 -07:00
Yann Collet
2a1a87c2a6
Merge pull request #222 from aras-p/patch-1
...
Fix XXH3 streaming result when update block size happens to land exactly on buffer size/
2019-07-03 14:23:20 -07:00
Aras Pranckevicius
7a4f91ea7c
Still trying to fix gcc build :)
2019-07-03 19:09:57 +03:00
Aras Pranckevicius
56adc2af0b
Trying to fix gcc build
2019-07-03 19:00:52 +03:00
Aras Pranckevicius
d74ab00f94
Initial attempt at 128-bit XXH3 streaming variant:
...
- seems to produce same results as non-streaming functions,
- the 128-bit non-streaming ones don't support "custom secret", so
neither does the streaming variant
- the 64-bit functions seem to do something more clever in order to
avoid leaking the key/secret, which none of current 128-bit functions
do
- the naming of the streaming functions is a bit weird now, since
most of the ones with "64" in the name are what should be used in
128 bit case too
2019-07-03 18:53:41 +03:00
Aras Pranckevičius
86f067eee7
Fix XXH3 streaming result when update block size happens to land exactly on buffer size
...
I was testing the non-streaming XXH3 on 512 byte block, and a streaming API that happened to do a "3 bytes update, then 509 bytes update", and the result was different. Looks like `bufferedSize` was not properly updated if the incoming block size landed exactly on multiple of the internal buffer size. With this proposed fix it seems to be better
2019-07-03 18:41:16 +03:00
Yann Collet
03cfe3e5b1
benchHash : can distinguish hash names with same beginning
2019-06-18 13:48:59 -07:00
Yann Collet
e70204fedc
Merge pull request #218 from Cyan4973/bijective
...
xxh3: updated formula for len 1-8
2019-06-18 13:18:11 -07:00
Yann Collet
e6ec5c0eb5
xxh3: updated formula for len 1-8
...
guarantee of no collision for 2 different inputs of same len.
2019-06-18 11:07:06 -07:00
Yann Collet
81cb459566
Merge pull request #217 from Cyan4973/midsizev3
...
Midsize
2019-06-17 17:19:15 -07:00
Yann Collet
35d1e2fd7e
completed midsize (129-240)
...
including streaming and self-tests
2019-06-17 14:16:52 -07:00
Yann Collet
93f114c261
try to factorize small sizes
...
measure performance impact
2019-06-17 14:00:57 -07:00
Yann Collet
593c514654
first midsize version
...
just for test with benchHash
2019-06-17 12:38:49 -07:00
Yann Collet
60c7cc70fa
disable clang unroll statement on emscripten
...
recommended by @aras-p.
I could not reproduce the issue,
but removing the unroll statement doesn't hurt wasm anyway,
so let's remove it for emscripten.
2019-06-17 12:01:50 -07:00
Yann Collet
e729db5a54
Merge pull request #216 from Cyan4973/xxh3streamv2
...
Implement XXH3 streaming API
2019-06-14 13:49:35 -07:00
Yann Collet
86ff78af51
static analyzer can be provided as environment variables
...
not just as `make` override
2019-06-14 13:10:14 -07:00
Yann Collet
ef24aa8ecf
minor difference on streaming initialization
...
to help static analyzer
2019-06-14 13:08:17 -07:00
Yann Collet
2745060950
SCANBUILD can be defined before calling make staticAnalyze
2019-06-14 12:44:15 -07:00
Yann Collet
e9b91102eb
completed tests for streaming with custom secret
...
fixed streaming with custom secret on small input
2019-06-14 12:26:33 -07:00
Yann Collet
47ce68677a
updated selft-test sample generator
...
to generate more random bytes (and less zero).
updated tests accordingly.
confirmed XXH3 streaming more works fine (default & seed).
2019-06-14 11:51:44 -07:00
Yann Collet
6f0320e2d8
first test of XXH3 streaming variant
...
note : self-test output traces
2019-06-14 11:34:24 -07:00