/external/compiler-rt/test/builtins/Unit/ |
D | umodti3_test.c | 21 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()
|
D | udivti3_test.c | 21 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()
|
D | fixunstfti_test.c | 29 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};
|
D | fixunsxfti_test.c | 30 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};
|
D | fixunssfti_test.c | 29 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};
|
D | ucmpti2_test.c | 23 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()
|
D | fixunsdfti_test.c | 29 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};
|
D | floatuntisf_test.c | 27 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};
|
D | floatuntixf_test.c | 28 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/ |
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 | umodti3.c | 21 COMPILER_RT_ABI tu_int 22 __umodti3(tu_int a, tu_int b) in __umodti3() 24 tu_int r; in __umodti3()
|
D | fixunsxfti.c | 32 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()
|
D | floatuntisf.c | 28 __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()
|
D | floatuntidf.c | 28 __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()
|
D | floatuntixf.c | 30 __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()
|
D | udivti3.c | 21 COMPILER_RT_ABI tu_int 22 __udivti3(tu_int a, tu_int b) in __udivti3()
|
D | int_lib.h | 86 COMPILER_RT_ABI tu_int __udivmodti4(tu_int a, tu_int b, tu_int* rem);
|
D | floattisf.c | 55 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()
|
D | floattidf.c | 55 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()
|
D | floattixf.c | 57 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()
|
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);
|
D | udivmodti4.c | 25 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()
|
D | int_types.h | 71 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()
|
D | fixunssfti.c | 19 typedef tu_int fixuint_t; 22 COMPILER_RT_ABI tu_int
|
D | fixunsdfti.c | 16 typedef tu_int fixuint_t; 19 COMPILER_RT_ABI tu_int
|