Home
last modified time | relevance | path

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

12

/external/llvm-project/compiler-rt/lib/builtins/arm/
Daddsf3.S16 #define significandBits 23 macro
37 lsrs r6, r2, #(significandBits)
38 lsrs r7, r3, #(significandBits)
56 lsls r4, r0, #(typeWidth - significandBits)
57 lsrs r4, r4, #(typeWidth - significandBits - 3) // aSignificand << 3
58 lsls r5, r1, #(typeWidth - significandBits)
59 lsrs r5, r5, #(typeWidth - significandBits - 3) // bSignificand << 3
63 lsls r6, r6, #(significandBits + 3)
66 lsrs r2, r2, #(significandBits)
72 lsrs r3, r3, #(significandBits)
[all …]
/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()
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_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);
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)
Dfloatunsitf.c32 const int shift = significandBits - exponent; in __floatunsitf()
36 result += (rep_t)(exponent + exponentBias) << significandBits; in __floatunsitf()
Dfloatunsidf.c36 const int shift = significandBits - exponent; in ARM_EABI_FNALIAS()
40 result += (rep_t)(exponent + exponentBias) << significandBits; in ARM_EABI_FNALIAS()
Dfloatunditf.c32 const int shift = significandBits - exponent; in __floatunditf()
36 result += (rep_t)(exponent + exponentBias) << significandBits; in __floatunditf()
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()
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()
Dfloatditf.c41 const int shift = significandBits - exponent; in __floatditf()
45 result += (rep_t)(exponent + exponentBias) << significandBits; in __floatditf()
/external/llvm-project/compiler-rt/lib/builtins/
Dfloatunsisf.c33 if (exponent <= significandBits) { in __floatunsisf()
34 const int shift = significandBits - exponent; in __floatunsisf()
37 const int shift = exponent - significandBits; in __floatunsisf()
47 result += (rep_t)(exponent + exponentBias) << significandBits; in __floatunsisf()
Dfloatsisf.c40 if (exponent <= significandBits) { in __floatsisf()
41 const int shift = significandBits - exponent; in __floatsisf()
44 const int shift = exponent - significandBits; in __floatsisf()
54 result += (rep_t)(exponent + exponentBias) << significandBits; in __floatsisf()
Dfp_fixint_impl.inc23 const int exponent = (aAbs >> significandBits) - exponentBias;
34 // If 0 <= exponent < significandBits, right shift to get the result.
36 if (exponent < significandBits)
37 return sign * (significand >> (significandBits - exponent));
39 return sign * ((fixint_t)significand << (exponent - significandBits));
Dfp_fixuint_impl.inc21 const int exponent = (aAbs >> significandBits) - exponentBias;
32 // If 0 <= exponent < significandBits, right shift to get the result.
34 if (exponent < significandBits)
35 return significand >> (significandBits - exponent);
37 return (fixuint_t)significand << (exponent - significandBits);
Dfp_lib.h50 #define significandBits 23 macro
70 #define significandBits 52 macro
118 #define significandBits 112 macro
211 #define exponentBits (typeWidth - significandBits - 1)
215 #define implicitBit (REP_C(1) << significandBits)
217 #define signBit (REP_C(1) << (significandBits + exponentBits))
220 #define oneRep ((rep_t)exponentBias << significandBits)
275 int exp = (rep & exponentMask) >> significandBits; in __compiler_rt_logbX()
298 exp = (rep & exponentMask) >> significandBits; in __compiler_rt_logbX()
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()
Dfloatsitf.c40 const int shift = significandBits - exponent; in __floatsitf()
44 result += (rep_t)(exponent + exponentBias) << significandBits; in __floatsitf()
Dfloatunsidf.c33 const int shift = significandBits - exponent; in __floatunsidf()
37 result += (rep_t)(exponent + exponentBias) << significandBits; in __floatunsidf()
Dfloatditf.c40 const int shift = significandBits - exponent; in __floatditf()
44 result += (rep_t)(exponent + exponentBias) << significandBits; in __floatditf()
/external/llvm-project/flang/include/flang/Evaluate/
Dreal.h48 using Details::significandBits;
79 GetSignificand().BTEST(significandBits - 1); in IsQuietNaN()
82 return IsNotANumber() && !GetSignificand().BTEST(significandBits - 1); in IsSignalingNaN()
166 .SHIFTL(significandBits) in NotANumber()
167 .IBSET(significandBits - 1) in NotANumber()
168 .IBSET(significandBits - 2)}; in NotANumber()
173 infinity = infinity.SHIFTL(significandBits); in Infinity()
195 int bitsLost{bitsNeeded - significandBits};
286 return word_.IBITS(significandBits, exponentBits).ToUInt64(); in Exponent()
297 return result.IBSET(significandBits); in GetFraction()
[all …]
/external/llvm-project/flang/include/flang/Decimal/
Dbinary-floating-point.h36 using Details::significandBits;
40 static constexpr RawType significandMask{(RawType{1} << significandBits) - 1};
63 (raw_ >> significandBits) & ((1 << exponentBits) - 1)); in BiasedExponent()
73 sig |= RawType{1} << significandBits; in Fraction()
118 raw_ |= RawType{1} << (significandBits - 1); in InsertExplicitMSB()

12