Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Side by Side Diff: fusl/src/setjmp/powerpc/setjmp.s

Issue 1573973002: Add a "fork" of musl as //fusl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fusl/src/setjmp/powerpc/longjmp.s ('k') | fusl/src/setjmp/setjmp.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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 # 0) store IP int 0, then into the jmpbuf pointed to by r3 (first arg)
14 mflr 0
15 stw 0, 0(3)
16 # 1) store reg1 (SP)
17 stw 1, 4(3)
18 # 2) store cr
19 mfcr 0
20 stw 0, 8(3)
21 # 3) store r14-31
22 stw 14, 12(3)
23 stw 15, 16(3)
24 stw 16, 20(3)
25 stw 17, 24(3)
26 stw 18, 28(3)
27 stw 19, 32(3)
28 stw 20, 36(3)
29 stw 21, 40(3)
30 stw 22, 44(3)
31 stw 23, 48(3)
32 stw 24, 52(3)
33 stw 25, 56(3)
34 stw 26, 60(3)
35 stw 27, 64(3)
36 stw 28, 68(3)
37 stw 29, 72(3)
38 stw 30, 76(3)
39 stw 31, 80(3)
40 stfd 14,88(3)
41 stfd 15,96(3)
42 stfd 16,104(3)
43 stfd 17,112(3)
44 stfd 18,120(3)
45 stfd 19,128(3)
46 stfd 20,136(3)
47 stfd 21,144(3)
48 stfd 22,152(3)
49 stfd 23,160(3)
50 stfd 24,168(3)
51 stfd 25,176(3)
52 stfd 26,184(3)
53 stfd 27,192(3)
54 stfd 28,200(3)
55 stfd 29,208(3)
56 stfd 30,216(3)
57 stfd 31,224(3)
58 # 4) set return value to 0
59 li 3, 0
60 # 5) return
61 blr
OLDNEW
« no previous file with comments | « fusl/src/setjmp/powerpc/longjmp.s ('k') | fusl/src/setjmp/setjmp.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698