about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-04 16:39:33 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-04 16:39:33 +0000
commit1dd548500f4b9f8526faebedd19c697a8dba57d9 (patch)
treef32a853655eb69cf2070ce09ff248311f5c69e58
parent61da76873e02412125d0c474cf11ff3f8c2d0930 (diff)
downloadglibc-1dd548500f4b9f8526faebedd19c697a8dba57d9.tar.gz
glibc-1dd548500f4b9f8526faebedd19c697a8dba57d9.tar.xz
glibc-1dd548500f4b9f8526faebedd19c697a8dba57d9.zip
Update.
2000-06-04  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
	if -ffast-math.
-rw-r--r--ChangeLog5
-rw-r--r--linuxthreads/ChangeLog6
-rw-r--r--linuxthreads/sysdeps/sparc/sparc32/sparcv9/pspinlock.c2
-rw-r--r--linuxthreads/sysdeps/sparc/sparc64/pspinlock.c2
-rw-r--r--sysdeps/i386/fpu/bits/mathinline.h3
5 files changed, 15 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index b30b9c9c96..8a8d89773f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-06-04  Jakub Jelinek  <jakub@redhat.com>
+
+	* sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
+	if -ffast-math.
+
 2000-06-04  Ulrich Drepper  <drepper@redhat.com>
 
 	* iconvdata/big5hkscs.c: New file.
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index c08461ce79..b0647f2477 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,9 @@
+2000-06-04  Jakub Jelinek  <jakub@redhat.com>
+
+	* sysdeps/sparc/sparc32/sparcv9/pspinlock.c (__pthread_spin_lock):
+	Add missing register.
+	* sysdeps/sparc/sparc64/pspinlock.c (__pthread_spin_lock): Likewise.
+
 2000-06-02  Jakub Jelinek  <jakub@redhat.com>
 
 	* sysdeps/sparc/sparc32/pspinlock.c: Implement spinlocks.
diff --git a/linuxthreads/sysdeps/sparc/sparc32/sparcv9/pspinlock.c b/linuxthreads/sysdeps/sparc/sparc32/sparcv9/pspinlock.c
index 06050d3fec..99ffdc0338 100644
--- a/linuxthreads/sysdeps/sparc/sparc32/sparcv9/pspinlock.c
+++ b/linuxthreads/sysdeps/sparc/sparc32/sparcv9/pspinlock.c
@@ -31,7 +31,7 @@ __pthread_spin_lock (pthread_spinlock_t *lock)
      "    membar #StoreLoad | #StoreStore\n"
      ".subsection 2\n"
      "2: ldub    [%0], %%g2\n"
-     "   brnz,pt 2b\n"
+     "   brnz,pt %%g2, 2b\n"
      "    membar #LoadLoad\n"
      "   b,a,pt  %%xcc, 1b\n"
      ".previous"
diff --git a/linuxthreads/sysdeps/sparc/sparc64/pspinlock.c b/linuxthreads/sysdeps/sparc/sparc64/pspinlock.c
index e793b5c65c..1b7fa15783 100644
--- a/linuxthreads/sysdeps/sparc/sparc64/pspinlock.c
+++ b/linuxthreads/sysdeps/sparc/sparc64/pspinlock.c
@@ -31,7 +31,7 @@ __pthread_spin_lock (pthread_spinlock_t *lock)
      "    membar #StoreLoad | #StoreStore\n"
      ".subsection 2\n"
      "2: ldub    [%0], %%g5\n"
-     "   brnz,pt 2b\n"
+     "   brnz,pt %%g5, 2b\n"
      "    membar #LoadLoad\n"
      "   b,a,pt  %%xcc, 1b\n"
      ".previous"
diff --git a/sysdeps/i386/fpu/bits/mathinline.h b/sysdeps/i386/fpu/bits/mathinline.h
index 50bfcde957..38c7405bc1 100644
--- a/sysdeps/i386/fpu/bits/mathinline.h
+++ b/sysdeps/i386/fpu/bits/mathinline.h
@@ -513,6 +513,7 @@ __inline_mathcode_ (long double, __sgn1l, __x, \
   return __n.__xld)
 
 
+#ifdef __FAST_MATH__
 /* The argument range of the inline version of sinhl is slightly reduced.  */
 __inline_mathcodeNP (sinh, __x, \
   register long double __exm1 = __expm1l (__fabsl (__x));		      \
@@ -525,7 +526,7 @@ __inline_mathcodeNP (cosh, __x, \
 __inline_mathcodeNP (tanh, __x, \
   register long double __exm1 = __expm1l (-__fabsl (__x + __x));	      \
   return __exm1 / (__exm1 + 2.0) * __sgn1l (-__x))
-
+#endif
 
 __inline_mathcodeNP (floor, __x, \
   register long double __value;						      \