summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/setjmp/mips64/setjmp.S
blob: b9646c2abe52fbf99b725ba5e043adf50c7621e4 (plain)
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
26
27
28
29
30
31
32
33
34
.set	noreorder
.global	__setjmp
.global	_setjmp
.global	setjmp
.type	__setjmp,@function
.type	_setjmp,@function
.type	setjmp,@function
__setjmp:
_setjmp:
setjmp:
	sd	$ra, 0($4)
	sd	$sp, 8($4)
	sd	$gp, 16($4)
	sd	$16, 24($4)
	sd	$17, 32($4)
	sd	$18, 40($4)
	sd	$19, 48($4)
	sd	$20, 56($4)
	sd	$21, 64($4)
	sd	$22, 72($4)
	sd	$23, 80($4)
	sd	$30, 88($4)
#ifndef __mips_soft_float
	sdc1	$24, 96($4)
	sdc1	$25, 104($4)
	sdc1	$26, 112($4)
	sdc1	$27, 120($4)
	sdc1	$28, 128($4)
	sdc1	$29, 136($4)
	sdc1	$30, 144($4)
	sdc1	$31, 152($4)
#endif
	jr	$ra
	li	$2, 0