Lines Matching refs:hi
11 #define shift_left(hi, lo) \ argument
12 hi = (hi << 1) | (lo >> 31); \
15 #define shift_left_bits(hi, lo, bits) \ argument
17 hi = (hi << (bits)) | (lo >> (32 - (bits))); \
24 int32_t hi = fHi; in getClzAbs() local
28 if (hi < 0) in getClzAbs()
30 hi = -hi - Sk32ToBool(lo); in getClzAbs()
33 return hi ? SkCLZ(hi) : SkCLZ(lo) + 32; in getClzAbs()
106 int32_t hi = fHi; in shiftToMake32() local
109 if (hi < 0) // make it positive in shiftToMake32()
111 hi = -hi - Sk32ToBool(lo); in shiftToMake32()
115 if (hi == 0) in shiftToMake32()
118 return 33 - SkCLZ(hi); in shiftToMake32()
138 static inline int32_t round_right_16(int32_t hi, uint32_t lo) in round_right_16() argument
141 hi += (sum < lo); in round_right_16()
142 return (hi << 16) | (sum >> 16); in round_right_16()
203 int32_t hi = fHi; in div() local
205 int sign = denom ^ hi; in div()
208 if (hi < 0) in div()
210 hi = -hi - Sk32ToBool(lo); in div()
217 hi += (newLo < lo); in div()
221 if (hi == 0) // fast-case in div()
238 int nbits = SkCLZ(hi); in div()
248 shift_left_bits(hi, lo, nbits - 1); in div()
257 if ((uint32_t)denom <= (uint32_t)hi) in div()
259 hi -= denom; in div()
263 int32_t diff = (denom - hi - 1) >> 31; in div()
264 hi -= denom & diff; in div()
267 shift_left(hi, lo); in div()
286 uint32_t hi = fHi; in getSqrt() local
294 shift_left_2(sqr, hi, lo); in getSqrt()