Home
last modified time | relevance | path

Searched refs:rep_t (Results 1 – 19 of 19) sorted by relevance

/external/compiler-rt/lib/builtins/
Ddivtf3.c27 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 …]
Dfp_lib.h43 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 …]
Dfloatsisf.c33 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()
Ddivsf3.c29 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()
Ddivdf3.c29 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()
Dfloatunsisf.c33 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()
Dcomparedf2.c55 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()
Dcomparesf2.c55 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()
Dcomparetf2.c55 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()
Dfloatsitf.c29 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()
Dfloatsidf.c33 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()
Dfp_add_impl.inc18 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;
Dfloatditf.c29 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()
Dfloatunsitf.c29 rep_t result; in __floatunsitf()
33 result = (rep_t)a << shift ^ implicitBit; in __floatunsitf()
36 result += (rep_t)(exponent + exponentBias) << significandBits; in __floatunsitf()
Dfloatunditf.c29 rep_t result; in __floatunditf()
33 result = (rep_t)a << shift ^ implicitBit; in __floatunditf()
36 result += (rep_t)(exponent + exponentBias) << significandBits; in __floatunditf()
Dfloatunsidf.c33 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()
Dfp_mul_impl.inc20 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;
Dfp_fixuint_impl.inc19 const rep_t aRep = toRep(a);
20 const rep_t aAbs = aRep & absMask;
23 const rep_t significand = (aAbs & significandMask) | implicitBit;
Dfp_fixint_impl.inc21 const rep_t aRep = toRep(a);
22 const rep_t aAbs = aRep & absMask;
25 const rep_t significand = (aAbs & significandMask) | implicitBit;