mirror of
https://github.com/fluencelabs/musl
synced 2025-06-26 21:22:11 +00:00
asm for log functions
This commit is contained in:
7
src/math/i386/log.s
Normal file
7
src/math/i386/log.s
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
.global log
|
||||||
|
.type log,@function
|
||||||
|
log:
|
||||||
|
fldln2
|
||||||
|
fldl 4(%esp)
|
||||||
|
fyl2x
|
||||||
|
ret
|
7
src/math/i386/log10.s
Normal file
7
src/math/i386/log10.s
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
.global log10
|
||||||
|
.type log10,@function
|
||||||
|
log10:
|
||||||
|
fldlg2
|
||||||
|
fldl 4(%esp)
|
||||||
|
fyl2x
|
||||||
|
ret
|
7
src/math/i386/log10f.s
Normal file
7
src/math/i386/log10f.s
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
.global log10f
|
||||||
|
.type log10f,@function
|
||||||
|
log10f:
|
||||||
|
fldlg2
|
||||||
|
flds 4(%esp)
|
||||||
|
fyl2x
|
||||||
|
ret
|
7
src/math/i386/log10l.s
Normal file
7
src/math/i386/log10l.s
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
.global log10l
|
||||||
|
.type log10l,@function
|
||||||
|
log10l:
|
||||||
|
fldlg2
|
||||||
|
fldt 4(%esp)
|
||||||
|
fyl2x
|
||||||
|
ret
|
7
src/math/i386/logf.s
Normal file
7
src/math/i386/logf.s
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
.global logf
|
||||||
|
.type logf,@function
|
||||||
|
logf:
|
||||||
|
fldln2
|
||||||
|
flds 4(%esp)
|
||||||
|
fyl2x
|
||||||
|
ret
|
7
src/math/i386/logl.s
Normal file
7
src/math/i386/logl.s
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
.global logl
|
||||||
|
.type logl,@function
|
||||||
|
logl:
|
||||||
|
fldln2
|
||||||
|
fldt 4(%esp)
|
||||||
|
fyl2x
|
||||||
|
ret
|
Reference in New Issue
Block a user