Home
last modified time | relevance | path

Searched refs:s_a (Results 1 – 2 of 2) sorted by relevance

/arm-trusted-firmware-2.8.0/lib/compiler-rt/builtins/
A Ddivmoddi4.c19 di_int s_a = a >> bits_in_dword_m1; // s_a = a < 0 ? -1 : 0 in __divmoddi4() local
21 a = (a ^ s_a) - s_a; // negate if s_a == -1 in __divmoddi4()
23 s_b ^= s_a; // sign of quotient in __divmoddi4()
26 *rem = (r ^ s_a) - s_a; // negate if s_a == -1 in __divmoddi4()
A Dint_div_impl.inc75 fixint_t s_a = a >> N; // s_a = a < 0 ? -1 : 0
77 fixuint_t a_u = (fixuint_t)(a ^ s_a) + (-s_a); // negate if s_a == -1
79 s_a ^= s_b; // sign of quotient
80 return (COMPUTE_UDIV(a_u, b_u) ^ s_a) + (-s_a); // negate if s_a == -1

Completed in 2 milliseconds