/netbsd-current/external/lgpl3/gmp/dist/mpn/generic/ |
H A D | toom_interpolate_5pts.c | 48 mp_ptr c1, v1, c3, vinf; local 56 vinf = c3 + k; 68 v0 v1 hi(vinf) |vm1| v2-vm1 EMPTY */ 74 v0 v1 hi(vinf) |vm1| (v2-vm1)/3 EMPTY */ 101 v0 v1 hi(vinf) tm1 (v2-vm1)/3 EMPTY */ 106 vinf[0] -= mpn_sub_n (v1, v1, c, twok); 109 v0 v1-v0 hi(vinf) tm1 (v2-vm1)/3 EMPTY */ 122 v0 v1-v0 hi(vinf) tm1 (v2-vm1-3t1)/6 EMPTY */ 134 /* (6) v2 <- v2 - 2*vinf, (2 1 0 0 0) - 2*(1 0 0 0 0) = (0 1 0 0 0) 136 saved = vinf[ [all...] |
H A D | toom2_sqr.c | 48 vinf= a1 ^2 # A(inf)^2 113 #define vinf (pp + 2 * n) /* s+s */ macro 120 /* vinf, s+s limbs */ 121 TOOM2_SQR_REC (vinf, a1, s, scratch_out); 126 /* H(v0) + L(vinf) */ 127 cy = mpn_add_n (pp + 2 * n, v0 + n, vinf, n); 132 /* L(vinf) + H(vinf) */ 133 cy += mpn_add (pp + 2 * n, pp + 2 * n, n, vinf + n, s + s - n); 144 /* The total contribution of v0+vinf [all...] |
H A D | toom22_mul.c | 51 vinf= a1 * b1 # A(inf)*B(inf) 174 #define vinf (pp + 2 * n) /* s+t */ macro 181 if (s > t) TOOM22_MUL_REC (vinf, a1, s, b1, t, scratch_out); 182 else TOOM22_MUL_N_REC (vinf, a1, b1, s, scratch_out); 187 /* H(v0) + L(vinf) */ 188 cy = mpn_add_n (pp + 2 * n, v0 + n, vinf, n); 193 /* L(vinf) + H(vinf) */ 194 cy += mpn_add (pp + 2 * n, pp + 2 * n, n, vinf + n, s + t - n); 201 /* The total contribution of v0+vinf [all...] |
H A D | toom3_sqr.c | 51 vinf= a2 ^2 # A(inf)^2 162 #define vinf (pp + 4 * n) /* s+s */ macro 182 TOOM3_SQR_REC (vinf, a2, s, scratch_out); /* vinf, s+s limbs */ 184 vinf0 = vinf[0]; /* v1 overlaps with this */ 217 cy = vinf[1]; 219 vinf[1] = cy;
|
H A D | toom33_mul.c | 54 vinf= a2 * b2 # A(inf)*B(inf) 250 #define vinf (pp + 4 * n) /* s+t */ macro 270 /* vinf, s+t limbs */ 271 if (s > t) mpn_mul (vinf, a2, s, b2, t); 272 else TOOM33_MUL_N_REC (vinf, a2, b2, s, scratch_out); 274 vinf0 = vinf[0]; /* v1 overlaps with this */ 307 cy = vinf[1]; 309 vinf[1] = cy;
|
H A D | toom52_mul.c | 57 vinf= a4 * b1 # A(inf)*B(inf) 98 #define vinf (pp + 5 * n) /* s+t */ macro 222 /* vinf, s+t limbs */ /* W0 */ 223 if (s > t) mpn_mul (vinf, a4, s, b1, t); 224 else mpn_mul (vinf, b1, t, a4, s); 236 #undef vinf macro
|
H A D | toom43_mul.c | 57 vinf= a3 * b2 # A(inf)*B(inf) 95 #define vinf (pp + 5 * n) /* s+t */ macro 199 /* vinf, s+t limbs */ /* W0 */ 200 if (s > t) mpn_mul (vinf, a3, s, b2, t); 201 else mpn_mul (vinf, b2, t, a3, s); 213 #undef vinf macro
|
H A D | toom42_mul.c | 57 vinf= a3 * b1 # A(inf)*B(inf) 185 #define vinf (pp + 4 * n) /* s+t */ macro 199 /* vinf, s+t limbs */ 200 if (s > t) mpn_mul (vinf, a3, s, b1, t); 201 else mpn_mul (vinf, b1, t, a3, s); 203 vinf0 = vinf[0]; /* v1 overlaps with this */
|
H A D | toom4_sqr.c | 52 vinf= a3 ^2 # A(inf)^2 107 #define vinf (pp + 6 * n) /* s+t */ macro 160 TOOM4_SQR_REC (vinf, a3, s, tp); /* vinf, 2s limbs */
|
H A D | toom44_mul.c | 55 vinf= a3 * b2 # A(inf)*B(inf) 89 |vinf|____|_v1_|_v0_| 99 Finally, for v0 and vinf, factors are parts of the input operands, 144 #define vinf (pp + 6 * n) /* s+t */ macro 230 mpn_mul (vinf, a3, s, b3, t); 232 TOOM44_MUL_N_REC (vinf, a3, b3, s, tp); /* vinf, s+t limbs */
|
H A D | toom62_mul.c | 59 vinf= a5 * b1 # A(inf)*B(inf) 245 #define vinf (pp + 6 * n) /* s+t */ macro 302 /* vinf, s+t limbs */ 303 if (s > t) mpn_mul (vinf, a5, s, b1, t); 304 else mpn_mul (vinf, b1, t, a5, s);
|
H A D | toom53_mul.c | 58 vinf= a4 * b2 # A(inf)*B(inf) 243 #define vinf (pp + 6 * n) /* s+t */ macro 323 /* vinf, s+t limbs */ 324 if (s > t) mpn_mul (vinf, a4, s, b2, t); 325 else mpn_mul (vinf, b2, t, a4, s);
|