Skip to content

Document which registers are used for the async context on x86-64/ARM64. #64947

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions docs/ABI/CallConvSummary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ Register usage
+-----------+----------------------------------+----------+----------+----------+
| ``r13`` | Callee-saved register | | | ``self`` |
+-----------+----------------------------------+----------+----------+----------+
| ``r14`` | Callee-saved register | | | |
| ``r14`` | Callee-saved register | | | Async |
| | | | | context |
+-----------+----------------------------------+----------+----------+----------+
| ``r15`` | Callee-saved register | | | |
| | (other platforms use as GOT ptr) | | | |
Expand Down Expand Up @@ -152,7 +153,10 @@ Register usage
| ``x21`` | | Callee-saved register | | | Error |
| | | | | | return |
+----------+---------+-------------------------+----------+----------+----------+
| ``x22``- | | Callee-saved registers | | | |
| ``x22`` | | Callee-saved register | | | Async |
| | | | | | context |
+----------+---------+-------------------------+----------+----------+----------+
| ``x23``- | | Callee-saved registers | | | |
| ``x28`` | | | | | |
+----------+---------+-------------------------+----------+----------+----------+
| ``x29`` | ``fp`` | Frame pointer | | | |
Expand Down