Skip to content
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

Implement new asm! syntax from RFC 2850 #69171

Merged
merged 36 commits into from
May 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
62d5784
Add RISC-V target features
Amanieu Mar 1, 2020
989edf6
Add inline asm register definitions to librustc_target
Amanieu Jan 22, 2020
813a9fc
Add asm! to AST
Amanieu Jan 22, 2020
a0adf53
Implement asm! in librustc_builtin_macros
Amanieu Feb 12, 2020
d5b1501
Add asm! to HIR
Amanieu Feb 12, 2020
ec1ad61
Implement AST lowering for asm!
Amanieu Feb 12, 2020
10510b5
HIR passes for asm!
Amanieu Feb 13, 2020
1e7b246
Add asm! to MIR
Amanieu Feb 14, 2020
342a64c
Check that asm const operands are actually constants
Amanieu Feb 17, 2020
abed45f
Implement asm! codegen
Amanieu Feb 17, 2020
8ab0f2d
Add tests for asm!
Amanieu Feb 20, 2020
ff97db1
Apply review feedback
Amanieu Mar 19, 2020
93e2946
Un-deprecate asm! macro
Amanieu Apr 24, 2020
7dfa486
Add support for high byte registers on x86
Amanieu Apr 28, 2020
19a0d14
Add notes about functions that are not currently used
Amanieu May 1, 2020
3590f4c
Work around more LLVM limitations
Amanieu May 1, 2020
0882254
Implement att_syntax option
Amanieu May 1, 2020
9ac4ef4
Update llvm-project submodule
Amanieu May 1, 2020
ddcdea4
The h modifier is only supported by reg_abcd
Amanieu May 6, 2020
330bdf8
Disable asm tests on system llvm
Amanieu May 6, 2020
a656349
Move InlineAsmTemplatePiece and InlineAsmOptions to librustc_ast
Amanieu May 6, 2020
1c6a935
Handle InlineAsm in clippy
Amanieu May 6, 2020
f10803c
Minor fixes
Amanieu May 7, 2020
2aa9aaa
Add borrow-check test
Amanieu May 8, 2020
6ba9696
Add documentation for asm!
Amanieu May 8, 2020
ac1fb93
Fix feature gate tests
Amanieu May 8, 2020
46db0df
Fix tests
Amanieu May 8, 2020
9215ead
Fix handling on InlineAsm for the unconditional recursion lint.
Amanieu May 8, 2020
6f8be8c
Fix docs
Amanieu May 8, 2020
cecffdc
Fix const handling and add tests for const operands
Amanieu May 11, 2020
3233565
Mark asm unstable book doctests as allow_fail since they don't work w…
Amanieu May 11, 2020
5a20f39
Update compiler_builtins to 0.1.28
Amanieu May 12, 2020
62ff543
Simplify register name output for x86
Amanieu May 14, 2020
32471f4
Update LLVM submodule
Amanieu May 18, 2020
09efea5
Update unstable book documentation with the latest RFC text
Amanieu May 18, 2020
1cfdc7e
Update dlmalloc dependency to 0.1.4
Amanieu May 19, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -635,9 +635,9 @@ dependencies = [

[[package]]
name = "compiler_builtins"
version = "0.1.27"
version = "0.1.28"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "38f18416546abfbf8d801c555a0e99524453e7214f9cc9107ad49de3d5948ccc"
checksum = "439a6fab343b1dab347823537734a5cd4ae6ae2000b465ab886f64cdb723bd14"
dependencies = [
"cc",
"rustc-std-workspace-core",
Expand Down Expand Up @@ -1012,9 +1012,9 @@ dependencies = [

[[package]]
name = "dlmalloc"
version = "0.1.3"
version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f283302e035e61c23f2b86b3093e8c6273a4c3125742d6087e96ade001ca5e63"
checksum = "35055b1021724f4eb5262eb49130eebff23fc59fc5a14160e05faad8eeb36673"
dependencies = [
"compiler_builtins",
"libc",
Expand Down Expand Up @@ -3625,6 +3625,7 @@ dependencies = [
name = "rustc_ast"
version = "0.0.0"
dependencies = [
"bitflags",
"log",
"rustc_data_structures",
"rustc_index",
Expand Down Expand Up @@ -3678,6 +3679,7 @@ dependencies = [
"log",
"rustc_ast",
"rustc_span",
"rustc_target",
]

[[package]]
Expand Down
Loading