about summary refs log tree commit diff
path: root/sysdeps/libm-i387/i686/s_fdim.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-03-19 14:32:08 +0000
committerUlrich Drepper <drepper@redhat.com>1998-03-19 14:32:08 +0000
commit838e5ffe9e0071859b635151729192dedbf104a7 (patch)
tree0886a5307590f0c708c9d1f7dfab853de0dc26b0 /sysdeps/libm-i387/i686/s_fdim.S
parent7551a1e5100c596793fa182cd26346ff971d3a4f (diff)
downloadglibc-838e5ffe9e0071859b635151729192dedbf104a7.tar.gz
glibc-838e5ffe9e0071859b635151729192dedbf104a7.tar.xz
glibc-838e5ffe9e0071859b635151729192dedbf104a7.zip
1998-03-19 14:28  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
	weak alias.
	* sysdeps/i386/strtok_r.c: Likewise.

	* sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
	* sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
	* sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
	* sysdeps/libm-i387/i686/s_fmin.S: Likewise.
	* sysdeps/libm-i387/i686/s_fminf.S: Likewise.
	* sysdeps/libm-i387/i686/s_fminl.S: Likewise.

1998-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* intl/localealias.c: Remove unneeded define for strdup.

1998-03-19 13:45  Ulrich Drepper  <drepper@cygnus.com>

	* manual/argp.texi: Adjust for better TeX output.
	* manual/arith.texi: Likewise.
	* manual/conf.texi: Likewise.
	* manual/filesys.texi: Likewise.
	* manual/header.texi: Likewise.
	* manual/lgpl.texinfo: Likewise.
	* manual/math.texi: Likewise.
	* manual/message.texi: Likewise.
	* manual/pattern.texi: Likewise.
	* manual/process.texi: Likewise.
	* manual/signal.texi: Likewise.
	* manual/socket.texi: Likewise.
	* manual/startup.texi: Likewise.
	* manual/stdio.texi: Likewise.
	* manual/terminal.texi: Likewise.
	* manual/examples/rprintf.c: Likewise.
	* manual/examples/testopt.c: Likewise.
	Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.

1998-03-19 20:45  Tim Waugh  <tim@cyberelk.demon.co.uk>

	* posix/wordexp.c (parse_param): Don't immediately stop parsing a
	parameter name after seeing a digit if it's enclosed in braces.
Diffstat (limited to 'sysdeps/libm-i387/i686/s_fdim.S')
-rw-r--r--sysdeps/libm-i387/i686/s_fdim.S7
1 files changed, 4 insertions, 3 deletions
diff --git a/sysdeps/libm-i387/i686/s_fdim.S b/sysdeps/libm-i387/i686/s_fdim.S
index 1ecae61aa9..3f9f61b57d 100644
--- a/sysdeps/libm-i387/i686/s_fdim.S
+++ b/sysdeps/libm-i387/i686/s_fdim.S
@@ -1,5 +1,5 @@
 /* Compute positive difference.
-   Copyright (C) 1997 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1998 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
@@ -30,11 +30,12 @@ ENTRY(__fdim)
 
 	fsubp	%st(1), %st
 	fldz
-	fcmovnb	%st(1), %st
+	fcomi	%st(1), %st
+	fcmovb	%st(1), %st
 	jmp	2f
 
 1:	fucomi	%st(0), %st
-	fcmovu	%st, %st(1)
+	fcmovnu	%st(1), %st
 2:	fstp	%st(1)
 	ret
 END(__fdim)