Home | History | Annotate | Download | only in generic

Lines Matching refs:rn

49   mp_size_t rn, k;
110 rn = an - bn + 1;
112 if (rn < MULMID_TOOM42_THRESHOLD)
136 temp = TMP_ALLOC_LIMBS (rn + 2);
149 mpn_add_n (rp, rp, temp, rn + 2);
157 mpn_mulmid_basecase (temp, ap, rn + bn - 1, bp, bn);
158 mpn_add_n (rp, rp, temp, rn + 2);
167 if (bn > rn)
182 temp = TMP_ALLOC_LIMBS (rn + 2 + mpn_toom42_mulmid_itch (rn));
183 scratch = temp + rn + 2;
186 bp += bn - rn;
187 mpn_toom42_mulmid (rp, ap, bp, rn, scratch);
190 bn -= rn;
192 while (bn >= rn)
194 ap += rn, bp -= rn;
195 mpn_toom42_mulmid (temp, ap, bp, rn, scratch);
196 mpn_add_n (rp, rp, temp, rn + 2);
197 bn -= rn;
203 ap += rn, bp -= bn;
204 mpn_mulmid (temp, ap, rn + bn - 1, bp, bn);
205 mpn_add_n (rp, rp, temp, rn + 2);
229 rn -= bn;
231 while (rn >= bn)
239 rn -= bn;
244 if (rn)
250 mpn_mulmid (rp, ap, rn + bn - 1, bp, bn);
252 MPN_INCR_U (rp + 1, rn + 1, t1 + cy);