Lines Matching defs:d
32 udwords d;
33 d.all = b;
39 if (d.s.high == 0) {
44 *rem = n.s.low % d.s.low;
45 return n.s.low / d.s.low;
55 if (d.s.low == 0) {
56 if (d.s.high == 0) {
61 *rem = n.s.high % d.s.low;
62 return n.s.high / d.s.low;
64 // d.s.high != 0
70 r.s.high = n.s.high % d.s.high;
74 return n.s.high / d.s.high;
79 if ((d.s.high & (d.s.high - 1)) == 0) /* if d is a power of 2 */ {
82 r.s.high = n.s.high & (d.s.high - 1);
85 return n.s.high >> ctzsi(d.s.high);
90 sr = clzsi(d.s.high) - clzsi(n.s.high);
105 } else /* d.s.low != 0 */ {
106 if (d.s.high == 0) {
110 if ((d.s.low & (d.s.low - 1)) == 0) /* if d is a power of 2 */ {
112 *rem = n.s.low & (d.s.low - 1);
113 if (d.s.low == 1)
115 sr = ctzsi(d.s.low);
123 sr = 1 + n_uword_bits + clzsi(d.s.low) - clzsi(n.s.high);
148 sr = clzsi(d.s.high) - clzsi(n.s.high);
183 // if (r.all >= d.all)
185 // r.all -= d.all;
188 const di_int s = (di_int)(d.all - r.all - 1) >> (n_udword_bits - 1);
190 r.all -= d.all & s;