Include longlong.h.
[L_udivdi3 || L_divdi3 || L_umoddi3 || L_moddi3] (__udivmoddi4): Define this `static inline' when defining these, so they all remain leaf functions. From-SVN: r10305
This commit is contained in:
parent
0b19a5b971
commit
536bfcd040
|
@ -116,7 +116,9 @@ typedef union
|
||||||
DItype ll;
|
DItype ll;
|
||||||
} DIunion;
|
} DIunion;
|
||||||
|
|
||||||
#if defined (L_udivmoddi4) || defined (L_muldi3) || defined (L_udiv_w_sdiv)
|
#if (defined (L_udivmoddi4) || defined (L_muldi3) || defined (L_udiv_w_sdiv)\
|
||||||
|
|| defined (L_divdi3) || defined (L_udivdi3) \
|
||||||
|
|| defined (L_moddi3) || defined (L_umoddi3))
|
||||||
|
|
||||||
#include "longlong.h"
|
#include "longlong.h"
|
||||||
|
|
||||||
|
@ -388,6 +390,11 @@ __udiv_w_sdiv (rp, a1, a0, d)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if (defined (L_udivdi3) || defined (L_divdi3) || \
|
||||||
|
defined (L_umoddi3) || defined (L_moddi3))
|
||||||
|
#define L_udivmoddi4
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef L_udivmoddi4
|
#ifdef L_udivmoddi4
|
||||||
static const UQItype __clz_tab[] =
|
static const UQItype __clz_tab[] =
|
||||||
{
|
{
|
||||||
|
@ -401,6 +408,10 @@ static const UQItype __clz_tab[] =
|
||||||
8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,
|
8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if (defined (L_udivdi3) || defined (L_divdi3) || \
|
||||||
|
defined (L_umoddi3) || defined (L_moddi3))
|
||||||
|
static inline
|
||||||
|
#endif
|
||||||
UDItype
|
UDItype
|
||||||
__udivmoddi4 (n, d, rp)
|
__udivmoddi4 (n, d, rp)
|
||||||
UDItype n, d;
|
UDItype n, d;
|
||||||
|
|
Loading…
Reference in New Issue