Lines Matching refs:ud
57 // und : u's number of digits, ud : u's digits array.
66 ADD_HELPER(small_type us, int unb, int und, const sc_digit *ud,
69 und = vec_skip_leading_zeros(und, ud);
90 sc_digit carry = (*ud) + (*vd);
94 vec_add(und, ud, vnd, vd, d);
96 vec_add(vnd, vd, und, ud, d);
100 int cmp_res = vec_cmp(und, ud, vnd, vd);
111 d[0] = (*ud) - (*vd);
113 vec_sub(und, ud, vnd, vd, d);
117 d[0] = (*vd) - (*ud);
119 vec_sub(vnd, vd, und, ud, d);
132 MUL_HELPER(small_type s, int unb, int und, const sc_digit *ud,
135 und = vec_skip_leading_zeros(und, ud);
150 sc_digit ud0 = (*ud);
154 vec_copy(und, d, ud);
163 vec_mul_small(und, ud, vd0, d);
165 vec_mul(und, ud, vnd, vd, d);
167 vec_mul(vnd, vd, und, ud, d);
179 DIV_HELPER(small_type s, int unb, int und, const sc_digit *ud,
182 und = vec_skip_leading_zeros(und, ud);
185 int cmp_res = vec_cmp(und, ud, vnd, vd);
208 vec_copy(und, d, ud);
210 d[0] = (*ud) / vd0;
212 vec_div_small(und, ud, vd0, d);
214 vec_div_large(und, ud, vnd, vd, d);
227 MOD_HELPER(small_type us, int unb, int und, const sc_digit *ud,
230 und = vec_skip_leading_zeros(und, ud);
233 int cmp_res = vec_cmp(und, ud, vnd, vd);
255 vec_copy(und, d, ud);
258 d[0] = (*ud) % vd0;
260 d[0] = vec_rem_small(und, ud, vd0);
262 vec_rem_large(und, ud, vnd, vd, d);
284 AND_HELPER(small_type us, int unb, int und, const sc_digit *ud,
306 x = ud;
313 y = ud;
385 OR_HELPER(small_type us, int unb, int und, const sc_digit *ud,
405 x = ud;
412 y = ud;
487 XOR_HELPER(small_type us, int unb, int und, const sc_digit *ud,
509 x = ud;
516 y = ud;