Home
last modified time | relevance | path

Searched refs:aAbs (Results 1 – 13 of 13) sorted by relevance

/external/compiler-rt/lib/builtins/
Dcomparetf2.c55 const rep_t aAbs = aInt & absMask; in __letf2() local
59 if (aAbs > infRep || bAbs > infRep) return LE_UNORDERED; in __letf2()
62 if ((aAbs | bAbs) == 0) return LE_EQUAL; in __letf2()
93 const rep_t aAbs = aInt & absMask; in __getf2() local
96 if (aAbs > infRep || bAbs > infRep) return GE_UNORDERED; in __getf2()
97 if ((aAbs | bAbs) == 0) return GE_EQUAL; in __getf2()
110 const rep_t aAbs = toRep(a) & absMask; in __unordtf2() local
112 return aAbs > infRep || bAbs > infRep; in __unordtf2()
Dcomparedf2.c55 const rep_t aAbs = aInt & absMask; in __ledf2() local
59 if (aAbs > infRep || bAbs > infRep) return LE_UNORDERED; in __ledf2()
62 if ((aAbs | bAbs) == 0) return LE_EQUAL; in __ledf2()
95 const rep_t aAbs = aInt & absMask; in __gedf2() local
98 if (aAbs > infRep || bAbs > infRep) return GE_UNORDERED; in __gedf2()
99 if ((aAbs | bAbs) == 0) return GE_EQUAL; in __gedf2()
115 const rep_t aAbs = toRep(a) & absMask; in ARM_EABI_FNALIAS() local
117 return aAbs > infRep || bAbs > infRep; in ARM_EABI_FNALIAS()
Dcomparesf2.c55 const rep_t aAbs = aInt & absMask; in __lesf2() local
59 if (aAbs > infRep || bAbs > infRep) return LE_UNORDERED; in __lesf2()
62 if ((aAbs | bAbs) == 0) return LE_EQUAL; in __lesf2()
95 const rep_t aAbs = aInt & absMask; in __gesf2() local
98 if (aAbs > infRep || bAbs > infRep) return GE_UNORDERED; in __gesf2()
99 if ((aAbs | bAbs) == 0) return GE_EQUAL; in __gesf2()
115 const rep_t aAbs = toRep(a) & absMask; in ARM_EABI_FNALIAS() local
117 return aAbs > infRep || bAbs > infRep; in ARM_EABI_FNALIAS()
Ddivsf3.c38 const rep_t aAbs = toRep(a) & absMask; in ARM_EABI_FNALIAS() local
42 if (aAbs > infRep) return fromRep(toRep(a) | quietBit); in ARM_EABI_FNALIAS()
46 if (aAbs == infRep) { in ARM_EABI_FNALIAS()
50 else return fromRep(aAbs | quotientSign); in ARM_EABI_FNALIAS()
56 if (!aAbs) { in ARM_EABI_FNALIAS()
68 if (aAbs < implicitBit) scale += normalize(&aSignificand); in ARM_EABI_FNALIAS()
Ddivdf3.c38 const rep_t aAbs = toRep(a) & absMask; in ARM_EABI_FNALIAS() local
42 if (aAbs > infRep) return fromRep(toRep(a) | quietBit); in ARM_EABI_FNALIAS()
46 if (aAbs == infRep) { in ARM_EABI_FNALIAS()
50 else return fromRep(aAbs | quotientSign); in ARM_EABI_FNALIAS()
56 if (!aAbs) { in ARM_EABI_FNALIAS()
68 if (aAbs < implicitBit) scale += normalize(&aSignificand); in ARM_EABI_FNALIAS()
Ddivtf3.c36 const rep_t aAbs = toRep(a) & absMask; in __divtf3() local
40 if (aAbs > infRep) return fromRep(toRep(a) | quietBit); in __divtf3()
44 if (aAbs == infRep) { in __divtf3()
48 else return fromRep(aAbs | quotientSign); in __divtf3()
54 if (!aAbs) { in __divtf3()
66 if (aAbs < implicitBit) scale += normalize(&aSignificand); in __divtf3()
Dfp_extend_impl.inc65 const src_rep_t aAbs = aRep & srcAbsMask;
71 if ((src_rep_t)(aAbs - srcMinNormal) < srcInfinity - srcMinNormal) {
75 absResult = (dst_rep_t)aAbs << (dstSigBits - srcSigBits);
79 else if (aAbs >= srcInfinity) {
85 absResult |= (dst_rep_t)(aAbs & srcQNaN) << (dstSigBits - srcSigBits);
86 absResult |= (dst_rep_t)(aAbs & srcNaNCode) << (dstSigBits - srcSigBits);
89 else if (aAbs) {
93 const int scale = src_rep_t_clz(aAbs) - src_rep_t_clz(srcMinNormal);
94 absResult = (dst_rep_t)aAbs << (dstSigBits - srcSigBits + scale);
Dfp_trunc_impl.inc75 const src_rep_t aAbs = aRep & srcAbsMask;
79 if (aAbs - underflow < aAbs - overflow) {
83 absResult = aAbs >> (srcSigBits - dstSigBits);
86 const src_rep_t roundBits = aAbs & roundMask;
94 else if (aAbs > srcInfinity) {
100 absResult |= ((aAbs & srcNaNCode) >> (srcSigBits - dstSigBits)) & dstNaNCode;
102 else if (aAbs >= overflow) {
110 const int aExp = aAbs >> srcSigBits;
Dfloatsitf.c30 unsigned aAbs = (unsigned)a; in __floatsitf() local
33 aAbs += 0x80000000; in __floatsitf()
44 result = (rep_t)aAbs << shift ^ implicitBit; in __floatsitf()
Dfp_mul_impl.inc29 const rep_t aAbs = toRep(a) & absMask;
33 if (aAbs > infRep) return fromRep(toRep(a) | quietBit);
37 if (aAbs == infRep) {
39 if (bAbs) return fromRep(aAbs | productSign);
46 if (aAbs) return fromRep(bAbs | productSign);
52 if (!aAbs) return fromRep(productSign);
59 if (aAbs < implicitBit) scale += normalize(&aSignificand);
Dfp_fixuint_impl.inc20 const rep_t aAbs = aRep & absMask;
22 const int exponent = (aAbs >> significandBits) - exponentBias;
23 const rep_t significand = (aAbs & significandMask) | implicitBit;
Dfp_add_impl.inc20 const rep_t aAbs = aRep & absMask;
24 if (aAbs - REP_C(1) >= infRep - REP_C(1) ||
27 if (aAbs > infRep) return fromRep(toRep(a) | quietBit);
31 if (aAbs == infRep) {
42 if (!aAbs) {
53 if (bAbs > aAbs) {
Dfp_fixint_impl.inc22 const rep_t aAbs = aRep & absMask;
24 const int exponent = (aAbs >> significandBits) - exponentBias;
25 const rep_t significand = (aAbs & significandMask) | implicitBit;