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
Copy file name to clipboardexpand all lines: src/inline-assembly.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -159,6 +159,7 @@ Here is the list of currently supported register classes:
159
159
| x86 |`ymm_reg`|`ymm[0-7]` (x86) `ymm[0-15]` (x86-64) |`x`|
160
160
| x86 |`zmm_reg`|`zmm[0-7]` (x86) `zmm[0-31]` (x86-64) |`v`|
161
161
| x86 |`kreg`|`k[1-7]`|`Yk`|
162
+
| x86 |`kreg0`|`k0`| Only clobbers |
162
163
| x86 |`x87_reg`|`st([0-7])`| Only clobbers |
163
164
| x86 |`mmx_reg`|`mm[0-7]`| Only clobbers |
164
165
| AArch64 |`reg`|`x[0-30]`|`r`|
@@ -285,7 +286,6 @@ Some registers cannot be used for input or output operands:
285
286
| All |`bp` (x86), `x29` (AArch64), `x8` (RISC-V) | The frame pointer cannot be used as an input or output. |
286
287
| ARM |`r7` or `r11`| On ARM the frame pointer can be either `r7` or `r11` depending on the target. The frame pointer cannot be used as an input or output. |
287
288
| All |`si` (x86-32), `bx` (x86-64), `r6` (ARM), `x19` (AArch64), `x9` (RISC-V) | This is used internally by LLVM as a "base pointer" for functions with complex stack frames. |
288
-
| x86 |`k0`| This is a constant zero register which can't be modified. |
289
289
| x86 |`ip`| This is the program counter, not a real register. |
290
290
| AArch64 |`xzr`| This is a constant zero register which can't be modified. |
291
291
| AArch64 |`x18`| This is an OS-reserved register on some AArch64 targets. |
@@ -366,9 +366,9 @@ The following ABIs can be used with `clobber_abi`:
0 commit comments