aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/libm-i387
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
parent7551a1e5100c596793fa182cd26346ff971d3a4f (diff)
downloadglibc-838e5ffe9e0071859b635151729192dedbf104a7.tar
glibc-838e5ffe9e0071859b635151729192dedbf104a7.tar.gz
glibc-838e5ffe9e0071859b635151729192dedbf104a7.tar.bz2
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')
-rw-r--r--sysdeps/libm-i387/i686/s_fdim.S7
-rw-r--r--sysdeps/libm-i387/i686/s_fdimf.S7
-rw-r--r--sysdeps/libm-i387/i686/s_fdiml.S7
-rw-r--r--sysdeps/libm-i387/i686/s_fmin.S4
-rw-r--r--sysdeps/libm-i387/i686/s_fminf.S4
-rw-r--r--sysdeps/libm-i387/i686/s_fminl.S4
6 files changed, 18 insertions, 15 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)
diff --git a/sysdeps/libm-i387/i686/s_fdimf.S b/sysdeps/libm-i387/i686/s_fdimf.S
index 0d2ef3cc1a..8b5cec6a3b 100644
--- a/sysdeps/libm-i387/i686/s_fdimf.S
+++ b/sysdeps/libm-i387/i686/s_fdimf.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(__fdimf)
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(__fdimf)
diff --git a/sysdeps/libm-i387/i686/s_fdiml.S b/sysdeps/libm-i387/i686/s_fdiml.S
index 94510df756..e9f0535a3a 100644
--- a/sysdeps/libm-i387/i686/s_fdiml.S
+++ b/sysdeps/libm-i387/i686/s_fdiml.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(__fdiml)
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(__fdiml)
diff --git a/sysdeps/libm-i387/i686/s_fmin.S b/sysdeps/libm-i387/i686/s_fmin.S
index 9df029996d..383e9579f6 100644
--- a/sysdeps/libm-i387/i686/s_fmin.S
+++ b/sysdeps/libm-i387/i686/s_fmin.S
@@ -1,5 +1,5 @@
/* Compute minimum of two numbers, regarding NaN as missing argument.
- 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.
@@ -29,7 +29,7 @@ ENTRY(__fmin)
fcmovu %st(1), %st // now %st contains y if not NaN, x otherwise
fucomi %st(1), %st
- fcmovb %st(1), %st
+ fcmovnb %st(1), %st
fstp %st(1)
diff --git a/sysdeps/libm-i387/i686/s_fminf.S b/sysdeps/libm-i387/i686/s_fminf.S
index a1d1497c15..f3dae00377 100644
--- a/sysdeps/libm-i387/i686/s_fminf.S
+++ b/sysdeps/libm-i387/i686/s_fminf.S
@@ -1,5 +1,5 @@
/* Compute minimum of two numbers, regarding NaN as missing argument.
- 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.
@@ -29,7 +29,7 @@ ENTRY(__fminf)
fcmovu %st(1), %st // now %st contains y if not NaN, x otherwise
fucomi %st(1), %st
- fcmovb %st(1), %st
+ fcmovnb %st(1), %st
fstp %st(1)
diff --git a/sysdeps/libm-i387/i686/s_fminl.S b/sysdeps/libm-i387/i686/s_fminl.S
index 089be40bd4..f125531112 100644
--- a/sysdeps/libm-i387/i686/s_fminl.S
+++ b/sysdeps/libm-i387/i686/s_fminl.S
@@ -1,5 +1,5 @@
/* Compute minimum of two numbers, regarding NaN as missing argument.
- 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.
@@ -29,7 +29,7 @@ ENTRY(__fminl)
fcmovu %st(1), %st // now %st contains y if not NaN, x otherwise
fucomi %st(1), %st
- fcmovb %st(1), %st
+ fcmovnb %st(1), %st
fstp %st(1)