Lines Matching refs:cy

95   mp_limb_t cy, vinf0;  in mpn_toom33_mul()  local
130 cy = mpn_add (gp, a0, n, a2, s); in mpn_toom33_mul()
132 if (cy == 0 && mpn_cmp (gp, a1, n) < 0) in mpn_toom33_mul()
134 cy = mpn_add_n_sub_n (as1, asm1, a1, gp, n); in mpn_toom33_mul()
135 as1[n] = cy >> 1; in mpn_toom33_mul()
143 as1[n] = cy + (cy2 >> 1); in mpn_toom33_mul()
144 asm1[n] = cy - (cy2 & 1); in mpn_toom33_mul()
147 as1[n] = cy + mpn_add_n (as1, gp, a1, n); in mpn_toom33_mul()
148 if (cy == 0 && mpn_cmp (gp, a1, n) < 0) in mpn_toom33_mul()
156 cy -= mpn_sub_n (asm1, gp, a1, n); in mpn_toom33_mul()
157 asm1[n] = cy; in mpn_toom33_mul()
163 cy = mpn_add_n (as2, a2, as1, s); in mpn_toom33_mul()
165 cy = mpn_add_1 (as2 + s, as1 + s, n - s, cy); in mpn_toom33_mul()
166 cy += as1[n]; in mpn_toom33_mul()
167 cy = 2 * cy + mpn_rsblsh1_n (as2, a0, as2, n); in mpn_toom33_mul()
170 cy = mpn_addlsh1_n (as2, a1, a2, s); in mpn_toom33_mul()
172 cy = mpn_add_1 (as2 + s, a1 + s, n - s, cy); in mpn_toom33_mul()
173 cy = 2 * cy + mpn_addlsh1_n (as2, a0, as2, n); in mpn_toom33_mul()
175 cy = mpn_add_n (as2, a2, as1, s); in mpn_toom33_mul()
177 cy = mpn_add_1 (as2 + s, as1 + s, n - s, cy); in mpn_toom33_mul()
178 cy += as1[n]; in mpn_toom33_mul()
179 cy = 2 * cy + mpn_lshift (as2, as2, n, 1); in mpn_toom33_mul()
180 cy -= mpn_sub_n (as2, as2, a0, n); in mpn_toom33_mul()
183 as2[n] = cy; in mpn_toom33_mul()
186 cy = mpn_add (gp, b0, n, b2, t); in mpn_toom33_mul()
188 if (cy == 0 && mpn_cmp (gp, b1, n) < 0) in mpn_toom33_mul()
190 cy = mpn_add_n_sub_n (bs1, bsm1, b1, gp, n); in mpn_toom33_mul()
191 bs1[n] = cy >> 1; in mpn_toom33_mul()
199 bs1[n] = cy + (cy2 >> 1); in mpn_toom33_mul()
200 bsm1[n] = cy - (cy2 & 1); in mpn_toom33_mul()
203 bs1[n] = cy + mpn_add_n (bs1, gp, b1, n); in mpn_toom33_mul()
204 if (cy == 0 && mpn_cmp (gp, b1, n) < 0) in mpn_toom33_mul()
212 cy -= mpn_sub_n (bsm1, gp, b1, n); in mpn_toom33_mul()
213 bsm1[n] = cy; in mpn_toom33_mul()
219 cy = mpn_add_n (bs2, b2, bs1, t); in mpn_toom33_mul()
221 cy = mpn_add_1 (bs2 + t, bs1 + t, n - t, cy); in mpn_toom33_mul()
222 cy += bs1[n]; in mpn_toom33_mul()
223 cy = 2 * cy + mpn_rsblsh1_n (bs2, b0, bs2, n); in mpn_toom33_mul()
226 cy = mpn_addlsh1_n (bs2, b1, b2, t); in mpn_toom33_mul()
228 cy = mpn_add_1 (bs2 + t, b1 + t, n - t, cy); in mpn_toom33_mul()
229 cy = 2 * cy + mpn_addlsh1_n (bs2, b0, bs2, n); in mpn_toom33_mul()
231 cy = mpn_add_n (bs2, bs1, b2, t); in mpn_toom33_mul()
233 cy = mpn_add_1 (bs2 + t, bs1 + t, n - t, cy); in mpn_toom33_mul()
234 cy += bs1[n]; in mpn_toom33_mul()
235 cy = 2 * cy + mpn_lshift (bs2, bs2, n, 1); in mpn_toom33_mul()
236 cy -= mpn_sub_n (bs2, bs2, b0, n); in mpn_toom33_mul()
239 bs2[n] = cy; in mpn_toom33_mul()
258 cy = 0; in mpn_toom33_mul()
260 cy = bsm1[n] + mpn_add_n (vm1 + n, vm1 + n, bsm1, n); in mpn_toom33_mul()
262 cy += mpn_add_n (vm1 + n, vm1 + n, asm1, n); in mpn_toom33_mul()
263 vm1[2 * n] = cy; in mpn_toom33_mul()
281 cy = bs1[n] + mpn_add_n (v1 + n, v1 + n, bs1, n); in mpn_toom33_mul()
286 cy = 2 * bs1[n] + mpn_addlsh1_n_ip1 (v1 + n, bs1, n); in mpn_toom33_mul()
288 cy = 2 * bs1[n] + mpn_addmul_1 (v1 + n, bs1, n, CNST_LIMB(2)); in mpn_toom33_mul()
292 cy = 0; in mpn_toom33_mul()
295 cy += mpn_add_n (v1 + n, v1 + n, as1, n); in mpn_toom33_mul()
300 cy += mpn_addlsh1_n_ip1 (v1 + n, as1, n); in mpn_toom33_mul()
302 cy += mpn_addmul_1 (v1 + n, as1, n, CNST_LIMB(2)); in mpn_toom33_mul()
305 v1[2 * n] = cy; in mpn_toom33_mul()
307 cy = vinf[1]; in mpn_toom33_mul()
309 vinf[1] = cy; in mpn_toom33_mul()