summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-03-23 18:31:36 -0300
committerJames Almer <jamrial@gmail.com>2017-03-23 18:31:36 -0300
commit0d34473d8ecd2aec69229aa076e94977a3f45394 (patch)
treee3d757b24dbe3c7e8ef6534a7e6a252ea67be0bb
parentc97e986e90c3f9719b6ba8409744ecdf21a63cf1 (diff)
parentdd5d4a0e1e3a30a254d1a57ecbdcedf230c6014b (diff)
Merge commit 'dd5d4a0e1e3a30a254d1a57ecbdcedf230c6014b'
* commit 'dd5d4a0e1e3a30a254d1a57ecbdcedf230c6014b': checkasm: aarch64: Don't clobber x29 in checkasm_stack_clobber Merged-by: James Almer <jamrial@gmail.com>
-rw-r--r--tests/checkasm/aarch64/checkasm.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/checkasm/aarch64/checkasm.S b/tests/checkasm/aarch64/checkasm.S
index 03bd983160..53a2a478dc 100644
--- a/tests/checkasm/aarch64/checkasm.S
+++ b/tests/checkasm/aarch64/checkasm.S
@@ -55,13 +55,13 @@ endconst
#define CLOBBER_STACK ((8*MAX_ARGS + 15) & ~15)
function checkasm_stack_clobber, export=1
- mov x29, sp
+ mov x3, sp
mov x2, #CLOBBER_STACK
1:
stp x0, x1, [sp, #-16]!
subs x2, x2, #16
b.gt 1b
- mov sp, x29
+ mov sp, x3
ret
endfunc