Skip to content

Bump simdutf to 9.1.2 - #82

Merged
JakubOnderka merged 1 commit into
masterfrom
update-simdutf-9.1.2
Sep 13, 2026
Merged

JakubOnderka merged 1 commit into
masterfrom
update-simdutf-9.1.2

Conversation

@JakubOnderka

@JakubOnderka JakubOnderka commented Sep 13, 2026 •

Copy link
Copy Markdown
Owner

Summary by CodeRabbit

  • Bug Fixes

    • Invalid Base64 padding is now consistently reported as an error.
    • Improved safety and correctness for Base64 decoding across supported platforms.
    • Enhanced UTF-8 validation for large inputs and edge cases.
    • Improved whitespace scanning reliability.
  • Performance

    • Optimized Base64 decoding and UTF-8 validation for faster processing of large inputs.
  • Maintenance

    • Updated the library version to 9.1.2.

@coderabbitai

coderabbitai Bot commented Sep 13, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: f96a49b8-181e-4282-852c-4d75c180dfa6

📥 Commits

Reviewing files that changed from the base of the PR and between 3087234 and e03c037.

📒 Files selected for processing (2)
  • src/simdutf.cpp
  • src/simdutf.h

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The generated SIMD sources update Base64 validation and safe stores, UTF-8 validation, whitespace scan bounds, platform detection, and version metadata across AVX-512, AVX2, LASX, and shared headers.

Changes

SIMD backend updates

Layer / File(s) Summary
AVX-512 Base64 decoding
src/simdutf.cpp
AVX-512 Base64 translation now uses shared lookup tables, bulk decoding paths, separated packing and stores, and bounded safe stores. Invalid-padding results are marked fatal.
UTF validation and whitespace scans
src/simdutf.cpp
Large UTF-8 inputs use aligned reads, batched error checks, safe-prefix tracking, and scalar rewind handling. AVX-512 and AVX2 whitespace scans use remaining-length loop bounds.
Other Base64 backend handling
src/simdutf.cpp
Big-endian paths use zero-vector padding lanes. LASX safe decoding uses aligned temporary storage and copies valid output bytes. Additional invalid-padding results are marked fatal.
Generated header and platform metadata
src/simdutf.cpp, src/simdutf.h
Generated timestamps were updated. The library version changed from 9.1.0 to 9.1.2. PPC64 detection now also requires __POWER8_VECTOR__.

Priority: ⬇️ Low

Estimated code review effort: 4 (Complex) | ~60 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to e03c0

The dependency update has no identified merge-blocking issue and is ready for normal validation and merge.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (1 skipped: 1 … Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the primary change: updating simdutf to version 9.1.2. It is concise and directly matches the pull request objective.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (1 skipped: 1 too large.)

  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch update-simdutf-9.1.2

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@JakubOnderka
JakubOnderka merged commit fe4f635 into master Sep 13, 2026
61 checks passed
@JakubOnderka
JakubOnderka deleted the update-simdutf-9.1.2 branch September 13, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant