Skip to content

Commit 7cc6846

Browse files
authored
Merge pull request MicrosoftDocs#4785 from 0xbadfca11/patch-1
Update arm64ec-windows-abi-conventions.md
2 parents 5300425 + 54bdbee commit 7cc6846

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/build/arm64ec-windows-abi-conventions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Special helper routines like `__chkstk_arm64ec` use custom calling conventions a
5050
| `x15` | `mm7` (low 64 bits of x87 `R7` register) | volatile | volatile | volatile |
5151
| `x16` | High 16 bits of each of the x87 `R0`-`R3` registers | volatile(`xip0`) | volatile(`xip0`) | volatile |
5252
| `x17` | High 16 bits of each of the x87 `R4`-`R7` registers | volatile(`xip1`) | volatile(`xip1`) | volatile |
53-
| `x18` | N/A | fixed(TEB) | fixed(TEB) | volatile |
53+
| `x18` | GS.base | fixed(TEB) | fixed(TEB) | fixed(TEB) |
5454
| `x19` | `r12` | non-volatile | non-volatile | non-volatile |
5555
| `x20` | `r13` | non-volatile | non-volatile | non-volatile |
5656
| `x21` | `r14` | non-volatile | non-volatile | non-volatile |
@@ -62,7 +62,7 @@ Special helper routines like `__chkstk_arm64ec` use custom calling conventions a
6262
| `x27` | `rbx` | non-volatile | non-volatile | non-volatile |
6363
| `x28` | N/A | disallowed | disallowed | N/A |
6464
| `fp` | `rbp` | non-volatile | non-volatile | non-volatile |
65-
| `lr` | `mm0` (low 64 bits of x87 `R0` register) | volatile | volatile | N/A |
65+
| `lr` | `mm0` (low 64 bits of x87 `R0` register) | both | both | both |
6666
| `sp` | `rsp` | non-volatile | non-volatile | non-volatile |
6767
| `pc` | `rip` | instruction pointer | instruction pointer | instruction pointer |
6868
| `PSTATE` subset: `N`/`Z`/`C`/`V`/`SS` <sup>1, 2</sup> | `RFLAGS` subset: `SF`/`ZF`/`CF`/`OF`/`TF` | volatile | volatile | volatile |

0 commit comments

Comments
 (0)