Lines Matching refs:rep_t
33 typedef uint32_t rep_t; typedef
41 static __inline int rep_clz(rep_t a) { return clzsi(a); } in rep_clz()
44 static __inline void wideMultiply(rep_t a, rep_t b, rep_t *hi, rep_t *lo) { in wideMultiply()
46 *hi = (rep_t)(product >> 32); in wideMultiply()
47 *lo = (rep_t)product; in wideMultiply()
54 typedef uint64_t rep_t; typedef
61 static inline int rep_clz(rep_t a) { return __builtin_clzll(a); } in rep_clz()
69 static __inline void wideMultiply(rep_t a, rep_t b, rep_t *hi, rep_t *lo) { in wideMultiply()
90 typedef __uint128_t rep_t; typedef
101 static __inline int rep_clz(rep_t a) { in rep_clz()
139 static __inline void wideMultiply(rep_t a, rep_t b, rep_t *hi, rep_t *lo) { in wideMultiply()
194 #define typeWidth (sizeof(rep_t) * CHAR_BIT)
196 static __inline rep_t toRep(fp_t x) { in toRep()
199 rep_t i; in toRep()
204 static __inline fp_t fromRep(rep_t x) { in fromRep()
207 rep_t i; in fromRep()
222 #define oneRep ((rep_t)exponentBias << significandBits)
227 static __inline int normalize(rep_t *significand) { in normalize()
233 static __inline void wideLeftShift(rep_t *hi, rep_t *lo, unsigned int count) { in wideLeftShift()
238 static __inline void wideRightShiftWithSticky(rep_t *hi, rep_t *lo, in wideRightShiftWithSticky()
260 rep_t rep = toRep(x); in __compiler_rt_logbX()
292 const rep_t rep = toRep(x); in __compiler_rt_scalbnX()
299 rep_t sig = rep & significandMask; in __compiler_rt_scalbnX()
311 const rep_t sign = rep & signBit; in __compiler_rt_scalbnX()
315 return fromRep(sign | ((rep_t)(maxExponent - 1) << significandBits)) * 2.0f; in __compiler_rt_scalbnX()
323 tmp *= fromRep((rep_t)exp << significandBits); in __compiler_rt_scalbnX()
326 return fromRep(sign | ((rep_t)exp << significandBits) | sig); in __compiler_rt_scalbnX()