GMP_LIMB_BITS 63 lib/mini-gmp.c #define GMP_LIMB_HIGHBIT ((mp_limb_t) 1 << (GMP_LIMB_BITS - 1)) GMP_LIMB_BITS 65 lib/mini-gmp.c #define GMP_HLIMB_BIT ((mp_limb_t) 1 << (GMP_LIMB_BITS / 2)) GMP_LIMB_BITS 101 lib/mini-gmp.c if (GMP_LIMB_BITS > LOCAL_SHIFT_BITS) \ GMP_LIMB_BITS 103 lib/mini-gmp.c (__clz_x & ((mp_limb_t) 0xff << (GMP_LIMB_BITS - 8))) == 0; \ GMP_LIMB_BITS 115 lib/mini-gmp.c (count) = GMP_LIMB_BITS - 1 - __ctz_c; \ GMP_LIMB_BITS 136 lib/mini-gmp.c int LOCAL_GMP_LIMB_BITS = GMP_LIMB_BITS; \ GMP_LIMB_BITS 137 lib/mini-gmp.c if (sizeof(unsigned int) * CHAR_BIT >= 2 * GMP_LIMB_BITS) \ GMP_LIMB_BITS 143 lib/mini-gmp.c else if (GMP_ULONG_BITS >= 2 * GMP_LIMB_BITS) \ GMP_LIMB_BITS 156 lib/mini-gmp.c __uh = __u >> (GMP_LIMB_BITS / 2); \ GMP_LIMB_BITS 158 lib/mini-gmp.c __vh = __v >> (GMP_LIMB_BITS / 2); \ GMP_LIMB_BITS 165 lib/mini-gmp.c __x1 += __x0 >> (GMP_LIMB_BITS / 2);/* this can't give carry */ \ GMP_LIMB_BITS 170 lib/mini-gmp.c (w1) = __x3 + (__x1 >> (GMP_LIMB_BITS / 2)); \ GMP_LIMB_BITS 171 lib/mini-gmp.c (w0) = (__x1 << (GMP_LIMB_BITS / 2)) + (__x0 & GMP_LLIMB_MASK); \ GMP_LIMB_BITS 284 lib/mini-gmp.c const int mp_bits_per_limb = GMP_LIMB_BITS; GMP_LIMB_BITS 670 lib/mini-gmp.c assert (cnt < GMP_LIMB_BITS); GMP_LIMB_BITS 675 lib/mini-gmp.c tnc = GMP_LIMB_BITS - cnt; GMP_LIMB_BITS 700 lib/mini-gmp.c assert (cnt < GMP_LIMB_BITS); GMP_LIMB_BITS 702 lib/mini-gmp.c tnc = GMP_LIMB_BITS - cnt; GMP_LIMB_BITS 731 lib/mini-gmp.c return (ux == 0 ? ~(mp_bitcnt_t) 0 : un * GMP_LIMB_BITS); GMP_LIMB_BITS 735 lib/mini-gmp.c return (mp_bitcnt_t) i * GMP_LIMB_BITS + cnt; GMP_LIMB_BITS 742 lib/mini-gmp.c i = bit / GMP_LIMB_BITS; GMP_LIMB_BITS 744 lib/mini-gmp.c return mpn_common_scan ( ptr[i] & (GMP_LIMB_MAX << (bit % GMP_LIMB_BITS)), GMP_LIMB_BITS 752 lib/mini-gmp.c i = bit / GMP_LIMB_BITS; GMP_LIMB_BITS 754 lib/mini-gmp.c return mpn_common_scan (~ptr[i] & (GMP_LIMB_MAX << (bit % GMP_LIMB_BITS)), GMP_LIMB_BITS 800 lib/mini-gmp.c uh = u1 >> (GMP_LIMB_BITS / 2); GMP_LIMB_BITS 822 lib/mini-gmp.c r = ((~u1 - (mp_limb_t) qh * uh) << (GMP_LIMB_BITS / 2)) | GMP_LLIMB_MASK; GMP_LIMB_BITS 846 lib/mini-gmp.c p = (r >> (GMP_LIMB_BITS / 2)) * qh + r; GMP_LIMB_BITS 849 lib/mini-gmp.c ql = (p >> (GMP_LIMB_BITS / 2)) + 1; GMP_LIMB_BITS 852 lib/mini-gmp.c r = (r << (GMP_LIMB_BITS / 2)) + GMP_LLIMB_MASK - ql * u1; GMP_LIMB_BITS 854 lib/mini-gmp.c if (r >= (GMP_LIMB_MAX & (p << (GMP_LIMB_BITS / 2)))) GMP_LIMB_BITS 859 lib/mini-gmp.c m = ((mp_limb_t) qh << (GMP_LIMB_BITS / 2)) + ql; GMP_LIMB_BITS 929 lib/mini-gmp.c d1 = (d1 << shift) | (d0 >> (GMP_LIMB_BITS - shift)); GMP_LIMB_BITS 959 lib/mini-gmp.c d1 = (d1 << shift) | (d0 >> (GMP_LIMB_BITS - shift)); GMP_LIMB_BITS 960 lib/mini-gmp.c d0 = (d0 << shift) | (dp[dn-3] >> (GMP_LIMB_BITS - shift)); GMP_LIMB_BITS 1045 lib/mini-gmp.c assert ((r0 & (GMP_LIMB_MAX >> (GMP_LIMB_BITS - shift))) == 0); GMP_LIMB_BITS 1046 lib/mini-gmp.c r0 = (r0 >> shift) | (r1 << (GMP_LIMB_BITS - shift)); GMP_LIMB_BITS 1221 lib/mini-gmp.c return GMP_LIMB_BITS - shift; GMP_LIMB_BITS 1232 lib/mini-gmp.c sn = ((un - 1) * GMP_LIMB_BITS + mpn_limb_size_in_base_2 (up[un-1]) GMP_LIMB_BITS 1243 lib/mini-gmp.c if (shift >= GMP_LIMB_BITS && ++i < un) GMP_LIMB_BITS 1245 lib/mini-gmp.c shift -= GMP_LIMB_BITS; GMP_LIMB_BITS 1264 lib/mini-gmp.c h = w >> (GMP_LIMB_BITS - binv->shift); GMP_LIMB_BITS 1268 lib/mini-gmp.c assert ((r & (GMP_LIMB_MAX >> (GMP_LIMB_BITS - binv->shift))) == 0); GMP_LIMB_BITS 1352 lib/mini-gmp.c if (shift >= GMP_LIMB_BITS) GMP_LIMB_BITS 1354 lib/mini-gmp.c shift -= GMP_LIMB_BITS; GMP_LIMB_BITS 1448 lib/mini-gmp.c rn = 1 + bits / GMP_LIMB_BITS; GMP_LIMB_BITS 1491 lib/mini-gmp.c if (GMP_LIMB_BITS < GMP_ULONG_BITS) GMP_LIMB_BITS 1510 lib/mini-gmp.c if (GMP_LIMB_BITS < GMP_ULONG_BITS) GMP_LIMB_BITS 1512 lib/mini-gmp.c int LOCAL_GMP_LIMB_BITS = GMP_LIMB_BITS; GMP_LIMB_BITS 1571 lib/mini-gmp.c int ulongsize = GMP_ULONG_BITS / GMP_LIMB_BITS; GMP_LIMB_BITS 1574 lib/mini-gmp.c if (GMP_ULONG_BITS % GMP_LIMB_BITS != 0) GMP_LIMB_BITS 1575 lib/mini-gmp.c ulongrem = (mp_limb_t) (ULONG_MAX >> GMP_LIMB_BITS * ulongsize) + 1; GMP_LIMB_BITS 1628 lib/mini-gmp.c if (GMP_LIMB_BITS < GMP_ULONG_BITS) GMP_LIMB_BITS 1630 lib/mini-gmp.c int LOCAL_GMP_LIMB_BITS = GMP_LIMB_BITS; GMP_LIMB_BITS 1633 lib/mini-gmp.c n = GMP_MIN (n, 1 + (mp_size_t) (GMP_ULONG_BITS - 1) / GMP_LIMB_BITS); GMP_LIMB_BITS 1660 lib/mini-gmp.c mpz_realloc (x, 1 + (n - (n != 0)) / GMP_LIMB_BITS); GMP_LIMB_BITS 1783 lib/mini-gmp.c m = m + GMP_DBL_MANT_BITS - GMP_LIMB_BITS; GMP_LIMB_BITS 1792 lib/mini-gmp.c m -= GMP_LIMB_BITS; GMP_LIMB_BITS 2099 lib/mini-gmp.c mpz_init2 (t, (un + vn) * GMP_LIMB_BITS); GMP_LIMB_BITS 2130 lib/mini-gmp.c limbs = bits / GMP_LIMB_BITS; GMP_LIMB_BITS 2131 lib/mini-gmp.c shift = bits % GMP_LIMB_BITS; GMP_LIMB_BITS 2260 lib/mini-gmp.c mpz_init2 (tq, qn * GMP_LIMB_BITS); GMP_LIMB_BITS 2381 lib/mini-gmp.c limb_cnt = bit_index / GMP_LIMB_BITS; GMP_LIMB_BITS 2383 lib/mini-gmp.c bit_index %= GMP_LIMB_BITS; GMP_LIMB_BITS 2434 lib/mini-gmp.c rn = (bit_index + GMP_LIMB_BITS - 1) / GMP_LIMB_BITS; GMP_LIMB_BITS 2440 lib/mini-gmp.c mask = GMP_LIMB_MAX >> (rn * GMP_LIMB_BITS - bit_index); GMP_LIMB_BITS 3686 lib/mini-gmp.c limb_index = bit_index / GMP_LIMB_BITS; GMP_LIMB_BITS 3690 lib/mini-gmp.c shift = bit_index % GMP_LIMB_BITS; GMP_LIMB_BITS 3698 lib/mini-gmp.c if (shift > 0 && (mp_limb_t) (w << (GMP_LIMB_BITS - shift)) > 0) GMP_LIMB_BITS 3716 lib/mini-gmp.c limb_index = bit_index / GMP_LIMB_BITS; GMP_LIMB_BITS 3717 lib/mini-gmp.c bit = (mp_limb_t) 1 << (bit_index % GMP_LIMB_BITS); GMP_LIMB_BITS 3758 lib/mini-gmp.c limb_index = bit_index / GMP_LIMB_BITS; GMP_LIMB_BITS 3759 lib/mini-gmp.c bit = (mp_limb_t) 1 << (bit_index % GMP_LIMB_BITS); GMP_LIMB_BITS 4037 lib/mini-gmp.c if (GMP_LIMB_BITS > LOCAL_SHIFT_BITS) GMP_LIMB_BITS 4130 lib/mini-gmp.c i = starting_bit / GMP_LIMB_BITS; GMP_LIMB_BITS 4151 lib/mini-gmp.c limb &= GMP_LIMB_MAX << (starting_bit % GMP_LIMB_BITS); GMP_LIMB_BITS 4167 lib/mini-gmp.c i = starting_bit / GMP_LIMB_BITS; GMP_LIMB_BITS 4181 lib/mini-gmp.c limb &= GMP_LIMB_MAX << (starting_bit % GMP_LIMB_BITS); GMP_LIMB_BITS 4208 lib/mini-gmp.c bits = (un - 1) * GMP_LIMB_BITS + mpn_limb_size_in_base_2 (up[un-1]); GMP_LIMB_BITS 4401 lib/mini-gmp.c alloc = (dn * bits + GMP_LIMB_BITS - 1) / GMP_LIMB_BITS; GMP_LIMB_BITS 4558 lib/mini-gmp.c k = (GMP_LIMB_BITS <= CHAR_BIT);