mailing list of musl libc
 help / color / mirror / code / Atom feed
06215954e73005a36b5e66cb85a4ab8d6d3d3cd1 blob 911 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
 
#ifdef __riscv_flen

.global feclearexcept
.type feclearexcept, %function
feclearexcept:
        csrc fflags, a0
        li a0, 0
        ret

.global feraiseexcept
.type feraiseexcept, %function
feraiseexcept:
        csrs fflags, a0
        li a0, 0
        ret

.global fetestexcept
.type fetestexcept, %function
fetestexcept:
        frflags t0
        and a0, t0, a0
        ret

.global fegetround
.type fegetround, %function
fegetround:
        frrm a0
        ret

.global __fesetround
.type __fesetround, %function
__fesetround:
        fsrm t0, a0
        li a0, 0
        ret

.global fegetenv
.type fegetenv, %function
fegetenv:
        frcsr t0
        sw t0, 0(a0)
        li a0, 0
        ret

.global fesetenv
.type fesetenv, %function
fesetenv:
        li t2, -1
        li t1, 0
        beq a0, t2, setfpcsr
        lw t1, 0(a0)
setfpcsr:
        fscsr t1
        li a0, 0
        ret

#endif
debug log:

solving 06215954 ...
found 06215954 in https://inbox.vuxu.org/musl/20191202110648.GA3068@APC301.andestech.com/
found 97f74dd6 in https://inbox.vuxu.org/musl/20190524144608.5998-1-sir@cmpwn.com/

applying [1/2] https://inbox.vuxu.org/musl/20190524144608.5998-1-sir@cmpwn.com/
diff --git a/src/fenv/riscv64/fenv.S b/src/fenv/riscv64/fenv.S
new file mode 100644
index 00000000..97f74dd6


applying [2/2] https://inbox.vuxu.org/musl/20191202110648.GA3068@APC301.andestech.com/
diff --git a/src/fenv/riscv64/fenv.S b/src/fenv/riscv64/fenv.S
index 97f74dd6..06215954 100644

Checking patch src/fenv/riscv64/fenv.S...
Applied patch src/fenv/riscv64/fenv.S cleanly.
Checking patch src/fenv/riscv64/fenv.S...
Applied patch src/fenv/riscv64/fenv.S cleanly.

index at:
100644 06215954e73005a36b5e66cb85a4ab8d6d3d3cd1	src/fenv/riscv64/fenv.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).