7 #define NULL ((void *)0)
10 typedef int SItype __attribute__ ((mode (SI)));
11 typedef unsigned int USItype __attribute__ ((mode (SI)));
12 typedef int DItype __attribute__ ((mode (DI)));
13 typedef unsigned int UDItype __attribute__ ((mode (DI)));
14 typedef int word_type __attribute__ ((mode (__word__)));
16 uint64_t __udivmoddi4(uint64_t num, uint64_t den, uint64_t *rem);
18 int64_t __divdi3(int64_t num, int64_t den);
19 uint64_t __udivdi3(uint64_t num, uint64_t den);
21 uint64_t __umoddi3(uint64_t num, uint64_t den);
23 DItype __ashldi3 (DItype u, word_type b);
24 DItype __lshrdi3 (DItype u, word_type b);
25 DItype __ashrdi3 (DItype u, word_type b);
27 // Must be implemented outside:
28 void __divide_error(void);
30 #if defined(__arch64__) || defined(__LP64__)
31 typedef int TItype __attribute__ ((mode (TI)));
33 __uint128_t __udivmodti4(__uint128_t num, __uint128_t den, __uint128_t *rem);
35 __int128_t __divti3(__int128_t num, __int128_t den);
36 __uint128_t __udivti3(__uint128_t num, __uint128_t den);
38 __uint128_t __umodti3(__uint128_t num, __uint128_t den);
40 TItype __multi3 (TItype u, TItype v);
41 TItype __negti2 (TItype u);
45 #endif /* _LIBGCC_H */