Commit Graph

1997 Commits

Author SHA1 Message Date
Yann Collet
4f43b71778 small optimization when streaming small quantities
described in #1011 by @aleksazr as point 2:
this optimization avoids copying accumulators
when there is not enough data to compute them anyway.
Seems effective on MSVC.

Such a scenario implies streaming, and receiving very little data per invocation.
2025-06-19 15:29:10 -07:00
Yann Collet
83a85f6423 Merge pull request #1047 from Cyan4973/test_alias
added test_alias
2025-06-18 17:28:05 -07:00
Yann Collet
2d94529192 added test_alias
expected to fail due to #1013
2025-06-18 16:52:30 -07:00
Yann Collet
ee34939dee Merge pull request #1013 from lassipulkkinen/unaligned_read_may_alias
Use may_alias with unaligned reads to fix miscompilation on GCC
2025-06-18 16:52:07 -07:00
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
295f8f7cf0 Merge pull request #1045 from Cyan4973/appv_refactor
Fix #1042
2025-06-15 17:34:46 -07:00
Yann Collet
037f9438a6 fix MSVC warning 2025-06-15 23:56:54 +00:00
Yann Collet
2c28ba829e use a different work around when no _mm_set_epi64x() is available
should fix visual /W4 warnings
2025-06-15 22:23:12 +00:00
Yann Collet
72a615bf7e increase warning level for debug builds 2025-06-15 18:10:06 +00:00
Yann Collet
95b6fcc3fe Merge pull request #1044 from Cyan4973/appv_refactor
improve appveyor.yml
2025-06-15 00:11:54 -07:00
Yann Collet
30d972e4fa SSE2 test only for win32
x64 already has SSE2 enabled by default.
faster CI builds.
2025-06-15 06:51:22 +00:00
Yann Collet
9da33175d0 faster debug build times 2025-06-15 05:51:48 +00:00
Yann Collet
dc5e8a7a98 faster executable tests
for shorter CI duration
2025-06-15 05:02:06 +00:00
Yann Collet
224a40e389 added SSE2 debug build test 2025-06-15 04:51:59 +00:00
Yann Collet
82b0f29391 simplify appveyor script 2025-06-15 03:59:27 +00:00
Yann Collet
56a2fd25ec test both win32 and x64 builds within same job 2025-06-15 02:01:11 +00:00
Yann Collet
21945fdaea added Visual Studio 2017 build test
removed latest Visual Studio version build test, since it's redundant with Github Actions.
2025-06-15 01:42:11 +00:00
Yann Collet
c25e2e2be9 added AVX2 build tests 2025-06-15 01:26:17 +00:00
Yann Collet
76f4361552 build both Debug and Release configurations 2025-06-14 21:55:35 +00:00
Yann Collet
ed30cbddf3 report execution failures as CI errors 2025-06-14 20:17:59 +00:00
Yann Collet
a7aebeab9f add msvc 2015 win32 debug build test 2025-06-14 19:48:51 +00:00
Yann Collet
ad9401f0b0 refactor appveyor.yml for better clarity and structure 2025-06-14 19:39:05 +00:00
Zijian
0d7465ea4f Add XXH3_initCustomSecret_rvv func 2025-06-13 18:33:13 +08:00
Zijian
2973489afa Add RISC-V RVV implementation 2025-06-11 20:27:33 +08:00
Yann Collet
1fc167c19f Merge pull request #1040 from Cyan4973/dependabot/github_actions/ossf/scorecard-action-2.4.2
build(deps): bump ossf/scorecard-action from 2.3.1 to 2.4.2
2025-06-02 11:09:14 -07:00
dependabot[bot]
8f5bebcd54 build(deps): bump ossf/scorecard-action from 2.3.1 to 2.4.2
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.1 to 2.4.2.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](0864cf1902...05b42c6244)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-version: 2.4.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-02 12:44:21 +00:00
Yann Collet
b5694e436d Merge pull request #1039 from Cyan4973/cmakedoc
updated cmake build documentation
2025-05-29 11:45:23 -07:00
Yann Collet
5748b75745 updated cmake build documentation 2025-05-29 02:55:51 +00:00
Yann Collet
1ec193eacf Merge pull request #1034 from Cyan4973/make6
minor multiconf update
2025-05-15 16:00:48 -07:00
Yann Collet
02e659c560 minor multiconf update
- more inline comments
- _shared_o variants do now really share their produced object files
2025-05-15 15:32:30 -07:00
Yann Collet
50f42268c6 Merge pull request #1028 from Cyan4973/make4
Refactor make build
2025-05-05 00:17:46 -07:00
Yann Collet
266e3918b4 minor simplification of multiconf.make 2025-05-04 23:56:11 -07:00
Yann Collet
5d975f2d16 fix -Og compilation with g++-14 2025-05-04 23:16:36 -07:00
Yann Collet
53dbf574da fix minor pedantic warnings 2025-05-04 21:53:28 -07:00
Yann Collet
379f7eb2c8 fixed debug target for collisionsTest 2025-05-04 19:31:03 -07:00
Yann Collet
1248dc724c collisionsTest is now compiled with multiconf.make
and multiconf.make now supports both *.cpp and *.cc C++ source files.
2025-05-04 17:33:26 -07:00
Yann Collet
4d8655029c removed some clean stages
no longer necessary, since builds are guaranteed to be separated per flag set.

This in turns makes it possible to build multiple targets in parallel
with less risks of interference due to clean actions triggered in between.
2025-05-04 16:43:25 -07:00
Yann Collet
378ea520c5 dynamic library created with multiconf.make 2025-05-04 16:31:47 -07:00
Yann Collet
0e31b789f5 make -C tests finally compatible with -j
and uses multiconf.make
2025-05-04 15:56:17 -07:00
Yann Collet
671c68eeed minor: debug print as one-liner
and support V>2
2025-05-04 15:00:41 -07:00
Yann Collet
a2f7b36b98 minor cleaning and refactor of multiconf.make
- no need for WHOLE_ARCHIVE
- dependency management regrouped in one section
2025-05-04 14:39:13 -07:00
Yann Collet
6e1dfee639 Merge pull request #1027 from Cyan4973/make3
Refactor Make Build
2025-05-04 14:21:29 -07:00
Yann Collet
f0761f4d9a included clean_cache
no need to specify anything in user's Makefile,
clean_cache target is automatically invoked from `make clean`.
2025-05-04 14:06:19 -07:00
Yann Collet
b46c9e94b8 fixed static library flag 2025-05-04 12:36:24 -07:00
Yann Collet
b1ece5dcc4 more modular library link creation 2025-05-04 12:24:35 -07:00
Yann Collet
c87fc38d9d also support static_library 2025-05-04 12:08:38 -07:00
Yann Collet
0f13e0bee7 simplified fuzzer target
and added it back to clean:
since fuzzer target is conditional, hence it's not always part of clean_cache
2025-05-04 11:25:30 -07:00
Yann Collet
5790e919cc xxhsum32 can be compiled with DISPATCH enabled or disabled 2025-05-04 10:32:37 -07:00
Yann Collet
d8db540ede improve make build
- object files preserve their relative path
- correcly recompile xxhsum depending on DISPATCH value
2025-05-04 10:09:50 -07:00
Yann Collet
9bbd02bef8 Merge pull request #1026 from Cyan4973/make2
refactor Make build
2025-05-04 07:43:07 -07:00