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

References

projects/compiler-rt/lib/builtins/udivmoddi4.c
   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;
   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 */ {
   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 >> __builtin_ctz(d.s.high);
   90     sr = __builtin_clz(d.s.high) - __builtin_clz(n.s.high);
  106     if (d.s.high == 0) {
  110       if ((d.s.low & (d.s.low - 1)) == 0) /* if d is a power of 2 */ {
  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 = __builtin_ctz(d.s.low);
  123       sr = 1 + n_uword_bits + __builtin_clz(d.s.low) - __builtin_clz(n.s.high);
  148       sr = __builtin_clz(d.s.high) - __builtin_clz(n.s.high);
  188     const di_int s = (di_int)(d.all - r.all - 1) >> (n_udword_bits - 1);
  190     r.all -= d.all & s;