-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Add support for Arm64EC inline assembly (as unstable) #123507
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This comment has been minimized.
This comment has been minimized.
r? @Amanieu |
src/doc/unstable-book/src/language-features/asm-experimental-arch.md
Outdated
Show resolved
Hide resolved
src/doc/unstable-book/src/language-features/asm-experimental-arch.md
Outdated
Show resolved
Hide resolved
fc5ead4
to
04c30d8
Compare
@bors r+ |
☀️ Test successful - checks-actions |
Finished benchmarking commit (05ccc49): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 676.139s -> 675.139s (-0.15%) |
Compiler support for Arm64EC assembly mostly reuses the existing AArch64 support, except that it needs to block registers that are not permitted: https://learn.microsoft.com/en-us/windows/arm/arm64ec-abi#register-mapping-and-blocked-registers
For assembly authors there are several caveats and differences that need to be considered, I've provided documentation for this as part of the "Standard Library Support" PR: https://github.com/rust-lang/rust/pull/123144/files#diff-6b08532480943c8b82f5dbda7ee1521afa74c9f626466aeb308dfa6956397edd
r? rust-lang/compiler