Home
last modified time | relevance | path

Searched refs:scratch_out (Results 1 – 13 of 13) sorted by relevance

/dragonfly/contrib/gmp/mpn/generic/
H A Dmu_bdiv_qr.c85 #define scratch_out (scratch + in + tn)/* mulmod_bnm1_itch(next_size(dn)) */ in mpn_mu_bdiv_qr() macro
114 mpn_mulmod_bnm1 (tp, tn, dp, dn, qp, in, scratch_out); in mpn_mu_bdiv_qr()
149 mpn_mulmod_bnm1 (tp, tn, dp, dn, qp, qn, scratch_out); in mpn_mu_bdiv_qr()
171 #undef scratch_out in mpn_mu_bdiv_qr()
180 #define scratch_out (scratch + in + tn)/* mulmod_bnm1_itch(next_size(dn)) */ in mpn_mu_bdiv_qr() macro
194 mpn_mulmod_bnm1 (tp, tn, dp, dn, qp, in, scratch_out); in mpn_mu_bdiv_qr()
214 mpn_mulmod_bnm1 (tp, tn, dp, dn, qp, qn, scratch_out); in mpn_mu_bdiv_qr()
233 #undef scratch_out in mpn_mu_bdiv_qr()
H A Dtoom3_sqr.c154 #define scratch_out (scratch + 5 * n + 5) in mpn_toom3_sqr() macro
158 TOOM3_SQR_REC (vm1, asm1, n, scratch_out); in mpn_toom3_sqr()
166 TOOM3_SQR_REC (vm1, asm1, n + 1, scratch_out); in mpn_toom3_sqr()
169 TOOM3_SQR_REC (v2, as2, n + 1, scratch_out); /* v2, 2n+1 limbs */ in mpn_toom3_sqr()
171 TOOM3_SQR_REC (vinf, a2, s, scratch_out); /* vinf, s+s limbs */ in mpn_toom3_sqr()
177 TOOM3_SQR_REC (v1, as1, n, scratch_out); in mpn_toom3_sqr()
207 TOOM3_SQR_REC (v1, as1, n + 1, scratch_out); in mpn_toom3_sqr()
211 TOOM3_SQR_REC (v0, ap, n, scratch_out); /* v0, 2n limbs */ in mpn_toom3_sqr()
H A Dmu_bdiv_q.c84 #define scratch_out (scratch + in + dn + tn) /* mulmod_bnm1_itch(next_size(dn)) */ in mpn_mu_bdiv_q() macro
114 mpn_mulmod_bnm1 (tp, tn, dp, dn, qp, in, scratch_out); in mpn_mu_bdiv_q()
150 mpn_mulmod_bnm1 (tp, tn, dp, dn, qp, in, scratch_out); in mpn_mu_bdiv_q()
176 #undef scratch_out in mpn_mu_bdiv_q()
185 #define scratch_out (scratch + in + tn)/* mulmod_bnm1_itch(next_size(qn)) */ in mpn_mu_bdiv_q() macro
199 mpn_mulmod_bnm1 (tp, tn, dp, qn, qp, in, scratch_out); in mpn_mu_bdiv_q()
213 #undef scratch_out in mpn_mu_bdiv_q()
H A Dtoom33_mul.c242 #define scratch_out (scratch + 5 * n + 5) in mpn_toom33_mul() macro
246 TOOM33_MUL_N_REC (vm1, asm1, bsm1, n, scratch_out); in mpn_toom33_mul()
254 TOOM33_MUL_N_REC (vm1, asm1, bsm1, n + 1, scratch_out); in mpn_toom33_mul()
257 TOOM33_MUL_N_REC (v2, as2, bs2, n + 1, scratch_out); /* v2, 2n+1 limbs */ in mpn_toom33_mul()
261 else TOOM33_MUL_N_REC (vinf, a2, b2, s, scratch_out); in mpn_toom33_mul()
267 TOOM33_MUL_N_REC (v1, as1, bs1, n, scratch_out); in mpn_toom33_mul()
297 TOOM33_MUL_N_REC (v1, as1, bs1, n + 1, scratch_out); in mpn_toom33_mul()
301 TOOM33_MUL_N_REC (v0, ap, bp, n, scratch_out); /* v0, 2n limbs */ in mpn_toom33_mul()
H A Dtoom22_mul.c165 #define scratch_out scratch + 2 * n in mpn_toom22_mul() macro
168 TOOM22_MUL_N_REC (vm1, asm1, bsm1, n, scratch_out); in mpn_toom22_mul()
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()
174 TOOM22_MUL_N_REC (v0, ap, bp, n, scratch_out); in mpn_toom22_mul()
H A Dremove.c58 mp_ptr tp, qp, np, pp, qp2, scratch_out; in mpn_remove() local
80 scratch_out = TMP_ALLOC_LIMBS (mpn_bdiv_qr_itch (un, un >> 1)); in mpn_remove()
88 mpn_bdiv_qr (qp2, tp, qp, qn, pp, pn, scratch_out); in mpn_remove()
126 mpn_bdiv_qr (qp2, tp, qp, qn, pp, pn, scratch_out); in mpn_remove()
H A Dtoom2_sqr.c104 #define scratch_out scratch + 2 * n in mpn_toom2_sqr() macro
107 TOOM2_SQR_REC (vm1, asm1, n, scratch_out); in mpn_toom2_sqr()
110 TOOM2_SQR_REC (vinf, a1, s, scratch_out); in mpn_toom2_sqr()
113 TOOM2_SQR_REC (v0, ap, n, scratch_out); in mpn_toom2_sqr()
H A Dtoom42_mul.c178 #define scratch_out scratch + 4 * n + 4 /* Currently unused. */ in mpn_toom42_mul() macro
181 TOOM42_MUL_N_REC (vm1, asm1, bsm1, n, scratch_out); in mpn_toom42_mul()
187 TOOM42_MUL_N_REC (v2, as2, bs2, n + 1, scratch_out); /* v2, 2n+1 limbs */ in mpn_toom42_mul()
196 TOOM42_MUL_N_REC (v1, as1, bs1, n, scratch_out); in mpn_toom42_mul()
219 TOOM42_MUL_N_REC (v0, ap, bp, n, scratch_out); /* v0, 2n limbs */ in mpn_toom42_mul()
H A Dtoom32_mul.c91 #define scratch_out (scratch + 2*n + 1) /* Currently unused. */ in mpn_toom32_mul() macro
173 TOOM32_MUL_N_REC (v1, ap1, bp1, n, scratch_out); in mpn_toom32_mul()
192 TOOM32_MUL_N_REC (vm1, am1, bm1, n, scratch_out); in mpn_toom32_mul()
263 TOOM32_MUL_N_REC (pp, a0, b0, n, scratch_out); in mpn_toom32_mul()
H A Dmu_divappr_q.c165 #define scratch_out (scratch + dn + tn) in mpn_preinv_mu_divappr_q() macro
210 mpn_mulmod_bnm1 (tp, tn, dp, dn, qp, in, scratch_out); in mpn_preinv_mu_divappr_q()
H A Dmu_div_qr.c239 #define scratch_out (scratch + tn) in mpn_preinv_mu_div_qr() macro
282 mpn_mulmod_bnm1 (tp, tn, dp, dn, qp, in, scratch_out); in mpn_preinv_mu_div_qr()
H A Dtoom62_mul.c240 #define scratch_out (scratch + 8 * n + 4) /* 2n+1 */ in mpn_toom62_mul() macro
297 vm2, vm1, v2, vh, s + t, scratch_out); in mpn_toom62_mul()
H A Dtoom53_mul.c237 #define scratch_out (scratch + 8 * n + 4) /* 2n+1 */ in mpn_toom53_mul() macro
317 scratch_out); in mpn_toom53_mul()