diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-08-31 19:26:53 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-08-31 19:26:53 -0400 |
commit | 536bfcd040dc8e3976f0bc1386074fff133f3386 (patch) | |
tree | 54b904281e5593f867dcfcb9457ee0ad9cf8d855 /gcc | |
parent | 0b19a5b97160722d13020ae4d3801126d13292da (diff) | |
download | gcc-536bfcd040dc8e3976f0bc1386074fff133f3386.zip gcc-536bfcd040dc8e3976f0bc1386074fff133f3386.tar.gz gcc-536bfcd040dc8e3976f0bc1386074fff133f3386.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/libgcc2.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c index 3879bc0..4f37d61 100644 --- a/gcc/libgcc2.c +++ b/gcc/libgcc2.c @@ -116,7 +116,9 @@ typedef union DItype ll; } 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" @@ -388,6 +390,11 @@ __udiv_w_sdiv (rp, a1, a0, d) } #endif +#if (defined (L_udivdi3) || defined (L_divdi3) || \ + defined (L_umoddi3) || defined (L_moddi3)) +#define L_udivmoddi4 +#endif + #ifdef L_udivmoddi4 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, }; +#if (defined (L_udivdi3) || defined (L_divdi3) || \ + defined (L_umoddi3) || defined (L_moddi3)) +static inline +#endif UDItype __udivmoddi4 (n, d, rp) UDItype n, d; |