Home
last modified time | relevance | path

Searched refs:vinf (Results 1 – 12 of 12) sorted by relevance

/dragonfly/contrib/gmp/mpn/generic/
H A Dtoom_interpolate_5pts.c39 mp_ptr c1, v1, c3, vinf; in mpn_toom_interpolate_5pts() local
47 vinf = c3 + k; in mpn_toom_interpolate_5pts()
97 vinf[0] -= mpn_sub_n (v1, v1, c, twok); in mpn_toom_interpolate_5pts()
130 cy = mpn_sublsh1_n (v2, v2, vinf, twor); in mpn_toom_interpolate_5pts()
133 cy = mpn_lshift (vm1, vinf, twor, 1); in mpn_toom_interpolate_5pts()
158 cy = mpn_add_n (vinf, vinf, v2 + k, k + 1); in mpn_toom_interpolate_5pts()
162 ASSERT_NOCARRY (mpn_add_n (vinf, vinf, v2 + k, twor)); in mpn_toom_interpolate_5pts()
169 vinf[0] = saved; in mpn_toom_interpolate_5pts()
184 vinf[0] += cy; in mpn_toom_interpolate_5pts()
185 ASSERT(vinf[0] >= cy); /* No carry */ in mpn_toom_interpolate_5pts()
[all …]
H A Dtoom22_mul.c163 #define vinf (pp + 2 * n) /* s+t */ in mpn_toom22_mul() macro
170 if (s > t) TOOM22_MUL_REC (vinf, a1, s, b1, t, scratch_out); in mpn_toom22_mul()
171 else TOOM22_MUL_N_REC (vinf, a1, b1, s, scratch_out); in mpn_toom22_mul()
177 cy = mpn_add_n (pp + 2 * n, v0 + n, vinf, n); in mpn_toom22_mul()
183 cy += mpn_add (pp + 2 * n, pp + 2 * n, n, vinf + n, s + t - n); in mpn_toom22_mul()
H A Dtoom2_sqr.c102 #define vinf (pp + 2 * n) /* s+s */ in mpn_toom2_sqr() macro
110 TOOM2_SQR_REC (vinf, a1, s, scratch_out); in mpn_toom2_sqr()
116 cy = mpn_add_n (pp + 2 * n, v0 + n, vinf, n); in mpn_toom2_sqr()
122 cy += mpn_add (pp + 2 * n, pp + 2 * n, n, vinf + n, s + s - n); in mpn_toom2_sqr()
H A Dtoom3_sqr.c151 #define vinf (pp + 4 * n) /* s+s */ in mpn_toom3_sqr() macro
171 TOOM3_SQR_REC (vinf, a2, s, scratch_out); /* vinf, s+s limbs */ in mpn_toom3_sqr()
173 vinf0 = vinf[0]; /* v1 overlaps with this */ in mpn_toom3_sqr()
206 cy = vinf[1]; in mpn_toom3_sqr()
208 vinf[1] = cy; in mpn_toom3_sqr()
H A Dtoom33_mul.c239 #define vinf (pp + 4 * n) /* s+t */ in mpn_toom33_mul() macro
260 if (s > t) mpn_mul (vinf, a2, s, b2, t); in mpn_toom33_mul()
261 else TOOM33_MUL_N_REC (vinf, a2, b2, s, scratch_out); in mpn_toom33_mul()
263 vinf0 = vinf[0]; /* v1 overlaps with this */ in mpn_toom33_mul()
296 cy = vinf[1]; in mpn_toom33_mul()
298 vinf[1] = cy; in mpn_toom33_mul()
H A Dtoom43_mul.c85 #define vinf (pp + 5 * n) /* s+t */ in mpn_toom43_mul() macro
190 if (s > t) mpn_mul (vinf, a3, s, b2, t); in mpn_toom43_mul()
191 else mpn_mul (vinf, b2, t, a3, s); in mpn_toom43_mul()
203 #undef vinf in mpn_toom43_mul()
H A Dtoom52_mul.c88 #define vinf (pp + 5 * n) /* s+t */ in mpn_toom52_mul() macro
213 if (s > t) mpn_mul (vinf, a4, s, b1, t); in mpn_toom52_mul()
214 else mpn_mul (vinf, b1, t, a4, s); in mpn_toom52_mul()
226 #undef vinf in mpn_toom52_mul()
H A Dtoom42_mul.c175 #define vinf (pp + 4 * n) /* s+t */ in mpn_toom42_mul() macro
190 if (s > t) mpn_mul (vinf, a3, s, b1, t); in mpn_toom42_mul()
191 else mpn_mul (vinf, b1, t, a3, s); in mpn_toom42_mul()
193 vinf0 = vinf[0]; /* v1 overlaps with this */ in mpn_toom42_mul()
H A Dtoom44_mul.c134 #define vinf (pp + 6 * n) /* s+t */ in mpn_toom44_mul() macro
220 mpn_mul (vinf, a3, s, b3, t); in mpn_toom44_mul()
222 TOOM44_MUL_N_REC (vinf, a3, b3, s, tp); /* vinf, s+t limbs */ in mpn_toom44_mul()
H A Dtoom4_sqr.c97 #define vinf (pp + 6 * n) /* s+t */ in mpn_toom4_sqr() macro
150 TOOM4_SQR_REC (vinf, a3, s, tp); /* vinf, 2s limbs */ in mpn_toom4_sqr()
H A Dtoom62_mul.c235 #define vinf (pp + 6 * n) /* s+t */ in mpn_toom62_mul() macro
293 if (s > t) mpn_mul (vinf, a5, s, b1, t); in mpn_toom62_mul()
294 else mpn_mul (vinf, b1, t, a5, s); in mpn_toom62_mul()
H A Dtoom53_mul.c232 #define vinf (pp + 6 * n) /* s+t */ in mpn_toom53_mul() macro
313 if (s > t) mpn_mul (vinf, a4, s, b2, t); in mpn_toom53_mul()
314 else mpn_mul (vinf, b2, t, a4, s); in mpn_toom53_mul()