/dragonfly/contrib/gmp/mpn/generic/ |
H A D | toom_interpolate_5pts.c | 39 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 D | toom22_mul.c | 163 #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 D | toom2_sqr.c | 102 #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 D | toom3_sqr.c | 151 #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 D | toom33_mul.c | 239 #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 D | toom43_mul.c | 85 #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 D | toom52_mul.c | 88 #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 D | toom42_mul.c | 175 #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 D | toom44_mul.c | 134 #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 D | toom4_sqr.c | 97 #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 D | toom62_mul.c | 235 #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 D | toom53_mul.c | 232 #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()
|