Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dfp_mul_impl.inc17 const unsigned int aExponent = toRep(a) >> significandBits & maxExponent;
18 const unsigned int bExponent = toRep(b) >> significandBits & maxExponent;
19 const rep_t productSign = (toRep(a) ^ toRep(b)) & signBit;
21 rep_t aSignificand = toRep(a) & significandMask;
22 rep_t bSignificand = toRep(b) & significandMask;
29 const rep_t aAbs = toRep(a) & absMask;
30 const rep_t bAbs = toRep(b) & absMask;
34 return fromRep(toRep(a) | quietBit);
37 return fromRep(toRep(b) | quietBit);
H A Dfp_add_impl.inc18 rep_t aRep = toRep(a);
19 rep_t bRep = toRep(b);
28 return fromRep(toRep(a) | quietBit);
31 return fromRep(toRep(b) | quietBit);
35 if ((toRep(a) ^ toRep(b)) == signBit)
50 return fromRep(toRep(a) & toRep(b));
H A Dfp_compare_impl.inc45 const srep_t aInt = toRep(a);
46 const srep_t bInt = toRep(b);
89 const srep_t aInt = toRep(a);
90 const srep_t bInt = toRep(b);
116 const rep_t aAbs = toRep(a) & absMask;
117 const rep_t bAbs = toRep(b) & absMask;
H A Dfp_div_impl.inc37 const unsigned int aExponent = toRep(a) >> significandBits & maxExponent;
38 const unsigned int bExponent = toRep(b) >> significandBits & maxExponent;
39 const rep_t quotientSign = (toRep(a) ^ toRep(b)) & signBit;
41 rep_t aSignificand = toRep(a) & significandMask;
42 rep_t bSignificand = toRep(b) & significandMask;
49 const rep_t aAbs = toRep(a) & absMask;
50 const rep_t bAbs = toRep(b) & absMask;
54 return fromRep(toRep(a) | quietBit);
57 return fromRep(toRep(b) | quietBit);
H A Dnegdf2.c16 COMPILER_RT_ABI fp_t __negdf2(fp_t a) { return fromRep(toRep(a) ^ signBit); } in __negdf2()
H A Dnegsf2.c16 COMPILER_RT_ABI fp_t __negsf2(fp_t a) { return fromRep(toRep(a) ^ signBit); } in __negsf2()
H A Dsubtf3.c21 return __addtf3(a, fromRep(toRep(b) ^ signBit)); in __subtf3()
H A Dsubdf3.c18 return __adddf3(a, fromRep(toRep(b) ^ signBit)); in __subdf3()
H A Dsubsf3.c18 return __addsf3(a, fromRep(toRep(b) ^ signBit)); in __subsf3()
H A Dfp_lib.h196 static __inline rep_t toRep(fp_t x) { in toRep() function
260 rep_t rep = toRep(x); in __compiler_rt_logbX()
292 const rep_t rep = toRep(x); in __compiler_rt_scalbnX()
H A Dfp_fixuint_impl.inc18 const rep_t aRep = toRep(a);
H A Dfp_fixint_impl.inc20 const rep_t aRep = toRep(a);