about summary refs log tree commit diff
path: root/sysdeps/x86_64/fpu/s_finitel.S
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2002-07-06 15:07:30 +0000
committerAndreas Jaeger <aj@suse.de>2002-07-06 15:07:30 +0000
commit9359218f0fa991ee10df00cfdc4fc1822c9d9597 (patch)
tree9850632a6d8c6587f9b2adc0288b4994ea87c2ea /sysdeps/x86_64/fpu/s_finitel.S
parentaeb25823d8ef62566bef76351cc318673f3f36c7 (diff)
downloadglibc-9359218f0fa991ee10df00cfdc4fc1822c9d9597.tar.gz
glibc-9359218f0fa991ee10df00cfdc4fc1822c9d9597.tar.xz
glibc-9359218f0fa991ee10df00cfdc4fc1822c9d9597.zip
Update.
2002-07-06  Andreas Jaeger  <aj@suse.de>

	* sysdeps/x86_64/fpu/bits/mathinline.h: New.
	* sysdeps/x86_64/fpu/s_copysign.S: New.
	* sysdeps/x86_64/fpu/s_copysignf.S: New.
	* sysdeps/x86_64/fpu/s_copysignl.S: New.
	* sysdeps/x86_64/fpu/s_finitel.S: New.
	* sysdeps/x86_64/fpu/s_fmax.S: New.
	* sysdeps/x86_64/fpu/s_fmaxf.S: New.
	* sysdeps/x86_64/fpu/s_fmaxl.S: New.
	* sysdeps/x86_64/fpu/s_fmin.S: New.
	* sysdeps/x86_64/fpu/s_fminf.S: New.
	* sysdeps/x86_64/fpu/s_fminl.S: New.
Diffstat (limited to 'sysdeps/x86_64/fpu/s_finitel.S')
-rw-r--r--sysdeps/x86_64/fpu/s_finitel.S16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysdeps/x86_64/fpu/s_finitel.S b/sysdeps/x86_64/fpu/s_finitel.S
new file mode 100644
index 0000000000..45b9886fb6
--- /dev/null
+++ b/sysdeps/x86_64/fpu/s_finitel.S
@@ -0,0 +1,16 @@
+/*
+ * Written by Joe Keane <jgk@jgk.org>.
+ * Adopted for x86-64 by Andreas Jaeger <aj@suse.de>.
+ */
+
+#include <machine/asm.h>
+
+ENTRY(__finitel)
+	movl	16(%rsp),%eax
+	orl	$0xffff8000, %eax
+	incl	%eax
+	shrl	$31, %eax
+	ret
+END (__finitel)
+strong_alias(__finitel, __finitel_internal)
+weak_alias (__finitel, finitel)