mirror of
git://sourceware.org/git/glibc.git
synced 2025-04-12 14:21:18 +08:00
* sysdeps/i386/fpu/s_fdim.S (__fdim): Handle +inf/+inf.
* sysdeps/i386/fpu/s_fdimf.S (__fdimf): Likewise. * sysdeps/i386/fpu/s_fdiml.S (__fdiml): Likewise.
This commit is contained in:
parent
2b13f2ccc0
commit
f9ff03a835
@ -1,3 +1,9 @@
|
||||
2004-09-29 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* sysdeps/i386/fpu/s_fdim.S (__fdim): Handle +inf/+inf.
|
||||
* sysdeps/i386/fpu/s_fdimf.S (__fdimf): Likewise.
|
||||
* sysdeps/i386/fpu/s_fdiml.S (__fdiml): Likewise.
|
||||
|
||||
2004-09-28 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* nscd/nscd_getai.c: Use NO_MAPPING instead of MAP_FAILED for test
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Compute positive difference.
|
||||
Copyright (C) 1997, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1997, 1999, 2004 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
|
||||
|
||||
@ -30,22 +30,23 @@ ENTRY(__fdim)
|
||||
sahf
|
||||
jp 1f
|
||||
|
||||
fsubrp %st, %st(1)
|
||||
jc 2f
|
||||
jc 3f
|
||||
|
||||
fstp %st(0)
|
||||
fstp %st(1)
|
||||
fldz
|
||||
jmp 2f
|
||||
|
||||
3: fsubrp %st, %st(1)
|
||||
ret
|
||||
|
||||
1: fxam
|
||||
fnstsw
|
||||
andb $0x45, %ah
|
||||
cmpb $0x01, %ah
|
||||
je 3f
|
||||
je 2f
|
||||
|
||||
fxch
|
||||
3: fstp %st(1)
|
||||
|
||||
2: ret
|
||||
2: fstp %st(1)
|
||||
ret
|
||||
END(__fdim)
|
||||
weak_alias (__fdim, fdim)
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Compute positive difference.
|
||||
Copyright (C) 1997, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1997, 1999, 2004 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
|
||||
|
||||
@ -30,22 +30,23 @@ ENTRY(__fdimf)
|
||||
sahf
|
||||
jp 1f
|
||||
|
||||
fsubrp %st, %st(1)
|
||||
jc 2f
|
||||
jc 3f
|
||||
|
||||
fstp %st(0)
|
||||
fstp %st(1)
|
||||
fldz
|
||||
jmp 2f
|
||||
|
||||
3: fsubrp %st, %st(1)
|
||||
ret
|
||||
|
||||
1: fxam
|
||||
fnstsw
|
||||
andb $0x45, %ah
|
||||
cmpb $0x01, %ah
|
||||
je 3f
|
||||
je 2f
|
||||
|
||||
fxch
|
||||
3: fstp %st(1)
|
||||
|
||||
2: ret
|
||||
2: fstp %st(1)
|
||||
ret
|
||||
END(__fdimf)
|
||||
weak_alias (__fdimf, fdimf)
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Compute positive difference.
|
||||
Copyright (C) 1997, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1997, 1999, 2004 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
|
||||
|
||||
@ -30,22 +30,23 @@ ENTRY(__fdiml)
|
||||
sahf
|
||||
jp 1f
|
||||
|
||||
fsubrp %st, %st(1)
|
||||
jc 2f
|
||||
jc 3f
|
||||
|
||||
fstp %st(0)
|
||||
fstp %st(1)
|
||||
fldz
|
||||
jmp 2f
|
||||
|
||||
3: fsubrp %st, %st(1)
|
||||
ret
|
||||
|
||||
1: fxam
|
||||
fnstsw
|
||||
andb $0x45, %ah
|
||||
cmpb $0x01, %ah
|
||||
je 3f
|
||||
je 2f
|
||||
|
||||
fxch
|
||||
3: fstp %st(1)
|
||||
|
||||
2: ret
|
||||
2: fstp %st(1)
|
||||
ret
|
||||
END(__fdiml)
|
||||
weak_alias (__fdiml, fdiml)
|
||||
|
Loading…
x
Reference in New Issue
Block a user