Skip to content

Add ARM64 SIMD optimization for MemoryHelper#36

Merged
rameel merged 2 commits intomainfrom
arm64-simd
May 2, 2026
Merged

Add ARM64 SIMD optimization for MemoryHelper#36
rameel merged 2 commits intomainfrom
arm64-simd

Conversation

@rameel
Copy link
Copy Markdown
Owner

@rameel rameel commented May 2, 2026

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an ARM64 SIMD (AdvSimd) fast-path to MemoryHelper’s UTF-16 scanning routines, bringing parity with the existing SSE2 implementation for key matcher hot paths.

Changes:

  • Add AdvSimd.Arm64 vectorized loops to IndexOf and IndexOfAny.
  • Introduce an ARM64 bitmask extraction helper for locating matching lanes.
  • Add XML documentation to MemoryHelper and its key methods.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Ramstack.Globbing/Internal/MemoryHelper.cs
@rameel rameel merged commit aa05681 into main May 2, 2026
7 checks passed
@rameel rameel deleted the arm64-simd branch May 2, 2026 16:33
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.

2 participants