Lines Matching defs:u1
50 * u = 2^n u1 * u0 (n = number of bits in `u_long', usu. 32)
58 * uv = 2^2n u1 v1 + 2^n u1 v0 + 2^n v1 u0 + u0 v0
59 * = 2^2n u1 v1 + 2^n (u1 v0 + v1 u0) + u0 v0
61 * Now add 2^n u1 v1 to the first term and subtract it from the middle,
65 * uv = (2^2n + 2^n) (u1 v1) +
66 * (2^n) (u1 v0 - u1 v1 + u0 v1 - u0 v0) +
71 * uv = (2^2n + 2^n) (u1 v1) + [u1v1 = high]
72 * (2^n) (u1 - u0) (v0 - v1) + [(u1-u0)... = mid]
75 * The terms (u1 v1), (u1 - u0) (v0 - v1), and (u0 v0) can all be done
77 * of (u1 - u0) or (v0 - v1) may be negative.)
109 #define u1 u.ul[H]
116 * u1, u0, v1, and v0 will be directly accessible through the
128 if (u1 == 0 && v1 == 0) {
130 * An (I hope) important optimization occurs when u1 and v1
144 if (u1 >= u0)
145 negmid = 0, udiff = u1 - u0;
147 negmid = 1, udiff = u0 - u1;
154 high = u1 * v1;
164 #undef u1
190 ulong_t u1, u0, v1, v0, udiff, vdiff, high, mid, low;
195 u1 = HHALF(u);
203 if (u1 == 0 && v1 == 0)
206 if (u1 >= u0)
207 udiff = u1 - u0, neg = 0;
209 udiff = u0 - u1, neg = 1;
216 high = u1 * v1;