Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
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.

004-09-29  Ulrich Drepper  <drepper@redhat.com>
  • Loading branch information
Ulrich Drepper committed Sep 30, 2004
1 parent f7e7a39 commit 7ff2ba9
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 25 deletions.
8 changes: 7 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
2004-09-29 Ulrich Drepper <drepper@redhat.com>
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.

004-09-29 Ulrich Drepper <drepper@redhat.com>

* grp/initgroups.c: Move compat_call implementation...
* grp/compat-initgroups.c: ...to here. New file.
Expand Down
17 changes: 9 additions & 8 deletions sysdeps/i386/fpu/s_fdim.S
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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)
17 changes: 9 additions & 8 deletions sysdeps/i386/fpu/s_fdimf.S
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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)
17 changes: 9 additions & 8 deletions sysdeps/i386/fpu/s_fdiml.S
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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)

0 comments on commit 7ff2ba9

Please sign in to comment.