-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
asm: loongarch64: Implementation of clobber_abi #111237
Conversation
f8, f9, f10, f11, f12, f13, f14, f15, | ||
f16, f17, f18, f19, f20, f21, f22, f23, | ||
} | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LoongArch Register Convention: https://loongson.github.io/LoongArch-Documentation/LoongArch-ELF-ABI-EN.html
@bors r+ |
asm: loongarch64: Implementation of clobber_abi r? `@Amanieu`
asm: loongarch64: Implementation of clobber_abi r? ``@Amanieu``
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#111002 (Fix the test directories suggested by `./x.py suggest`) - rust-lang#111077 (Make more ConstProp tests unit.) - rust-lang#111151 (check bootstrap scripts syntax) - rust-lang#111203 (Output LLVM optimization remark kind in `-Cremark` output) - rust-lang#111237 (asm: loongarch64: Implementation of clobber_abi) - rust-lang#111274 (Expand the LLVM coverage of `--print target-cpus`) - rust-lang#111289 (Check arguments length in trivial diagnostic lint) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
@@ -880,6 +881,10 @@ impl InlineAsmClobberAbi { | |||
"C" | "system" | "efiapi" => Ok(InlineAsmClobberAbi::RiscV), | |||
_ => Err(&["C", "system", "efiapi"]), | |||
}, | |||
InlineAsmArch::LoongArch64 => match name { | |||
"C" | "system" | "efiapi" => Ok(InlineAsmClobberAbi::LoongArch), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just noticed this, but this should not include efiapi
, which is not a valid ABI on loongarch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for catching that mistake. I'll make the necessary changes.
asm: loongarch64: Drop efiapi This PR aims to drop `efiapi` which is not a valid ABI on LoongArch. Fixes: rust-lang#111237 (comment)
Stabilize inline asm for LoongArch64 This PR is used to tracking for stabilize `inline asm` for LoongArch64. **Status** - [x] rust-lang#111237 - [x] rust-lang#111332 - [ ] rust-lang/reference#1357 Any others I missed? r? `@Amanieu`
Stabilize inline asm for LoongArch64 This PR is used to tracking for stabilize `inline asm` for LoongArch64. **Status** - [x] rust-lang/rust#111237 - [x] rust-lang/rust#111332 - [ ] rust-lang/reference#1357 Any others I missed? r? `@Amanieu`
Stabilize inline asm for LoongArch64 This PR is used to tracking for stabilize `inline asm` for LoongArch64. **Status** - [x] rust-lang/rust#111237 - [x] rust-lang/rust#111332 - [ ] rust-lang/reference#1357 Any others I missed? r? `@Amanieu`
Stabilize inline asm for LoongArch64 This PR is used to tracking for stabilize `inline asm` for LoongArch64. **Status** - [x] rust-lang/rust#111237 - [x] rust-lang/rust#111332 - [ ] rust-lang/reference#1357 Any others I missed? r? `@Amanieu`
r? @Amanieu