• Home
  • Raw
  • Download

Lines Matching refs:hi

103 dw_reduce(mpd_uint_t hi, mpd_uint_t lo, mpd_uint_t m)  in dw_reduce()  argument
107 _mpd_div_word(&w, &r1, hi, m); in dw_reduce()
119 dw_submod(mpd_uint_t a, mpd_uint_t hi, mpd_uint_t lo, mpd_uint_t m) in dw_submod() argument
123 r = dw_reduce(hi, lo, m); in dw_submod()
154 mpd_uint_t hi, lo, x, y; in x64_mulmod() local
157 _mpd_mul_words(&hi, &lo, a, b); in x64_mulmod()
162 x = y = hi; in x64_mulmod()
163 hi >>= 32; in x64_mulmod()
166 if (x > lo) hi--; in x64_mulmod()
170 if (lo < y) hi++; in x64_mulmod()
173 x = y = hi; in x64_mulmod()
174 hi >>= 32; in x64_mulmod()
177 if (x > lo) hi--; in x64_mulmod()
181 if (lo < y) hi++; in x64_mulmod()
183 return (hi || lo >= m ? lo - m : lo); in x64_mulmod()
188 x = y = hi; in x64_mulmod()
189 hi >>= 30; in x64_mulmod()
192 if (x > lo) hi--; in x64_mulmod()
196 if (lo < y) hi++; in x64_mulmod()
199 x = y = hi; in x64_mulmod()
200 hi >>= 30; in x64_mulmod()
203 if (x > lo) hi--; in x64_mulmod()
207 if (lo < y) hi++; in x64_mulmod()
210 x = y = hi; in x64_mulmod()
211 hi >>= 30; in x64_mulmod()
214 if (x > lo) hi--; in x64_mulmod()
218 if (lo < y) hi++; in x64_mulmod()
220 return (hi || lo >= m ? lo - m : lo); in x64_mulmod()
225 x = y = hi; in x64_mulmod()
226 hi >>= 24; in x64_mulmod()
229 if (x > lo) hi--; in x64_mulmod()
233 if (lo < y) hi++; in x64_mulmod()
236 x = y = hi; in x64_mulmod()
237 hi >>= 24; in x64_mulmod()
240 if (x > lo) hi--; in x64_mulmod()
244 if (lo < y) hi++; in x64_mulmod()
247 x = y = hi; in x64_mulmod()
248 hi >>= 24; in x64_mulmod()
251 if (x > lo) hi--; in x64_mulmod()
255 if (lo < y) hi++; in x64_mulmod()
257 return (hi || lo >= m ? lo - m : lo); in x64_mulmod()
328 mpd_uint_t hi, lo, q, r; in std_mulmod() local
329 _mpd_mul_words(&hi, &lo, a, b); in std_mulmod()
330 _mpd_div_words(&q, &r, hi, lo, m); in std_mulmod()