mirror of
https://git.musl-libc.org/git/musl
synced 2025-02-24 06:04:36 +03:00
asm for log functions
This commit is contained in:
parent
aa1b4dff45
commit
495a52ae7b
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
|
Loading…
x
Reference in New Issue
Block a user