about summary refs log tree commit diff
path: root/compiler/rustc_span/src/symbol.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-12-07 14:23:01 +0000
committerbors <bors@rust-lang.org>2021-12-07 14:23:01 +0000
commit0b6f079e4987ded15c13a15b734e7cfb8176839f (patch)
tree3b189f1f470117f8ebc422b9a9fab4519114ca43 /compiler/rustc_span/src/symbol.rs
parentc5c94945096265b6d675b2f55a247c4799de8d87 (diff)
parentc6e8ae1a6ceeffe343c214859e4eb686b7a71c95 (diff)
downloadrust-0b6f079e4987ded15c13a15b734e7cfb8176839f.tar.gz
rust-0b6f079e4987ded15c13a15b734e7cfb8176839f.zip
Auto merge of #91224 - couchand:2021-11/avr-asm, r=Amanieu
Support AVR for inline asm!

A first pass at support for the AVR platform in inline `asm!`.  Passes the initial compiler tests, have not yet done more complete verification.

In particular, the register classes could use a lot more fleshing out, this draft PR so far only includes the most basic.

cc `@Amanieu` `@dylanmckay`
Diffstat (limited to 'compiler/rustc_span/src/symbol.rs')
-rw-r--r--compiler/rustc_span/src/symbol.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs
index 49947cc1fa4..a4280047c70 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -1053,8 +1053,12 @@ symbols! {
         reg64,
         reg_abcd,
         reg_byte,
+        reg_iw,
         reg_nonzero,
+        reg_pair,
+        reg_ptr,
         reg_thumb,
+        reg_upper,
         register_attr,
         register_tool,
         relaxed_adts,