Home
last modified time | relevance | path

Searched refs:GMP_NAIL_BITS (Results 1 – 25 of 179) sorted by relevance

12345678

/netbsd/external/lgpl3/gmp/dist/
H A Dextract-dbl.c169 #if GMP_NAIL_BITS == 0 in __gmp_extract_double()
182 if (sc > GMP_NAIL_BITS) in __gmp_extract_double()
191 rp[1] = manl >> GMP_NAIL_BITS; in __gmp_extract_double()
205 if (sc > GMP_NAIL_BITS) in __gmp_extract_double()
209 if (sc >= 2 * GMP_NAIL_BITS) in __gmp_extract_double()
218 rp[2] = manl >> GMP_NAIL_BITS; in __gmp_extract_double()
233 #if GMP_NAIL_BITS == 0 in __gmp_extract_double()
248 if (sc > GMP_NAIL_BITS) in __gmp_extract_double()
253 if (sc >= 2 * GMP_NAIL_BITS) in __gmp_extract_double()
262 rp[2] = manh >> GMP_NAIL_BITS; in __gmp_extract_double()
[all …]
/netbsd/external/lgpl3/gmp/dist/mpn/generic/
H A Ddivrem_1.c107 d <<= GMP_NAIL_BITS; in mpn_divrem_1()
121 r >>= GMP_NAIL_BITS; in mpn_divrem_1()
133 r >>= GMP_NAIL_BITS; in mpn_divrem_1()
139 r >>= GMP_NAIL_BITS; in mpn_divrem_1()
154 r >>= GMP_NAIL_BITS; in mpn_divrem_1()
160 r >>= GMP_NAIL_BITS; in mpn_divrem_1()
208 r >>= GMP_NAIL_BITS; in mpn_divrem_1()
213 r >>= GMP_NAIL_BITS; in mpn_divrem_1()
219 r >>= GMP_NAIL_BITS; in mpn_divrem_1()
237 r >>= GMP_NAIL_BITS; in mpn_divrem_1()
[all …]
H A Dmod_1.c114 d <<= GMP_NAIL_BITS; in mpn_mod_1_unnorm()
121 r >>= GMP_NAIL_BITS; in mpn_mod_1_unnorm()
138 r >>= GMP_NAIL_BITS; in mpn_mod_1_unnorm()
158 r >>= GMP_NAIL_BITS; in mpn_mod_1_unnorm()
162 r >>= GMP_NAIL_BITS; in mpn_mod_1_unnorm()
175 r >>= GMP_NAIL_BITS; in mpn_mod_1_unnorm()
179 r >>= GMP_NAIL_BITS; in mpn_mod_1_unnorm()
193 d <<= GMP_NAIL_BITS; in mpn_mod_1_norm()
202 r >>= GMP_NAIL_BITS; in mpn_mod_1_norm()
213 r >>= GMP_NAIL_BITS; in mpn_mod_1_norm()
[all …]
H A Daddmul_1.c39 #if GMP_NAIL_BITS == 0
76 #if GMP_NAIL_BITS == 1
89 shifted_v0 = v0 << GMP_NAIL_BITS; in mpn_addmul_1()
97 p0 >>= GMP_NAIL_BITS; in mpn_addmul_1()
112 #if GMP_NAIL_BITS >= 2
125 shifted_v0 = v0 << GMP_NAIL_BITS; in mpn_addmul_1()
133 p0 >>= GMP_NAIL_BITS; in mpn_addmul_1()
H A Dsubmul_1.c38 #if GMP_NAIL_BITS == 0
75 #if GMP_NAIL_BITS == 1
88 shifted_v0 = v0 << GMP_NAIL_BITS; in mpn_submul_1()
96 p0 >>= GMP_NAIL_BITS; in mpn_submul_1()
111 #if GMP_NAIL_BITS >= 2
124 shifted_v0 = v0 << GMP_NAIL_BITS; in mpn_submul_1()
132 p0 >>= GMP_NAIL_BITS; in mpn_submul_1()
H A Dsqrlo_basecase.c59 umul_ppmm ((rp)[2 * _i + 1], lpl, ul, ul << GMP_NAIL_BITS); \
60 (rp)[2 * _i] = lpl >> GMP_NAIL_BITS; \
129 umul_ppmm (hi, lo, ul, ul << GMP_NAIL_BITS); in mpn_sqrlo_basecase()
130 rp[0] = lo >> GMP_NAIL_BITS; in mpn_sqrlo_basecase()
140 #if GMP_NAIL_BITS != 0 in mpn_sqrlo_basecase()
143 umul_ppmm (hi1, lo, ul1 << GMP_NAIL_BITS, ul); in mpn_sqrlo_basecase()
145 #if GMP_NAIL_BITS == 0 in mpn_sqrlo_basecase()
149 hi += lo >> GMP_NAIL_BITS; in mpn_sqrlo_basecase()
H A Dget_d.c179 exp -= (lshift - GMP_NAIL_BITS) + 1; in mpn_get_d()
187 x <<= GMP_NAIL_BITS; in mpn_get_d()
195 x <<= GMP_NAIL_BITS; in mpn_get_d()
208 exp -= (lshift - GMP_NAIL_BITS) + 1; in mpn_get_d()
226 x <<= GMP_NAIL_BITS; in mpn_get_d()
230 nbits = nbits + 11 - GMP_NAIL_BITS; in mpn_get_d()
244 x <<= GMP_NAIL_BITS; in mpn_get_d()
252 x <<= GMP_NAIL_BITS; in mpn_get_d()
260 x <<= GMP_NAIL_BITS; in mpn_get_d()
H A Dsqr_basecase.c52 umul_ppmm ((rp)[2 * _i + 1], lpl, ul, ul << GMP_NAIL_BITS); \
53 (rp)[2 * _i] = lpl >> GMP_NAIL_BITS; \
104 umul_ppmm (rp[1], lpl, ul, ul << GMP_NAIL_BITS); in mpn_sqr_basecase()
105 rp[0] = lpl >> GMP_NAIL_BITS; in mpn_sqr_basecase()
184 umul_ppmm (rp[1], lpl, ul, ul << GMP_NAIL_BITS); in mpn_sqr_basecase()
185 rp[0] = lpl >> GMP_NAIL_BITS; in mpn_sqr_basecase()
296 umul_ppmm (rp[1], lpl, ul, ul << GMP_NAIL_BITS); in mpn_sqr_basecase()
297 rp[0] = lpl >> GMP_NAIL_BITS; in mpn_sqr_basecase()
336 umul_ppmm (rp[1], lpl, ul, ul << GMP_NAIL_BITS); in mpn_sqr_basecase()
337 rp[0] = lpl >> GMP_NAIL_BITS; in mpn_sqr_basecase()
H A Dmul_1.c36 #if GMP_NAIL_BITS == 0
64 #if GMP_NAIL_BITS >= 1
76 shifted_vl = vl << GMP_NAIL_BITS; in mpn_mul_1()
84 lpl >>= GMP_NAIL_BITS; in mpn_mul_1()
H A Dtdiv_qr.c80 cnt -= GMP_NAIL_BITS; in mpn_tdiv_qr()
123 cnt -= GMP_NAIL_BITS; in mpn_tdiv_qr()
227 cnt -= GMP_NAIL_BITS; in mpn_tdiv_qr()
263 udiv_qrnnd (q0, r0, n2p[1], n2p[0] << GMP_NAIL_BITS, d2p[0] << GMP_NAIL_BITS); in mpn_tdiv_qr()
264 n2p[0] = r0 >> GMP_NAIL_BITS; in mpn_tdiv_qr()
303 #if GMP_NAIL_BITS == 0 in mpn_tdiv_qr()
310 umul_ppmm (h, dummy, x, qp[qn - 1] << GMP_NAIL_BITS); in mpn_tdiv_qr()
H A Dadd_err3_n.c114 #if GMP_NAIL_BITS != 0 in mpn_add_err3_n()
115 eh1 = (eh1 << GMP_NAIL_BITS) + (el1 >> GMP_NUMB_BITS); in mpn_add_err3_n()
117 eh2 = (eh2 << GMP_NAIL_BITS) + (el2 >> GMP_NUMB_BITS); in mpn_add_err3_n()
119 eh3 = (eh3 << GMP_NAIL_BITS) + (el3 >> GMP_NUMB_BITS); in mpn_add_err3_n()
H A Dsub_err3_n.c114 #if GMP_NAIL_BITS != 0 in mpn_sub_err3_n()
115 eh1 = (eh1 << GMP_NAIL_BITS) + (el1 >> GMP_NUMB_BITS); in mpn_sub_err3_n()
117 eh2 = (eh2 << GMP_NAIL_BITS) + (el2 >> GMP_NUMB_BITS); in mpn_sub_err3_n()
119 eh3 = (eh3 << GMP_NAIL_BITS) + (el3 >> GMP_NUMB_BITS); in mpn_sub_err3_n()
H A Dadd_err2_n.c103 #if GMP_NAIL_BITS != 0 in mpn_add_err2_n()
104 eh1 = (eh1 << GMP_NAIL_BITS) + (el1 >> GMP_NUMB_BITS); in mpn_add_err2_n()
106 eh2 = (eh2 << GMP_NAIL_BITS) + (el2 >> GMP_NUMB_BITS); in mpn_add_err2_n()
H A Dsub_err2_n.c103 #if GMP_NAIL_BITS != 0 in mpn_sub_err2_n()
104 eh1 = (eh1 << GMP_NAIL_BITS) + (el1 >> GMP_NUMB_BITS); in mpn_sub_err2_n()
106 eh2 = (eh2 << GMP_NAIL_BITS) + (el2 >> GMP_NUMB_BITS); in mpn_sub_err2_n()
H A Dbdiv_dbm1c.c49 umul_ppmm (p1, p0, a, bd << GMP_NAIL_BITS); in mpn_bdiv_dbm1c()
50 p0 >>= GMP_NAIL_BITS; in mpn_bdiv_dbm1c()
/netbsd/external/lgpl3/gmp/dist/mpf/
H A Dcmp_ui.c54 #if GMP_NAIL_BITS != 0 in mpf_cmp_ui()
66 #if GMP_NAIL_BITS != 0 in mpf_cmp_ui()
69 if ((ulimb >> GMP_NAIL_BITS) != 0) in mpf_cmp_ui()
H A Dcmp_si.c72 #if GMP_NAIL_BITS != 0 in mpf_cmp_si()
84 #if GMP_NAIL_BITS != 0 in mpf_cmp_si()
87 if ((ulimb >> GMP_NAIL_BITS) != 0) in mpf_cmp_si()
H A Dfits_u.h58 #if GMP_NAIL_BITS != 0 in FUNCTION()
62 if ((fl >> GMP_NAIL_BITS) != 0) in FUNCTION()
H A Dfits_s.h56 #if GMP_NAIL_BITS != 0 in FUNCTION()
60 if ((fl >> GMP_NAIL_BITS) != 0) in FUNCTION()
/netbsd/external/lgpl3/gmp/dist/mpz/
H A Dfits_s.h47 #if GMP_NAIL_BITS != 0 in FUNCTION()
49 if ((p[1] >> GMP_NAIL_BITS) == 0) in FUNCTION()
H A Dcmp_ui.c57 #if GMP_NAIL_BITS != 0 in _mpz_cmp_ui()
64 if ((up[1] >> GMP_NAIL_BITS) != 0) in _mpz_cmp_ui()
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/coldfire/
H A Dconfig.m48 define(<GMP_NAIL_BITS>,0)
9 define(<GMP_NUMB_BITS>,eval(GMP_LIMB_BITS-GMP_NAIL_BITS))
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/or1k/
H A Dconfig.m48 define(<GMP_NAIL_BITS>,0)
9 define(<GMP_NUMB_BITS>,eval(GMP_LIMB_BITS-GMP_NAIL_BITS))
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/riscv32/
H A Dconfig.m49 define(<GMP_NAIL_BITS>,0)
10 define(<GMP_NUMB_BITS>,eval(GMP_LIMB_BITS-GMP_NAIL_BITS))
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/sh3el/
H A Dconfig.m49 define(<GMP_NAIL_BITS>,0)
10 define(<GMP_NUMB_BITS>,eval(GMP_LIMB_BITS-GMP_NAIL_BITS))

12345678