Yann Collet
bb094a09ad
fixed demerphq avalanche tests for len [0-3]
...
consequence : changes result of XXH3() for len [0-3]
2020-06-17 16:12:48 -07:00
Yann Collet
dcb83c8cc3
Merge pull request #394 from WayneD/dev
...
Some Makefile improvements
2020-06-17 10:55:26 -07:00
Wayne Davison
059164ed44
One more use of $(UNAME).
2020-06-17 10:08:36 -07:00
Wayne Davison
4e07b33c48
One more tweak reverted.
2020-06-17 10:01:41 -07:00
Wayne Davison
bf73e464a7
Merge branch 'dev' into dev
2020-06-17 09:59:26 -07:00
Yann Collet
7259193bde
Merge pull request #392 from Cyan4973/sfvCompat
...
compatibility with turbosfv
2020-06-17 08:58:04 -07:00
Yann Collet
a93ed1691e
Merge pull request #393 from Cyan4973/cygwin
...
added make install target for cygwin
2020-06-17 08:57:54 -07:00
Wayne Davison
7dd0334054
Some Makefile improvements
...
- Fix identification of Cygwin/MSYS/MINGW "OS" that have $(OS) of
Windows% but shouldn't obey the Windows rules.
- Add Cygwin to the list of validated installs. I ran install as:
`PREFIX=/usr make install`
- The uninstall target now removes the xxh3.h file.
2020-06-16 23:48:02 -07:00
Yann Collet
7716de4154
updated welcome string in dispatch mode
...
will now display "autoVec"
instead of baseline vector instruction set
2020-06-15 17:09:39 -07:00
Yann Collet
fa216f04a2
added make install for cygwin
...
fix #356
2020-06-15 16:45:15 -07:00
Yann Collet
bd6fc63283
added test
2020-06-15 10:39:24 -07:00
Yann Collet
fc52938c5f
compatibility with turbosfv
...
as requested in
https://github.com/Cyan4973/xxHash/issues/382#issuecomment-641978062
2020-06-15 10:16:39 -07:00
Yann Collet
4cdfe2f442
Merge pull request #390 from Cyan4973/newBench
...
Updated benchmark module
2020-06-15 10:06:54 -07:00
Yann Collet
6090b0d18b
fixed XXH128_stream performance with DISPATCH=1
2020-06-12 19:05:21 -07:00
Yann Collet
c1d70f5dd6
fixed XXH3_stream performance with DISPATCH
2020-06-12 18:59:12 -07:00
Yann Collet
dd79edee44
added XXH3_stream and XXH128_stream targets
2020-06-12 18:35:20 -07:00
Yann Collet
de0fe16fc7
disable staticAnalyze
...
it makes no sense for this test to fail now
on a completely unrelated part of the code base.
2020-06-12 18:11:01 -07:00
Yann Collet
e6683d935f
fixed a completely unrelated malloc potential error
2020-06-12 16:19:51 -07:00
Yann Collet
c5867346ee
bench: can select multiple variants
...
using comma separated IDs
2020-06-12 15:07:20 -07:00
Yann Collet
57377539bf
can select multiple variants to benchmark
...
For example, `xxhsum -b1 -b2` will benchmark XXH32 in both aligned and unaligned mode.
Also : modified default list,
now only test main variants (XXH32, XXH64, XXH3 and XXH128).
Also : -bi0 makes it possible to generate a very quick (though inaccurate) evaluation.
2020-06-12 14:52:46 -07:00
Yann Collet
167e0c87b5
-bi0 makes a quick evaluation
...
modified make check to take advantage of -bi0 (faster test)
2020-06-12 12:25:15 -07:00
Yann Collet
f05d7987b6
print benchID
2020-06-12 11:39:51 -07:00
Yann Collet
c5f497e3c3
updated CHANGELOG
...
in preparation of v0.7.4
2020-06-12 09:49:57 -07:00
Yann Collet
37d484267a
name instruction set in travisCI tests
2020-06-11 21:29:15 -07:00
Yann Collet
afed27cc26
Merge pull request #387 from Cyan4973/x86dispatch_table
...
Intel vector instruction dispatcher
2020-06-11 20:34:31 -07:00
Yann Collet
972ae45bf5
Merge branch 'dev' into x86dispatch_table
2020-06-11 17:52:14 -07:00
Yann Collet
27e33ac174
Merge pull request #386 from Cyan4973/kdf
...
Key Derivation function
2020-06-11 17:50:51 -07:00
Yann Collet
8dff3b89ee
moved XXH3_generateSecret() into experimental section
...
so that its outcome remain non-binding
even after XXH3 / XXH128 get stabilized.
2020-06-11 17:22:58 -07:00
Yann Collet
8debcdc6f1
added documentation about DISPATCH environment variable
2020-06-11 00:26:38 -07:00
Yann Collet
f99ef4fd62
added environment variable DISPATCH
2020-06-11 00:13:06 -07:00
Yann Collet
125710950d
fix avx512 dispatch
2020-06-11 00:01:39 -07:00
Yann Collet
0e67407e71
adding test for make dispatch
2020-06-10 19:10:43 -07:00
Yann Collet
c94b87eccd
fixed minor warnings
2020-06-10 18:12:08 -07:00
Yann Collet
e9a9c7f753
fix minor cast warning
2020-06-10 16:51:10 -07:00
Yann Collet
f533356c96
fixed assert
2020-06-10 16:42:27 -07:00
Yann Collet
0f3ba3f7e4
added XXH128_withSeed
2020-06-10 16:30:12 -07:00
Yann Collet
958abdc9a6
added XXH128_withSecret
2020-06-10 15:58:56 -07:00
Yann Collet
b4ea4f53c7
added XXH128
2020-06-10 15:43:37 -07:00
Yann Collet
ad86c7ca1e
added XXH3_128bits_update_dispatch()
2020-06-10 12:16:32 -07:00
Yann Collet
21a9a8c995
added XXH3_64bits_update_dispatch
2020-06-10 12:12:24 -07:00
Yann Collet
7c8b6995ff
simplified seed allocation
...
to be compatible with any vector mode selected by dispatch.
2020-06-10 11:36:58 -07:00
Yann Collet
df5aca4f85
shortened source code for small inputs
2020-06-10 10:51:33 -07:00
Yann Collet
35fad7a3de
shortened a few names
...
handle unused function warning
2020-06-09 21:15:50 -07:00
Yann Collet
710661b6ea
replaced function pointers by a table
...
simplify dispatch logic
2020-06-09 17:14:02 -07:00
Yann Collet
f629e4a7f0
added XXH3_64bits_withSecret_dispatch()
2020-06-09 16:32:01 -07:00
Yann Collet
a80dac4426
added sse2 target
2020-06-09 14:41:51 -07:00
Yann Collet
0e87760b03
fix compilation strategy
...
starting from "baseline",
adding support for additional vector instructions selectively
2020-06-09 14:10:13 -07:00
Yann Collet
16f728f058
first dispatcher concept
...
replace 2 functions : XXH3_64bits() and XXH3_64bits_withSeed()
new target : make dispatch
compiled with -mavx2 by default
compiles fine with -mavx512f, but then crash at runtime detection
2020-06-08 23:15:08 -07:00
Yann Collet
1b14f648d6
added auto-test for secret generator
2020-06-08 13:14:44 -07:00
Yann Collet
726e4fa4f4
minor : improve comment and code readability
...
as suggested in c546d08ff3 (r39708108)
Also :
fix : `seeds[]` was incorrectly initialized.
2020-06-07 23:11:07 -07:00