summaryrefslogtreecommitdiff
path: root/src/setjmp/s390x/setjmp.s
blob: afae1b67556d97b17ff6411ba75d72c84e9a2ad3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
	.global ___setjmp
	.hidden ___setjmp
	.global __setjmp
	.global _setjmp
	.global setjmp
	.type   __setjmp,@function
	.type   _setjmp,@function
	.type   setjmp,@function
___setjmp:
__setjmp:
_setjmp:
setjmp:
	stmg %r6, %r15, 0(%r2)

	std  %f8,  10*8(%r2)
	std  %f9,  11*8(%r2)
	std  %f10, 12*8(%r2)
	std  %f11, 13*8(%r2)
	std  %f12, 14*8(%r2)
	std  %f13, 15*8(%r2)
	std  %f14, 16*8(%r2)
	std  %f15, 17*8(%r2)

	lghi %r2, 0
	br   %r14