/dports/math/gmp/gmp-6.2.1/mpn/generic/ |
H A D | toom43_mul.c | 111 #define b1d bsm1 in mpn_toom43_mul() 151 bsm1[n] = mpn_add (bsm1, b0, n, b2, t); in mpn_toom43_mul() 153 if (bsm1[n] == 0 && mpn_cmp (bsm1, b1, n) < 0) in mpn_toom43_mul() 155 cy = mpn_add_n_sub_n (bs1, bsm1, b1, bsm1, n); in mpn_toom43_mul() 161 cy = mpn_add_n_sub_n (bs1, bsm1, bsm1, b1, n); in mpn_toom43_mul() 163 bsm1[n]-= cy & 1; in mpn_toom43_mul() 166 bs1[n] = bsm1[n] + mpn_add_n (bs1, bsm1, b1, n); in mpn_toom43_mul() 167 if (bsm1[n] == 0 && mpn_cmp (bsm1, b1, n) < 0) in mpn_toom43_mul() 169 mpn_sub_n (bsm1, b1, bsm1, n); in mpn_toom43_mul() 174 bsm1[n] -= mpn_sub_n (bsm1, bsm1, b1, n); in mpn_toom43_mul() [all …]
|
H A D | toom52_mul.c | 137 mpn_sub_n (bsm1, b1, b0, n); in mpn_toom52_mul() 142 mpn_sub_n (bsm1, b0, b1, n); in mpn_toom52_mul() 151 mpn_sub_n (bsm1, b1, b0, t); in mpn_toom52_mul() 152 MPN_ZERO (bsm1 + t, n - t); in mpn_toom52_mul() 157 mpn_sub (bsm1, b0, n, b1, t); in mpn_toom52_mul() 173 if (mpn_cmp (bsm1, b1, n) < 0) in mpn_toom52_mul() 175 mpn_sub_n (bsm2, b1, bsm1, n); in mpn_toom52_mul() 180 mpn_sub_n (bsm2, bsm1, b1, n); in mpn_toom52_mul() 185 if (mpn_zero_p (bsm1 + t, n - t) && mpn_cmp (bsm1, b1, t) < 0) in mpn_toom52_mul() 187 mpn_sub_n (bsm2, b1, bsm1, t); in mpn_toom52_mul() [all …]
|
H A D | toom62_mul.c | 71 mp_ptr bs1, bsm1, bs2, bsm2, bsh; in mpn_toom62_mul() local 102 bsm1 = TMP_SALLOC_LIMBS (n); in mpn_toom62_mul() 151 cy = mpn_add_n_sub_n (bs1, bsm1, b1, b0, n); in mpn_toom62_mul() 164 mpn_sub_n (bsm1, b1, b0, n); in mpn_toom62_mul() 169 mpn_sub_n (bsm1, b0, b1, n); in mpn_toom62_mul() 179 mpn_sub_n (bsm1, b1, b0, t); in mpn_toom62_mul() 180 MPN_ZERO (bsm1 + t, n - t); in mpn_toom62_mul() 185 mpn_sub (bsm1, b0, n, b1, t); in mpn_toom62_mul() 203 if (mpn_zero_p (bsm1 + t, n - t) && mpn_cmp (bsm1, b1, t) < 0) in mpn_toom62_mul() 217 if (mpn_cmp (bsm1, b1, n) < 0) in mpn_toom62_mul() [all …]
|
H A D | toom53_mul.c | 71 mp_ptr bs1, bsm1, bs2, bsm2, bsh; in mpn_toom53_mul() local 102 bsm1 = tmp; tmp += n + 1; in mpn_toom53_mul() 147 bsm1[n] = 0; in mpn_toom53_mul() 160 bsm1[n] = 0; in mpn_toom53_mul() 165 bsm1[n] = bs1[n] - mpn_sub_n (bsm1, bs1, b1, n); in mpn_toom53_mul() 233 ASSERT (bsm1[n] <= 1); in mpn_toom53_mul() 262 cy = bsm1[n] + mpn_add_n (vm1 + n, vm1 + n, bsm1, n); in mpn_toom53_mul() 267 cy = 2 * bsm1[n] + mpn_addlsh1_n_ip1 (vm1 + n, bsm1, n); in mpn_toom53_mul() 269 cy = 2 * bsm1[n] + mpn_addmul_1 (vm1 + n, bsm1, n, CNST_LIMB(2)); in mpn_toom53_mul() 274 if (bsm1[n] != 0) in mpn_toom53_mul() [all …]
|
H A D | toom33_mul.c | 98 mp_ptr bs1, bsm1, bs2; in mpn_toom33_mul() local 190 cy = mpn_add_n_sub_n (bs1, bsm1, b1, gp, n); in mpn_toom33_mul() 192 bsm1[n] = 0; in mpn_toom33_mul() 200 bsm1[n] = cy - (cy2 & 1); in mpn_toom33_mul() 206 mpn_sub_n (bsm1, b1, gp, n); in mpn_toom33_mul() 207 bsm1[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() 244 ASSERT (bsm1[n] <= 1); in mpn_toom33_mul() 260 cy = bsm1[n] + mpn_add_n (vm1 + n, vm1 + n, bsm1, n); in mpn_toom33_mul() [all …]
|
H A D | toom42_mul.c | 76 mp_ptr bs1, bsm1, bs2; in mpn_toom42_mul() local 102 bsm1 = tmp; tmp += n; in mpn_toom42_mul() 135 cy = mpn_add_n_sub_n (bs1, bsm1, b1, b0, n); in mpn_toom42_mul() 140 cy = mpn_add_n_sub_n (bs1, bsm1, b0, b1, n); in mpn_toom42_mul() 148 mpn_sub_n (bsm1, b1, b0, n); in mpn_toom42_mul() 153 mpn_sub_n (bsm1, b0, b1, n); in mpn_toom42_mul() 163 mpn_sub_n (bsm1, b1, b0, t); in mpn_toom42_mul() 164 MPN_ZERO (bsm1 + t, n - t); in mpn_toom42_mul() 169 mpn_sub (bsm1, b0, n, b1, t); in mpn_toom42_mul() 191 TOOM42_MUL_N_REC (vm1, asm1, bsm1, n, scratch_out); in mpn_toom42_mul() [all …]
|
/dports/math/gap/gap-4.11.0/extern/gmp/mpn/generic/ |
H A D | toom43_mul.c | 112 #define b1d bsm1 in mpn_toom43_mul() 152 bsm1[n] = mpn_add (bsm1, b0, n, b2, t); in mpn_toom43_mul() 154 if (bsm1[n] == 0 && mpn_cmp (bsm1, b1, n) < 0) in mpn_toom43_mul() 156 cy = mpn_add_n_sub_n (bs1, bsm1, b1, bsm1, n); in mpn_toom43_mul() 162 cy = mpn_add_n_sub_n (bs1, bsm1, bsm1, b1, n); in mpn_toom43_mul() 164 bsm1[n]-= cy & 1; in mpn_toom43_mul() 167 bs1[n] = bsm1[n] + mpn_add_n (bs1, bsm1, b1, n); in mpn_toom43_mul() 168 if (bsm1[n] == 0 && mpn_cmp (bsm1, b1, n) < 0) in mpn_toom43_mul() 170 mpn_sub_n (bsm1, b1, bsm1, n); in mpn_toom43_mul() 175 bsm1[n] -= mpn_sub_n (bsm1, bsm1, b1, n); in mpn_toom43_mul() [all …]
|
H A D | toom52_mul.c | 138 mpn_sub_n (bsm1, b1, b0, n); in mpn_toom52_mul() 143 mpn_sub_n (bsm1, b0, b1, n); in mpn_toom52_mul() 152 mpn_sub_n (bsm1, b1, b0, t); in mpn_toom52_mul() 153 MPN_ZERO (bsm1 + t, n - t); in mpn_toom52_mul() 158 mpn_sub (bsm1, b0, n, b1, t); in mpn_toom52_mul() 174 if (mpn_cmp (bsm1, b1, n) < 0) in mpn_toom52_mul() 176 mpn_sub_n (bsm2, b1, bsm1, n); in mpn_toom52_mul() 181 mpn_sub_n (bsm2, bsm1, b1, n); in mpn_toom52_mul() 186 if (mpn_zero_p (bsm1 + t, n - t) && mpn_cmp (bsm1, b1, t) < 0) in mpn_toom52_mul() 188 mpn_sub_n (bsm2, b1, bsm1, t); in mpn_toom52_mul() [all …]
|
H A D | toom62_mul.c | 72 mp_ptr bs1, bsm1, bs2, bsm2, bsh; in mpn_toom62_mul() local 103 bsm1 = TMP_SALLOC_LIMBS (n); in mpn_toom62_mul() 152 cy = mpn_add_n_sub_n (bs1, bsm1, b1, b0, n); in mpn_toom62_mul() 165 mpn_sub_n (bsm1, b1, b0, n); in mpn_toom62_mul() 170 mpn_sub_n (bsm1, b0, b1, n); in mpn_toom62_mul() 180 mpn_sub_n (bsm1, b1, b0, t); in mpn_toom62_mul() 181 MPN_ZERO (bsm1 + t, n - t); in mpn_toom62_mul() 186 mpn_sub (bsm1, b0, n, b1, t); in mpn_toom62_mul() 204 if (mpn_zero_p (bsm1 + t, n - t) && mpn_cmp (bsm1, b1, t) < 0) in mpn_toom62_mul() 218 if (mpn_cmp (bsm1, b1, n) < 0) in mpn_toom62_mul() [all …]
|
H A D | toom53_mul.c | 72 mp_ptr bs1, bsm1, bs2, bsm2, bsh; in mpn_toom53_mul() local 103 bsm1 = tmp; tmp += n + 1; in mpn_toom53_mul() 148 bsm1[n] = 0; in mpn_toom53_mul() 161 bsm1[n] = 0; in mpn_toom53_mul() 166 bsm1[n] = bs1[n] - mpn_sub_n (bsm1, bs1, b1, n); in mpn_toom53_mul() 234 ASSERT (bsm1[n] <= 1); in mpn_toom53_mul() 263 cy = bsm1[n] + mpn_add_n (vm1 + n, vm1 + n, bsm1, n); in mpn_toom53_mul() 268 cy = 2 * bsm1[n] + mpn_addlsh1_n (vm1 + n, vm1 + n, bsm1, n); in mpn_toom53_mul() 270 cy = 2 * bsm1[n] + mpn_addmul_1 (vm1 + n, bsm1, n, CNST_LIMB(2)); in mpn_toom53_mul() 275 if (bsm1[n] != 0) in mpn_toom53_mul() [all …]
|
H A D | toom33_mul.c | 99 mp_ptr bs1, bsm1, bs2; in mpn_toom33_mul() local 191 cy = mpn_add_n_sub_n (bs1, bsm1, b1, gp, n); in mpn_toom33_mul() 193 bsm1[n] = 0; in mpn_toom33_mul() 201 bsm1[n] = cy - (cy2 & 1); in mpn_toom33_mul() 207 mpn_sub_n (bsm1, b1, gp, n); in mpn_toom33_mul() 208 bsm1[n] = 0; in mpn_toom33_mul() 213 cy -= mpn_sub_n (bsm1, gp, b1, n); in mpn_toom33_mul() 214 bsm1[n] = cy; in mpn_toom33_mul() 245 ASSERT (bsm1[n] <= 1); in mpn_toom33_mul() 261 cy = bsm1[n] + mpn_add_n (vm1 + n, vm1 + n, bsm1, n); in mpn_toom33_mul() [all …]
|
H A D | toom42_mul.c | 77 mp_ptr bs1, bsm1, bs2; in mpn_toom42_mul() local 103 bsm1 = tmp; tmp += n; in mpn_toom42_mul() 136 cy = mpn_add_n_sub_n (bs1, bsm1, b1, b0, n); in mpn_toom42_mul() 141 cy = mpn_add_n_sub_n (bs1, bsm1, b0, b1, n); in mpn_toom42_mul() 149 mpn_sub_n (bsm1, b1, b0, n); in mpn_toom42_mul() 154 mpn_sub_n (bsm1, b0, b1, n); in mpn_toom42_mul() 164 mpn_sub_n (bsm1, b1, b0, t); in mpn_toom42_mul() 165 MPN_ZERO (bsm1 + t, n - t); in mpn_toom42_mul() 170 mpn_sub (bsm1, b0, n, b1, t); in mpn_toom42_mul() 192 TOOM42_MUL_N_REC (vm1, asm1, bsm1, n, scratch_out); in mpn_toom42_mul() [all …]
|
/dports/math/mingw32-libgmp/gmp-6.0.0/mpn/generic/ |
H A D | toom43_mul.c | 112 #define b1d bsm1 in mpn_toom43_mul() 152 bsm1[n] = mpn_add (bsm1, b0, n, b2, t); in mpn_toom43_mul() 154 if (bsm1[n] == 0 && mpn_cmp (bsm1, b1, n) < 0) in mpn_toom43_mul() 156 cy = mpn_add_n_sub_n (bs1, bsm1, b1, bsm1, n); in mpn_toom43_mul() 162 cy = mpn_add_n_sub_n (bs1, bsm1, bsm1, b1, n); in mpn_toom43_mul() 164 bsm1[n]-= cy & 1; in mpn_toom43_mul() 167 bs1[n] = bsm1[n] + mpn_add_n (bs1, bsm1, b1, n); in mpn_toom43_mul() 168 if (bsm1[n] == 0 && mpn_cmp (bsm1, b1, n) < 0) in mpn_toom43_mul() 170 mpn_sub_n (bsm1, b1, bsm1, n); in mpn_toom43_mul() 175 bsm1[n] -= mpn_sub_n (bsm1, bsm1, b1, n); in mpn_toom43_mul() [all …]
|
H A D | toom52_mul.c | 138 mpn_sub_n (bsm1, b1, b0, n); in mpn_toom52_mul() 143 mpn_sub_n (bsm1, b0, b1, n); in mpn_toom52_mul() 152 mpn_sub_n (bsm1, b1, b0, t); in mpn_toom52_mul() 153 MPN_ZERO (bsm1 + t, n - t); in mpn_toom52_mul() 158 mpn_sub (bsm1, b0, n, b1, t); in mpn_toom52_mul() 174 if (mpn_cmp (bsm1, b1, n) < 0) in mpn_toom52_mul() 176 mpn_sub_n (bsm2, b1, bsm1, n); in mpn_toom52_mul() 181 mpn_sub_n (bsm2, bsm1, b1, n); in mpn_toom52_mul() 186 if (mpn_zero_p (bsm1 + t, n - t) && mpn_cmp (bsm1, b1, t) < 0) in mpn_toom52_mul() 188 mpn_sub_n (bsm2, b1, bsm1, t); in mpn_toom52_mul() [all …]
|
H A D | toom62_mul.c | 72 mp_ptr bs1, bsm1, bs2, bsm2, bsh; in mpn_toom62_mul() local 103 bsm1 = TMP_SALLOC_LIMBS (n); in mpn_toom62_mul() 152 cy = mpn_add_n_sub_n (bs1, bsm1, b1, b0, n); in mpn_toom62_mul() 165 mpn_sub_n (bsm1, b1, b0, n); in mpn_toom62_mul() 170 mpn_sub_n (bsm1, b0, b1, n); in mpn_toom62_mul() 180 mpn_sub_n (bsm1, b1, b0, t); in mpn_toom62_mul() 181 MPN_ZERO (bsm1 + t, n - t); in mpn_toom62_mul() 186 mpn_sub (bsm1, b0, n, b1, t); in mpn_toom62_mul() 204 if (mpn_zero_p (bsm1 + t, n - t) && mpn_cmp (bsm1, b1, t) < 0) in mpn_toom62_mul() 218 if (mpn_cmp (bsm1, b1, n) < 0) in mpn_toom62_mul() [all …]
|
H A D | toom53_mul.c | 72 mp_ptr bs1, bsm1, bs2, bsm2, bsh; in mpn_toom53_mul() local 102 bsm1 = TMP_SALLOC_LIMBS (n + 1); in mpn_toom53_mul() 147 bsm1[n] = 0; in mpn_toom53_mul() 160 bsm1[n] = 0; in mpn_toom53_mul() 165 bsm1[n] = bs1[n] - mpn_sub_n (bsm1, bs1, b1, n); in mpn_toom53_mul() 233 ASSERT (bsm1[n] <= 1); in mpn_toom53_mul() 262 cy = bsm1[n] + mpn_add_n (vm1 + n, vm1 + n, bsm1, n); in mpn_toom53_mul() 267 cy = 2 * bsm1[n] + mpn_addlsh1_n (vm1 + n, vm1 + n, bsm1, n); in mpn_toom53_mul() 269 cy = 2 * bsm1[n] + mpn_addmul_1 (vm1 + n, bsm1, n, CNST_LIMB(2)); in mpn_toom53_mul() 274 if (bsm1[n] != 0) in mpn_toom53_mul() [all …]
|
H A D | toom33_mul.c | 99 mp_ptr bs1, bsm1, bs2; in mpn_toom33_mul() local 191 cy = mpn_add_n_sub_n (bs1, bsm1, b1, gp, n); in mpn_toom33_mul() 193 bsm1[n] = 0; in mpn_toom33_mul() 201 bsm1[n] = cy - (cy2 & 1); in mpn_toom33_mul() 207 mpn_sub_n (bsm1, b1, gp, n); in mpn_toom33_mul() 208 bsm1[n] = 0; in mpn_toom33_mul() 213 cy -= mpn_sub_n (bsm1, gp, b1, n); in mpn_toom33_mul() 214 bsm1[n] = cy; in mpn_toom33_mul() 245 ASSERT (bsm1[n] <= 1); in mpn_toom33_mul() 261 cy = bsm1[n] + mpn_add_n (vm1 + n, vm1 + n, bsm1, n); in mpn_toom33_mul() [all …]
|
H A D | toom42_mul.c | 77 mp_ptr bs1, bsm1, bs2; in mpn_toom42_mul() local 102 bsm1 = TMP_SALLOC_LIMBS (n); in mpn_toom42_mul() 135 cy = mpn_add_n_sub_n (bs1, bsm1, b1, b0, n); in mpn_toom42_mul() 140 cy = mpn_add_n_sub_n (bs1, bsm1, b0, b1, n); in mpn_toom42_mul() 148 mpn_sub_n (bsm1, b1, b0, n); in mpn_toom42_mul() 153 mpn_sub_n (bsm1, b0, b1, n); in mpn_toom42_mul() 163 mpn_sub_n (bsm1, b1, b0, t); in mpn_toom42_mul() 164 MPN_ZERO (bsm1 + t, n - t); in mpn_toom42_mul() 169 mpn_sub (bsm1, b0, n, b1, t); in mpn_toom42_mul() 191 TOOM42_MUL_N_REC (vm1, asm1, bsm1, n, scratch_out); in mpn_toom42_mul() [all …]
|
H A D | toom22_mul.c | 99 mp_ptr bsm1; in mpn_toom22_mul() local 116 bsm1 = pp + n; in mpn_toom22_mul() 152 mpn_sub_n (bsm1, b1, b0, n); in mpn_toom22_mul() 157 mpn_sub_n (bsm1, b0, b1, n); in mpn_toom22_mul() 164 mpn_sub_n (bsm1, b1, b0, t); in mpn_toom22_mul() 165 MPN_ZERO (bsm1 + t, n - t); in mpn_toom22_mul() 170 mpn_sub (bsm1, b0, n, b1, t); in mpn_toom22_mul() 180 TOOM22_MUL_N_REC (vm1, asm1, bsm1, n, scratch_out); in mpn_toom22_mul()
|
/dports/math/kalker/gmp-mpfr-sys-21966f4bfb56c87d407eb14c72e92ef4e55856aa/gmp-6.2.1-c/mpn/generic/ |
H A D | toom43_mul.c | 111 #define b1d bsm1 in mpn_toom43_mul() 151 bsm1[n] = mpn_add (bsm1, b0, n, b2, t); in mpn_toom43_mul() 153 if (bsm1[n] == 0 && mpn_cmp (bsm1, b1, n) < 0) in mpn_toom43_mul() 155 cy = mpn_add_n_sub_n (bs1, bsm1, b1, bsm1, n); in mpn_toom43_mul() 161 cy = mpn_add_n_sub_n (bs1, bsm1, bsm1, b1, n); in mpn_toom43_mul() 163 bsm1[n]-= cy & 1; in mpn_toom43_mul() 166 bs1[n] = bsm1[n] + mpn_add_n (bs1, bsm1, b1, n); in mpn_toom43_mul() 167 if (bsm1[n] == 0 && mpn_cmp (bsm1, b1, n) < 0) in mpn_toom43_mul() 169 mpn_sub_n (bsm1, b1, bsm1, n); in mpn_toom43_mul() 174 bsm1[n] -= mpn_sub_n (bsm1, bsm1, b1, n); in mpn_toom43_mul() [all …]
|
H A D | toom52_mul.c | 137 mpn_sub_n (bsm1, b1, b0, n); in mpn_toom52_mul() 142 mpn_sub_n (bsm1, b0, b1, n); in mpn_toom52_mul() 151 mpn_sub_n (bsm1, b1, b0, t); in mpn_toom52_mul() 152 MPN_ZERO (bsm1 + t, n - t); in mpn_toom52_mul() 157 mpn_sub (bsm1, b0, n, b1, t); in mpn_toom52_mul() 173 if (mpn_cmp (bsm1, b1, n) < 0) in mpn_toom52_mul() 175 mpn_sub_n (bsm2, b1, bsm1, n); in mpn_toom52_mul() 180 mpn_sub_n (bsm2, bsm1, b1, n); in mpn_toom52_mul() 185 if (mpn_zero_p (bsm1 + t, n - t) && mpn_cmp (bsm1, b1, t) < 0) in mpn_toom52_mul() 187 mpn_sub_n (bsm2, b1, bsm1, t); in mpn_toom52_mul() [all …]
|
H A D | toom62_mul.c | 71 mp_ptr bs1, bsm1, bs2, bsm2, bsh; in mpn_toom62_mul() local 102 bsm1 = TMP_SALLOC_LIMBS (n); in mpn_toom62_mul() 151 cy = mpn_add_n_sub_n (bs1, bsm1, b1, b0, n); in mpn_toom62_mul() 164 mpn_sub_n (bsm1, b1, b0, n); in mpn_toom62_mul() 169 mpn_sub_n (bsm1, b0, b1, n); in mpn_toom62_mul() 179 mpn_sub_n (bsm1, b1, b0, t); in mpn_toom62_mul() 180 MPN_ZERO (bsm1 + t, n - t); in mpn_toom62_mul() 185 mpn_sub (bsm1, b0, n, b1, t); in mpn_toom62_mul() 203 if (mpn_zero_p (bsm1 + t, n - t) && mpn_cmp (bsm1, b1, t) < 0) in mpn_toom62_mul() 217 if (mpn_cmp (bsm1, b1, n) < 0) in mpn_toom62_mul() [all …]
|
H A D | toom53_mul.c | 71 mp_ptr bs1, bsm1, bs2, bsm2, bsh; in mpn_toom53_mul() local 102 bsm1 = tmp; tmp += n + 1; in mpn_toom53_mul() 147 bsm1[n] = 0; in mpn_toom53_mul() 160 bsm1[n] = 0; in mpn_toom53_mul() 165 bsm1[n] = bs1[n] - mpn_sub_n (bsm1, bs1, b1, n); in mpn_toom53_mul() 233 ASSERT (bsm1[n] <= 1); in mpn_toom53_mul() 262 cy = bsm1[n] + mpn_add_n (vm1 + n, vm1 + n, bsm1, n); in mpn_toom53_mul() 267 cy = 2 * bsm1[n] + mpn_addlsh1_n_ip1 (vm1 + n, bsm1, n); in mpn_toom53_mul() 269 cy = 2 * bsm1[n] + mpn_addmul_1 (vm1 + n, bsm1, n, CNST_LIMB(2)); in mpn_toom53_mul() 274 if (bsm1[n] != 0) in mpn_toom53_mul() [all …]
|
H A D | toom33_mul.c | 98 mp_ptr bs1, bsm1, bs2; in mpn_toom33_mul() local 190 cy = mpn_add_n_sub_n (bs1, bsm1, b1, gp, n); in mpn_toom33_mul() 192 bsm1[n] = 0; in mpn_toom33_mul() 200 bsm1[n] = cy - (cy2 & 1); in mpn_toom33_mul() 206 mpn_sub_n (bsm1, b1, gp, n); in mpn_toom33_mul() 207 bsm1[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() 244 ASSERT (bsm1[n] <= 1); in mpn_toom33_mul() 260 cy = bsm1[n] + mpn_add_n (vm1 + n, vm1 + n, bsm1, n); in mpn_toom33_mul() [all …]
|
H A D | toom42_mul.c | 76 mp_ptr bs1, bsm1, bs2; in mpn_toom42_mul() local 102 bsm1 = tmp; tmp += n; in mpn_toom42_mul() 135 cy = mpn_add_n_sub_n (bs1, bsm1, b1, b0, n); in mpn_toom42_mul() 140 cy = mpn_add_n_sub_n (bs1, bsm1, b0, b1, n); in mpn_toom42_mul() 148 mpn_sub_n (bsm1, b1, b0, n); in mpn_toom42_mul() 153 mpn_sub_n (bsm1, b0, b1, n); in mpn_toom42_mul() 163 mpn_sub_n (bsm1, b1, b0, t); in mpn_toom42_mul() 164 MPN_ZERO (bsm1 + t, n - t); in mpn_toom42_mul() 169 mpn_sub (bsm1, b0, n, b1, t); in mpn_toom42_mul() 191 TOOM42_MUL_N_REC (vm1, asm1, bsm1, n, scratch_out); in mpn_toom42_mul() [all …]
|