/external/compiler-rt/lib/builtins/ |
D | divtf3.c | 27 const rep_t quotientSign = (toRep(a) ^ toRep(b)) & signBit; in __divtf3() 29 rep_t aSignificand = toRep(a) & significandMask; in __divtf3() 30 rep_t bSignificand = toRep(b) & significandMask; in __divtf3() 36 const rep_t aAbs = toRep(a) & absMask; in __divtf3() 37 const rep_t bAbs = toRep(b) & absMask; in __divtf3() 92 correction64 = -((rep_t)recip64 * q63b >> 64); in __divtf3() 93 recip64 = (rep_t)recip64 * correction64 >> 63; in __divtf3() 94 correction64 = -((rep_t)recip64 * q63b >> 64); in __divtf3() 95 recip64 = (rep_t)recip64 * correction64 >> 63; in __divtf3() 96 correction64 = -((rep_t)recip64 * q63b >> 64); in __divtf3() [all …]
|
D | fp_lib.h | 43 typedef uint32_t rep_t; typedef 49 static __inline int rep_clz(rep_t a) { in rep_clz() 54 static __inline void wideMultiply(rep_t a, rep_t b, rep_t *hi, rep_t *lo) { in wideMultiply() 63 typedef uint64_t rep_t; typedef 69 static __inline int rep_clz(rep_t a) { in rep_clz() 86 static __inline void wideMultiply(rep_t a, rep_t b, rep_t *hi, rep_t *lo) { in wideMultiply() 107 typedef __uint128_t rep_t; typedef 115 static __inline int rep_clz(rep_t a) { in rep_clz() 151 static __inline void wideMultiply(rep_t a, rep_t b, rep_t *hi, rep_t *lo) { in wideMultiply() 216 #define typeWidth (sizeof(rep_t)*CHAR_BIT) [all …]
|
D | floatsisf.c | 33 rep_t sign = 0; in ARM_EABI_FNALIAS() 41 rep_t result; in ARM_EABI_FNALIAS() 46 result = (rep_t)a << shift ^ implicitBit; in ARM_EABI_FNALIAS() 49 result = (rep_t)a >> shift ^ implicitBit; in ARM_EABI_FNALIAS() 50 rep_t round = (rep_t)a << (typeWidth - shift); in ARM_EABI_FNALIAS() 56 result += (rep_t)(exponent + exponentBias) << significandBits; in ARM_EABI_FNALIAS()
|
D | divsf3.c | 29 const rep_t quotientSign = (toRep(a) ^ toRep(b)) & signBit; in ARM_EABI_FNALIAS() 31 rep_t aSignificand = toRep(a) & significandMask; in ARM_EABI_FNALIAS() 32 rep_t bSignificand = toRep(b) & significandMask; in ARM_EABI_FNALIAS() 38 const rep_t aAbs = toRep(a) & absMask; in ARM_EABI_FNALIAS() 39 const rep_t bAbs = toRep(b) & absMask; in ARM_EABI_FNALIAS() 121 rep_t quotient = (uint64_t)reciprocal*(aSignificand << 1) >> 32; in ARM_EABI_FNALIAS() 136 rep_t residual; in ARM_EABI_FNALIAS() 161 rep_t absResult = quotient & significandMask; in ARM_EABI_FNALIAS() 163 absResult |= (rep_t)writtenExponent << significandBits; in ARM_EABI_FNALIAS()
|
D | divdf3.c | 29 const rep_t quotientSign = (toRep(a) ^ toRep(b)) & signBit; in ARM_EABI_FNALIAS() 31 rep_t aSignificand = toRep(a) & significandMask; in ARM_EABI_FNALIAS() 32 rep_t bSignificand = toRep(b) & significandMask; in ARM_EABI_FNALIAS() 38 const rep_t aAbs = toRep(a) & absMask; in ARM_EABI_FNALIAS() 39 const rep_t bAbs = toRep(b) & absMask; in ARM_EABI_FNALIAS() 135 rep_t quotient, quotientLo; in ARM_EABI_FNALIAS() 151 rep_t residual; in ARM_EABI_FNALIAS() 176 rep_t absResult = quotient & significandMask; in ARM_EABI_FNALIAS() 178 absResult |= (rep_t)writtenExponent << significandBits; in ARM_EABI_FNALIAS()
|
D | floatunsisf.c | 33 rep_t result; in ARM_EABI_FNALIAS() 38 result = (rep_t)a << shift ^ implicitBit; in ARM_EABI_FNALIAS() 41 result = (rep_t)a >> shift ^ implicitBit; in ARM_EABI_FNALIAS() 42 rep_t round = (rep_t)a << (typeWidth - shift); in ARM_EABI_FNALIAS() 48 result += (rep_t)(exponent + exponentBias) << significandBits; in ARM_EABI_FNALIAS()
|
D | comparedf2.c | 55 const rep_t aAbs = aInt & absMask; in __ledf2() 56 const rep_t bAbs = bInt & absMask; in __ledf2() 100 const rep_t aAbs = aInt & absMask; in __gedf2() 101 const rep_t bAbs = bInt & absMask; in __gedf2() 120 const rep_t aAbs = toRep(a) & absMask; in ARM_EABI_FNALIAS() 121 const rep_t bAbs = toRep(b) & absMask; in ARM_EABI_FNALIAS()
|
D | comparesf2.c | 55 const rep_t aAbs = aInt & absMask; in __lesf2() 56 const rep_t bAbs = bInt & absMask; in __lesf2() 100 const rep_t aAbs = aInt & absMask; in __gesf2() 101 const rep_t bAbs = bInt & absMask; in __gesf2() 120 const rep_t aAbs = toRep(a) & absMask; in ARM_EABI_FNALIAS() 121 const rep_t bAbs = toRep(b) & absMask; in ARM_EABI_FNALIAS()
|
D | comparetf2.c | 55 const rep_t aAbs = aInt & absMask; in __letf2() 56 const rep_t bAbs = bInt & absMask; in __letf2() 98 const rep_t aAbs = aInt & absMask; in __getf2() 99 const rep_t bAbs = bInt & absMask; in __getf2() 115 const rep_t aAbs = toRep(a) & absMask; in __unordtf2() 116 const rep_t bAbs = toRep(b) & absMask; in __unordtf2()
|
D | floatsitf.c | 29 rep_t sign = 0; in __floatsitf() 38 rep_t result; in __floatsitf() 42 result = (rep_t)aAbs << shift ^ implicitBit; in __floatsitf() 45 result += (rep_t)(exponent + exponentBias) << significandBits; in __floatsitf()
|
D | floatsidf.c | 33 rep_t sign = 0; in ARM_EABI_FNALIAS() 41 rep_t result; in ARM_EABI_FNALIAS() 47 result = (rep_t)(unsigned int)a << shift ^ implicitBit; in ARM_EABI_FNALIAS() 50 result += (rep_t)(exponent + exponentBias) << significandBits; in ARM_EABI_FNALIAS()
|
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; 54 const rep_t temp = aRep; 62 rep_t aSignificand = aRep & significandMask; 63 rep_t bSignificand = bRep & significandMask; 71 const rep_t resultSign = aRep & signBit; 133 rep_t result = aSignificand >> 3 & significandMask; 136 result |= (rep_t)aExponent << significandBits;
|
D | floatditf.c | 29 rep_t sign = 0; in __floatditf() 38 rep_t result; in __floatditf() 42 result = (rep_t)aAbs << shift ^ implicitBit; in __floatditf() 45 result += (rep_t)(exponent + exponentBias) << significandBits; in __floatditf()
|
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()
|
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()
|
D | floatunsidf.c | 33 rep_t result; in ARM_EABI_FNALIAS() 37 result = (rep_t)a << shift ^ implicitBit; in ARM_EABI_FNALIAS() 40 result += (rep_t)(exponent + exponentBias) << significandBits; in ARM_EABI_FNALIAS()
|
D | fp_mul_impl.inc | 20 const rep_t productSign = (toRep(a) ^ toRep(b)) & signBit; 22 rep_t aSignificand = toRep(a) & significandMask; 23 rep_t bSignificand = toRep(b) & significandMask; 29 const rep_t aAbs = toRep(a) & absMask; 30 const rep_t bAbs = toRep(b) & absMask; 74 rep_t productHi, productLo; 104 productHi |= (rep_t)productExponent << significandBits;
|
D | fp_fixuint_impl.inc | 19 const rep_t aRep = toRep(a); 20 const rep_t aAbs = aRep & absMask; 23 const rep_t significand = (aAbs & significandMask) | implicitBit;
|
D | fp_fixint_impl.inc | 21 const rep_t aRep = toRep(a); 22 const rep_t aAbs = aRep & absMask; 25 const rep_t significand = (aAbs & significandMask) | implicitBit;
|