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/doc/unstable-book/src/library-features/asm.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -571,8 +571,8 @@ Here is the list of currently supported register classes:
571
571
| PowerPC |`reg_nonzero`||`r[1-31]`|`b`|
572
572
| PowerPC |`freg`|`f[0-31]`|`f`|
573
573
| wasm32 |`local`| None\*|`r`|
574
-
| BPF |`reg`|`r[0-10]`|`r`|
575
-
| BPF |`wreg`|`w[0-10]`|`w`|
574
+
| BPF |`reg`|`r[0-10]`|`r`|
575
+
| BPF |`wreg`|`w[0-10]`|`w`|
576
576
577
577
> **Note**: On x86 we treat `reg_byte` differently from `reg` because the compiler can allocate `al` and `ah` separately whereas `reg` reserves the whole register.
578
578
>
@@ -619,7 +619,7 @@ Each register class has constraints on which value types they can be used with.
> **Note**: For the purposes of the above table pointers, function pointers and `isize`/`usize` are treated as the equivalent integer type (`i16`/`i32`/`i64` depending on the target).
0 commit comments