Lines Matching refs:BITS_PER_MP_LIMB

150 #if	BITS_PER_MP_LIMB == 32
153 #elif BITS_PER_MP_LIMB == 64
157 # error "mp_limb_t size " BITS_PER_MP_LIMB "not accounted for"
167 #define RETURN_LIMB_SIZE howmany (MANT_DIG, BITS_PER_MP_LIMB)
178 BITS_PER_MP_LIMB) + 2)
234 round_bit = (MANT_DIG - 1) % BITS_PER_MP_LIMB; in round_and_return()
239 else if (shift >= BITS_PER_MP_LIMB) in round_and_return()
243 round_limb = retval[(shift - 1) / BITS_PER_MP_LIMB]; in round_and_return()
244 round_bit = (shift - 1) % BITS_PER_MP_LIMB; in round_and_return()
245 for (i = 0; i < (shift - 1) / BITS_PER_MP_LIMB; ++i) in round_and_return()
251 if ((shift % BITS_PER_MP_LIMB) != 0) in round_and_return()
252 (void) __mpn_rshift (retval, &retval[shift / BITS_PER_MP_LIMB], in round_and_return()
253 RETURN_LIMB_SIZE - (shift / BITS_PER_MP_LIMB), in round_and_return()
254 shift % BITS_PER_MP_LIMB); in round_and_return()
256 for (i = 0; i < RETURN_LIMB_SIZE - (shift / BITS_PER_MP_LIMB); i++) in round_and_return()
257 retval[i] = retval[i + (shift / BITS_PER_MP_LIMB)]; in round_and_return()
258 MPN_ZERO (&retval[RETURN_LIMB_SIZE - (shift / BITS_PER_MP_LIMB)], in round_and_return()
259 shift / BITS_PER_MP_LIMB); in round_and_return()
282 if (((MANT_DIG % BITS_PER_MP_LIMB) == 0 && cy) in round_and_return()
283 || ((MANT_DIG % BITS_PER_MP_LIMB) != 0 in round_and_return()
286 << (MANT_DIG % BITS_PER_MP_LIMB))) in round_and_return()
328 if (((MANT_DIG % BITS_PER_MP_LIMB) == 0 && cy) in round_and_return()
329 || ((MANT_DIG % BITS_PER_MP_LIMB) != 0 in round_and_return()
331 & (((mp_limb_t) 1) << (MANT_DIG % BITS_PER_MP_LIMB))) != 0)) in round_and_return()
336 |= ((mp_limb_t) 1) << ((MANT_DIG - 1) % BITS_PER_MP_LIMB); in round_and_return()
340 & (((mp_limb_t) 1) << ((MANT_DIG - 1) % BITS_PER_MP_LIMB))) in round_and_return()
472 if (__builtin_constant_p (count) && count == BITS_PER_MP_LIMB) \
484 __ptr[0] |= (limb) >> (BITS_PER_MP_LIMB - __count); \
1085 int idx = (MANT_DIG - 1) / BITS_PER_MP_LIMB; in ____STRTOF_INTERNAL()
1086 int pos = (MANT_DIG - 1) % BITS_PER_MP_LIMB; in ____STRTOF_INTERNAL()
1113 retval[idx] = val << (BITS_PER_MP_LIMB - (bits - pos - 1)); in ____STRTOF_INTERNAL()
1114 pos = BITS_PER_MP_LIMB - 1 - (bits - pos - 1); in ____STRTOF_INTERNAL()
1140 val <<= BITS_PER_MP_LIMB - (4 - pos - 1); in ____STRTOF_INTERNAL()
1154 BITS_PER_MP_LIMB - 1, rest_nonzero); in ____STRTOF_INTERNAL()
1158 pos = BITS_PER_MP_LIMB - 1 - (4 - pos - 1); in ____STRTOF_INTERNAL()
1249 bits = numsize * BITS_PER_MP_LIMB - bits; in ____STRTOF_INTERNAL()
1262 const mp_size_t least_idx = (bits - MANT_DIG) / BITS_PER_MP_LIMB; in ____STRTOF_INTERNAL()
1263 const mp_size_t least_bit = (bits - MANT_DIG) % BITS_PER_MP_LIMB; in ____STRTOF_INTERNAL()
1266 const mp_size_t round_bit = least_bit == 0 ? BITS_PER_MP_LIMB - 1 in ____STRTOF_INTERNAL()
1277 << (BITS_PER_MP_LIMB - least_bit)); in ____STRTOF_INTERNAL()
1293 const mp_size_t target_bit = (MANT_DIG - 1) % BITS_PER_MP_LIMB; in ____STRTOF_INTERNAL()
1294 const mp_size_t is_bit = (bits - 1) % BITS_PER_MP_LIMB; in ____STRTOF_INTERNAL()
1507 cnt = BITS_PER_MP_LIMB; \ in ____STRTOF_INTERNAL()
1511 if (BITS_PER_MP_LIMB - cnt > MANT_DIG) \ in ____STRTOF_INTERNAL()
1514 retval[0] = quot >> (BITS_PER_MP_LIMB - used); \ in ____STRTOF_INTERNAL()
1527 else if (bits + BITS_PER_MP_LIMB <= MANT_DIG) \ in ____STRTOF_INTERNAL()
1528 __mpn_lshift_1 (retval, RETURN_LIMB_SIZE, BITS_PER_MP_LIMB, \ in ____STRTOF_INTERNAL()
1536 bits += BITS_PER_MP_LIMB in ____STRTOF_INTERNAL()
1543 quot, BITS_PER_MP_LIMB - 1 - used, in ____STRTOF_INTERNAL()
1568 exponent -= BITS_PER_MP_LIMB; in ____STRTOF_INTERNAL()
1571 if (bits + BITS_PER_MP_LIMB <= MANT_DIG) in ____STRTOF_INTERNAL()
1573 BITS_PER_MP_LIMB, 0); in ____STRTOF_INTERNAL()
1580 bits += BITS_PER_MP_LIMB; in ____STRTOF_INTERNAL()
1636 quot, BITS_PER_MP_LIMB - 1 - used, in ____STRTOF_INTERNAL()
1660 exponent -= empty * BITS_PER_MP_LIMB; in ____STRTOF_INTERNAL()
1663 if (bits + empty * BITS_PER_MP_LIMB <= MANT_DIG) in ____STRTOF_INTERNAL()
1672 BITS_PER_MP_LIMB, 0); in ____STRTOF_INTERNAL()
1683 if (used >= BITS_PER_MP_LIMB) in ____STRTOF_INTERNAL()
1687 / BITS_PER_MP_LIMB], in ____STRTOF_INTERNAL()
1690 - used / BITS_PER_MP_LIMB), in ____STRTOF_INTERNAL()
1691 used % BITS_PER_MP_LIMB); in ____STRTOF_INTERNAL()
1692 for (i = used / BITS_PER_MP_LIMB - 1; i >= 0; --i) in ____STRTOF_INTERNAL()
1698 bits += empty * BITS_PER_MP_LIMB; in ____STRTOF_INTERNAL()
1763 quot, BITS_PER_MP_LIMB - 1 - used, in ____STRTOF_INTERNAL()