107 Commits

Author SHA1 Message Date
Yann Collet
a83692aaf1 Merge pull request #1043 from zijianli1234/dev
Add RVV Optimizations for RISC-V Architecture Platforms
2025-06-15 17:35:30 -07:00
Yann Collet
037f9438a6 fix MSVC warning 2025-06-15 23:56:54 +00:00
Zijian
2973489afa Add RISC-V RVV implementation 2025-06-11 20:27:33 +08:00
Yann Collet
22c6d81fc3 update Makefile
using multiconf.make
2025-05-03 15:22:30 -07:00
musvaage
2be8ba6cd1 typos 2025-04-25 09:07:49 -05:00
Yann Collet
e4e33f1f54 Merge pull request #1000 from pps83/dev-x64test
Use _M_X64 only without mixing with _M_AMD64
2025-01-23 16:58:31 -08:00
Yann Collet
4a7c46d613 fix doxygen documentation 2025-01-22 10:34:03 -08:00
Yann Collet
b1f76e5990 more clearly identify error when there is no input 2025-01-22 09:49:08 -08:00
Yann Collet
71e797bd8c add XXH_NOESCAPE 2025-01-21 20:55:25 -08:00
Yann Collet
1bf7bc4af2 Merge pull request #993 from walterdejong/xxhsum-help
Xxhsum improved help
2025-01-21 11:51:35 -08:00
Pavel P
a42b007b06 Use _M_X64 only without mixing with _M_AMD64 2025-01-21 02:26:34 +02:00
24bit-xjkp
7d6bd4ea09 feat(xsum): Display which mode is complied in the welcome message for LoongArch
1. Display the mode which is used as below:
"loongarch64 + lasx" -> LoongArch64 platform with LoongArch Advanced SIMD Extension
"loongarch64 + lsx"  -> LoongArch64 platform with LoongArch SIMD Extension
"loongarch64"        -> LoongArch64 platform, use scalar implement
2. Align the define in xxhash.h
2025-01-13 11:30:39 +08:00
Walter de Jong
f90089f90b Revert "help is basically lying about omitting filename"
This reverts commit 1c54e8abc3.
2025-01-02 10:15:56 +01:00
Walter de Jong
1c54e8abc3 help is basically lying about omitting filename 2025-01-02 09:09:38 +01:00
Walter de Jong
6d39e97f25 cleanup newline 2025-01-02 08:56:04 +01:00
Walter de Jong
5920111153 consistency typo 2025-01-02 08:55:26 +01:00
Walter de Jong
540433885f align help message 2025-01-02 08:54:53 +01:00
Walter de Jong
7d49d13b41 help message shows option --files-from 2025-01-02 08:51:38 +01:00
Yann Collet
5a8de81527 make XXH_VECTOR values more accessible
via #include "xxhash.h"
to fix double-include issues in xsum_arch.c
2024-12-26 16:10:04 -08:00
Yann Collet
cfd77237e6 updated doc 2024-12-26 16:02:40 -08:00
Yann Collet
6bdecb5f88 fix newline minor warning 2024-12-26 02:29:15 -08:00
Yann Collet
ad392603bc fixed empty translation unit 2024-12-26 02:21:46 -08:00
Yann Collet
6c666adcdc xxhsum with auto-dispatch displays the locally detected vector extension
using command -V
ex: compiled as 64-bit x86 autoVec (AVX2 detected) little endian with GCC 13.3.0
2024-12-26 01:55:05 -08:00
Yann Collet
52a6f91461 Merge pull request #978 from Cyan4973/filelist
added --filelist command
2024-12-04 07:33:44 -08:00
Lin Runze
e7c94efe45 Add LoongArch SX SIMD extenstion implementation 2024-12-03 03:49:06 +08:00
Yann Collet
33e28c84ec added --filelist command
equivalent to recently committed --files-from .
both commands are available.
2024-11-04 22:51:18 -08:00
Ian-Clowes
40511abc81 Tidy up parameter usage
- Use --files-from instead of --generate for new feature
- Remove the need for --quiet when generating hashes from file list
2024-10-09 20:56:33 +01:00
Ian-Clowes
a923d8f253 Add --generate to man page
Describe the use and rationale for the --generate option in the man page
2024-10-09 12:25:43 +01:00
Ian-Clowes
181e065e55 Mainly fixing erroneous whitespace 2024-10-08 19:39:49 +01:00
Ian-Clowes
037e8a7257 Fix test build errors 2024-10-08 18:19:26 +01:00
Ian-Clowes
b9f37d9948 Fix CI bugs 2024-10-08 13:46:29 +01:00
Ian-Clowes
ea8728d557 Add option to generate hashes from list of files
Use --generate (-g) option to consume [files] on command line as containers of lists of files to generate hashes for
2024-10-08 12:57:11 +01:00
Yann Collet
cd6879f82a removed the console line cleaning operation (using stderr)
since it's captured by tools redirecting `stderr`.

