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

Side by Side Diff: fusl/src/thread/mips/syscall_cp.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/thread/mips/clone.s ('k') | fusl/src/thread/mtx_destroy.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 .set noreorder
2
3 .global __cp_begin
4 .hidden __cp_begin
5 .type __cp_begin,@function
6 .global __cp_end
7 .hidden __cp_end
8 .type __cp_end,@function
9 .global __cp_cancel
10 .hidden __cp_cancel
11 .type __cp_cancel,@function
12 .hidden __cancel
13 .global __syscall_cp_asm
14 .hidden __syscall_cp_asm
15 .type __syscall_cp_asm,@function
16 __syscall_cp_asm:
17 subu $sp, $sp, 32
18 __cp_begin:
19 lw $4, 0($4)
20 bne $4, $0, __cp_cancel
21 move $2, $5
22 move $4, $6
23 move $5, $7
24 lw $6, 48($sp)
25 lw $7, 52($sp)
26 lw $8, 56($sp)
27 lw $9, 60($sp)
28 lw $10,64($sp)
29 sw $8, 16($sp)
30 sw $9, 20($sp)
31 sw $10,24($sp)
32 sw $2, 28($sp)
33 lw $2, 28($sp)
34 syscall
35 __cp_end:
36 beq $7, $0, 1f
37 addu $sp, $sp, 32
38 subu $2, $0, $2
39 1: jr $ra
40 nop
41
42 __cp_cancel:
43 addu $sp, $sp, 32
44 lw $25, %call16(__cancel)($gp)
45 jr $25
46 nop
OLDNEW
« no previous file with comments | « fusl/src/thread/mips/clone.s ('k') | fusl/src/thread/mtx_destroy.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698