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 277 lib/mini-gmp.c const int mp_bits_per_limb = GMP_LIMB_BITS; GMP_LIMB_BITS 663 lib/mini-gmp.c assert (cnt < GMP_LIMB_BITS); GMP_LIMB_BITS 668 lib/mini-gmp.c tnc = GMP_LIMB_BITS - cnt; GMP_LIMB_BITS 693 lib/mini-gmp.c assert (cnt < GMP_LIMB_BITS); GMP_LIMB_BITS 695 lib/mini-gmp.c tnc = GMP_LIMB_BITS - cnt; GMP_LIMB_BITS 724 lib/mini-gmp.c return (ux == 0 ? ~(mp_bitcnt_t) 0 : un * GMP_LIMB_BITS); GMP_LIMB_BITS 728 lib/mini-gmp.c return (mp_bitcnt_t) i * GMP_LIMB_BITS + cnt; GMP_LIMB_BITS 735 lib/mini-gmp.c i = bit / GMP_LIMB_BITS; GMP_LIMB_BITS 737 lib/mini-gmp.c return mpn_common_scan ( ptr[i] & (GMP_LIMB_MAX << (bit % GMP_LIMB_BITS)), GMP_LIMB_BITS 745 lib/mini-gmp.c i = bit / GMP_LIMB_BITS; GMP_LIMB_BITS 747 lib/mini-gmp.c return mpn_common_scan (~ptr[i] & (GMP_LIMB_MAX << (bit % GMP_LIMB_BITS)), GMP_LIMB_BITS 793 lib/mini-gmp.c uh = u1 >> (GMP_LIMB_BITS / 2); GMP_LIMB_BITS 815 lib/mini-gmp.c r = ((~u1 - (mp_limb_t) qh * uh) << (GMP_LIMB_BITS / 2)) | GMP_LLIMB_MASK; GMP_LIMB_BITS 839 lib/mini-gmp.c p = (r >> (GMP_LIMB_BITS / 2)) * qh + r; GMP_LIMB_BITS 842 lib/mini-gmp.c ql = (p >> (GMP_LIMB_BITS / 2)) + 1; GMP_LIMB_BITS 845 lib/mini-gmp.c r = (r << (GMP_LIMB_BITS / 2)) + GMP_LLIMB_MASK - ql * u1; GMP_LIMB_BITS 847 lib/mini-gmp.c if (r >= (GMP_LIMB_MAX & (p << (GMP_LIMB_BITS / 2)))) GMP_LIMB_BITS 852 lib/mini-gmp.c m = ((mp_limb_t) qh << (GMP_LIMB_BITS / 2)) + ql; GMP_LIMB_BITS 922 lib/mini-gmp.c d1 = (d1 << shift) | (d0 >> (GMP_LIMB_BITS - shift)); GMP_LIMB_BITS 952 lib/mini-gmp.c d1 = (d1 << shift) | (d0 >> (GMP_LIMB_BITS - shift)); GMP_LIMB_BITS 953 lib/mini-gmp.c d0 = (d0 << shift) | (dp[dn-3] >> (GMP_LIMB_BITS - shift)); GMP_LIMB_BITS 1038 lib/mini-gmp.c assert ((r0 & (GMP_LIMB_MAX >> (GMP_LIMB_BITS - shift))) == 0); GMP_LIMB_BITS 1039 lib/mini-gmp.c r0 = (r0 >> shift) | (r1 << (GMP_LIMB_BITS - shift)); GMP_LIMB_BITS 1214 lib/mini-gmp.c return GMP_LIMB_BITS - shift; GMP_LIMB_BITS 1225 lib/mini-gmp.c sn = ((un - 1) * GMP_LIMB_BITS + mpn_limb_size_in_base_2 (up[un-1]) GMP_LIMB_BITS 1236 lib/mini-gmp.c if (shift >= GMP_LIMB_BITS && ++i < un) GMP_LIMB_BITS 1238 lib/mini-gmp.c shift -= GMP_LIMB_BITS; GMP_LIMB_BITS 1257 lib/mini-gmp.c h = w >> (GMP_LIMB_BITS - binv->shift); GMP_LIMB_BITS 1261 lib/mini-gmp.c assert ((r & (GMP_LIMB_MAX >> (GMP_LIMB_BITS - binv->shift))) == 0); GMP_LIMB_BITS 1345 lib/mini-gmp.c if (shift >= GMP_LIMB_BITS) GMP_LIMB_BITS 1347 lib/mini-gmp.c shift -= GMP_LIMB_BITS; GMP_LIMB_BITS 1441 lib/mini-gmp.c rn = 1 + bits / GMP_LIMB_BITS; GMP_LIMB_BITS 1484 lib/mini-gmp.c if (GMP_LIMB_BITS < GMP_ULONG_BITS) GMP_LIMB_BITS 1503 lib/mini-gmp.c if (GMP_LIMB_BITS < GMP_ULONG_BITS) GMP_LIMB_BITS 1505 lib/mini-gmp.c int LOCAL_GMP_LIMB_BITS = GMP_LIMB_BITS; GMP_LIMB_BITS 1564 lib/mini-gmp.c int ulongsize = GMP_ULONG_BITS / GMP_LIMB_BITS; GMP_LIMB_BITS 1567 lib/mini-gmp.c if (GMP_ULONG_BITS % GMP_LIMB_BITS != 0) GMP_LIMB_BITS 1568 lib/mini-gmp.c ulongrem = (mp_limb_t) (ULONG_MAX >> GMP_LIMB_BITS * ulongsize) + 1; GMP_LIMB_BITS 1621 lib/mini-gmp.c if (GMP_LIMB_BITS < GMP_ULONG_BITS) GMP_LIMB_BITS 1623 lib/mini-gmp.c int LOCAL_GMP_LIMB_BITS = GMP_LIMB_BITS; GMP_LIMB_BITS 1626 lib/mini-gmp.c n = GMP_MIN (n, 1 + (mp_size_t) (GMP_ULONG_BITS - 1) / GMP_LIMB_BITS); GMP_LIMB_BITS 1653 lib/mini-gmp.c mpz_realloc (x, 1 + (n - (n != 0)) / GMP_LIMB_BITS); GMP_LIMB_BITS 1776 lib/mini-gmp.c m = m + GMP_DBL_MANT_BITS - GMP_LIMB_BITS; GMP_LIMB_BITS 1785 lib/mini-gmp.c m -= GMP_LIMB_BITS; GMP_LIMB_BITS 2092 lib/mini-gmp.c mpz_init2 (t, (un + vn) * GMP_LIMB_BITS); GMP_LIMB_BITS 2123 lib/mini-gmp.c limbs = bits / GMP_LIMB_BITS; GMP_LIMB_BITS 2124 lib/mini-gmp.c shift = bits % GMP_LIMB_BITS; GMP_LIMB_BITS 2253 lib/mini-gmp.c mpz_init2 (tq, qn * GMP_LIMB_BITS); GMP_LIMB_BITS 2374 lib/mini-gmp.c limb_cnt = bit_index / GMP_LIMB_BITS; GMP_LIMB_BITS 2376 lib/mini-gmp.c bit_index %= GMP_LIMB_BITS; GMP_LIMB_BITS 2427 lib/mini-gmp.c rn = (bit_index + GMP_LIMB_BITS - 1) / GMP_LIMB_BITS; GMP_LIMB_BITS 2433 lib/mini-gmp.c mask = GMP_LIMB_MAX >> (rn * GMP_LIMB_BITS - bit_index); GMP_LIMB_BITS 3679 lib/mini-gmp.c limb_index = bit_index / GMP_LIMB_BITS; GMP_LIMB_BITS 3683 lib/mini-gmp.c shift = bit_index % GMP_LIMB_BITS; GMP_LIMB_BITS 3691 lib/mini-gmp.c if (shift > 0 && (mp_limb_t) (w << (GMP_LIMB_BITS - shift)) > 0) GMP_LIMB_BITS 3709 lib/mini-gmp.c limb_index = bit_index / GMP_LIMB_BITS; GMP_LIMB_BITS 3710 lib/mini-gmp.c bit = (mp_limb_t) 1 << (bit_index % GMP_LIMB_BITS); GMP_LIMB_BITS 3751 lib/mini-gmp.c limb_index = bit_index / GMP_LIMB_BITS; GMP_LIMB_BITS 3752 lib/mini-gmp.c bit = (mp_limb_t) 1 << (bit_index % GMP_LIMB_BITS); GMP_LIMB_BITS 4030 lib/mini-gmp.c if (GMP_LIMB_BITS > LOCAL_SHIFT_BITS) GMP_LIMB_BITS 4123 lib/mini-gmp.c i = starting_bit / GMP_LIMB_BITS; GMP_LIMB_BITS 4144 lib/mini-gmp.c limb &= GMP_LIMB_MAX << (starting_bit % GMP_LIMB_BITS); GMP_LIMB_BITS 4160 lib/mini-gmp.c i = starting_bit / GMP_LIMB_BITS; GMP_LIMB_BITS 4174 lib/mini-gmp.c limb &= GMP_LIMB_MAX << (starting_bit % GMP_LIMB_BITS); GMP_LIMB_BITS 4201 lib/mini-gmp.c bits = (un - 1) * GMP_LIMB_BITS + mpn_limb_size_in_base_2 (up[un-1]); GMP_LIMB_BITS 4394 lib/mini-gmp.c alloc = (dn * bits + GMP_LIMB_BITS - 1) / GMP_LIMB_BITS; GMP_LIMB_BITS 4551 lib/mini-gmp.c k = (GMP_LIMB_BITS <= CHAR_BIT);