提交 495a52ae 编写于 作者: R Rich Felker

asm for log functions

上级 aa1b4dff
.global log
.type log,@function
log:
fldln2
fldl 4(%esp)
fyl2x
ret
.global log10
.type log10,@function
log10:
fldlg2
fldl 4(%esp)
fyl2x
ret
.global log10f
.type log10f,@function
log10f:
fldlg2
flds 4(%esp)
fyl2x
ret
.global log10l
.type log10l,@function
log10l:
fldlg2
fldt 4(%esp)
fyl2x
ret
.global logf
.type logf,@function
logf:
fldln2
flds 4(%esp)
fyl2x
ret
.global logl
.type logl,@function
logl:
fldln2
fldt 4(%esp)
fyl2x
ret
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册