asm for log functions
This commit is contained in:
parent
aa1b4dff45
commit
495a52ae7b
6 changed files with 42 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue