Skip to content

Safer load/store_interleaved#245

Merged
Shnatsel merged 6 commits into
linebender:mainfrom
Shnatsel:safer-load-store-interleaved
Jun 17, 2026
Merged

Safer load/store_interleaved#245
Shnatsel merged 6 commits into
linebender:mainfrom
Shnatsel:safer-load-store-interleaved

Conversation

@Shnatsel

Copy link
Copy Markdown
Contributor

Expunge unsafe code from load_interleaved and store_interleaved implementations on x86 and WASM.

NEON is implemented via a call to an intrinsic, so it can't be made any safer.

@Shnatsel Shnatsel changed the title Safer load store interleaved Safer load/store_interleaved Jun 16, 2026
@Shnatsel Shnatsel enabled auto-merge June 16, 2026 22:06

@LaurenzV LaurenzV left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM, if you want to be really thorough it might be good to rerun the pack_block benchmark on Vello to see whether this causes any change on x86, since it uses those methods. But you don't have to, I'll redo the benchmarks again anyway before bumping fearless_simd in vello, so if it causes issue I'll notice it then. 😄

@Shnatsel Shnatsel added this pull request to the merge queue Jun 17, 2026
Merged via the queue into linebender:main with commit a4e67e1 Jun 17, 2026
22 checks passed
@Shnatsel Shnatsel deleted the safer-load-store-interleaved branch June 17, 2026 17:16
Shnatsel added a commit to Shnatsel/fearless_simd that referenced this pull request Jun 17, 2026
Includes regenerated AVX-512 interleaved load/store output.
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