Skip to content

Commit 91031ac

Browse files
authored
Update arm64-exception-handling.md
1 parent b3e2488 commit 91031ac

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/build/arm64-exception-handling.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -307,12 +307,12 @@ The unwind codes are encoded according to the table below. All unwind codes are
307307
| `end` | 11100100: end of unwind code. Implies `ret` in epilog. |
308308
| `end_c` | 11100101: end of unwind code in current chained scope. |
309309
| `save_next` | 11100110: save next non-volatile Int or FP register pair. |
310-
| `save_any_xreg` | 11100111'0pxrrrrr'00oooooo: `p` = 0/1 => single/pair, `x` = 0/1 => positive / negative pre-indexed, offset = `o` * 16 for x=1 or p=1 / else offset * 8 |
311-
| `save_any_dreg` | 11100111'0pxrrrrr'01oooooo: `p` = 0/1 => single/pair, `x` = 0/1 => positive / negative pre-indexed, offset = `o` * 16 for x=1 or p=1 / else offset * 8 |
312-
| `save_any_qreg` | 11100111'0pxrrrrr'10oooooo: `p` = 0/1 => single/pair, `x` = 0/1 => positive / negative pre-indexed, offset = `o` * 16 |
313-
| `save_zreg` | 11100111'0oo0rrrr'11oooooo
314-
| `save_preg` | 11100111'0oo1rrrr'11oooooo
315-
| | 11100111: reserved |
310+
| `save_any_xreg` | 11100111'0pxrrrrr'00oooooo: save register(s)<ul><li>`p`: 0/1 => single `X(#r)` vs pair `X(#r)` + `X(#r+1)`</li><li>`x`: 0/1 => positive vs negative pre-indexed stack offset</li><li>`o`: offset = `o` * 16, if x=1 or p=1, else `o` * 8</li></ul><br> |
311+
| `save_any_dreg` | 11100111'0pxrrrrr'01oooooo: save register(s)<ul><li>`p`: 0/1 => single `D(#r)` vs pair `D(#r)` + `D(#r+1)`</li><li>`x`: 0/1 => positive vs negative pre-indexed stack offset</li><li>`o`: offset = `o` * 16, if x=1 or p=1, else `o` * 8</li></ul><br> |
312+
| `save_any_qreg` | 11100111'0pxrrrrr'10oooooo: save register(s)<ul><li>`p`: 0/1 => single `Q(#r)` vs pair `Q(#r)` + `Q(#r+1)`</li><li>`x`: 0/1 => positive vs negative pre-indexed stack offset</li><li>`o`: offset = `o` * 16</li></ul><br> |
313+
| `save_zreg` | 11100111'0oo0rrrr'11oooooo: save reg `Z(#r+8)` at `[sp + #o * VL]`, (`Z8` through `Z23`)
314+
| `save_preg` | 11100111'0oo1rrrr'11oooooo: save reg `P(#r+8)` at `[sp + #o * VL]`, (`P4` through `P15`; `r` values `[0, 3]` are reserved)
315+
| | 11100111'1yyyyyyy': reserved |
316316
| | 11101xxx: reserved for custom stack cases below only generated for asm routines |
317317
| | 11101000: Custom stack for `MSFT_OP_TRAP_FRAME` |
318318
| | 11101001: Custom stack for `MSFT_OP_MACHINE_FRAME` |

0 commit comments

Comments
 (0)