mailing list of musl libc
 help / color / mirror / code / Atom feed
9135e2d14be14f6b82010e681ccbfe5858765da9 blob 651 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
 
#define REG_SIZE 8

/* void __longjmp(__jmp_buf __env, int __val) */
.global _longjmp
.global longjmp
.type _longjmp,@function
.type longjmp,@function
_longjmp:
longjmp:
	lo $r40r41r42r43 = (0 * REG_SIZE)[$r0]
	;;
	lo $r44r45r46r47 = (18 * REG_SIZE)[$r0]
	set $ra = $r40
	copyd $sp = $r41
	;;
	lo $r20r21r22r23 = (4 * REG_SIZE)[$r0]
	set $cs = $r42
	copyd $r14 = $r43
	;;
	lo $r24r25r26r27 = (8 * REG_SIZE)[$r0]
	set $lc = $r44
	;;
	lo $r28r29r30r31 = (12 * REG_SIZE)[$r0]
	set $le = $r45
	;;
	lq $r18r19 = (16 * REG_SIZE)[$r0]
	set $ls = $r46
	;;
	/* According to man, if retval is equal to 0, then we should return 1 */
	maxud $r0 = $r1, 1
	ret
	;;
debug log:

solving 9135e2d1 ...
found 9135e2d1 in https://inbox.vuxu.org/musl/20220711152322.23418-1-jborne@kalray.eu/

applying [1/1] https://inbox.vuxu.org/musl/20220711152322.23418-1-jborne@kalray.eu/
diff --git a/src/setjmp/kvx/longjmp.S b/src/setjmp/kvx/longjmp.S
new file mode 100644
index 00000000..9135e2d1

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

index at:
100644 9135e2d14be14f6b82010e681ccbfe5858765da9	src/setjmp/kvx/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).