Skip to content

docs(audits): zsync SIMD rolling-hash parity verification (#2077) - #4215

Merged
oferchen merged 1 commit into
masterfrom
docs/zsync-simd-parity-verify-2077
May 17, 2026
Merged

oferchen merged 1 commit into
masterfrom
docs/zsync-simd-parity-verify-2077

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Verify the SIMD parity coverage for the rolling checksum is still complete after the recent zsync-track merges (bithash prefilter, seq-match extend-run, matched-block pruning, compact-keys benches, sparse-match / shifted-insertion adversarial fixtures).
  • Pure docs change. New file: docs/audits/zsync-simd-parity-verification.md (task Remove legacy monolithic fallback and special modules #2077).
  • Verdict: PASS. Every architecture variant selected by accumulate_chunk_dispatch (AVX2, SSE2, NEON) is paired with a scalar oracle in crates/checksums/src/rolling/tests/checksum/simd.rs; the dispatcher round-trip is covered by proptests in properties.rs; the release self-test in simd_self_test.rs uses an independent per-byte oracle; and the matcher-side SIMD invocation at crates/matching/src/generator.rs:370-373 is exercised by the integration and zsync adversarial suites. None of the recent zsync merges touched crates/checksums/src/rolling/ or crates/checksums/src/simd_*.

Test plan

  • cargo fmt --all
  • Confirm new file is the only change (git status)
  • Confirm no em-dashes or forbidden references
  • CI: fmt+clippy, nextest (stable), Windows, macOS, Linux musl (docs-only, no code paths exercised)

Verify the existing SSE2/AVX2/NEON parity coverage for the rolling
checksum still fully exercises the rolling-hash path after the
zsync-inspired matching merges (bithash prefilter, seq-match
extend-run, matched-block pruning, compact-keys benches, and the
adversarial fixtures). Pure docs change; no code touched.

Verdict: PASS. Each architecture variant selected by
accumulate_chunk_dispatch is paired with a scalar oracle in
rolling/tests/checksum/simd.rs; the dispatcher round-trip is covered
by the proptests in rolling/tests/checksum/properties.rs; the release
self-test in simd_self_test.rs uses an independent per-byte oracle;
and the matcher-side SIMD invocation in matching/src/generator.rs is
exercised by the existing integration and zsync adversarial suites.
None of the recent zsync merges touched the rolling implementation
or its SIMD paths.
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 17, 2026
@oferchen
oferchen merged commit b2292db into master May 17, 2026
8 checks passed
@oferchen
oferchen deleted the docs/zsync-simd-parity-verify-2077 branch May 17, 2026 19:03
oferchen added a commit that referenced this pull request May 18, 2026
)

Verify the existing SSE2/AVX2/NEON parity coverage for the rolling
checksum still fully exercises the rolling-hash path after the
zsync-inspired matching merges (bithash prefilter, seq-match
extend-run, matched-block pruning, compact-keys benches, and the
adversarial fixtures). Pure docs change; no code touched.

Verdict: PASS. Each architecture variant selected by
accumulate_chunk_dispatch is paired with a scalar oracle in
rolling/tests/checksum/simd.rs; the dispatcher round-trip is covered
by the proptests in rolling/tests/checksum/properties.rs; the release
self-test in simd_self_test.rs uses an independent per-byte oracle;
and the matcher-side SIMD invocation in matching/src/generator.rs is
exercised by the existing integration and zsync adversarial suites.
None of the recent zsync merges touched the rolling implementation
or its SIMD paths.
oferchen added a commit that referenced this pull request May 18, 2026
)

Verify the existing SSE2/AVX2/NEON parity coverage for the rolling
checksum still fully exercises the rolling-hash path after the
zsync-inspired matching merges (bithash prefilter, seq-match
extend-run, matched-block pruning, compact-keys benches, and the
adversarial fixtures). Pure docs change; no code touched.

Verdict: PASS. Each architecture variant selected by
accumulate_chunk_dispatch is paired with a scalar oracle in
rolling/tests/checksum/simd.rs; the dispatcher round-trip is covered
by the proptests in rolling/tests/checksum/properties.rs; the release
self-test in simd_self_test.rs uses an independent per-byte oracle;
and the matcher-side SIMD invocation in matching/src/generator.rs is
exercised by the existing integration and zsync adversarial suites.
None of the recent zsync merges touched the rolling implementation
or its SIMD paths.
oferchen added a commit that referenced this pull request Aug 24, 2026
)

Verify the existing SSE2/AVX2/NEON parity coverage for the rolling
checksum still fully exercises the rolling-hash path after the
zsync-inspired matching merges (bithash prefilter, seq-match
extend-run, matched-block pruning, compact-keys benches, and the
adversarial fixtures). Pure docs change; no code touched.

Verdict: PASS. Each architecture variant selected by
accumulate_chunk_dispatch is paired with a scalar oracle in
rolling/tests/checksum/simd.rs; the dispatcher round-trip is covered
by the proptests in rolling/tests/checksum/properties.rs; the release
self-test in simd_self_test.rs uses an independent per-byte oracle;
and the matcher-side SIMD invocation in matching/src/generator.rs is
exercised by the existing integration and zsync adversarial suites.
None of the recent zsync merges touched the rolling implementation
or its SIMD paths.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant