aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2007-12-17 18:12:06 +0000
committerBruce Evans <bde@FreeBSD.org>2007-12-17 18:12:06 +0000
commita18b106ffce20fdc2c20d3340fdbbaa279ac00c8 (patch)
treea40664c2e55df3d16c756124ac57bab3b80992ee
parentb5f992b93d101e013fe2a4cff97709a4232d5ed3 (diff)
downloadsrc-a18b106ffce20fdc2c20d3340fdbbaa279ac00c8.tar.gz
src-a18b106ffce20fdc2c20d3340fdbbaa279ac00c8.zip
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.
Notes
Notes: svn path=/head/; revision=174719
-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 d12c52458a49..dcf012180fd5 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