Skip to content

Replace remaining NEON unsafe loads with checked_transmute_copy#237

Merged
Shnatsel merged 1 commit into
linebender:mainfrom
Shnatsel:no-more-neon-loads
May 27, 2026
Merged

Replace remaining NEON unsafe loads with checked_transmute_copy#237
Shnatsel merged 1 commit into
linebender:mainfrom
Shnatsel:no-more-neon-loads

Conversation

@Shnatsel
Copy link
Copy Markdown
Contributor

Follow-up to #233 which did this for x86

Leaves vld4q_* untouched because those are deinterleaving loads that genuinely need an intrinsic.

Copy link
Copy Markdown
Collaborator

@LaurenzV LaurenzV left a comment

Choose a reason for hiding this comment

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

Maybe we should move them out of the unsafe block then?

@LaurenzV
Copy link
Copy Markdown
Collaborator

Also, it doesn't seem like any WASM ones changed.

@Shnatsel
Copy link
Copy Markdown
Contributor Author

Ah, sorry, I was confused by the way github presented the diff. I thought the added impl was for wasm, but it wasn't.

I didn't move them out of the unsafe block to reduce conflicts with #236 but I can do that if you prefer.

@LaurenzV
Copy link
Copy Markdown
Collaborator

Ah ok, no it's fine to leave them there! Just rename the PR maybe

@Shnatsel Shnatsel changed the title Replace remaining NEON and WASM unsafe loads with checked_transmute_copy Replace remaining NEON unsafe loads with checked_transmute_copy May 27, 2026
@Shnatsel Shnatsel added this pull request to the merge queue May 27, 2026
Merged via the queue into linebender:main with commit 650815d May 27, 2026
22 checks passed
@Shnatsel Shnatsel deleted the no-more-neon-loads branch May 27, 2026 20:26
Shnatsel added a commit to Shnatsel/fearless_simd that referenced this pull request May 27, 2026
Merged origin/main commit 650815d. The merge applied cleanly.
Shnatsel added a commit to Shnatsel/fearless_simd that referenced this pull request May 27, 2026
PR linebender#237 only updates NEON load construction. The AVX512 branch-specific unsafe load sites were already adapted in the PR linebender#233 follow-up, and a search found no remaining load intrinsics needing the linebender#237 pattern.
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