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

Side by Side Diff: fusl/src/fenv/mips/fenv.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/fenv/mips-sf/fenv.sub ('k') | fusl/src/fenv/mipsel-sf/fenv.sub » ('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 feclearexcept
4 .type feclearexcept,@function
5 feclearexcept:
6 and $4, $4, 0x7c
7 cfc1 $5, $31
8 or $5, $5, $4
9 xor $5, $5, $4
10 ctc1 $5, $31
11 jr $ra
12 li $2, 0
13
14 .global feraiseexcept
15 .type feraiseexcept,@function
16 feraiseexcept:
17 and $4, $4, 0x7c
18 cfc1 $5, $31
19 or $5, $5, $4
20 ctc1 $5, $31
21 jr $ra
22 li $2, 0
23
24 .global fetestexcept
25 .type fetestexcept,@function
26 fetestexcept:
27 and $4, $4, 0x7c
28 cfc1 $2, $31
29 jr $ra
30 and $2, $2, $4
31
32 .global fegetround
33 .type fegetround,@function
34 fegetround:
35 cfc1 $2, $31
36 jr $ra
37 andi $2, $2, 3
38
39 .global __fesetround
40 .type __fesetround,@function
41 __fesetround:
42 cfc1 $5, $31
43 li $6, -4
44 and $5, $5, $6
45 or $5, $5, $4
46 ctc1 $5, $31
47 jr $ra
48 li $2, 0
49
50 .global fegetenv
51 .type fegetenv,@function
52 fegetenv:
53 cfc1 $5, $31
54 sw $5, 0($4)
55 jr $ra
56 li $2, 0
57
58 .global fesetenv
59 .type fesetenv,@function
60 fesetenv:
61 addiu $5, $4, 1
62 beq $5, $0, 1f
63 nop
64 lw $5, 0($4)
65 1: ctc1 $5, $31
66 jr $ra
67 li $2, 0
OLDNEW
« no previous file with comments | « fusl/src/fenv/mips-sf/fenv.sub ('k') | fusl/src/fenv/mipsel-sf/fenv.sub » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698