Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/compiler-rt/lib/builtins/
H A Ddivsf3.c25 const unsigned int aExponent = toRep(a) >> significandBits & maxExponent; in __divsf3()
26 const unsigned int bExponent = toRep(b) >> significandBits & maxExponent; in __divsf3()
27 const rep_t quotientSign = (toRep(a) ^ toRep(b)) & signBit; in __divsf3()
29 rep_t aSignificand = toRep(a) & significandMask; in __divsf3()
30 rep_t bSignificand = toRep(b) & significandMask; in __divsf3()
36 const rep_t aAbs = toRep(a) & absMask; in __divsf3()
37 const rep_t bAbs = toRep(b) & absMask; in __divsf3()
40 if (aAbs > infRep) return fromRep(toRep(a) | quietBit); in __divsf3()
42 if (bAbs > infRep) return fromRep(toRep(b) | quietBit); in __divsf3()
H A Ddivdf3.c25 const unsigned int aExponent = toRep(a) >> significandBits & maxExponent; in __divdf3()
26 const unsigned int bExponent = toRep(b) >> significandBits & maxExponent; in __divdf3()
27 const rep_t quotientSign = (toRep(a) ^ toRep(b)) & signBit; in __divdf3()
29 rep_t aSignificand = toRep(a) & significandMask; in __divdf3()
30 rep_t bSignificand = toRep(b) & significandMask; in __divdf3()
36 const rep_t aAbs = toRep(a) & absMask; in __divdf3()
37 const rep_t bAbs = toRep(b) & absMask; in __divdf3()
40 if (aAbs > infRep) return fromRep(toRep(a) | quietBit); in __divdf3()
42 if (bAbs > infRep) return fromRep(toRep(b) | quietBit); in __divdf3()
H A Ddivtf3.c25 const unsigned int aExponent = toRep(a) >> significandBits & maxExponent; in __divtf3()
26 const unsigned int bExponent = toRep(b) >> significandBits & maxExponent; in __divtf3()
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()
40 if (aAbs > infRep) return fromRep(toRep(a) | quietBit); in __divtf3()
42 if (bAbs > infRep) return fromRep(toRep(b) | quietBit); in __divtf3()
H A Dcomparetf2.c53 const srep_t aInt = toRep(a); in __letf2()
54 const srep_t bInt = toRep(b); in __letf2()
96 const srep_t aInt = toRep(a); in __getf2()
97 const srep_t bInt = toRep(b); in __getf2()
115 const rep_t aAbs = toRep(a) & absMask; in __unordtf2()
116 const rep_t bAbs = toRep(b) & absMask; in __unordtf2()
H A Dcomparedf2.c53 const srep_t aInt = toRep(a); in __ledf2()
54 const srep_t bInt = toRep(b); in __ledf2()
98 const srep_t aInt = toRep(a); in __gedf2()
99 const srep_t bInt = toRep(b); in __gedf2()
118 const rep_t aAbs = toRep(a) & absMask; in __unorddf2()
119 const rep_t bAbs = toRep(b) & absMask; in __unorddf2()
H A Dcomparesf2.c53 const srep_t aInt = toRep(a); in __lesf2()
54 const srep_t bInt = toRep(b); in __lesf2()
98 const srep_t aInt = toRep(a); in __gesf2()
99 const srep_t bInt = toRep(b); in __gesf2()
118 const rep_t aAbs = toRep(a) & absMask; in __unordsf2()
119 const rep_t bAbs = toRep(b) & absMask; in __unordsf2()
H A Dfp_mul_impl.inc18 const unsigned int aExponent = toRep(a) >> significandBits & maxExponent;
19 const unsigned int bExponent = toRep(b) >> significandBits & maxExponent;
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;
33 if (aAbs > infRep) return fromRep(toRep(a) | quietBit);
35 if (bAbs > infRep) return fromRep(toRep(b) | quietBit);
H A Dfp_add_impl.inc18 rep_t aRep = toRep(a);
19 rep_t bRep = toRep(b);
27 if (aAbs > infRep) return fromRep(toRep(a) | quietBit);
29 if (bAbs > infRep) return fromRep(toRep(b) | quietBit);
33 if ((toRep(a) ^ toRep(b)) == signBit) return fromRep(qnanRep);
44 if (!bAbs) return fromRep(toRep(a) & toRep(b));
H A Dsubtf3.c24 return __addtf3(a, fromRep(toRep(b) ^ signBit)); in __subtf3()
H A Dnegsf2.c19 return fromRep(toRep(a) ^ signBit); in __negsf2()
H A Dnegdf2.c19 return fromRep(toRep(a) ^ signBit); in __negdf2()
H A Dsubsf3.c21 return __addsf3(a, fromRep(toRep(b) ^ signBit)); in __subsf3()
H A Dsubdf3.c21 return __adddf3(a, fromRep(toRep(b) ^ signBit)); in __subdf3()
H A Dfp_fixuint_impl.inc19 const rep_t aRep = toRep(a);
H A Dfp_fixint_impl.inc21 const rep_t aRep = toRep(a);
H A Dfp_lib.h232 static __inline rep_t toRep(fp_t x) { in toRep() function
275 rep_t rep = toRep(x); in __compiler_rt_logbX()