hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

longjmp.s (468B)


      1 .section ".text.rt.longjmp","ax"
      2 .global rt.longjmp
      3 .type rt.longjmp,@function
      4 rt.longjmp:
      5 	// IHI0055B_aapcs64.pdf 5.1.1, 5.1.2 callee saved registers
      6 	ldp x19, x20, [x0,#0]
      7 	ldp x21, x22, [x0,#16]
      8 	ldp x23, x24, [x0,#32]
      9 	ldp x25, x26, [x0,#48]
     10 	ldp x27, x28, [x0,#64]
     11 	ldp x29, x30, [x0,#80]
     12 	ldr x2, [x0,#104]
     13 	mov sp, x2
     14 	ldp d8 , d9, [x0,#112]
     15 	ldp d10, d11, [x0,#128]
     16 	ldp d12, d13, [x0,#144]
     17 	ldp d14, d15, [x0,#160]
     18 
     19 	cmp w1, 0
     20 	csinc w0, w1, wzr, ne
     21 	br x30