Searched refs:rep_t (Results 1 – 18 of 18) sorted by relevance
| /llvm-project-15.0.7/compiler-rt/lib/builtins/ |
| H A D | fp_lib.h | 44 typedef uint32_t rep_t; typedef 55 static __inline void wideMultiply(rep_t a, rep_t b, rep_t *hi, rep_t *lo) { in wideMultiply() 65 typedef uint64_t rep_t; typedef 89 static __inline void wideMultiply(rep_t a, rep_t b, rep_t *hi, rep_t *lo) { in wideMultiply() 111 typedef __uint128_t rep_t; typedef 158 static __inline void wideMultiply(rep_t a, rep_t b, rep_t *hi, rep_t *lo) { in wideMultiply() 228 rep_t i; in toRep() 236 rep_t i; in fromRep() 247 static __inline void wideLeftShift(rep_t *hi, rep_t *lo, int count) { in wideLeftShift() 252 static __inline void wideRightShiftWithSticky(rep_t *hi, rep_t *lo, in wideRightShiftWithSticky() [all …]
|
| H A D | floatsisf.c | 29 rep_t sign = 0; in __floatsisf() 37 rep_t result; in __floatsisf() 42 result = (rep_t)a << shift ^ implicitBit; in __floatsisf() 45 result = (rep_t)a >> shift ^ implicitBit; in __floatsisf() 46 rep_t round = (rep_t)a << (typeWidth - shift); in __floatsisf() 54 result += (rep_t)(exponent + exponentBias) << significandBits; in __floatsisf()
|
| H A D | floatunsisf.c | 30 rep_t result; in __floatunsisf() 35 result = (rep_t)a << shift ^ implicitBit; in __floatunsisf() 38 result = (rep_t)a >> shift ^ implicitBit; in __floatunsisf() 39 rep_t round = (rep_t)a << (typeWidth - shift); in __floatunsisf() 47 result += (rep_t)(exponent + exponentBias) << significandBits; in __floatunsisf()
|
| H A D | floatditf.c | 28 rep_t sign = 0; in __floatditf() 37 rep_t result; in __floatditf() 41 result = (rep_t)aAbs << shift ^ implicitBit; in __floatditf() 44 result += (rep_t)(exponent + exponentBias) << significandBits; in __floatditf()
|
| H A D | floatsitf.c | 28 rep_t sign = 0; in __floatsitf() 37 rep_t result; in __floatsitf() 41 result = (rep_t)aAbs << shift ^ implicitBit; in __floatsitf() 44 result += (rep_t)(exponent + exponentBias) << significandBits; in __floatsitf()
|
| H A D | floatsidf.c | 29 rep_t sign = 0; in __floatsidf() 37 rep_t result; in __floatsidf() 43 result = (rep_t)(su_int)a << shift ^ implicitBit; in __floatsidf() 46 result += (rep_t)(exponent + exponentBias) << significandBits; in __floatsidf()
|
| H A D | fp_div_impl.inc | 26 // Half the bit-size of rep_t 49 const rep_t aAbs = toRep(a) & absMask; 232 rep_t x_UQ0 = (rep_t)x_UQ0_hw << HW; 238 rep_t x_UQ0 = C - b_UQ1; 263 rep_t blo = b_UQ1 & loMask; 272 rep_t corr_UQ1 = 0U - ( (rep_t)x_UQ0_hw * b_UQ1_hw 275 rep_t lo_corr = corr_UQ1 & loMask; 276 rep_t hi_corr = corr_UQ1 >> HW; 339 rep_t quotient_UQ1, dummy; 345 rep_t residualLo; [all …]
|
| H A D | fp_add_impl.inc | 18 rep_t aRep = toRep(a); 19 rep_t bRep = toRep(b); 20 const rep_t aAbs = aRep & absMask; 21 const rep_t bAbs = bRep & absMask; 62 const rep_t temp = aRep; 70 rep_t aSignificand = aRep & significandMask; 71 rep_t bSignificand = bRep & significandMask; 82 const rep_t resultSign = aRep & signBit; 145 rep_t result = aSignificand >> 3 & significandMask; 148 result |= (rep_t)aExponent << significandBits;
|
| H A D | floatunsitf.c | 29 rep_t result; in __floatunsitf() 33 result = (rep_t)a << shift ^ implicitBit; in __floatunsitf() 36 result += (rep_t)(exponent + exponentBias) << significandBits; in __floatunsitf()
|
| H A D | floatunditf.c | 29 rep_t result; in __floatunditf() 33 result = (rep_t)a << shift ^ implicitBit; in __floatunditf() 36 result += (rep_t)(exponent + exponentBias) << significandBits; in __floatunditf()
|
| H A D | floatunsidf.c | 30 rep_t result; in __floatunsidf() 34 result = (rep_t)a << shift ^ implicitBit; in __floatunsidf() 37 result += (rep_t)(exponent + exponentBias) << significandBits; in __floatunsidf()
|
| H A D | fp_mul_impl.inc | 19 const rep_t productSign = (toRep(a) ^ toRep(b)) & signBit; 21 rep_t aSignificand = toRep(a) & significandMask; 22 rep_t bSignificand = toRep(b) & significandMask; 29 const rep_t aAbs = toRep(a) & absMask; 30 const rep_t bAbs = toRep(b) & absMask; 81 rep_t productHi, productLo; 114 productHi |= (rep_t)productExponent << significandBits;
|
| H A D | fp_compare_impl.inc | 47 const rep_t aAbs = aInt & absMask; 48 const rep_t bAbs = bInt & absMask; 91 const rep_t aAbs = aInt & absMask; 92 const rep_t bAbs = bInt & absMask; 116 const rep_t aAbs = toRep(a) & absMask; 117 const rep_t bAbs = toRep(b) & absMask;
|
| H A D | fp_fixuint_impl.inc | 18 const rep_t aRep = toRep(a); 19 const rep_t aAbs = aRep & absMask; 22 const rep_t significand = (aAbs & significandMask) | implicitBit;
|
| H A D | fp_fixint_impl.inc | 20 const rep_t aRep = toRep(a); 21 const rep_t aAbs = aRep & absMask; 24 const rep_t significand = (aAbs & significandMask) | implicitBit;
|
| /llvm-project-15.0.7/compiler-rt/test/builtins/Unit/ |
| H A D | compiler_rt_logbf_test.c | 43 rep_t x = signBit; in main()
|
| H A D | compiler_rt_logb_test.c | 49 rep_t x = signBit; in main()
|
| H A D | compiler_rt_logbl_test.c | 54 rep_t x = signBit; in main()
|