Home
last modified time | relevance | path

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

12

/external/compiler-rt/lib/builtins/
Ddivsf3.c27 const unsigned int aExponent = toRep(a) >> significandBits & maxExponent; in ARM_EABI_FNALIAS()
28 const unsigned int bExponent = toRep(b) >> significandBits & maxExponent; in ARM_EABI_FNALIAS()
29 const rep_t quotientSign = (toRep(a) ^ toRep(b)) & signBit; in ARM_EABI_FNALIAS()
31 rep_t aSignificand = toRep(a) & significandMask; in ARM_EABI_FNALIAS()
32 rep_t bSignificand = toRep(b) & significandMask; in ARM_EABI_FNALIAS()
38 const rep_t aAbs = toRep(a) & absMask; in ARM_EABI_FNALIAS()
39 const rep_t bAbs = toRep(b) & absMask; in ARM_EABI_FNALIAS()
42 if (aAbs > infRep) return fromRep(toRep(a) | quietBit); in ARM_EABI_FNALIAS()
44 if (bAbs > infRep) return fromRep(toRep(b) | quietBit); in ARM_EABI_FNALIAS()
Ddivdf3.c27 const unsigned int aExponent = toRep(a) >> significandBits & maxExponent; in ARM_EABI_FNALIAS()
28 const unsigned int bExponent = toRep(b) >> significandBits & maxExponent; in ARM_EABI_FNALIAS()
29 const rep_t quotientSign = (toRep(a) ^ toRep(b)) & signBit; in ARM_EABI_FNALIAS()
31 rep_t aSignificand = toRep(a) & significandMask; in ARM_EABI_FNALIAS()
32 rep_t bSignificand = toRep(b) & significandMask; in ARM_EABI_FNALIAS()
38 const rep_t aAbs = toRep(a) & absMask; in ARM_EABI_FNALIAS()
39 const rep_t bAbs = toRep(b) & absMask; in ARM_EABI_FNALIAS()
42 if (aAbs > infRep) return fromRep(toRep(a) | quietBit); in ARM_EABI_FNALIAS()
44 if (bAbs > infRep) return fromRep(toRep(b) | quietBit); in ARM_EABI_FNALIAS()
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()
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()
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()
120 const rep_t aAbs = toRep(a) & absMask; in ARM_EABI_FNALIAS()
121 const rep_t bAbs = toRep(b) & absMask; in ARM_EABI_FNALIAS()
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()
120 const rep_t aAbs = toRep(a) & absMask; in ARM_EABI_FNALIAS()
121 const rep_t bAbs = toRep(b) & absMask; in ARM_EABI_FNALIAS()
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);
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));
Dnegdf2.c21 return fromRep(toRep(a) ^ signBit); in ARM_EABI_FNALIAS()
Dnegsf2.c21 return fromRep(toRep(a) ^ signBit); in ARM_EABI_FNALIAS()
Dsubdf3.c23 return __adddf3(a, fromRep(toRep(b) ^ signBit)); in ARM_EABI_FNALIAS()
Dsubsf3.c23 return __addsf3(a, fromRep(toRep(b) ^ signBit)); in ARM_EABI_FNALIAS()
Dsubtf3.c24 return __addtf3(a, fromRep(toRep(b) ^ signBit)); in __subtf3()
/external/llvm-project/compiler-rt/lib/builtins/
Dcomparetf2.c47 const srep_t aInt = toRep(a); in __letf2()
48 const srep_t bInt = toRep(b); in __letf2()
100 const srep_t aInt = toRep(a); in __getf2()
101 const srep_t bInt = toRep(b); in __getf2()
129 const rep_t aAbs = toRep(a) & absMask; in COMPILER_RT_ALIAS()
130 const rep_t bAbs = toRep(b) & absMask; in COMPILER_RT_ALIAS()
Dcomparesf2.c46 const srep_t aInt = toRep(a); in __lesf2()
47 const srep_t bInt = toRep(b); in __lesf2()
101 const srep_t aInt = toRep(a); in __gesf2()
102 const srep_t bInt = toRep(b); in __gesf2()
131 const rep_t aAbs = toRep(a) & absMask; in COMPILER_RT_ALIAS()
132 const rep_t bAbs = toRep(b) & absMask; in COMPILER_RT_ALIAS()
Dcomparedf2.c46 const srep_t aInt = toRep(a); in __ledf2()
47 const srep_t bInt = toRep(b); in __ledf2()
101 const srep_t aInt = toRep(a); in __gedf2()
102 const srep_t bInt = toRep(b); in __gedf2()
131 const rep_t aAbs = toRep(a) & absMask; in COMPILER_RT_ALIAS()
132 const rep_t bAbs = toRep(b) & absMask; in COMPILER_RT_ALIAS()
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);
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));
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);
Dnegsf2.c16 COMPILER_RT_ABI fp_t __negsf2(fp_t a) { return fromRep(toRep(a) ^ signBit); } in __negsf2()
Dnegdf2.c16 COMPILER_RT_ABI fp_t __negdf2(fp_t a) { return fromRep(toRep(a) ^ signBit); } in __negdf2()
Dsubtf3.c21 return __addtf3(a, fromRep(toRep(b) ^ signBit)); in __subtf3()
/external/llvm-project/compiler-rt/test/builtins/Unit/
Dcompiler_rt_logbf_test.c18 toRep(x), crt_value, toRep(crt_value), libm_value, in test__compiler_rt_logbf()
19 toRep(libm_value)); in test__compiler_rt_logbf()
Dcompiler_rt_logb_test.c16 x, toRep(x), crt_value, toRep(crt_value), libm_value, in test__compiler_rt_logb()
17 toRep(libm_value)); in test__compiler_rt_logb()
Dcompiler_rt_logbl_test.c20 x_t.all = toRep(x); in test__compiler_rt_logbl()
21 crt_value_t.all = toRep(crt_value); in test__compiler_rt_logbl()
22 libm_value_t.all = toRep(libm_value); in test__compiler_rt_logbl()

12