/external/compiler-rt/test/builtins/Unit/ |
D | udivmoddi4_test.c | 20 COMPILER_RT_ABI du_int __udivmoddi4(du_int a, du_int b, du_int* rem); 22 int test__udivmoddi4(du_int a, du_int b, du_int expected_q, du_int expected_r) in test__udivmoddi4() 24 du_int r; in test__udivmoddi4() 25 du_int q = __udivmoddi4(a, b, &r); in test__udivmoddi4() 34 du_int tests[][4] =
|
D | udivdi3_test.c | 19 COMPILER_RT_ABI du_int __udivdi3(du_int a, du_int b); 21 int test__udivdi3(du_int a, du_int b, du_int expected_q) in test__udivdi3() 23 du_int q = __udivdi3(a, b); in test__udivdi3()
|
D | umoddi3_test.c | 19 COMPILER_RT_ABI du_int __umoddi3(du_int a, du_int b); 21 int test__umoddi3(du_int a, du_int b, du_int expected_r) in test__umoddi3() 23 du_int r = __umoddi3(a, b); in test__umoddi3()
|
D | fixunsxfdi_test.c | 31 COMPILER_RT_ABI du_int __fixunsxfdi(long double a); 33 int test__fixunsxfdi(long double a, du_int expected) in test__fixunsxfdi() 35 du_int x = __fixunsxfdi(a); in test__fixunsxfdi() 42 char assumption_1[sizeof(du_int) == 2*sizeof(su_int)] = {0}; 43 char assumption_2[sizeof(du_int)*CHAR_BIT == 64] = {0};
|
D | fixunstfdi_test.c | 28 COMPILER_RT_ABI du_int __fixunstfdi(long double a); 30 int test__fixunstfdi(long double a, du_int expected) in test__fixunstfdi() 32 du_int x = __fixunstfdi(a); in test__fixunstfdi() 39 char assumption_1[sizeof(du_int) == 2*sizeof(su_int)] = {0}; 40 char assumption_2[sizeof(du_int)*CHAR_BIT == 64] = {0};
|
D | ucmpdi2_test.c | 21 COMPILER_RT_ABI si_int __ucmpdi2(du_int a, du_int b); 23 int test__ucmpdi2(du_int a, du_int b, si_int expected) in test__ucmpdi2()
|
D | floatundisf_test.c | 25 COMPILER_RT_ABI float __floatundisf(du_int a); 27 int test__floatundisf(du_int a, float expected) in test__floatundisf() 36 char assumption_1[sizeof(du_int) == 2*sizeof(si_int)] = {0}; 37 char assumption_2[sizeof(du_int)*CHAR_BIT == 64] = {0};
|
D | fixunssfdi_test.c | 27 COMPILER_RT_ABI du_int __fixunssfdi(float a); 29 int test__fixunssfdi(float a, du_int expected) in test__fixunssfdi() 31 du_int x = __fixunssfdi(a); in test__fixunssfdi() 38 char assumption_1[sizeof(du_int) == 2*sizeof(si_int)] = {0};
|
D | fixunsdfdi_test.c | 27 COMPILER_RT_ABI du_int __fixunsdfdi(double a); 29 int test__fixunsdfdi(double a, du_int expected) in test__fixunsdfdi() 31 du_int x = __fixunsdfdi(a); in test__fixunsdfdi() 37 char assumption_1[sizeof(du_int) == 2*sizeof(su_int)] = {0};
|
D | floatundixf_test.c | 27 COMPILER_RT_ABI long double __floatundixf(du_int a); 29 int test__floatundixf(du_int a, long double expected) in test__floatundixf() 38 char assumption_1[sizeof(du_int) == 2*sizeof(si_int)] = {0}; 39 char assumption_2[sizeof(du_int)*CHAR_BIT == 64] = {0};
|
/external/compiler-rt/lib/builtins/ |
D | int_types.h | 31 typedef unsigned long long du_int; typedef 50 du_int all; 79 du_int low; 83 du_int low; 94 du_int low; 95 du_int high; 97 du_int high; 98 du_int low; 110 static __inline tu_int make_tu(du_int h, du_int l) { in make_tu()
|
D | floatundidf.c | 33 __floatundidf(du_int a) in ARM_EABI_FNALIAS() 55 __floatundidf(du_int a) 59 const unsigned N = sizeof(du_int) * CHAR_BIT; 81 ((a & ((du_int)(-1) >> ((N + DBL_MANT_DIG+2) - sd))) != 0); 88 if (a & ((du_int)1 << DBL_MANT_DIG))
|
D | umoddi3.c | 19 COMPILER_RT_ABI du_int 20 __umoddi3(du_int a, du_int b) in __umoddi3() 22 du_int r; in __umoddi3()
|
D | fixunsdfdi.c | 21 COMPILER_RT_ABI du_int in ARM_EABI_FNALIAS() 27 return ((du_int)high << 32) | low; in ARM_EABI_FNALIAS() 36 typedef du_int fixuint_t; 39 COMPILER_RT_ABI du_int
|
D | fixunssfdi.c | 21 COMPILER_RT_ABI du_int in ARM_EABI_FNALIAS() 28 return ((du_int)high << 32) | low; in ARM_EABI_FNALIAS() 37 typedef du_int fixuint_t; 40 COMPILER_RT_ABI du_int
|
D | multi3.c | 23 __mulddi3(du_int a, du_int b) in __mulddi3() 27 const du_int lower_mask = (du_int)~0 >> bits_in_dword_2; in __mulddi3() 29 du_int t = r.s.low >> bits_in_dword_2; in __mulddi3()
|
D | floatundisf.c | 28 __floatundisf(du_int a) in ARM_EABI_FNALIAS() 32 const unsigned N = sizeof(du_int) * CHAR_BIT; in ARM_EABI_FNALIAS() 54 ((a & ((du_int)(-1) >> ((N + FLT_MANT_DIG+2) - sd))) != 0); in ARM_EABI_FNALIAS() 61 if (a & ((du_int)1 << FLT_MANT_DIG)) in ARM_EABI_FNALIAS()
|
D | udivdi3.c | 19 COMPILER_RT_ABI du_int 20 __udivdi3(du_int a, du_int b) in __udivdi3()
|
D | fixunsxfdi.c | 33 COMPILER_RT_ABI du_int 41 if ((unsigned)e > sizeof(du_int) * CHAR_BIT) in __fixunsxfdi() 42 return ~(du_int)0; in __fixunsxfdi()
|
D | floatditf.c | 30 du_int aAbs = (du_int)a; in __floatditf() 33 aAbs = ~(du_int)a + 1U; in __floatditf()
|
D | int_lib.h | 83 COMPILER_RT_ABI du_int __udivmoddi4(du_int a, du_int b, du_int* rem);
|
D | floatdisf.c | 55 a = ((du_int)a >> (sd - (FLT_MANT_DIG+2))) | in ARM_EABI_FNALIAS() 56 ((a & ((du_int)(-1) >> ((N + FLT_MANT_DIG+2) - sd))) != 0); in ARM_EABI_FNALIAS() 63 if (a & ((du_int)1 << FLT_MANT_DIG)) in ARM_EABI_FNALIAS()
|
D | README.txt | 29 typedef unsigned long long du_int; 72 du_int __udivdi3 (du_int a, du_int b); // a / b unsigned 78 du_int __umoddi3 (du_int a, du_int b); // a % b unsigned 80 du_int __udivmoddi4(du_int a, du_int b, du_int* rem); // a / b, *rem = a % b unsigned 124 si_int __ucmpdi2(du_int a, du_int b); 142 du_int __fixunssfdi( float a); 143 du_int __fixunsdfdi( double a); 144 du_int __fixunsxfdi(long double a); 160 float __floatundisf(du_int a); 161 double __floatundidf(du_int a); [all …]
|
D | floatdidf.c | 80 a = ((du_int)a >> (sd - (DBL_MANT_DIG+2))) | 81 ((a & ((du_int)(-1) >> ((N + DBL_MANT_DIG+2) - sd))) != 0); 88 if (a & ((du_int)1 << DBL_MANT_DIG))
|
D | udivmoddi4.c | 23 COMPILER_RT_ABI du_int 24 __udivmoddi4(du_int a, du_int b, du_int* rem) in __udivmoddi4() 27 const unsigned n_udword_bits = sizeof(du_int) * CHAR_BIT; in __udivmoddi4()
|