Commit 0d34473d authored by James Almer's avatar James Almer

Merge commit 'dd5d4a0e'

* commit 'dd5d4a0e':
  checkasm: aarch64: Don't clobber x29 in checkasm_stack_clobber
Merged-by: 's avatarJames Almer <jamrial@gmail.com>
parents c97e986e dd5d4a0e
...@@ -55,13 +55,13 @@ endconst ...@@ -55,13 +55,13 @@ endconst
#define CLOBBER_STACK ((8*MAX_ARGS + 15) & ~15) #define CLOBBER_STACK ((8*MAX_ARGS + 15) & ~15)
function checkasm_stack_clobber, export=1 function checkasm_stack_clobber, export=1
mov x29, sp mov x3, sp
mov x2, #CLOBBER_STACK mov x2, #CLOBBER_STACK
1: 1:
stp x0, x1, [sp, #-16]! stp x0, x1, [sp, #-16]!
subs x2, x2, #16 subs x2, x2, #16
b.gt 1b b.gt 1b
mov sp, x29 mov sp, x3
ret ret
endfunc endfunc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment