OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ti_int
(Results
1 - 25
of
55
) sorted by null
1
2
3
/frameworks/compile/libbcc/runtime/lib/
negti2.c
21
ti_int
22
__negti2(
ti_int
a)
negvti2.c
24
ti_int
25
__negvti2(
ti_int
a)
27
const
ti_int
MIN = (
ti_int
)1 << ((int)(sizeof(
ti_int
) * CHAR_BIT)-1);
absvti2.c
24
ti_int
25
__absvti2(
ti_int
a)
27
const int N = (int)(sizeof(
ti_int
) * CHAR_BIT);
28
if (a == ((
ti_int
)1 << (N-1)))
30
const
ti_int
s = a >> (N - 1);
mulvti3.c
24
ti_int
25
__mulvti3(
ti_int
a,
ti_int
b)
27
const int N = (int)(sizeof(
ti_int
) * CHAR_BIT);
28
const
ti_int
MIN = (
ti_int
)1 << (N-1);
29
const
ti_int
MAX = ~MIN;
42
ti_int
sa = a >> (N - 1);
43
ti_int
abs_a = (a ^ sa) - sa;
44
ti_int
sb = b >> (N - 1)
[
all
...]
addvti3.c
24
ti_int
25
__addvti3(
ti_int
a,
ti_int
b)
27
ti_int
s = a + b;
subvti3.c
24
ti_int
25
__subvti3(
ti_int
a,
ti_int
b)
27
ti_int
s = a - b;
divti3.c
23
ti_int
24
__divti3(
ti_int
a,
ti_int
b)
26
const int bits_in_tword_m1 = (int)(sizeof(
ti_int
) * CHAR_BIT) - 1;
27
ti_int
s_a = a >> bits_in_tword_m1; /* s_a = a < 0 ? -1 : 0 */
28
ti_int
s_b = b >> bits_in_tword_m1; /* s_b = b < 0 ? -1 : 0 */
modti3.c
23
ti_int
24
__modti3(
ti_int
a,
ti_int
b)
26
const int bits_in_tword_m1 = (int)(sizeof(
ti_int
) * CHAR_BIT) - 1;
27
ti_int
s = b >> bits_in_tword_m1; /* s = b < 0 ? -1 : 0 */
31
ti_int
r;
fixdfti.c
23
* value in double is representable in
ti_int
(no range checking performed)
28
ti_int
36
ti_int
s = (si_int)(fb.u.s.high & 0x80000000) >> 31;
37
ti_int
r = 0x0010000000000000uLL | (0x000FFFFFFFFFFFFFuLL & fb.u.all);
fixsfti.c
23
* value in float is representable in
ti_int
(no range checking performed)
28
ti_int
36
ti_int
s = (si_int)(fb.u & 0x80000000) >> 31;
37
ti_int
r = (fb.u & 0x007FFFFF) | 0x00800000;
fixxfti.c
23
* value in long double is representable in
ti_int
(no range checking performed)
30
ti_int
38
ti_int
s = -(si_int)((fb.u.high.s.low & 0x00008000) >> 15);
39
ti_int
r = fb.u.low.all;
floattidf.c
23
*
ti_int
is a 128 bit integral type
28
si_int __clzti2(
ti_int
a);
31
__floattidf(
ti_int
a)
35
const unsigned N = sizeof(
ti_int
) * CHAR_BIT;
36
const
ti_int
s = a >> (N-1);
floattisf.c
23
*
ti_int
is a 128 bit integral type
28
si_int __clzti2(
ti_int
a);
31
__floattisf(
ti_int
a)
35
const unsigned N = sizeof(
ti_int
) * CHAR_BIT;
36
const
ti_int
s = a >> (N-1);
floattixf.c
23
*
ti_int
is a 128 bit integral type
30
si_int __clzti2(
ti_int
a);
33
__floattixf(
ti_int
a)
37
const unsigned N = sizeof(
ti_int
) * CHAR_BIT;
38
const
ti_int
s = a >> (N-1);
cmpti2.c
25
__cmpti2(
ti_int
a,
ti_int
b)
/frameworks/compile/libbcc/runtime/test/Unit/
parityti2_test.c
22
si_int __parityti2(
ti_int
a);
24
int naive_parity(
ti_int
a)
32
int test__parityti2(
ti_int
a)
46
char assumption_1[sizeof(
ti_int
) == 2*sizeof(di_int)] = {0};
56
if (test__parityti2(((
ti_int
)rand() << 96) + ((
ti_int
)rand() << 64) +
57
((
ti_int
)rand() << 32) + rand()))
divti3_test.c
21
ti_int
__divti3(
ti_int
a,
ti_int
b);
23
int test__divti3(
ti_int
a,
ti_int
b,
ti_int
expected)
25
ti_int
x = __divti3(a, b);
44
char assumption_1[sizeof(
ti_int
) == 2*sizeof(di_int)] = {0};
modti3_test.c
21
ti_int
__modti3(
ti_int
a,
ti_int
b);
23
int test__modti3(
ti_int
a,
ti_int
b,
ti_int
expected)
25
ti_int
x = __modti3(a, b);
44
char assumption_1[sizeof(
ti_int
) == 2*sizeof(di_int)] = {0};
absvti2_test.c
24
ti_int
__absvti2(
ti_int
a);
26
int test__absvti2(
ti_int
a)
28
ti_int
x = __absvti2(a);
29
ti_int
expected = a;
77
if (test__absvti2(make_ti(((
ti_int
)rand() << 32) | rand(),
78
((
ti_int
)rand() << 32) | rand())))
popcountti2_test.c
22
si_int __popcountti2(
ti_int
a);
24
int naive_popcount(
ti_int
a)
32
int test__popcountti2(
ti_int
a)
46
char assumption_1[sizeof(
ti_int
) == 2*sizeof(di_int)] = {0};
74
if (test__popcountti2(((
ti_int
)rand() << 96) | ((
ti_int
)rand() << 64) |
75
((
ti_int
)rand() << 32) | rand()))
subvti3_test.c
24
ti_int
__subvti3(
ti_int
a,
ti_int
b);
26
int test__subvti3(
ti_int
a,
ti_int
b)
28
ti_int
x = __subvti3(a, b);
29
ti_int
expected = a - b;
addvti3_test.c
23
ti_int
__addvti3(
ti_int
a,
ti_int
b);
25
int test__addvti3(
ti_int
a,
ti_int
b)
27
ti_int
x = __addvti3(a, b);
28
ti_int
expected = a + b;
negvti2_test.c
23
ti_int
__negvti2(
ti_int
a);
24
ti_int
__negti2(
ti_int
a);
26
int test__negvti2(
ti_int
a)
28
ti_int
x = __negvti2(a);
29
ti_int
expected = __negti2(a);
ctzti2_test.c
23
si_int __ctzti2(
ti_int
a);
25
int test__ctzti2(
ti_int
a, si_int expected)
38
char assumption_1[sizeof(
ti_int
) == 2*sizeof(di_int)] = {0};
ffsti2_test.c
22
si_int __ffsti2(
ti_int
a);
24
int test__ffsti2(
ti_int
a, si_int expected)
37
char assumption_1[sizeof(
ti_int
) == 2*sizeof(di_int)] = {0};
Completed in 1525 milliseconds
1
2
3