diff options
| author | Yuta Saito <kateinoigakukun@gmail.com> | 2023-12-22 08:52:20 +0900 |
|---|---|---|
| committer | Yuta Saito <kateinoigakukun@gmail.com> | 2023-12-22 11:30:00 +0900 |
| commit | fa0f7522c41bd2a71117b2428bc6fbb0bbcc9699 (patch) | |
| tree | 98e38bfa4b03a2b39a2f139af66e7069bddf197e /spec | |
| parent | 2d004decde80566c5b004c5b832e8a1ab007965f (diff) | |
coroutine/arm64: Skip saving/restoring x30 twice and use `autiasp`
We don't need to save/restore x30 twice, and we can just use `ret`,
which uses x30 as return address register instead of explicit `ret <reg>`
instruction. This also allows us to use `autiasp` instead of `autia1716`
and we can skip setting SP/LR to x16/x17.
Also the size of register save area is shrunk by 16 bytes due to the
removal of extra x30 save/restore.
Diffstat (limited to 'spec')
0 files changed, 0 insertions, 0 deletions
