From 23b7db74d0f97b1a520f45566188dfe6eb402a43 Mon Sep 17 00:00:00 2001 From: bde Date: Mon, 17 Dec 2007 18:12:06 +0000 Subject: 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. --- lib/msun/amd64/s_logbl.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/msun') 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 -- cgit v1.1