reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/builtins/udivmodti4.c
   28   d.all = b;
   34     if (d.s.high == 0) {
   39         *rem = n.s.low % d.s.low;
   40       return n.s.low / d.s.low;
   50   if (d.s.low == 0) {
   51     if (d.s.high == 0) {
   56         *rem = n.s.high % d.s.low;
   57       return n.s.high / d.s.low;
   65         r.s.high = n.s.high % d.s.high;
   69       return n.s.high / d.s.high;
   74     if ((d.s.high & (d.s.high - 1)) == 0) /* if d is a power of 2 */ {
   74     if ((d.s.high & (d.s.high - 1)) == 0) /* if d is a power of 2 */ {
   77         r.s.high = n.s.high & (d.s.high - 1);
   80       return n.s.high >> __builtin_ctzll(d.s.high);
   85     sr = __builtin_clzll(d.s.high) - __builtin_clzll(n.s.high);
  101     if (d.s.high == 0) {
  105       if ((d.s.low & (d.s.low - 1)) == 0) /* if d is a power of 2 */ {
  105       if ((d.s.low & (d.s.low - 1)) == 0) /* if d is a power of 2 */ {
  107           *rem = n.s.low & (d.s.low - 1);
  108         if (d.s.low == 1)
  110         sr = __builtin_ctzll(d.s.low);
  118       sr = 1 + n_udword_bits + __builtin_clzll(d.s.low) -
  144       sr = __builtin_clzll(d.s.high) - __builtin_clzll(n.s.high);
  185     const ti_int s = (ti_int)(d.all - r.all - 1) >> (n_utword_bits - 1);
  187     r.all -= d.all & s;