diff options
| author | antoyo <antoyo@users.noreply.github.com> | 2025-06-02 15:05:21 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-02 15:05:21 -0400 |
| commit | ac500d40b91d9c9ef9da3bd5fb66a2a2edcfd528 (patch) | |
| tree | 0e7497ed1b30e155ffee12678f84317c29c642b5 | |
| parent | 8efeb495bc74c984c639e3992d595811a2e25292 (diff) | |
| parent | 267f94e0187f82e69decc469a3f9a0f1bd65564d (diff) | |
| download | rust-ac500d40b91d9c9ef9da3bd5fb66a2a2edcfd528.tar.gz rust-ac500d40b91d9c9ef9da3bd5fb66a2a2edcfd528.zip | |
Merge pull request #692 from FractalFir/arm_asm
Added some bare-bones support for explict registers in ARM inline assembly
| -rw-r--r-- | src/asm.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/asm.rs b/src/asm.rs index c35337ae7ce..e04512ebd54 100644 --- a/src/asm.rs +++ b/src/asm.rs @@ -641,7 +641,8 @@ fn explicit_reg_to_gcc(reg: InlineAsmReg) -> &'static str { }, } } - + InlineAsmReg::Arm(reg) => reg.name(), + InlineAsmReg::AArch64(reg) => reg.name(), _ => unimplemented!(), } } |
