Skip to content

Some small overall improvements to stdarch-gen-arm#2099

Open
sayantn wants to merge 3 commits intorust-lang:mainfrom
sayantn:gen-arm-improvements
Open

Some small overall improvements to stdarch-gen-arm#2099
sayantn wants to merge 3 commits intorust-lang:mainfrom
sayantn:gen-arm-improvements

Conversation

@sayantn
Copy link
Copy Markdown
Contributor

@sayantn sayantn commented May 1, 2026

All the edits are by @davidtwco, I have just cherry-picked it from his branch and putting the PR up.

@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented May 1, 2026

r? @folkertdev

rustbot has assigned @folkertdev.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @Amanieu, @folkertdev, @sayantn
  • @Amanieu, @folkertdev, @sayantn expanded to Amanieu, folkertdev, sayantn
  • Random selection from Amanieu, folkertdev

davidtwco added 3 commits May 2, 2026 12:08
Earlier patches added `big_endian_inverse` and used `transmute` instead
of using `vreinterpret` due to an LLVM bug that has since been resolved
Instead of duplicating the stability attribute, re-use the `neon-stable`
anchor through
Some intrinsics optimise to different instructions on big endian which
leads to `assert_instr` failing
@sayantn sayantn force-pushed the gen-arm-improvements branch from c1eb587 to 873463e Compare May 2, 2026 06:39
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented May 5, 2026

☔ The latest upstream changes (possibly #2095) made this pull request unmergeable. Please resolve the merge conflicts.

Copy link
Copy Markdown
Member

@davidtwco davidtwco left a comment

Choose a reason for hiding this comment

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

I authored these changes so unsurprisingly they look good to me. The final commit's changes might only make sense in the context of the changes in #2063.

View changes since this review

Comment on lines +107 to +108
not-big-endian: &not-big-endian
FnCall: [not, ['target_endian = "big"']]
Copy link
Copy Markdown
Contributor

@folkertdev folkertdev May 5, 2026

Choose a reason for hiding this comment

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

is this better than target_endian = "small"?

View changes since the review

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.

4 participants