]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
soft-fp: remove unused macros.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 15 Oct 2013 23:33:37 +0000 (23:33 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 15 Oct 2013 23:33:37 +0000 (23:33 +0000)
ChangeLog
soft-fp/op-2.h
soft-fp/soft-fp.h

index 5724413bf56163ace4eb3ca498bba6d0adb46ab1..4f32c13f2fcdbcd25b375e16b4476150d4e60d3d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-10-15  Joseph Myers  <joseph@codesourcery.com>
+
+       * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
+       * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
+
 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
 
        * elf/dl-libc.c: Clear initfini list after freeing.
index 1cbc1fe23fdf4e31e22e8dd59f61f8c817dd185c..0704035845f3980e32f8091136b6dab7edaf2a8a 100644 (file)
   while (0)
 
 
-#define _FP_DIV_MEAT_2_gmp(fs, R, X, Y)                                        \
-  do                                                                   \
-    {                                                                  \
-      _FP_W_TYPE _x[4], _y[2], _z[4];                                  \
-      _y[0] = Y##_f0;                                                  \
-      _y[1] = Y##_f1;                                                  \
-      _x[0] = _x[3] = 0;                                               \
-      if (_FP_FRAC_GE_2(X, Y))                                         \
-       {                                                               \
-         _x[1] = (X##_f0 << (_FP_WFRACBITS_##fs-1 - _FP_W_TYPE_SIZE)   \
-                  | X##_f1 >> (_FP_W_TYPE_SIZE -                       \
-                               (_FP_WFRACBITS_##fs-1 - _FP_W_TYPE_SIZE))); \
-         _x[2] = X##_f1 << (_FP_WFRACBITS_##fs-1 - _FP_W_TYPE_SIZE);   \
-       }                                                               \
-      else                                                             \
-       {                                                               \
-         R##_e--;                                                      \
-         _x[1] = (X##_f0 << (_FP_WFRACBITS_##fs - _FP_W_TYPE_SIZE)     \
-                  | X##_f1 >> (_FP_W_TYPE_SIZE -                       \
-                               (_FP_WFRACBITS_##fs - _FP_W_TYPE_SIZE))); \
-         _x[2] = X##_f1 << (_FP_WFRACBITS_##fs - _FP_W_TYPE_SIZE);     \
-       }                                                               \
-                                                                       \
-      (void) mpn_divrem (_z, 0, _x, 4, _y, 2);                         \
-      R##_f1 = _z[1];                                                  \
-      R##_f0 = _z[0] | ((_x[0] | _x[1]) != 0);                         \
-    }                                                                  \
-  while (0)
-
-
 /*
  * Square root algorithms:
  * We have just one right now, maybe Newton approximation
index b3f4c3014e1537bc329c5a33b0beef30c6e1a6c2..02a1a279ea274e32bb818da95eda250f6583a327 100644 (file)
 #define FP_SET_EXCEPTION(ex)                           \
   _fex |= (ex)
 
-#define FP_UNSET_EXCEPTION(ex)                         \
-  _fex &= ~(ex)
-
 #define FP_CLEAR_EXCEPTIONS                            \
   _fex = 0