chiark
/
gitweb
/
~mdw
/
xchg-rax-rax
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02d696c
)
xchg.S: Maintain correct sp alignment in ARM64 `call_example'.
author
Mark Wooding
<mdw@distorted.org.uk>
Mon, 19 Oct 2020 04:31:14 +0000
(
05:31
+0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Mon, 19 Oct 2020 04:31:14 +0000
(
05:31
+0100)
xchg.S
patch
|
blob
|
blame
|
history
diff --git
a/xchg.S
b/xchg.S
index 0d836c777e46f1cea1290fe1f6750e1b50b4ac25..8e0bf6662b0746786de46ee3936d4d493ae997f4 100644
(file)
--- a/
xchg.S
+++ b/
xchg.S
@@
-380,7
+380,7
@@
proc call_example
#elif defined(__aarch64__)
- stp x29, x30, [sp, #-1
3
*8]!
+ stp x29, x30, [sp, #-1
4
*8]!
mov x29, sp
stp x19, x20, [sp, #16]
stp x21, x22, [sp, #32]
@@
-421,7
+421,7
@@
proc call_example
ldp x23, x24, [sp, #48]
ldp x25, x26, [sp, #64]
ldp x27, x28, [sp, #80]
- ldp x29, x30, [sp], #1
3
*8
+ ldp x29, x30, [sp], #1
4
*8
ret