+2001-09-18 Andreas Jaeger <aj@suse.de>
+
+ * sysdeps/i386/fpu/s_logbl.S: Move to ...
+ * sysdeps/i386/fpu/s_logbl.c: ...here, use inline assembler.
+
+ * sysdeps/i386/fpu/s_rintl.S: Move to ...
+ * sysdeps/i386/fpu/s_rintl.c: ...here, use inline assembler.
+
+ * sysdeps/i386/fpu/s_significandl.S: Move to ...
+ * sysdeps/i386/fpu/s_significandl.c: ...here, use inline assembler.
+
2001-09-16 Ulrich Drepper <drepper@redhat.com>
* string/strcoll.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
-
In addition to the permissions in the GNU Lesser General Public
License, the Free Software Foundation gives you unlimited
permission to link the compiled version of this file with other
--- /dev/null
+/*
+ * Written by J.T. Conklin <jtc@netbsd.org>.
+ * Changes for long double by Ulrich Drepper <drepper@cygnus.com>
+ * Public domain.
+ */
+
+#include <math_private.h>
+
+long double
+__logbl (long double x)
+{
+ long double res;
+
+ asm ("fxtract\n"
+ "fstp %%st" : "=t" (res) : "0" (x));
+ return res;
+}
+
+weak_alias (__logbl, logbl)
--- /dev/null
+/*
+ * Written by J.T. Conklin <jtc@netbsd.org>.
+ * Changes for long double by Ulrich Drepper <drepper@cygnus.com>
+ * Public domain.
+ */
+
+#include <math_private.h>
+
+long double
+__rintl (long double x)
+{
+ long double res;
+
+ asm ("frndint" : "=t" (res) : "0" (x));
+ return res;
+}
+
+weak_alias (__rintl, rintl)
--- /dev/null
+/*
+ * Written by J.T. Conklin <jtc@netbsd.org>.
+ * Changes for long double by Ulrich Drepper <drepper@cygnus.com>
+ * Public domain.
+ */
+
+#include <math_private.h>
+
+long double
+__significandl (long double x)
+{
+ long double res;
+
+ asm ("fxtract\n"
+ "fstp %%st(0)" : "=t" (res) : "0" (x));
+ return res;
+}
+
+weak_alias (__significandl, significandl)