Home
last modified time | relevance | path

Searched refs:tu_int (Results 1 – 25 of 37) sorted by relevance

12

/external/compiler-rt/test/builtins/Unit/
Dumodti3_test.c21 COMPILER_RT_ABI tu_int __umodti3(tu_int a, tu_int b);
23 int test__umodti3(tu_int a, tu_int b, tu_int expected_r) in test__umodti3()
25 tu_int r = __umodti3(a, b); in test__umodti3()
Dudivti3_test.c21 COMPILER_RT_ABI tu_int __udivti3(tu_int a, tu_int b);
23 int test__udivti3(tu_int a, tu_int b, tu_int expected_q) in test__udivti3()
25 tu_int q = __udivti3(a, b); in test__udivti3()
Dfixunstfti_test.c29 COMPILER_RT_ABI tu_int __fixunstfti(long double a);
31 int test__fixunstfti(long double a, tu_int expected) in test__fixunstfti()
33 tu_int x = __fixunstfti(a); in test__fixunstfti()
49 char assumption_1[sizeof(tu_int) == 4*sizeof(su_int)] = {0};
50 char assumption_2[sizeof(tu_int)*CHAR_BIT == 128] = {0};
Dfixunsxfti_test.c30 COMPILER_RT_ABI tu_int __fixunsxfti(long double a);
32 int test__fixunsxfti(long double a, tu_int expected) in test__fixunsxfti()
34 tu_int x = __fixunsxfti(a); in test__fixunsxfti()
47 char assumption_1[sizeof(tu_int) == 2*sizeof(du_int)] = {0};
48 char assumption_2[sizeof(tu_int)*CHAR_BIT == 128] = {0};
Dfixunssfti_test.c29 COMPILER_RT_ABI tu_int __fixunssfti(float a);
31 int test__fixunssfti(float a, tu_int expected) in test__fixunssfti()
33 tu_int x = __fixunssfti(a); in test__fixunssfti()
46 char assumption_1[sizeof(tu_int) == 2*sizeof(di_int)] = {0};
Ducmpti2_test.c23 COMPILER_RT_ABI si_int __ucmpti2(tu_int a, tu_int b);
25 int test__ucmpti2(tu_int a, tu_int b, si_int expected) in test__ucmpti2()
Dfixunsdfti_test.c29 COMPILER_RT_ABI tu_int __fixunsdfti(double a);
31 int test__fixunsdfti(double a, tu_int expected) in test__fixunsdfti()
33 tu_int x = __fixunsdfti(a); in test__fixunsdfti()
46 char assumption_1[sizeof(tu_int) == 2*sizeof(du_int)] = {0};
Dfloatuntisf_test.c27 COMPILER_RT_ABI float __floatuntisf(tu_int a);
29 int test__floatuntisf(tu_int a, float expected) in test__floatuntisf()
42 char assumption_1[sizeof(tu_int) == 2*sizeof(du_int)] = {0};
43 char assumption_2[sizeof(tu_int)*CHAR_BIT == 128] = {0};
Dfloatuntixf_test.c28 COMPILER_RT_ABI long double __floatuntixf(tu_int a);
30 int test__floatuntixf(tu_int a, long double expected) in test__floatuntixf()
43 char assumption_1[sizeof(tu_int) == 2*sizeof(du_int)] = {0};
44 char assumption_2[sizeof(tu_int)*CHAR_BIT == 128] = {0};
/external/compiler-rt/lib/builtins/
Dpopcountti2.c24 tu_int x3 = (tu_int)a; in __popcountti2()
25 x3 = x3 - ((x3 >> 1) & (((tu_int)0x5555555555555555uLL << 64) | in __popcountti2()
28 x3 = ((x3 >> 2) & (((tu_int)0x3333333333333333uLL << 64) | 0x3333333333333333uLL)) in __popcountti2()
29 + (x3 & (((tu_int)0x3333333333333333uLL << 64) | 0x3333333333333333uLL)); in __popcountti2()
32 & (((tu_int)0x0F0F0F0F0F0F0F0FuLL << 64) | 0x0F0F0F0F0F0F0F0FuLL); in __popcountti2()
Dumodti3.c21 COMPILER_RT_ABI tu_int
22 __umodti3(tu_int a, tu_int b) in __umodti3()
24 tu_int r; in __umodti3()
Dfixunsxfti.c32 COMPILER_RT_ABI tu_int
40 if ((unsigned)e > sizeof(tu_int) * CHAR_BIT) in __fixunsxfti()
41 return ~(tu_int)0; in __fixunsxfti()
42 tu_int r = fb.u.low.all; in __fixunsxfti()
Dfloatuntisf.c28 __floatuntisf(tu_int a) in __floatuntisf()
32 const unsigned N = sizeof(tu_int) * CHAR_BIT; in __floatuntisf()
54 ((a & ((tu_int)(-1) >> ((N + FLT_MANT_DIG+2) - sd))) != 0); in __floatuntisf()
61 if (a & ((tu_int)1 << FLT_MANT_DIG)) in __floatuntisf()
Dfloatuntidf.c28 __floatuntidf(tu_int a) in __floatuntidf()
32 const unsigned N = sizeof(tu_int) * CHAR_BIT; in __floatuntidf()
54 ((a & ((tu_int)(-1) >> ((N + DBL_MANT_DIG+2) - sd))) != 0); in __floatuntidf()
61 if (a & ((tu_int)1 << DBL_MANT_DIG)) in __floatuntidf()
Dfloatuntixf.c30 __floatuntixf(tu_int a) in __floatuntixf()
34 const unsigned N = sizeof(tu_int) * CHAR_BIT; in __floatuntixf()
56 ((a & ((tu_int)(-1) >> ((N + LDBL_MANT_DIG+2) - sd))) != 0); in __floatuntixf()
63 if (a & ((tu_int)1 << LDBL_MANT_DIG)) in __floatuntixf()
Dudivti3.c21 COMPILER_RT_ABI tu_int
22 __udivti3(tu_int a, tu_int b) in __udivti3()
Dint_lib.h86 COMPILER_RT_ABI tu_int __udivmodti4(tu_int a, tu_int b, tu_int* rem);
Dfloattisf.c55 a = ((tu_int)a >> (sd - (FLT_MANT_DIG+2))) | in __floattisf()
56 ((a & ((tu_int)(-1) >> ((N + FLT_MANT_DIG+2) - sd))) != 0); in __floattisf()
63 if (a & ((tu_int)1 << FLT_MANT_DIG)) in __floattisf()
Dfloattidf.c55 a = ((tu_int)a >> (sd - (DBL_MANT_DIG+2))) | in __floattidf()
56 ((a & ((tu_int)(-1) >> ((N + DBL_MANT_DIG+2) - sd))) != 0); in __floattidf()
63 if (a & ((tu_int)1 << DBL_MANT_DIG)) in __floattidf()
Dfloattixf.c57 a = ((tu_int)a >> (sd - (LDBL_MANT_DIG+2))) | in __floattixf()
58 ((a & ((tu_int)(-1) >> ((N + LDBL_MANT_DIG+2) - sd))) != 0); in __floattixf()
65 if (a & ((tu_int)1 << LDBL_MANT_DIG)) in __floattixf()
DREADME.txt73 tu_int __udivti3 (tu_int a, tu_int b); // a / b unsigned
79 tu_int __umodti3 (tu_int a, tu_int b); // a % b unsigned
81 tu_int __udivmodti4(tu_int a, tu_int b, tu_int* rem); // a / b, *rem = a % b unsigned
125 si_int __ucmpti2(tu_int a, tu_int b);
146 tu_int __fixunssfti( float a);
147 tu_int __fixunsdfti( double a);
148 tu_int __fixunsxfti(long double a);
165 float __floatuntisf(tu_int a);
166 double __floatuntidf(tu_int a);
167 long double __floatuntixf(tu_int a);
Dudivmodti4.c25 COMPILER_RT_ABI tu_int
26 __udivmodti4(tu_int a, tu_int b, tu_int* rem) in __udivmodti4()
29 const unsigned n_utword_bits = sizeof(tu_int) * CHAR_BIT; in __udivmodti4()
Dint_types.h71 typedef unsigned tu_int __attribute__ ((mode (TI))); typedef
90 tu_int all;
110 static __inline tu_int make_tu(du_int h, du_int l) { in make_tu()
Dfixunssfti.c19 typedef tu_int fixuint_t;
22 COMPILER_RT_ABI tu_int
Dfixunsdfti.c16 typedef tu_int fixuint_t;
19 COMPILER_RT_ABI tu_int

12