* 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>.
This commit is contained in:
Ulrich Drepper 2007-02-19 05:48:54 +00:00
parent 858ee15dec
commit 2484468be1
5 changed files with 14 additions and 3 deletions

View File

@ -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.

View File

@ -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

View File

@ -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

View File

@ -11,7 +11,7 @@ RCSID("$NetBSD: $")
ENTRY(__ieee754_fmodf)
flds 8(%esp)
flds 4(%esp)
1: fprem
1: fprem1
fstsw %ax
sahf
jp 1b

View File

@ -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"