Commit 536bfcd0 by Richard Kenner

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
parent 0b19a5b9
...@@ -116,7 +116,9 @@ typedef union ...@@ -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) ...@@ -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[] = ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment