Skip to content

Commit

Permalink
[BZ #3325]
Browse files Browse the repository at this point in the history
	* sysdeps/i386/fpu/e_fmodf.S: Use fprem1 instead of fprem.
	* sysdeps/i386/fpu/e_fmodl.c: Likewise.
	* sysdeps/i386/fpu/e_fmod.S: Likewise.
	Patch by Jared Casper <jaredcasper@gmail.com>.
  • Loading branch information
Ulrich Drepper committed Feb 19, 2007
1 parent 858ee15 commit 2484468
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
2007-02-18 Ulrich Drepper <drepper@redhat.com>

[BZ #3325]
* sysdeps/i386/fpu/e_fmodf.S: Use fprem1 instead of fprem.
* sysdeps/i386/fpu/e_fmodl.c: Likewise.
* sysdeps/i386/fpu/e_fmod.S: Likewise.
Patch by Jared Casper <jaredcasper@gmail.com>.

* sysdeps/unix/closedir.c: Outside libc don't use locking.
* sysdeps/unix/opendir.c: Likewise.
* sysdeps/unix/readdir.c: Likewise.
Expand Down
5 changes: 5 additions & 0 deletions nptl/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2007-02-18 Ulrich Drepper <drepper@redhat.com>

* sysdeps/pthread/pthread-functions.h: If PTR_DEMANGLE is not
available, don't use it.

2007-02-09 Jakub Jelinek <jakub@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/i386/fpu/e_fmod.S
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RCSID("$NetBSD: e_fmod.S,v 1.4 1995/05/08 23:47:56 jtc Exp $")
ENTRY(__ieee754_fmod)
fldl 12(%esp)
fldl 4(%esp)
1: fprem
1: fprem1
fstsw %ax
sahf
jp 1b
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/i386/fpu/e_fmodf.S
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RCSID("$NetBSD: $")
ENTRY(__ieee754_fmodf)
flds 8(%esp)
flds 4(%esp)
1: fprem
1: fprem1
fstsw %ax
sahf
jp 1b
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/i386/fpu/e_fmodl.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ __ieee754_fmodl (long double x, long double y)
{
long double res;

asm ("1:\tfprem\n"
asm ("1:\tfprem1\n"
"fstsw %%ax\n"
"sahf\n"
"jp 1b\n"
Expand Down

0 comments on commit 2484468

Please sign in to comment.