Home
last modified time | relevance | path

Searched refs:n_uword_bits (Results 1 – 2 of 2) sorted by relevance

/external/compiler-rt/lib/builtins/
Dudivmoddi4.c26 const unsigned n_uword_bits = sizeof(su_int) * CHAR_BIT; in __udivmoddi4() local
104 if (sr > n_uword_bits - 2) in __udivmoddi4()
114 q.s.high = n.s.low << (n_uword_bits - sr); in __udivmoddi4()
117 r.s.low = (n.s.high << (n_uword_bits - sr)) | (n.s.low >> sr); in __udivmoddi4()
135 q.s.low = (n.s.high << (n_uword_bits - sr)) | (n.s.low >> sr); in __udivmoddi4()
142 sr = 1 + n_uword_bits + __builtin_clz(d.s.low) - __builtin_clz(n.s.high); in __udivmoddi4()
147 if (sr == n_uword_bits) in __udivmoddi4()
154 else if (sr < n_uword_bits) // 2 <= sr <= n_uword_bits - 1 in __udivmoddi4()
157 q.s.high = n.s.low << (n_uword_bits - sr); in __udivmoddi4()
159 r.s.low = (n.s.high << (n_uword_bits - sr)) | (n.s.low >> sr); in __udivmoddi4()
[all …]
Dudivsi3.c27 const unsigned n_uword_bits = sizeof(su_int) * CHAR_BIT; in ARM_EABI_FNALIAS() local
38 if (sr > n_uword_bits - 1) /* d > r */ in ARM_EABI_FNALIAS()
40 if (sr == n_uword_bits - 1) /* d == 1 */ in ARM_EABI_FNALIAS()
45 q = n << (n_uword_bits - sr); in ARM_EABI_FNALIAS()
51 r = (r << 1) | (q >> (n_uword_bits - 1)); in ARM_EABI_FNALIAS()
60 const si_int s = (si_int)(d - r - 1) >> (n_uword_bits - 1); in ARM_EABI_FNALIAS()