Repository navigation
Conversation
|
r? @adamgemmell rustbot has assigned @adamgemmell. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
The CI failed but I didn't change anything about |
|
The intrinsic was renamed upstream in Rust and the changes have now been synced across to this repo, so CI should pass if you give it a rebase. |
| // Section 10.1 of ACLE says that the supported arches are: 8, 6K, 6-M | ||
| // LLVM says "instruction requires: armv6k" | ||
| // On ARMv6 in Thumb mode, T2 is required (see Arm DDI0406C Section A8.8.427) | ||
| #[cfg(any( |
There was a problem hiding this comment.
I think this cfg block is the correct one for all the hints except sevl (for which it sounds like LLVM requires v8 for). Could you apply it to the other intrinsics please?
The hint space encoding mechanism was introduced in v6k, v6t2 or v6 on m class.
There was a problem hiding this comment.
I think this cfg block is the correct one for all the hints except sevl (for which it sounds like LLVM requires v8 for). Could you apply it to the other intrinsics please?
The hint space encoding mechanism was introduced in v6k, v6t2 or v6 on m class.
I can do it, thank you for your review!
3679469 to
ede5da4
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
This PR is still under discussion in Zulip: https://rust-lang.zulipchat.com/#narrow/channel/219381-t-libs/topic/Safety.20requirements.20of.20ARM.20hint.20APIs/with/629947023 So I think it is better to have a look @adamgemmell |
|
@adamgemmell This PR has been approved by Rust member. So should I close this PR? |
|
Closing as rust-lang/rust#163918 has been merged. Thanks for working on this! |
I open the same PR in Rust repo: remove redundant unsafe, except that that PR modfies a call site of
__yield(). Please refer to that PR for concrete information.