fixes #968
2024-10-03 15:17:40 -07:00
spaette
989c5005b5 typos 2024-06-19 12:46:10 -05:00
Yann Collet
9f465f1ea9 Merge pull request #939 from Cyan4973/detect894
updated internal check in xxhsum
2024-05-07 20:20:09 -07:00
Yann Collet
8e483e4dd2 update XSUM_benchMem() doc 2024-05-07 18:21:56 -07:00
Yann Collet
02fe5d152a update version number to v0.8.3
reflecting the change for results produced by XXH3_128bits_withSecretandSeed() for the specific case of `seed == 0` and `len < 240`.
2024-05-07 18:21:56 -07:00
Yann Collet
e9f1b96702 sanity checks use XXH3_MIDSIZE_MAX from xxhash.h 2024-05-07 18:19:26 -07:00
Yann Collet
bd51be8d1e updated internal check in xxhsum
to catch bugs such as #894
2024-05-07 18:16:57 -07:00
Pavel P
b54324acee Correct check for Windows compilation
`_WIN32` is the proper check for compilation for Windows. `WIN32` is defined when `Windows.h` is included or could be defined by some projects
2024-04-01 22:06:02 +02:00
Yann Collet
59b651e386 detail selectable hash algorithms on -h page
suggested by @sergeevabc
2023-12-27 21:12:06 -08:00
Klemens Nanni
6fceee6b20 xxhsum: use pledge(2) on OpenBSD
In case no files are passed, i.e. only standard input is read,
The "rpath" promise could be dropped at a later point,
but that needs more patching.

https://man.openbsd.org/pledge.2
2023-09-14 10:49:27 +01:00
Yann Collet
ee14620ae7 added tests for xxh3sum
and updated man pages.
2023-07-25 18:57:11 +02:00
Yann Collet
d0a58163c3 added xxh3sum symlink
dedicated to producing and checking XXH3_* checksums.
2023-07-25 18:46:34 +02:00
Yann Collet
ffb4565b3a add XXH3 GNU format
using XXH3_ prefix.

Can be used both to encode and check.
2023-07-25 03:01:02 +02:00
Yann Collet
0ac3a275c3 Merge pull request #857 from t-mat/fix/ignore-missing-manpages
Add --ignore-missing and --binary to --help and xxhsum.1
2023-07-12 15:26:58 -07:00
Takayuki Matsuoka
4a473192c9 Update xxhsum.1
Generate with the following commands:

rm cli/xxhsum.1
make man
man cli/xxhsum.1
2023-07-11 01:57:03 +09:00
Takayuki Matsuoka
c45304fb66 fix style
- fix style
- add --binary
2023-07-11 01:56:32 +09:00
Takayuki Matsuoka
b6103a46de add --binary to --help message 2023-07-11 01:55:23 +09:00
Takayuki Matsuoka
e88af46329 update xxhsum.1
Generate with the following commands:

rm cli/xxhsum.1
make man
man cli/xxhsum.1
2023-07-11 01:21:25 +09:00