mailing list of musl libc
 help / color / mirror / code / Atom feed
4186974f7dc465c035b77d421ea91fc530f319e8 blob 726 bytes (raw)

 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
35
36
37
 
.global    _longjmp
.global    longjmp
.type    _longjmp,@function
.type    longjmp,@function
_longjmp:
longjmp:
	move   $t5, $a0
	move   $a0, $a1

	bne     $a0, $zero, 1f
	addi.d  $a0, $a0, 1

1:
	ld.d    $ra, $t5, 0
	ld.d    $sp, $t5, 8
	ld.d    $r21,$t5, 16
	ld.d    $fp, $t5, 24
	ld.d    $s0, $t5, 32
	ld.d    $s1, $t5, 40
	ld.d    $s2, $t5, 48
	ld.d    $s3, $t5, 56
	ld.d    $s4, $t5, 64
	ld.d    $s5, $t5, 72
	ld.d    $s6, $t5, 80
	ld.d    $s7, $t5, 88
	ld.d    $s8, $t5, 96
#ifndef __loongarch64_soft_float
	fld.d   $fs0, $t5, 104
	fld.d   $fs1, $t5, 112
	fld.d   $fs2, $t5, 120
	fld.d   $fs3, $t5, 128
	fld.d   $fs4, $t5, 136
	fld.d   $fs5, $t5, 144
	fld.d   $fs6, $t5, 152
	fld.d   $fs7, $t5, 160
#endif
	jr      $ra
debug log:

solving 4186974f ...
found 4186974f in https://inbox.vuxu.org/musl/f8e4bbaf-14c1-b79d-de75-d4168da5a5d8@loongson.cn/

applying [1/1] https://inbox.vuxu.org/musl/f8e4bbaf-14c1-b79d-de75-d4168da5a5d8@loongson.cn/
diff --git a/src/setjmp/loongarch64/longjmp.S b/src/setjmp/loongarch64/longjmp.S
new file mode 100644
index 00000000..4186974f

Checking patch src/setjmp/loongarch64/longjmp.S...
Applied patch src/setjmp/loongarch64/longjmp.S cleanly.

index at:
100644 4186974f7dc465c035b77d421ea91fc530f319e8	src/setjmp/loongarch64/longjmp.S

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).