]> git.proxmox.com Git - wasi-libc.git/blob - libc-top-half/musl/src/setjmp/s390x/setjmp.s
WASI libc prototype implementation.
[wasi-libc.git] / libc-top-half / musl / src / setjmp / s390x / setjmp.s
1 .global ___setjmp
2 .hidden ___setjmp
3 .global __setjmp
4 .global _setjmp
5 .global setjmp
6 .type __setjmp,@function
7 .type _setjmp,@function
8 .type setjmp,@function
9 ___setjmp:
10 __setjmp:
11 _setjmp:
12 setjmp:
13 stmg %r6, %r15, 0(%r2)
14
15 std %f8, 10*8(%r2)
16 std %f9, 11*8(%r2)
17 std %f10, 12*8(%r2)
18 std %f11, 13*8(%r2)
19 std %f12, 14*8(%r2)
20 std %f13, 15*8(%r2)
21 std %f14, 16*8(%r2)
22 std %f15, 17*8(%r2)
23
24 lghi %r2, 0
25 br %r14