Home
last modified time | relevance | path

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

12

/frameworks/compile/libbcc/runtime/lib/
Dumodti3.c19 tu_int __udivmodti4(tu_int a, tu_int b, tu_int* rem);
23 tu_int
24 __umodti3(tu_int a, tu_int b) in __umodti3()
26 tu_int r; in __umodti3()
Dudivti3.c19 tu_int __udivmodti4(tu_int a, tu_int b, tu_int* rem);
23 tu_int
24 __udivti3(tu_int a, tu_int b) in __udivti3()
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()
Dmodti3.c19 tu_int __udivmodti4(tu_int a, tu_int b, tu_int* rem);
32 __udivmodti4(a, b, (tu_int*)&r); in __modti3()
Ddivti3.c19 tu_int __udivmodti4(tu_int a, tu_int b, tu_int* rem);
32 return (__udivmodti4(a, b, (tu_int*)0) ^ s_a) - s_a; /* negate if s_a == -1 */ in __divti3()
Dfloatuntisf.c31 __floatuntisf(tu_int a) in __floatuntisf()
35 const unsigned N = sizeof(tu_int) * CHAR_BIT; in __floatuntisf()
57 ((a & ((tu_int)(-1) >> ((N + FLT_MANT_DIG+2) - sd))) != 0); in __floatuntisf()
64 if (a & ((tu_int)1 << FLT_MANT_DIG)) in __floatuntisf()
Dfloatuntidf.c31 __floatuntidf(tu_int a) in __floatuntidf()
35 const unsigned N = sizeof(tu_int) * CHAR_BIT; in __floatuntidf()
57 ((a & ((tu_int)(-1) >> ((N + DBL_MANT_DIG+2) - sd))) != 0); in __floatuntidf()
64 if (a & ((tu_int)1 << DBL_MANT_DIG)) in __floatuntidf()
Dfloatuntixf.c33 __floatuntixf(tu_int a) in __floatuntixf()
37 const unsigned N = sizeof(tu_int) * CHAR_BIT; in __floatuntixf()
59 ((a & ((tu_int)(-1) >> ((N + LDBL_MANT_DIG+2) - sd))) != 0); in __floatuntixf()
66 if (a & ((tu_int)1 << LDBL_MANT_DIG)) in __floatuntixf()
Dfloattisf.c58 a = ((tu_int)a >> (sd - (FLT_MANT_DIG+2))) | in __floattisf()
59 ((a & ((tu_int)(-1) >> ((N + FLT_MANT_DIG+2) - sd))) != 0); in __floattisf()
66 if (a & ((tu_int)1 << FLT_MANT_DIG)) in __floattisf()
Dfloattidf.c58 a = ((tu_int)a >> (sd - (DBL_MANT_DIG+2))) | in __floattidf()
59 ((a & ((tu_int)(-1) >> ((N + DBL_MANT_DIG+2) - sd))) != 0); in __floattidf()
66 if (a & ((tu_int)1 << DBL_MANT_DIG)) in __floattidf()
Dfloattixf.c60 a = ((tu_int)a >> (sd - (LDBL_MANT_DIG+2))) | in __floattixf()
61 ((a & ((tu_int)(-1) >> ((N + LDBL_MANT_DIG+2) - sd))) != 0); in __floattixf()
68 if (a & ((tu_int)1 << LDBL_MANT_DIG)) in __floattixf()
Dfixunssfti.c31 tu_int
39 tu_int r = (fb.u & 0x007FFFFF) | 0x00800000; in __fixunssfti()
Dint_lib.h69 typedef unsigned tu_int __attribute__ ((mode (TI))); typedef
88 tu_int all;
108 static inline tu_int make_tu(du_int h, du_int l) { in make_tu()
Dfixunsdfti.c31 tu_int
39 tu_int r = 0x0010000000000000uLL | (fb.u.all & 0x000FFFFFFFFFFFFFuLL); in __fixunsdfti()
Dfixunsxfti.c33 tu_int
41 tu_int r = fb.u.low.all; in __fixunsxfti()
Ducmpti2.c25 __ucmpti2(tu_int a, tu_int b) in __ucmpti2()
/frameworks/compile/libbcc/runtime/test/Unit/
Dumodti3_test.c21 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 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()
Dfixunsxfti_test.c30 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 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};
Dfixunsdfti_test.c29 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};
Ducmpti2_test.c23 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()
Dfloatuntisf_test.c27 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 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};
/frameworks/compile/libbcc/runtime/
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
112 si_int __ucmpti2(tu_int a, tu_int b);
133 tu_int __fixunssfti( float a);
134 tu_int __fixunsdfti( double a);
135 tu_int __fixunsxfti(long double a);
152 float __floatuntisf(tu_int a);
153 double __floatuntidf(tu_int a);
154 long double __floatuntixf(tu_int a);

12