Home
last modified time | relevance | path

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

123

/dragonfly/contrib/gmp/mpn/generic/
H A Dsbpi1_divappr_q.c78 if (UNLIKELY (n1 == d1) && np[1] == d0) in mpn_sbpi1_divappr_q()
96 if (UNLIKELY (cy != 0)) in mpn_sbpi1_divappr_q()
113 if (UNLIKELY (n1 >= (d1 & flag))) in mpn_sbpi1_divappr_q()
118 if (UNLIKELY (n1 != cy)) in mpn_sbpi1_divappr_q()
142 if (UNLIKELY (cy != 0)) in mpn_sbpi1_divappr_q()
157 if (UNLIKELY (n1 >= (d1 & flag))) in mpn_sbpi1_divappr_q()
162 if (UNLIKELY (n1 != cy)) in mpn_sbpi1_divappr_q()
H A Dsbpi1_div_q.c81 if (UNLIKELY (n1 == d1) && np[1] == d0) in mpn_sbpi1_div_q()
99 if (UNLIKELY (cy != 0)) in mpn_sbpi1_div_q()
116 if (UNLIKELY (n1 >= (d1 & flag))) in mpn_sbpi1_div_q()
121 if (UNLIKELY (n1 != cy)) in mpn_sbpi1_div_q()
145 if (UNLIKELY (cy != 0)) in mpn_sbpi1_div_q()
160 if (UNLIKELY (n1 >= (d1 & flag))) in mpn_sbpi1_div_q()
165 if (UNLIKELY (n1 != cy)) in mpn_sbpi1_div_q()
192 if (UNLIKELY (n1 < (dn & flag))) in mpn_sbpi1_div_q()
H A Dgcd_subdiv_step.c49 if (UNLIKELY (an == 0)) in mpn_gcd_subdiv_step()
56 else if (UNLIKELY (bn == 0)) in mpn_gcd_subdiv_step()
72 if (UNLIKELY (c == 0)) in mpn_gcd_subdiv_step()
92 if (UNLIKELY (c == 0)) in mpn_gcd_subdiv_step()
H A Dgcdext_subdiv_step.c62 if (UNLIKELY (an == 0)) in mpn_gcdext_subdiv_step()
75 else if (UNLIKELY (bn == 0)) in mpn_gcdext_subdiv_step()
100 if (UNLIKELY (c == 0)) in mpn_gcdext_subdiv_step()
150 if (UNLIKELY (c == 0)) in mpn_gcdext_subdiv_step()
H A Dget_d.c146 if (UNLIKELY ((unsigned long) (GMP_NUMB_BITS * size) in mpn_get_d()
264 if (UNLIKELY (exp >= CONST_1024)) in mpn_get_d()
272 else if (UNLIKELY (exp <= CONST_NEG_1023)) in mpn_get_d()
355 if (UNLIKELY (exp >= CONST_1024)) in mpn_get_d()
363 else if (UNLIKELY (exp <= CONST_NEG_1023)) in mpn_get_d()
H A Dsqrmod_bnm1.c93 if (UNLIKELY (an < rn)) in mpn_sqrmod_bnm1()
95 if (UNLIKELY (2*an <= rn)) in mpn_sqrmod_bnm1()
184 else if (UNLIKELY (ap1 == a0)) in mpn_sqrmod_bnm1()
253 if (UNLIKELY (2*an < rn)) in mpn_sqrmod_bnm1()
H A Dgcdext_1.c107 if (UNLIKELY (count == 6)) in mpn_gcdext_1()
131 if (UNLIKELY (count == 6)) in mpn_gcdext_1()
189 if (UNLIKELY (count == 6)) in mpn_gcdext_1()
H A Dmulmod_bnm1.c98 if (UNLIKELY (bn < rn)) in mpn_mulmod_bnm1()
100 if (UNLIKELY (an + bn <= rn)) in mpn_mulmod_bnm1()
225 else if (UNLIKELY (bp1 == b0)) in mpn_mulmod_bnm1()
297 if (UNLIKELY (an + bn < rn)) in mpn_mulmod_bnm1()
H A Dsbpi1_div_qr.c69 if (UNLIKELY (n1 == d1) && np[1] == d0) in mpn_sbpi1_div_qr()
87 if (UNLIKELY (cy != 0)) in mpn_sbpi1_div_qr()
H A Ddcpi1_divappr_q.c64 if (UNLIKELY (ql != 0)) in mpn_dcpi1_divappr_q_n()
127 if (UNLIKELY (n2 == d1) && n1 == d0) in mpn_dcpi1_divappr_q()
148 if (UNLIKELY (cy != 0)) in mpn_dcpi1_divappr_q()
H A Dmu_div_q.c106 if (UNLIKELY (cy != 0)) in mpn_mu_div_q()
131 if (UNLIKELY (cy != 0)) in mpn_mu_div_q()
H A Dmod_1.c212 if (UNLIKELY ((b & GMP_NUMB_HIGHBIT) != 0)) in mpn_mod_1()
237 … else if (BELOW_THRESHOLD (n, MOD_1_2_TO_MOD_1_4_THRESHOLD) || UNLIKELY (b > GMP_NUMB_MASK / 4)) in mpn_mod_1()
/dragonfly/contrib/gmp/mpz/
H A Dclrbit.c40 if (UNLIKELY (dlimb == 0 && limb_index == dsize-1)) in mpz_clrbit()
77 if (UNLIKELY (d->_mp_alloc < limb_index + 1)) in mpz_clrbit()
102 if (UNLIKELY (d->_mp_alloc < dsize)) in mpz_clrbit()
H A Dsetbit.c43 if (UNLIKELY (d->_mp_alloc < limb_index + 1)) in mpz_setbit()
76 if (UNLIKELY (dlimb == 0 && limb_index == dsize-1)) in mpz_setbit()
102 if (UNLIKELY (d->_mp_alloc < dsize)) in mpz_setbit()
H A Dpowm.c77 if (UNLIKELY (es <= 0)) in mpz_powm()
104 if (UNLIKELY (bn == 0)) in mpz_powm()
114 if (UNLIKELY (en == 1 && ep[0] == 1)) in mpz_powm()
152 while (UNLIKELY (mp[0] == 0)) in mpz_powm()
H A Drealloc.c36 if (UNLIKELY (new_alloc > ULONG_MAX / GMP_NUMB_BITS)) in _mpz_realloc()
44 if (UNLIKELY (new_alloc > INT_MAX)) in _mpz_realloc()
H A Dget_d.c29 if (UNLIKELY (size == 0)) in mpz_get_d()
H A Ddivis.c29 if (UNLIKELY (dsize == 0)) in mpz_divisible_p()
H A Dinit2.c35 if (UNLIKELY (new_alloc > INT_MAX)) in mpz_init2()
H A Drealloc2.c35 if (UNLIKELY (new_alloc > INT_MAX)) in mpz_realloc2()
/dragonfly/contrib/gmp/mpf/
H A Dmul_ui.c90 if (UNLIKELY (v == 0) || UNLIKELY (usize == 0)) in mpf_mul_ui()
H A Dui_div.c44 if (UNLIKELY (vsize == 0)) in mpf_ui_div()
47 if (UNLIKELY (u == 0)) in mpf_ui_div()
H A Dget_d.c30 if (UNLIKELY (size == 0)) in mpf_get_d()
H A Dset_d.c39 if (UNLIKELY (d == 0)) in mpf_set_d()
/dragonfly/contrib/zstd/lib/common/
H A Dcompiler.h170 #define UNLIKELY(x) (__builtin_expect((x), 0)) macro
173 #define UNLIKELY(x) (x) macro

123