Skip to content

[Arm64, Apple] Added X1 as a second syscall retval register#8107

Open
mostobriv wants to merge 1 commit intoVector35:devfrom
mostobriv:apple_arm64_syscall_calling_convention
Open

[Arm64, Apple] Added X1 as a second syscall retval register#8107
mostobriv wants to merge 1 commit intoVector35:devfrom
mostobriv:apple_arm64_syscall_calling_convention

Conversation

@mostobriv
Copy link
Copy Markdown
Contributor

As on darwin there is actually two registers used as return values X0 and X1, along with both of them considered clobbered (as mostly all of the system calls on darwin scratch this registers even if only X0 is used as return value).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant