]> git.proxmox.com Git - wasi-libc.git/blame - libc-top-half/musl/src/math/i386/asinf.s
Update to musl 1.2.0.
[wasi-libc.git] / libc-top-half / musl / src / math / i386 / asinf.s
CommitLineData
575e1579
DG
1.global asinf
2.type asinf,@function
3asinf:
4 flds 4(%esp)
5 mov 4(%esp),%eax
6 add %eax,%eax
7 cmp $0x01000000,%eax
8 jb 1f
9 fld %st(0)
10 fld1
11 fsub %st(0),%st(1)
12 fadd %st(2)
13 fmulp
14 fsqrt
15 fpatan
16 fstps 4(%esp)
17 flds 4(%esp)
18 ret
19 # subnormal x, return x with underflow
201: fld %st(0)
21 fmul %st(1)
22 fstps 4(%esp)
23 ret