Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 15 Jul 1999 18:44:07 +0000 (18:44 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 15 Jul 1999 18:44:07 +0000 (18:44 +0000)
1999-07-15  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
program deterministic.
* sysdeps/i386/fpu/e_powf.S: Likewise.
* sysdeps/i386/fpu/e_powl.S: Likewise.

ChangeLog
sysdeps/i386/fpu/e_pow.S
sysdeps/i386/fpu/e_powf.S
sysdeps/i386/fpu/e_powl.S

index 5dd0ab4..62085ba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
+
+       * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
+       program deterministic.
+       * sysdeps/i386/fpu/e_powf.S: Likewise.
+       * sysdeps/i386/fpu/e_powl.S: Likewise.
+
 1999-07-15  Jakub Jelinek  <jj@ultra.linux.cz>
 
        * math/Makefile: Add t_sincosl and k_sincosl support routines.
index 75ad211..6b20482 100644 (file)
@@ -1,5 +1,5 @@
 /* ix87 specific implementation of pow function.
-   Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -279,8 +279,7 @@ ENTRY(__ieee754_pow)
        ret
 
 25:    fstp    %st(0)
-26:    popl    %eax
-       popl    %edx
+26:    addl    $8, %esp
 27:    // Raise divide-by-zero exception and get infinity value.
        fldl    MO(one)
        fdivl   MO(zero)
index d7342bf..9ea41ba 100644 (file)
@@ -1,5 +1,5 @@
 /* ix87 specific implementation of pow function.
-   Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -272,7 +272,7 @@ ENTRY(__ieee754_powf)
        ret
 
 25:    fstp    %st(0)
-26:    popl    %eax
+26:    addl    $4, %esp
 27:    // Raise divide-by-zero exception and get infinity value.
        fldl    MO(one)
        fdivl   MO(zero)
index 2e09dcc..e733e52 100644 (file)
@@ -1,5 +1,5 @@
 /* ix87 specific implementation of pow function.
-   Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -269,8 +269,7 @@ ENTRY(__ieee754_powl)
        ret
 
 25:    fstp    %st(0)
-26:    popl    %eax
-       popl    %edx
+26:    addl    $8, %esp
 27:    // Raise divide-by-zero exception and get infinity value.
        fldl    MO(one)
        fdivl   MO(zero)