| /llvm-project-15.0.7/compiler-rt/test/builtins/Unit/ |
| H A D | compiler_rt_scalbnf_test.c | 19 if (toRep(crt_value) != toRep(libm_value) && in test__compiler_rt_scalbnf() 23 mode, x, toRep(x), y, crt_value, toRep(crt_value), in test__compiler_rt_scalbnf() 24 libm_value, toRep(libm_value)); in test__compiler_rt_scalbnf()
|
| H A D | compiler_rt_scalbn_test.c | 19 if (toRep(crt_value) != toRep(libm_value) && in test__compiler_rt_scalbn() 23 mode, x, (unsigned long long)toRep(x), y, in test__compiler_rt_scalbn() 24 crt_value, (unsigned long long)toRep(crt_value), in test__compiler_rt_scalbn() 25 libm_value, (unsigned long long)toRep(libm_value)); in test__compiler_rt_scalbn()
|
| H A D | compiler_rt_scalbnl_test.c | 21 if (toRep(crt_value) != toRep(libm_value) && in test__compiler_rt_scalbnl() 25 x_t.all = toRep(x); in test__compiler_rt_scalbnl() 26 crt_value_t.all = toRep(crt_value); in test__compiler_rt_scalbnl() 27 libm_value_t.all = toRep(libm_value); in test__compiler_rt_scalbnl()
|
| H A D | compiler_rt_fmax_test.c | 17 x, (unsigned long long)toRep(x), in test__compiler_rt_fmax() 18 y, (unsigned long long)toRep(y), in test__compiler_rt_fmax() 19 crt_value, (unsigned long long)toRep(crt_value), in test__compiler_rt_fmax() 20 libm_value, (unsigned long long)toRep(libm_value)); in test__compiler_rt_fmax()
|
| H A D | compiler_rt_fmaxf_test.c | 17 x, toRep(x), y, toRep(y), crt_value, toRep(crt_value), libm_value, in test__compiler_rt_fmaxf() 18 toRep(libm_value)); in test__compiler_rt_fmaxf()
|
| H A D | compiler_rt_fmaxl_test.c | 19 x_t.all = toRep(x); in test__compiler_rt_fmaxl() 20 y_t.all = toRep(y); in test__compiler_rt_fmaxl() 21 crt_value_t.all = toRep(crt_value); in test__compiler_rt_fmaxl() 22 libm_value_t.all = toRep(libm_value); in test__compiler_rt_fmaxl()
|
| H A D | compiler_rt_logbf_test.c | 22 toRep(x), crt_value, toRep(crt_value), libm_value, in test__compiler_rt_logbf() 23 toRep(libm_value)); in test__compiler_rt_logbf()
|
| H A D | compiler_rt_logb_test.c | 20 x, toRep(x), crt_value, toRep(crt_value), libm_value, in test__compiler_rt_logb() 21 toRep(libm_value)); in test__compiler_rt_logb()
|
| H A D | compiler_rt_logbl_test.c | 24 x_t.all = toRep(x); in test__compiler_rt_logbl() 25 crt_value_t.all = toRep(crt_value); in test__compiler_rt_logbl() 26 libm_value_t.all = toRep(libm_value); in test__compiler_rt_logbl()
|
| /llvm-project-15.0.7/compiler-rt/lib/builtins/ |
| H A D | fp_mul_impl.inc | 17 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 D | fp_add_impl.inc | 18 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 D | fp_compare_impl.inc | 45 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 D | fp_div_impl.inc | 37 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 D | negsf2.c | 16 COMPILER_RT_ABI fp_t __negsf2(fp_t a) { return fromRep(toRep(a) ^ signBit); } in __negsf2()
|
| H A D | negdf2.c | 16 COMPILER_RT_ABI fp_t __negdf2(fp_t a) { return fromRep(toRep(a) ^ signBit); } in __negdf2()
|
| H A D | subtf3.c | 21 return __addtf3(a, fromRep(toRep(b) ^ signBit)); in __subtf3()
|
| H A D | subdf3.c | 18 return __adddf3(a, fromRep(toRep(b) ^ signBit)); in __subdf3()
|
| H A D | subsf3.c | 18 return __addsf3(a, fromRep(toRep(b) ^ signBit)); in __subsf3()
|
| H A D | fp_lib.h | 225 static __inline rep_t toRep(fp_t x) { in toRep() function 274 rep_t rep = toRep(x); in __compiler_rt_logbX() 306 const rep_t rep = toRep(x); in __compiler_rt_scalbnX()
|
| H A D | fp_fixuint_impl.inc | 18 const rep_t aRep = toRep(a);
|
| H A D | fp_fixint_impl.inc | 20 const rep_t aRep = toRep(a);
|