]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Use addl instead of pop/pop to keep program deterministic.
authorUlrich Drepper <drepper@redhat.com>
Fri, 16 Jul 1999 23:25:29 +0000 (23:25 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 16 Jul 1999 23:25:29 +0000 (23:25 +0000)
sysdeps/libm-i387/e_pow.S
sysdeps/libm-i387/e_powf.S
sysdeps/libm-i387/e_powl.S

index 75ad211872534e09392ea9400f1d67bc96e38ecc..6b20482319fa0e221aa64e8fff5056d5a34a9eee 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 d7342bf56f6cd4bc7b0ed4d4d362fec704126a20..9ea41ba3c976f67196501918fee00632b22671c3 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 2e09dcc820ecb584be23bc9b3ddd94e0c55b90c2..e733e522c85923b85f6969b10a072cc512c521a4 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)