summaryrefslogtreecommitdiffstats
path: root/lib/msun/amd64
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2007-12-17 18:12:06 +0000
committerbde <bde@FreeBSD.org>2007-12-17 18:12:06 +0000
commit23b7db74d0f97b1a520f45566188dfe6eb402a43 (patch)
treea40664c2e55df3d16c756124ac57bab3b80992ee /lib/msun/amd64
parent658a0a8d459bf1cccdeb0f005b45156ae7205770 (diff)
downloadFreeBSD-src-23b7db74d0f97b1a520f45566188dfe6eb402a43.zip
FreeBSD-src-23b7db74d0f97b1a520f45566188dfe6eb402a43.tar.gz
Translate from the i386 so that this compiles and runs.
I hope that this and the i386 version of it will not be needed, but this is currently about 16 cycles or 36% faster than the C version, and the i386 version is about 8 cycles or 19% faster than the C version, due to poor optimization of the C version.
Diffstat (limited to 'lib/msun/amd64')
-rw-r--r--lib/msun/amd64/s_logbl.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/msun/amd64/s_logbl.S b/lib/msun/amd64/s_logbl.S
index d12c524..dcf0121 100644
--- a/lib/msun/amd64/s_logbl.S
+++ b/lib/msun/amd64/s_logbl.S
@@ -38,7 +38,7 @@
RCSID("$FreeBSD$")
ENTRY(logbl)
- fldt 4(%esp)
+ fldt 8(%rsp)
fxtract
fstp %st
ret
OpenPOWER on IntegriCloud