/external/compiler-rt/lib/ |
D | umodti3.c | 19 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()
|
D | udivti3.c | 19 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()
|
D | popcountti2.c | 24 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()
|
D | modti3.c | 19 tu_int __udivmodti4(tu_int a, tu_int b, tu_int* rem); 32 __udivmodti4(a, b, (tu_int*)&r); in __modti3()
|
D | divti3.c | 19 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()
|
D | floatuntisf.c | 30 __floatuntisf(tu_int a) in __floatuntisf() 34 const unsigned N = sizeof(tu_int) * CHAR_BIT; in __floatuntisf() 56 ((a & ((tu_int)(-1) >> ((N + FLT_MANT_DIG+2) - sd))) != 0); in __floatuntisf() 63 if (a & ((tu_int)1 << FLT_MANT_DIG)) in __floatuntisf()
|
D | floatuntidf.c | 30 __floatuntidf(tu_int a) in __floatuntidf() 34 const unsigned N = sizeof(tu_int) * CHAR_BIT; in __floatuntidf() 56 ((a & ((tu_int)(-1) >> ((N + DBL_MANT_DIG+2) - sd))) != 0); in __floatuntidf() 63 if (a & ((tu_int)1 << DBL_MANT_DIG)) in __floatuntidf()
|
D | floatuntixf.c | 32 __floatuntixf(tu_int a) in __floatuntixf() 36 const unsigned N = sizeof(tu_int) * CHAR_BIT; in __floatuntixf() 58 ((a & ((tu_int)(-1) >> ((N + LDBL_MANT_DIG+2) - sd))) != 0); in __floatuntixf() 65 if (a & ((tu_int)1 << LDBL_MANT_DIG)) in __floatuntixf()
|
D | floattisf.c | 57 a = ((tu_int)a >> (sd - (FLT_MANT_DIG+2))) | in __floattisf() 58 ((a & ((tu_int)(-1) >> ((N + FLT_MANT_DIG+2) - sd))) != 0); in __floattisf() 65 if (a & ((tu_int)1 << FLT_MANT_DIG)) in __floattisf()
|
D | floattixf.c | 59 a = ((tu_int)a >> (sd - (LDBL_MANT_DIG+2))) | in __floattixf() 60 ((a & ((tu_int)(-1) >> ((N + LDBL_MANT_DIG+2) - sd))) != 0); in __floattixf() 67 if (a & ((tu_int)1 << LDBL_MANT_DIG)) in __floattixf()
|
D | floattidf.c | 57 a = ((tu_int)a >> (sd - (DBL_MANT_DIG+2))) | in __floattidf() 58 ((a & ((tu_int)(-1) >> ((N + DBL_MANT_DIG+2) - sd))) != 0); in __floattidf() 65 if (a & ((tu_int)1 << DBL_MANT_DIG)) in __floattidf()
|
D | int_types.h | 62 typedef unsigned tu_int __attribute__ ((mode (TI))); typedef 81 tu_int all; 101 static inline tu_int make_tu(du_int h, du_int l) { in make_tu()
|
D | fixunssfti.c | 31 tu_int 39 tu_int r = (fb.u & 0x007FFFFF) | 0x00800000; in __fixunssfti()
|
D | fixunsdfti.c | 31 tu_int 39 tu_int r = 0x0010000000000000uLL | (fb.u.all & 0x000FFFFFFFFFFFFFuLL); in __fixunsdfti()
|
D | fixunsxfti.c | 33 tu_int 41 tu_int r = fb.u.low.all; in __fixunsxfti()
|
D | udivmodti4.c | 25 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()
|
/external/compiler-rt/test/Unit/ |
D | umodti3_test.c | 21 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()
|
D | udivti3_test.c | 21 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()
|
D | fixunsxfti_test.c | 30 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};
|
D | fixunssfti_test.c | 29 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};
|
D | fixunsdfti_test.c | 29 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};
|
D | ucmpti2_test.c | 23 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()
|
D | floatuntisf_test.c | 27 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};
|
D | floatuntixf_test.c | 28 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/ |
D | README.txt | 73 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);
|