Skip to content

A lot of cleanup in stdarch-gen-arm#2108

Merged
folkertdev merged 19 commits into
rust-lang:mainfrom
sayantn:cleanup-gen-arm
May 9, 2026
Merged

A lot of cleanup in stdarch-gen-arm#2108
folkertdev merged 19 commits into
rust-lang:mainfrom
sayantn:cleanup-gen-arm

Conversation

@sayantn
Copy link
Copy Markdown
Contributor

@sayantn sayantn commented May 8, 2026

  • Replace all uses of simd_extract with vget_lane
  • Remove all uses of match
  • Remove most uses of simd_shuffle

This helps with big-endian conversion -- only intrinsics that use simd_extract, simd_insert, simd_shuffle or LLVM intrinsics need big_endian_inverse, so this PR aims to push that number down as much as possible, so that it is easier to reason.

I have split the match and simd_shuffle changes into a lot of different commits because each one requires a different approach, totally different from the simd_extract case, where it is just replace with vget_lane everywhere

r? @folkertdev

cc @davidtwco since you seemed interested

the last commit can be removed if #2110 is merged before this

@rustbot

This comment has been minimized.

@sayantn sayantn force-pushed the cleanup-gen-arm branch 4 times, most recently from fa2257c to f4e9c59 Compare May 9, 2026 02:15
@sayantn sayantn marked this pull request as ready for review May 9, 2026 04:08
@sayantn sayantn force-pushed the cleanup-gen-arm branch from f4e9c59 to 73ec332 Compare May 9, 2026 04:24
@sayantn sayantn force-pushed the cleanup-gen-arm branch from 73ec332 to 2ada72b Compare May 9, 2026 04:31
@folkertdev folkertdev added this pull request to the merge queue May 9, 2026
Merged via the queue into rust-lang:main with commit c34f026 May 9, 2026
76 checks passed
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.

3 participants