Home
last modified time | relevance | path

Searched refs:BELOW_THRESHOLD (Results 1 – 25 of 58) sorted by relevance

123

/netbsd/src/external/lgpl3/gmp/dist/mpn/generic/
Dmullo_n.c150 if (MAYBE_range_basecase && BELOW_THRESHOLD (n, MUL_TOOM22_THRESHOLD*36/(36-11))) in mpn_dc_mullo_n()
152 else if (MAYBE_range_toom22 && BELOW_THRESHOLD (n, MUL_TOOM33_THRESHOLD*36/(36-11))) in mpn_dc_mullo_n()
154 else if (BELOW_THRESHOLD (n, MUL_TOOM44_THRESHOLD*40/(40-9))) in mpn_dc_mullo_n()
156 else if (BELOW_THRESHOLD (n, MUL_TOOM8H_THRESHOLD*10/9)) in mpn_dc_mullo_n()
172 if (BELOW_THRESHOLD (n1, MULLO_BASECASE_THRESHOLD)) in mpn_dc_mullo_n()
174 else if (BELOW_THRESHOLD (n1, MULLO_DC_THRESHOLD)) in mpn_dc_mullo_n()
181 if (BELOW_THRESHOLD (n1, MULLO_BASECASE_THRESHOLD)) in mpn_dc_mullo_n()
183 else if (BELOW_THRESHOLD (n1, MULLO_DC_THRESHOLD)) in mpn_dc_mullo_n()
209 if (BELOW_THRESHOLD (n, MULLO_BASECASE_THRESHOLD)) in mpn_mullo_n()
216 else if (BELOW_THRESHOLD (n, MULLO_DC_THRESHOLD)) in mpn_mullo_n()
[all …]
Dsqrlo.c148 if (MAYBE_range_basecase && BELOW_THRESHOLD (n, SQR_TOOM2_THRESHOLD*36/(36-11))) in mpn_dc_sqrlo()
150 else if (MAYBE_range_toom22 && BELOW_THRESHOLD (n, SQR_TOOM3_THRESHOLD*36/(36-11))) in mpn_dc_sqrlo()
152 else if (BELOW_THRESHOLD (n, SQR_TOOM4_THRESHOLD*40/(40-9))) in mpn_dc_sqrlo()
154 else if (BELOW_THRESHOLD (n, SQR_TOOM8_THRESHOLD*10/9)) in mpn_dc_sqrlo()
169 if (BELOW_THRESHOLD (n1, MULLO_BASECASE_THRESHOLD)) in mpn_dc_sqrlo()
171 else if (BELOW_THRESHOLD (n1, MULLO_DC_THRESHOLD)) in mpn_dc_sqrlo()
198 if (BELOW_THRESHOLD (n, SQRLO_BASECASE_THRESHOLD)) in mpn_sqrlo()
212 else if (BELOW_THRESHOLD (n, SQRLO_DC_THRESHOLD)) in mpn_sqrlo()
222 if (BELOW_THRESHOLD (n, SQRLO_SQR_THRESHOLD)) in mpn_sqrlo()
Dsqr.c41 if (BELOW_THRESHOLD (n, SQR_BASECASE_THRESHOLD)) in mpn_sqr()
45 else if (BELOW_THRESHOLD (n, SQR_TOOM2_THRESHOLD)) in mpn_sqr()
49 else if (BELOW_THRESHOLD (n, SQR_TOOM3_THRESHOLD)) in mpn_sqr()
56 else if (BELOW_THRESHOLD (n, SQR_TOOM4_THRESHOLD)) in mpn_sqr()
65 else if (BELOW_THRESHOLD (n, SQR_TOOM6_THRESHOLD)) in mpn_sqr()
74 else if (BELOW_THRESHOLD (n, SQR_TOOM8_THRESHOLD)) in mpn_sqr()
83 else if (BELOW_THRESHOLD (n, SQR_FFT_THRESHOLD)) in mpn_sqr()
Dpowm.c232 if (BELOW_THRESHOLD (n, REDC_1_TO_REDC_2_THRESHOLD)) in mpn_powm()
238 else if (BELOW_THRESHOLD (n, REDC_2_TO_REDC_N_THRESHOLD)) in mpn_powm()
245 if (BELOW_THRESHOLD (n, REDC_1_TO_REDC_N_THRESHOLD)) in mpn_powm()
271 if (BELOW_THRESHOLD (n, REDC_1_TO_REDC_2_THRESHOLD)) in mpn_powm()
273 else if (BELOW_THRESHOLD (n, REDC_2_TO_REDC_N_THRESHOLD)) in mpn_powm()
276 if (BELOW_THRESHOLD (n, REDC_1_TO_REDC_N_THRESHOLD)) in mpn_powm()
295 if (BELOW_THRESHOLD (n, REDC_1_TO_REDC_2_THRESHOLD)) in mpn_powm()
297 else if (BELOW_THRESHOLD (n, REDC_2_TO_REDC_N_THRESHOLD)) in mpn_powm()
300 if (BELOW_THRESHOLD (n, REDC_1_TO_REDC_N_THRESHOLD)) in mpn_powm()
375 if (BELOW_THRESHOLD (n, REDC_1_TO_REDC_2_THRESHOLD)) in mpn_powm()
[all …]
Ddiv_q.c151 else if (BELOW_THRESHOLD (dn, DC_DIV_Q_THRESHOLD) || in mpn_div_q()
152 BELOW_THRESHOLD (new_nn - dn, DC_DIV_Q_THRESHOLD)) in mpn_div_q()
157 else if (BELOW_THRESHOLD (dn, MUPI_DIV_Q_THRESHOLD) || /* fast condition */ in mpn_div_q()
158 BELOW_THRESHOLD (nn, 2 * MU_DIV_Q_THRESHOLD) || /* fast condition */ in mpn_div_q()
185 else if (BELOW_THRESHOLD (dn, DC_DIV_Q_THRESHOLD) || in mpn_div_q()
186 BELOW_THRESHOLD (nn - dn, DC_DIV_Q_THRESHOLD)) in mpn_div_q()
191 else if (BELOW_THRESHOLD (dn, MUPI_DIV_Q_THRESHOLD) || /* fast condition */ in mpn_div_q()
192 BELOW_THRESHOLD (nn, 2 * MU_DIV_Q_THRESHOLD) || /* fast condition */ in mpn_div_q()
239 else if (BELOW_THRESHOLD (qn, DC_DIVAPPR_Q_THRESHOLD - 1)) in mpn_div_q()
244 else if (BELOW_THRESHOLD (qn, MU_DIVAPPR_Q_THRESHOLD - 1)) in mpn_div_q()
[all …]
Dmul_n.c42 if (BELOW_THRESHOLD (n, MUL_TOOM22_THRESHOLD)) in mpn_mul_n()
46 else if (BELOW_THRESHOLD (n, MUL_TOOM33_THRESHOLD)) in mpn_mul_n()
54 else if (BELOW_THRESHOLD (n, MUL_TOOM44_THRESHOLD)) in mpn_mul_n()
63 else if (BELOW_THRESHOLD (n, MUL_TOOM6H_THRESHOLD)) in mpn_mul_n()
72 else if (BELOW_THRESHOLD (n, MUL_TOOM8H_THRESHOLD)) in mpn_mul_n()
81 else if (BELOW_THRESHOLD (n, MUL_FFT_THRESHOLD)) in mpn_mul_n()
Dmul.c123 if (BELOW_THRESHOLD (un, MUL_TOOM22_THRESHOLD)) in mpn_mul()
206 else if (BELOW_THRESHOLD (vn, MUL_TOOM33_THRESHOLD)) in mpn_mul()
271 else if (BELOW_THRESHOLD ((un + vn) >> 1, MUL_FFT_THRESHOLD) || in mpn_mul()
272 BELOW_THRESHOLD (3 * vn, MUL_FFT_THRESHOLD)) in mpn_mul()
278 if (BELOW_THRESHOLD (vn, MUL_TOOM44_THRESHOLD) || !TOOM44_OK (un, vn)) in mpn_mul()
302 if (BELOW_THRESHOLD (vn, MUL_TOOM42_TO_TOOM63_THRESHOLD)) in mpn_mul()
312 if (BELOW_THRESHOLD (vn, MUL_TOOM42_TO_TOOM63_THRESHOLD)) in mpn_mul()
341 if (BELOW_THRESHOLD (vn, MUL_TOOM32_TO_TOOM43_THRESHOLD)) in mpn_mul()
350 if (BELOW_THRESHOLD (vn, MUL_TOOM32_TO_TOOM53_THRESHOLD)) in mpn_mul()
357 if (BELOW_THRESHOLD (vn, MUL_TOOM42_TO_TOOM53_THRESHOLD)) in mpn_mul()
[all …]
Dmod_1.c132 && BELOW_THRESHOLD (un, MOD_1_UNNORM_THRESHOLD)) in mpn_mod_1_unnorm()
150 && BELOW_THRESHOLD (un, MOD_1_UNNORM_THRESHOLD)) in mpn_mod_1_unnorm()
207 if (BELOW_THRESHOLD (un, MOD_1_NORM_THRESHOLD)) in mpn_mod_1_norm()
244 if (BELOW_THRESHOLD (n, MOD_1N_TO_MOD_1_1_THRESHOLD)) in mpn_mod_1()
257 if (BELOW_THRESHOLD (n, MOD_1U_TO_MOD_1_1_THRESHOLD)) in mpn_mod_1()
261 else if (BELOW_THRESHOLD (n, MOD_1_1_TO_MOD_1_2_THRESHOLD)) in mpn_mod_1()
267 … else if (BELOW_THRESHOLD (n, MOD_1_2_TO_MOD_1_4_THRESHOLD) || UNLIKELY (b > GMP_NUMB_MASK / 4)) in mpn_mod_1()
Dbdiv_qr.c54 if (BELOW_THRESHOLD (dn, DC_BDIV_QR_THRESHOLD) || in mpn_bdiv_qr()
55 BELOW_THRESHOLD (nn - dn, DC_BDIV_QR_THRESHOLD)) in mpn_bdiv_qr()
62 else if (BELOW_THRESHOLD (dn, MU_BDIV_QR_THRESHOLD)) in mpn_bdiv_qr()
80 if (BELOW_THRESHOLD (dn, MU_BDIV_QR_THRESHOLD)) in mpn_bdiv_qr_itch()
Ddivexact.c174 if (BELOW_THRESHOLD (dn, DC_BDIV_Q_THRESHOLD)) in mpn_divexact()
182 else if (BELOW_THRESHOLD (dn, MU_BDIV_Q_THRESHOLD)) in mpn_divexact()
254 if (BELOW_THRESHOLD (qn1, DC_DIVAPPR_Q_THRESHOLD)) in mpn_divexact()
258 else if (BELOW_THRESHOLD (qn1, MU_DIVAPPR_Q_THRESHOLD)) in mpn_divexact()
276 if (BELOW_THRESHOLD (qn0, DC_BDIV_Q_THRESHOLD)) in mpn_divexact()
281 else if (BELOW_THRESHOLD (qn0, MU_BDIV_Q_THRESHOLD)) in mpn_divexact()
Dsqrmod_bnm1.c101 if ((rn & 1) != 0 || BELOW_THRESHOLD (rn, SQRMOD_BNM1_THRESHOLD)) in mpn_sqrmod_bnm1()
183 if (BELOW_THRESHOLD (n, MUL_FFT_MODF_THRESHOLD)) in mpn_sqrmod_bnm1()
299 if (BELOW_THRESHOLD (n, SQRMOD_BNM1_THRESHOLD)) in mpn_sqrmod_bnm1_next_size()
301 if (BELOW_THRESHOLD (n, 4 * (SQRMOD_BNM1_THRESHOLD - 1) + 1)) in mpn_sqrmod_bnm1_next_size()
303 if (BELOW_THRESHOLD (n, 8 * (SQRMOD_BNM1_THRESHOLD - 1) + 1)) in mpn_sqrmod_bnm1_next_size()
308 if (BELOW_THRESHOLD (nh, SQR_FFT_MODF_THRESHOLD)) in mpn_sqrmod_bnm1_next_size()
Dbdiv_q.c50 if (BELOW_THRESHOLD (dn, DC_BDIV_Q_THRESHOLD)) in mpn_bdiv_q()
56 else if (BELOW_THRESHOLD (dn, MU_BDIV_Q_THRESHOLD)) in mpn_bdiv_q()
72 if (BELOW_THRESHOLD (dn, MU_BDIV_Q_THRESHOLD)) in mpn_bdiv_q_itch()
Dmu_bdiv_q.c119 if (BELOW_THRESHOLD (in, MUL_TO_MULMOD_BNM1_FOR_2NXN_THRESHOLD)) in mpn_mu_bdiv_q_old()
155 if (BELOW_THRESHOLD (in, MUL_TO_MULMOD_BNM1_FOR_2NXN_THRESHOLD)) in mpn_mu_bdiv_q_old()
204 if (BELOW_THRESHOLD (in, MUL_TO_MULMOD_BNM1_FOR_2NXN_THRESHOLD)) in mpn_mu_bdiv_q_old()
251 if (BELOW_THRESHOLD (in, MUL_TO_MULMOD_BNM1_FOR_2NXN_THRESHOLD)) in mpn_mu_bdiv_q_itch()
266 if (BELOW_THRESHOLD (in, MUL_TO_MULMOD_BNM1_FOR_2NXN_THRESHOLD)) in mpn_mu_bdiv_q_itch()
Dtoom8_sqr.c98 || BELOW_THRESHOLD (n, SQR_TOOM2_THRESHOLD))) { \
102 || BELOW_THRESHOLD (n, SQR_TOOM3_THRESHOLD))) { \
106 || BELOW_THRESHOLD (n, SQR_TOOM4_THRESHOLD))) { \
110 || BELOW_THRESHOLD (n, SQR_TOOM6_THRESHOLD))) { \
114 || BELOW_THRESHOLD (n, SQR_TOOM8_THRESHOLD)) { \
Dmulmod_bnm1.c106 if ((rn & 1) != 0 || BELOW_THRESHOLD (rn, MULMOD_BNM1_THRESHOLD)) in mpn_mulmod_bnm1()
217 if (BELOW_THRESHOLD (n, MUL_FFT_MODF_THRESHOLD)) in mpn_mulmod_bnm1()
341 if (BELOW_THRESHOLD (n, MULMOD_BNM1_THRESHOLD)) in mpn_mulmod_bnm1_next_size()
343 if (BELOW_THRESHOLD (n, 4 * (MULMOD_BNM1_THRESHOLD - 1) + 1)) in mpn_mulmod_bnm1_next_size()
345 if (BELOW_THRESHOLD (n, 8 * (MULMOD_BNM1_THRESHOLD - 1) + 1)) in mpn_mulmod_bnm1_next_size()
350 if (BELOW_THRESHOLD (nh, MUL_FFT_MODF_THRESHOLD)) in mpn_mulmod_bnm1_next_size()
Dtoom6_sqr.c82 || BELOW_THRESHOLD (n, SQR_TOOM2_THRESHOLD))) \
85 || BELOW_THRESHOLD (n, SQR_TOOM3_THRESHOLD))) \
88 || BELOW_THRESHOLD (n, SQR_TOOM4_THRESHOLD))) \
91 || BELOW_THRESHOLD (n, SQR_TOOM6_THRESHOLD)) \
Ddcpi1_bdiv_qr.c71 if (BELOW_THRESHOLD (lo, DC_BDIV_QR_THRESHOLD)) in mpn_dcpi1_bdiv_qr_n()
81 if (BELOW_THRESHOLD (hi, DC_BDIV_QR_THRESHOLD)) in mpn_dcpi1_bdiv_qr_n()
121 if (BELOW_THRESHOLD (qn, DC_BDIV_QR_THRESHOLD)) in mpn_dcpi1_bdiv_qr()
156 if (BELOW_THRESHOLD (qn, DC_BDIV_QR_THRESHOLD)) in mpn_dcpi1_bdiv_qr()
Ddiv_qr_1.c71 if (BELOW_THRESHOLD (n, DIV_QR_1_NORM_THRESHOLD)) in mpn_div_qr_1()
91 && BELOW_THRESHOLD (n, DIV_QR_1_UNNORM_THRESHOLD)) in mpn_div_qr_1()
114 && BELOW_THRESHOLD (n, DIV_QR_1_UNNORM_THRESHOLD)) in mpn_div_qr_1()
Dmu_bdiv_qr.c117 if (BELOW_THRESHOLD (in, MUL_TO_MULMOD_BNM1_FOR_2NXN_THRESHOLD)) in mpn_mu_bdiv_qr_old()
152 if (BELOW_THRESHOLD (qn, MUL_TO_MULMOD_BNM1_FOR_2NXN_THRESHOLD)) in mpn_mu_bdiv_qr_old()
197 if (BELOW_THRESHOLD (in, MUL_TO_MULMOD_BNM1_FOR_2NXN_THRESHOLD)) in mpn_mu_bdiv_qr_old()
217 if (BELOW_THRESHOLD (qn, MUL_TO_MULMOD_BNM1_FOR_2NXN_THRESHOLD)) in mpn_mu_bdiv_qr_old()
298 if (BELOW_THRESHOLD (in, MUL_TO_MULMOD_BNM1_FOR_2NXN_THRESHOLD)) in mpn_mu_bdiv_qr_itch()
Ddivis.c166 if (BELOW_THRESHOLD (dn, DC_BDIV_QR_THRESHOLD) || in mpn_divisible_p()
167 BELOW_THRESHOLD (an - dn, DC_BDIV_QR_THRESHOLD)) in mpn_divisible_p()
173 else if (BELOW_THRESHOLD (dn, MU_BDIV_QR_THRESHOLD)) in mpn_divisible_p()
Dsec_powm.c132 && BELOW_THRESHOLD (n, SQR_BASECASE_LIM)) \
233 if (BELOW_THRESHOLD (n, REDC_1_TO_REDC_2_THRESHOLD)) in mpn_sec_powm()
268 if (BELOW_THRESHOLD (n, REDC_1_TO_REDC_2_THRESHOLD)) in mpn_sec_powm()
334 if (BELOW_THRESHOLD (n, REDC_1_TO_REDC_2_THRESHOLD)) in mpn_sec_powm()
350 if (BELOW_THRESHOLD (n, REDC_1_TO_REDC_2_THRESHOLD)) in mpn_sec_powm()
Dset_str.c105 if (BELOW_THRESHOLD (str_len, SET_STR_PRECOMPUTE_THRESHOLD)) in mpn_set_str()
150 if (BELOW_THRESHOLD (str_len, SET_STR_DC_THRESHOLD)) in mpn_dc_set_str()
159 if (BELOW_THRESHOLD (len_hi, SET_STR_DC_THRESHOLD)) in mpn_dc_set_str()
182 if (BELOW_THRESHOLD (len_lo, SET_STR_DC_THRESHOLD)) in mpn_dc_set_str()
Dtdiv_qr.c142 if (BELOW_THRESHOLD (dn, DC_DIV_QR_THRESHOLD)) in mpn_tdiv_qr()
144 else if (BELOW_THRESHOLD (dn, MUPI_DIV_QR_THRESHOLD) || /* fast condition */ in mpn_tdiv_qr()
145 BELOW_THRESHOLD (nn, 2 * MU_DIV_QR_THRESHOLD) || /* fast condition */ in mpn_tdiv_qr()
272 if (BELOW_THRESHOLD (qn, DC_DIV_QR_THRESHOLD)) in mpn_tdiv_qr()
274 else if (BELOW_THRESHOLD (qn, MU_DIV_QR_THRESHOLD)) in mpn_tdiv_qr()
/netbsd/src/external/lgpl3/gmp/dist/mpn/sparc64/
Dmod_1.c202 if (BELOW_THRESHOLD (n, MOD_1N_TO_MOD_1_1_THRESHOLD)) in mpn_mod_1()
215 if (BELOW_THRESHOLD (n, MOD_1U_TO_MOD_1_1_THRESHOLD)) in mpn_mod_1()
219 else if (BELOW_THRESHOLD (n, MOD_1_1_TO_MOD_1_2_THRESHOLD)) in mpn_mod_1()
225 … else if (BELOW_THRESHOLD (n, MOD_1_2_TO_MOD_1_4_THRESHOLD) || UNLIKELY (b > GMP_NUMB_MASK / 4)) in mpn_mod_1()
/netbsd/src/external/lgpl3/gmp/dist/mpz/
Dpowm_ui.c71 else if (BELOW_THRESHOLD (dn, DC_DIV_QR_THRESHOLD) || in mod()
72 BELOW_THRESHOLD (nn - dn, DC_DIV_QR_THRESHOLD)) in mod()
76 else if (BELOW_THRESHOLD (dn, MUPI_DIV_QR_THRESHOLD) || /* fast condition */ in mod()
77 BELOW_THRESHOLD (nn, 2 * MU_DIV_QR_THRESHOLD) || /* fast condition */ in mod()

123