Lines Matching refs:hi
20 #define shift_left(hi, lo) \ argument
21 hi = (hi << 1) | (lo >> 31); \
24 #define shift_left_bits(hi, lo, bits) \ argument
26 hi = (hi << (bits)) | (lo >> (32 - (bits))); \
33 int32_t hi = fHi; in getClzAbs() local
37 if (hi < 0) in getClzAbs()
39 hi = -hi - Sk32ToBool(lo); in getClzAbs()
42 return hi ? SkCLZ(hi) : SkCLZ(lo) + 32; in getClzAbs()
115 int32_t hi = fHi; in shiftToMake32() local
118 if (hi < 0) // make it positive in shiftToMake32()
120 hi = -hi - Sk32ToBool(lo); in shiftToMake32()
124 if (hi == 0) in shiftToMake32()
127 return 33 - SkCLZ(hi); in shiftToMake32()
147 static inline int32_t round_right_16(int32_t hi, uint32_t lo) in round_right_16() argument
150 hi += (sum < lo); in round_right_16()
151 return (hi << 16) | (sum >> 16); in round_right_16()
212 int32_t hi = fHi; in div() local
214 int sign = denom ^ hi; in div()
217 if (hi < 0) in div()
219 hi = -hi - Sk32ToBool(lo); in div()
226 hi += (newLo < lo); in div()
230 if (hi == 0) // fast-case in div()
247 int nbits = SkCLZ(hi); in div()
257 shift_left_bits(hi, lo, nbits - 1); in div()
266 if ((uint32_t)denom <= (uint32_t)hi) in div()
268 hi -= denom; in div()
272 int32_t diff = (denom - hi - 1) >> 31; in div()
273 hi -= denom & diff; in div()
276 shift_left(hi, lo); in div()
295 uint32_t hi = fHi; in getSqrt() local
303 shift_left_2(sqr, hi, lo); in getSqrt()