From 0cc456d2b6d4418bb1fe52648addb33fbda6286d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 7 May 1998 12:05:03 +0000 Subject: [PATCH] Avoid endless loop. --- sysdeps/libm-i387/e_pow.S | 3 ++- sysdeps/libm-i387/e_powl.S | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sysdeps/libm-i387/e_pow.S b/sysdeps/libm-i387/e_pow.S index 45c41b48ab3..75ad2118725 100644 --- a/sysdeps/libm-i387/e_pow.S +++ b/sysdeps/libm-i387/e_pow.S @@ -1,5 +1,5 @@ /* ix87 specific implementation of pow function. - Copyright (C) 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1996. @@ -125,6 +125,7 @@ ENTRY(__ieee754_pow) fmul %st(1) // x : ST*x fxch 5: fmul %st(0), %st // x*x : ST*x + shrl $1, %edx movl %eax, %ecx orl %edx, %ecx jnz 6b diff --git a/sysdeps/libm-i387/e_powl.S b/sysdeps/libm-i387/e_powl.S index 0ea48298228..2e09dcc820e 100644 --- a/sysdeps/libm-i387/e_powl.S +++ b/sysdeps/libm-i387/e_powl.S @@ -1,5 +1,5 @@ /* ix87 specific implementation of pow function. - Copyright (C) 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1996. @@ -125,6 +125,7 @@ ENTRY(__ieee754_powl) fmul %st(1) // x : ST*x fxch 5: fmul %st(0), %st // x*x : ST*x + shrl $1, %edx movl %eax, %ecx orl %edx, %ecx jnz 6b -- 2.47.2