Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/test/builtins/Unit/
H A Dcompiler_rt_scalbnf_test.c19 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 Dcompiler_rt_scalbn_test.c19 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 Dcompiler_rt_scalbnl_test.c21 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 Dcompiler_rt_fmax_test.c17 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 Dcompiler_rt_fmaxf_test.c17 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 Dcompiler_rt_fmaxl_test.c19 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 Dcompiler_rt_logbf_test.c22 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 Dcompiler_rt_logb_test.c20 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 Dcompiler_rt_logbl_test.c24 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 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 Dnegsf2.c16 COMPILER_RT_ABI fp_t __negsf2(fp_t a) { return fromRep(toRep(a) ^ signBit); } in __negsf2()
H A Dnegdf2.c16 COMPILER_RT_ABI fp_t __negdf2(fp_t a) { return fromRep(toRep(a) ^ signBit); } in __negdf2()
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.h225 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 Dfp_fixuint_impl.inc18 const rep_t aRep = toRep(a);
H A Dfp_fixint_impl.inc20 const rep_t aRep = toRep(a);