Lines Matching defs:BITS_PER_DIGIT

250 //    data_p -> words w/BITS_PER_DIGIT bits to receive the value's data bits.
251 // ctrl_p -> words w/BITS_PER_DIGIT bits to receive the value's control
262 int delta_n; // src_n - dst_n*BITS_PER_DIGIT.
285 delta_n = src_n - (dst_n*BITS_PER_DIGIT);
299 // We stride right to left through the source in BITS_PER_DIGIT chunks.
302 src_n = src_n - BITS_PER_DIGIT;
308 src_n += BITS_PER_DIGIT;
342 for (bit_i = 0; bit_i < BITS_PER_DIGIT; bit_i++) {
367 src_n = src_n - BITS_PER_DIGIT;
390 int delta_n; // src_n - dst_n*BITS_PER_DIGIT.
426 // We stride right to left through the source in BITS_PER_DIGIT chunks.
533 src_n = src_n - BITS_PER_DIGIT;
640 carry >>= BITS_PER_DIGIT;
647 carry >>= BITS_PER_DIGIT;
681 carry >>= BITS_PER_DIGIT;
688 carry >>= BITS_PER_DIGIT;
726 carry >>= BITS_PER_DIGIT;
754 carry >>= BITS_PER_DIGIT;
760 carry >>= BITS_PER_DIGIT;
785 v >>= BITS_PER_DIGIT;
820 borrow = 1 - (borrow >> BITS_PER_DIGIT);
827 borrow = 1 - (borrow >> BITS_PER_DIGIT);
861 borrow = 1 - (borrow >> BITS_PER_DIGIT);
868 borrow = 1 - (borrow >> BITS_PER_DIGIT);
896 borrow = 1 - (borrow >> BITS_PER_DIGIT);
923 borrow = 1 - (borrow >> BITS_PER_DIGIT);
929 borrow = 1 - (borrow >> BITS_PER_DIGIT);
953 v = 1 - (v >> BITS_PER_DIGIT);
1142 sc_assert(BITS_PER_DIGIT >= 3 * BITS_PER_BYTE);
1339 sc_assert(BITS_PER_DIGIT >= 3 * BITS_PER_BYTE);
1524 int nbits = ulen * BITS_PER_DIGIT;
1530 int left_digit = left / BITS_PER_DIGIT;
1531 int right_digit = right / BITS_PER_DIGIT;
1532 int nsr = ((vlen << LOG2_BITS_PER_BYTE) % BITS_PER_DIGIT);
1537 d |= u[left_digit] << (BITS_PER_DIGIT - nsr);
1562 const int nsr = BITS_PER_DIGIT - BITS_PER_BYTE;
1597 if (nsl >= (int) BITS_PER_DIGIT) {
1599 if (nsl % BITS_PER_DIGIT == 0) {
1600 nd = nsl / BITS_PER_DIGIT; // No need to use DIV_CEIL(nsl).
1604 nsl -= nd * BITS_PER_DIGIT;
1618 // Shift left if nsl < BITS_PER_DIGIT.
1622 int nsr = BITS_PER_DIGIT - nsl;
1651 if (nsr >= (int) BITS_PER_DIGIT) {
1653 if (nsr % BITS_PER_DIGIT == 0) {
1654 nd = nsr / BITS_PER_DIGIT;
1658 nsr -= nd * BITS_PER_DIGIT;
1677 // Shift right if nsr < BITS_PER_DIGIT.
1681 int nsl = BITS_PER_DIGIT - nsr;