Merge branch 'master' of git://git.etalabs.net/musl
This commit is contained in:
commit
9322344fa4
21 changed files with 157 additions and 0 deletions
24
src/math/i386/acos.s
Normal file
24
src/math/i386/acos.s
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
.global acosf
|
||||
.type acosf,@function
|
||||
acosf:
|
||||
flds 4(%esp)
|
||||
jmp 1f
|
||||
|
||||
.global acosl
|
||||
.type acosl,@function
|
||||
acosl:
|
||||
fldt 4(%esp)
|
||||
jmp 1f
|
||||
|
||||
.global acos
|
||||
.type acos,@function
|
||||
acos:
|
||||
fldl 4(%esp)
|
||||
1: fld %st(0)
|
||||
fmul %st(0)
|
||||
fld1
|
||||
fsubp %st(1)
|
||||
fsqrt
|
||||
fxch %st(1)
|
||||
fpatan
|
||||
ret
|
||||
1
src/math/i386/acosf.s
Normal file
1
src/math/i386/acosf.s
Normal file
|
|
@ -0,0 +1 @@
|
|||
# see acos.s
|
||||
1
src/math/i386/acosl.s
Normal file
1
src/math/i386/acosl.s
Normal file
|
|
@ -0,0 +1 @@
|
|||
# see acos.s
|
||||
23
src/math/i386/asin.s
Normal file
23
src/math/i386/asin.s
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
.global asinf
|
||||
.type asinf,@function
|
||||
asinf:
|
||||
flds 4(%esp)
|
||||
jmp 1f
|
||||
|
||||
.global asinl
|
||||
.type asinl,@function
|
||||
asinl:
|
||||
fldt 4(%esp)
|
||||
jmp 1f
|
||||
|
||||
.global asin
|
||||
.type asin,@function
|
||||
asin:
|
||||
fldl 4(%esp)
|
||||
1: fld %st(0)
|
||||
fmul %st(0)
|
||||
fld1
|
||||
fsubp %st(1)
|
||||
fsqrt
|
||||
fpatan
|
||||
ret
|
||||
1
src/math/i386/asinf.s
Normal file
1
src/math/i386/asinf.s
Normal file
|
|
@ -0,0 +1 @@
|
|||
# see asin.s
|
||||
1
src/math/i386/asinl.s
Normal file
1
src/math/i386/asinl.s
Normal file
|
|
@ -0,0 +1 @@
|
|||
# see asin.s
|
||||
7
src/math/i386/atan.s
Normal file
7
src/math/i386/atan.s
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
.global atan
|
||||
.type atan,@function
|
||||
atan:
|
||||
fldl 4(%esp)
|
||||
fld1
|
||||
fpatan
|
||||
ret
|
||||
7
src/math/i386/atan2.s
Normal file
7
src/math/i386/atan2.s
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
.global atan2
|
||||
.type atan2,@function
|
||||
atan2:
|
||||
fldl 4(%esp)
|
||||
fldl 12(%esp)
|
||||
fpatan
|
||||
ret
|
||||
7
src/math/i386/atan2f.s
Normal file
7
src/math/i386/atan2f.s
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
.global atan2f
|
||||
.type atan2f,@function
|
||||
atan2f:
|
||||
flds 4(%esp)
|
||||
flds 8(%esp)
|
||||
fpatan
|
||||
ret
|
||||
7
src/math/i386/atan2l.s
Normal file
7
src/math/i386/atan2l.s
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
.global atan2l
|
||||
.type atan2l,@function
|
||||
atan2l:
|
||||
fldt 4(%esp)
|
||||
fldt 16(%esp)
|
||||
fpatan
|
||||
ret
|
||||
7
src/math/i386/atanf.s
Normal file
7
src/math/i386/atanf.s
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
.global atanf
|
||||
.type atanf,@function
|
||||
atanf:
|
||||
flds 4(%esp)
|
||||
fld1
|
||||
fpatan
|
||||
ret
|
||||
7
src/math/i386/atanl.s
Normal file
7
src/math/i386/atanl.s
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
.global atanl
|
||||
.type atanl,@function
|
||||
atanl:
|
||||
fldt 4(%esp)
|
||||
fld1
|
||||
fpatan
|
||||
ret
|
||||
1
src/math/i386/ldexp.s
Normal file
1
src/math/i386/ldexp.s
Normal file
|
|
@ -0,0 +1 @@
|
|||
# see scalbn.s
|
||||
1
src/math/i386/ldexpf.s
Normal file
1
src/math/i386/ldexpf.s
Normal file
|
|
@ -0,0 +1 @@
|
|||
# see scalbnf.s
|
||||
1
src/math/i386/ldexpl.s
Normal file
1
src/math/i386/ldexpl.s
Normal file
|
|
@ -0,0 +1 @@
|
|||
# see scalbnl.s
|
||||
1
src/math/i386/scalbln.s
Normal file
1
src/math/i386/scalbln.s
Normal file
|
|
@ -0,0 +1 @@
|
|||
# see scalbn.s
|
||||
1
src/math/i386/scalblnf.s
Normal file
1
src/math/i386/scalblnf.s
Normal file
|
|
@ -0,0 +1 @@
|
|||
# see scalbnf.s
|
||||
1
src/math/i386/scalblnl.s
Normal file
1
src/math/i386/scalblnl.s
Normal file
|
|
@ -0,0 +1 @@
|
|||
# see scalbnl.s
|
||||
20
src/math/i386/scalbn.s
Normal file
20
src/math/i386/scalbn.s
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
.global ldexp
|
||||
.type ldexp,@function
|
||||
ldexp:
|
||||
nop
|
||||
|
||||
.global scalbln
|
||||
.type scalbln,@function
|
||||
scalbln:
|
||||
nop
|
||||
|
||||
.global scalbn
|
||||
.type scalbn,@function
|
||||
scalbn:
|
||||
fildl 12(%esp)
|
||||
fldl 4(%esp)
|
||||
fscale
|
||||
fstp %st(1)
|
||||
fstpl 4(%esp)
|
||||
fldl 4(%esp)
|
||||
ret
|
||||
20
src/math/i386/scalbnf.s
Normal file
20
src/math/i386/scalbnf.s
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
.global ldexpf
|
||||
.type ldexpf,@function
|
||||
ldexpf:
|
||||
nop
|
||||
|
||||
.global scalblnf
|
||||
.type scalblnf,@function
|
||||
scalblnf:
|
||||
nop
|
||||
|
||||
.global scalbnf
|
||||
.type scalbnf,@function
|
||||
scalbnf:
|
||||
fildl 8(%esp)
|
||||
flds 4(%esp)
|
||||
fscale
|
||||
fstp %st(1)
|
||||
fstps 4(%esp)
|
||||
flds 4(%esp)
|
||||
ret
|
||||
18
src/math/i386/scalbnl.s
Normal file
18
src/math/i386/scalbnl.s
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
.global ldexpl
|
||||
.type ldexpl,@function
|
||||
ldexpl:
|
||||
nop
|
||||
|
||||
.global scalblnl
|
||||
.type scalblnl,@function
|
||||
scalblnl:
|
||||
nop
|
||||
|
||||
.global scalbnl
|
||||
.type scalbnl,@function
|
||||
scalbnl:
|
||||
fildl 16(%esp)
|
||||
fldt 4(%esp)
|
||||
fscale
|
||||
fstp %st(1)
|
||||
ret
|
||||
Loading…
Add table
Add a link
Reference in a new issue