diff options
| author | Commeownist <commeownist@yandex.ru> | 2021-09-05 18:26:01 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-05 11:26:01 -0400 |
| commit | 7c707e4b9535b70de8c6beac24b7bc05595b1932 (patch) | |
| tree | 51fb2d99478e1a49545fbb5a2da78b0e8edfde02 /compiler/rustc_codegen_cranelift/example/example.rs | |
| parent | 5dad13cc3bfbf69f470198860ea905d72fc9fbd3 (diff) | |
| download | rust-7c707e4b9535b70de8c6beac24b7bc05595b1932.tar.gz rust-7c707e4b9535b70de8c6beac24b7bc05595b1932.zip | |
Implement basic inline asm support (#72)
* Implement basic support for inline assembly * Disable LTO We don't support it yet at all * Handle `inout(reg) var` correctly Turns out that `+` readwrite output registers cannot be tied with input variables. * Add limited support for llvm_asm! * Handle CHANNEL correctly * Add support for arbitrary explicit registers * Handle symbols properly * Add rudimentary asm tests * Exclude llvm_asm! tests from tests runs * Insert `__builtin_unreachable()` after diverging asm blocks
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example/example.rs')
0 files changed, 0 insertions, 0 deletions
