Home
last modified time | relevance | path

Searched refs:significandBits (Results 1 – 16 of 16) sorted by relevance

/external/compiler-rt/lib/builtins/
Dfloatunsisf.c36 if (exponent <= significandBits) { in ARM_EABI_FNALIAS()
37 const int shift = significandBits - exponent; in ARM_EABI_FNALIAS()
40 const int shift = exponent - significandBits; in ARM_EABI_FNALIAS()
48 result += (rep_t)(exponent + exponentBias) << significandBits; in ARM_EABI_FNALIAS()
Dfp_fixuint_impl.inc22 const int exponent = (aAbs >> significandBits) - exponentBias;
33 // If 0 <= exponent < significandBits, right shift to get the result.
35 if (exponent < significandBits)
36 return significand >> (significandBits - exponent);
38 return (fixuint_t)significand << (exponent - significandBits);
Dfloatsisf.c44 if (exponent <= significandBits) { in ARM_EABI_FNALIAS()
45 const int shift = significandBits - exponent; in ARM_EABI_FNALIAS()
48 const int shift = exponent - significandBits; in ARM_EABI_FNALIAS()
56 result += (rep_t)(exponent + exponentBias) << significandBits; in ARM_EABI_FNALIAS()
Dfp_fixint_impl.inc24 const int exponent = (aAbs >> significandBits) - exponentBias;
35 // If 0 <= exponent < significandBits, right shift to get the result.
37 if (exponent < significandBits)
38 return sign * (significand >> (significandBits - exponent));
40 return sign * ((fixint_t)significand << (exponent - significandBits));
Dfp_lib.h47 #define significandBits 23 macro
67 #define significandBits 52 macro
113 #define significandBits 112 macro
217 #define exponentBits (typeWidth - significandBits - 1)
221 #define implicitBit (REP_C(1) << significandBits)
223 #define signBit (REP_C(1) << (significandBits + exponentBits))
226 #define oneRep ((rep_t)exponentBias << significandBits)
Ddivsf3.c27 const unsigned int aExponent = toRep(a) >> significandBits & maxExponent; in ARM_EABI_FNALIAS()
28 const unsigned int bExponent = toRep(b) >> significandBits & maxExponent; in ARM_EABI_FNALIAS()
163 absResult |= (rep_t)writtenExponent << significandBits; in ARM_EABI_FNALIAS()
Dfloatunsitf.c32 const int shift = significandBits - exponent; in __floatunsitf()
36 result += (rep_t)(exponent + exponentBias) << significandBits; in __floatunsitf()
Dfloatunditf.c32 const int shift = significandBits - exponent; in __floatunditf()
36 result += (rep_t)(exponent + exponentBias) << significandBits; in __floatunditf()
Dfloatunsidf.c36 const int shift = significandBits - exponent; in ARM_EABI_FNALIAS()
40 result += (rep_t)(exponent + exponentBias) << significandBits; in ARM_EABI_FNALIAS()
Dfloatsitf.c41 const int shift = significandBits - exponent; in __floatsitf()
45 result += (rep_t)(exponent + exponentBias) << significandBits; in __floatsitf()
Dfloatsidf.c46 const int shift = significandBits - exponent; in ARM_EABI_FNALIAS()
50 result += (rep_t)(exponent + exponentBias) << significandBits; in ARM_EABI_FNALIAS()
Dfloatditf.c41 const int shift = significandBits - exponent; in __floatditf()
45 result += (rep_t)(exponent + exponentBias) << significandBits; in __floatditf()
Ddivdf3.c27 const unsigned int aExponent = toRep(a) >> significandBits & maxExponent; in ARM_EABI_FNALIAS()
28 const unsigned int bExponent = toRep(b) >> significandBits & maxExponent; in ARM_EABI_FNALIAS()
178 absResult |= (rep_t)writtenExponent << significandBits; in ARM_EABI_FNALIAS()
Ddivtf3.c25 const unsigned int aExponent = toRep(a) >> significandBits & maxExponent; in __divtf3()
26 const unsigned int bExponent = toRep(b) >> significandBits & maxExponent; in __divtf3()
194 absResult |= (rep_t)writtenExponent << significandBits; in __divtf3()
Dfp_add_impl.inc60 int aExponent = aRep >> significandBits & maxExponent;
61 int bExponent = bRep >> significandBits & maxExponent;
136 result |= (rep_t)aExponent << significandBits;
Dfp_mul_impl.inc18 const unsigned int aExponent = toRep(a) >> significandBits & maxExponent;
19 const unsigned int bExponent = toRep(b) >> significandBits & maxExponent;
104 productHi |= (rep_t)productExponent << significandBits;