Lines Matching defs:d0
73 * in reply to ((((BN_ULLONG)n0)<<BN_BITS2)|n1)/d0 (I fail to
81 # define div_asm(n0,n1,d0) \
85 : "a"(n1), "d"(n0), "g"(d0) \
96 # define div_asm(n0,n1,d0) \
100 : "a"(n1), "d"(n0), "g"(d0) \
120 BN_ULONG d0, d1;
215 d0 = sdiv->d[div_n - 1];
259 if (n0 == d0) {
262 /* n0 < d0 */
267 q = (BN_ULONG)(((((BN_ULLONG)n0) << BN_BITS2) | n1) / d0);
269 q = div_asm(n0, n1, d0);
273 /* rem doesn't have to be BN_ULLONG. The least we know it's less that d0,
275 rem = (n1 - q * d0) & BN_MASK2;
285 rem += d0;
286 if (rem < d0) {
295 q = div_asm(n0, n1, d0);
297 q = bn_div_words(n0, n1, d0);
301 rem = (n1 - q * d0) & BN_MASK2;
325 rem += d0;
326 if (rem < d0) {