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. |
152
-
| 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. |
153
-
| All |`r19` (Hexagon), `r29` (PowerPC 32 bit only), `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. |
154
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. |
158
132
| MIPS |`$ra`| Return address cannot be used as inputs or outputs. |
159
133
| Hexagon |`lr`| This is the link register which cannot be used as an input or output. |
160
-
| PowerPC |`r2`, `r13`| These are system reserved registers. |
161
-
| PowerPC |`vrsave`| The vrsave register cannot be used as an input or output. |
162
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. |
163
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. |
164
136
| M68k |`a4`, `a5`| Used internally by LLVM for the base pointer and global base pointer. |
@@ -185,11 +157,6 @@ This feature tracks `asm!` and `global_asm!` support for the following architect
0 commit comments