You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| All |`sp`, `r14`/`o6` (SPARC) | The stack pointer must be restored to its original value at the end of an asm code block. |
150
-
| All |`fr` (Hexagon), `fp` (PowerPC),`$fp` (MIPS), `Y` (AVR), `r4` (MSP430), `a6` (M68k), `r30`/`i6` (SPARC) | The frame pointer cannot be used as an input or output. |
151
-
| All |`r19` (Hexagon), `r29` (PowerPC), `r30` (PowerPC)| These are used internally by LLVM as "base pointer" for functions with complex stack frames. |
126
+
| All |`fr` (Hexagon) `$fp` (MIPS), `Y` (AVR), `r4` (MSP430), `a6` (M68k), `r30`/`i6` (SPARC) | The frame pointer cannot be used as an input or output. |
127
+
| All |`r19` (Hexagon) | These are used internally by LLVM as "base pointer" for functions with complex stack frames. |
152
128
| MIPS |`$0` or `$zero`| This is a constant zero register which can't be modified. |
| MIPS |`$28`/`$gp`| Global pointer cannot be used as inputs or outputs. |
156
132
| MIPS |`$ra`| Return address cannot be used as inputs or outputs. |
157
133
| Hexagon |`lr`| This is the link register which cannot be used as an input or output. |
158
-
| PowerPC |`r2`, `r13`| These are system reserved registers. |
159
-
| PowerPC |`vrsave`| The vrsave register cannot be used as an input or output. |
160
134
| AVR |`r0`, `r1`, `r1r0`| Due to an issue in LLVM, the `r0` and `r1` registers cannot be used as inputs or outputs. If modified, they must be restored to their original values before the end of the block. |
161
135
|MSP430 |`r0`, `r2`, `r3`| These are the program counter, status register, and constant generator respectively. Neither the status register nor constant generator can be written to. |
162
136
| M68k |`a4`, `a5`| Used internally by LLVM for the base pointer and global base pointer. |
@@ -183,11 +157,6 @@ This feature tracks `asm!` and `global_asm!` support for the following architect
0 commit comments