Update.
authorUlrich Drepper <drepper@redhat.com>
Sun, 4 Jun 2000 16:39:33 +0000 (16:39 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 4 Jun 2000 16:39:33 +0000 (16:39 +0000)
2000-06-04  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
if -ffast-math.

ChangeLog
linuxthreads/ChangeLog
linuxthreads/sysdeps/sparc/sparc32/sparcv9/pspinlock.c
linuxthreads/sysdeps/sparc/sparc64/pspinlock.c
sysdeps/i386/fpu/bits/mathinline.h

index b30b9c9..8a8d897 100644 (file)
--- 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.
index c08461c..b0647f2 100644 (file)
@@ -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.
index 06050d3..99ffdc0 100644 (file)
@@ -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"
index e793b5c..1b7fa15 100644 (file)
@@ -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"
index 50bfcde..38c7405 100644 (file)
@@ -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;                                                      \