libgcc2.h 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523
  1. /* Header file for libgcc2.c. */
  2. /* Copyright (C) 2000-2015 Free Software Foundation, Inc.
  3. This file is part of GCC.
  4. GCC is free software; you can redistribute it and/or modify it under
  5. the terms of the GNU General Public License as published by the Free
  6. Software Foundation; either version 3, or (at your option) any later
  7. version.
  8. GCC is distributed in the hope that it will be useful, but WITHOUT ANY
  9. WARRANTY; without even the implied warranty of MERCHANTABILITY or
  10. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  11. for more details.
  12. Under Section 7 of GPL version 3, you are granted additional
  13. permissions described in the GCC Runtime Library Exception, version
  14. 3.1, as published by the Free Software Foundation.
  15. You should have received a copy of the GNU General Public License and
  16. a copy of the GCC Runtime Library Exception along with this program;
  17. see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
  18. <http://www.gnu.org/licenses/>. */
  19. #ifndef GCC_LIBGCC2_H
  20. #define GCC_LIBGCC2_H
  21. #ifndef HIDE_EXPORTS
  22. #pragma GCC visibility push(default)
  23. #endif
  24. extern int __gcc_bcmp (const unsigned char *, const unsigned char *, size_t);
  25. extern void __clear_cache (char *, char *);
  26. extern void __eprintf (const char *, const char *, unsigned int, const char *)
  27. __attribute__ ((__noreturn__));
  28. #ifdef __LIBGCC_HAS_SF_MODE__
  29. #define LIBGCC2_HAS_SF_MODE 1
  30. #else
  31. #define LIBGCC2_HAS_SF_MODE 0
  32. #endif
  33. #ifdef __LIBGCC_HAS_DF_MODE__
  34. #define LIBGCC2_HAS_DF_MODE 1
  35. #else
  36. #define LIBGCC2_HAS_DF_MODE 0
  37. #endif
  38. #ifdef __LIBGCC_HAS_XF_MODE__
  39. #define LIBGCC2_HAS_XF_MODE 1
  40. #else
  41. #define LIBGCC2_HAS_XF_MODE 0
  42. #endif
  43. #ifdef __LIBGCC_HAS_TF_MODE__
  44. #define LIBGCC2_HAS_TF_MODE 1
  45. #else
  46. #define LIBGCC2_HAS_TF_MODE 0
  47. #endif
  48. #ifndef __LIBGCC_SF_MANT_DIG__
  49. #if LIBGCC2_HAS_SF_MODE
  50. #error __LIBGCC_SF_MANT_DIG__ not defined
  51. #else
  52. #define __LIBGCC_SF_MANT_DIG__ 0
  53. #endif
  54. #endif
  55. #ifndef __LIBGCC_DF_MANT_DIG__
  56. #if LIBGCC2_HAS_DF_MODE
  57. #error __LIBGCC_DF_MANT_DIG__ not defined
  58. #else
  59. #define __LIBGCC_DF_MANT_DIG__ 0
  60. #endif
  61. #endif
  62. #ifndef __LIBGCC_XF_MANT_DIG__
  63. #if LIBGCC2_HAS_XF_MODE
  64. #error __LIBGCC_XF_MANT_DIG__ not defined
  65. #else
  66. #define __LIBGCC_XF_MANT_DIG__ 0
  67. #endif
  68. #endif
  69. #ifndef __LIBGCC_TF_MANT_DIG__
  70. #if LIBGCC2_HAS_TF_MODE
  71. #error __LIBGCC_TF_MANT_DIG__ not defined
  72. #else
  73. #define __LIBGCC_TF_MANT_DIG__ 0
  74. #endif
  75. #endif
  76. /* FIXME: This #ifdef probably should be removed, ie. enable the test
  77. for mips too. */
  78. /* Don't use IBM Extended Double TFmode for TI->SF calculations.
  79. The conversion from long double to float suffers from double
  80. rounding, because we convert via double. In other cases, going
  81. through the software fp routines is much slower than the fallback. */
  82. #ifdef __powerpc__
  83. #define AVOID_FP_TYPE_CONVERSION(SIZE) (SIZE == 106)
  84. #elif defined(WIDEST_HARDWARE_FP_SIZE)
  85. #define AVOID_FP_TYPE_CONVERSION(SIZE) (SIZE > WIDEST_HARDWARE_FP_SIZE)
  86. #else
  87. #define AVOID_FP_TYPE_CONVERSION(SIZE) 0
  88. #endif
  89. /* In the first part of this file, we are interfacing to calls generated
  90. by the compiler itself. These calls pass values into these routines
  91. which have very specific modes (rather than very specific types), and
  92. these compiler-generated calls also expect any return values to have
  93. very specific modes (rather than very specific types). Thus, we need
  94. to avoid using regular C language type names in this part of the file
  95. because the sizes for those types can be configured to be anything.
  96. Instead we use the following special type names. */
  97. typedef int QItype __attribute__ ((mode (QI)));
  98. typedef unsigned int UQItype __attribute__ ((mode (QI)));
  99. typedef int HItype __attribute__ ((mode (HI)));
  100. typedef unsigned int UHItype __attribute__ ((mode (HI)));
  101. #if MIN_UNITS_PER_WORD > 1
  102. /* These typedefs are usually forbidden on dsp's with UNITS_PER_WORD 1. */
  103. typedef int SItype __attribute__ ((mode (SI)));
  104. typedef unsigned int USItype __attribute__ ((mode (SI)));
  105. #if __SIZEOF_LONG_LONG__ > 4
  106. /* These typedefs are usually forbidden on archs with UNITS_PER_WORD 2. */
  107. typedef int DItype __attribute__ ((mode (DI)));
  108. typedef unsigned int UDItype __attribute__ ((mode (DI)));
  109. #if MIN_UNITS_PER_WORD > 4
  110. /* These typedefs are usually forbidden on archs with UNITS_PER_WORD 4. */
  111. typedef int TItype __attribute__ ((mode (TI)));
  112. typedef unsigned int UTItype __attribute__ ((mode (TI)));
  113. #endif
  114. #endif
  115. #endif
  116. #if LIBGCC2_HAS_SF_MODE
  117. typedef float SFtype __attribute__ ((mode (SF)));
  118. typedef _Complex float SCtype __attribute__ ((mode (SC)));
  119. #endif
  120. #if LIBGCC2_HAS_DF_MODE
  121. typedef float DFtype __attribute__ ((mode (DF)));
  122. typedef _Complex float DCtype __attribute__ ((mode (DC)));
  123. #endif
  124. #if LIBGCC2_HAS_XF_MODE
  125. typedef float XFtype __attribute__ ((mode (XF)));
  126. typedef _Complex float XCtype __attribute__ ((mode (XC)));
  127. #endif
  128. #if LIBGCC2_HAS_TF_MODE
  129. typedef float TFtype __attribute__ ((mode (TF)));
  130. typedef _Complex float TCtype __attribute__ ((mode (TC)));
  131. #endif
  132. typedef int cmp_return_type __attribute__((mode (__libgcc_cmp_return__)));
  133. typedef int shift_count_type __attribute__((mode (__libgcc_shift_count__)));
  134. /* Make sure that we don't accidentally use any normal C language built-in
  135. type names in the first part of this file. Instead we want to use *only*
  136. the type names defined above. The following macro definitions insure
  137. that if we *do* accidentally use some normal C language built-in type name,
  138. we will get a syntax error. */
  139. #define char bogus_type
  140. #define short bogus_type
  141. #define int bogus_type
  142. #define long bogus_type
  143. #define unsigned bogus_type
  144. #define float bogus_type
  145. #define double bogus_type
  146. /* Versions prior to 3.4.4 were not taking into account the word size for
  147. the 5 trapping arithmetic functions absv, addv, subv, mulv and negv. As
  148. a consequence, the si and di variants were always and the only ones emitted.
  149. To maintain backward compatibility, COMPAT_SIMODE_TRAPPING_ARITHMETIC is
  150. defined on platforms where it makes sense to still have the si variants
  151. emitted. As a bonus, their implementation is now correct. Note that the
  152. same mechanism should have been implemented for the di variants, but it
  153. turns out that no platform would define COMPAT_DIMODE_TRAPPING_ARITHMETIC
  154. if it existed. */
  155. #if LIBGCC2_UNITS_PER_WORD == 8
  156. #define W_TYPE_SIZE (8 * BITS_PER_UNIT)
  157. #define Wtype DItype
  158. #define UWtype UDItype
  159. #define HWtype DItype
  160. #define UHWtype UDItype
  161. #define DWtype TItype
  162. #define UDWtype UTItype
  163. #ifdef LIBGCC2_GNU_PREFIX
  164. #define __NW(a,b) __gnu_ ## a ## di ## b
  165. #define __NDW(a,b) __gnu_ ## a ## ti ## b
  166. #else
  167. #define __NW(a,b) __ ## a ## di ## b
  168. #define __NDW(a,b) __ ## a ## ti ## b
  169. #endif
  170. #define COMPAT_SIMODE_TRAPPING_ARITHMETIC
  171. #elif LIBGCC2_UNITS_PER_WORD == 4
  172. #define W_TYPE_SIZE (4 * BITS_PER_UNIT)
  173. #define Wtype SItype
  174. #define UWtype USItype
  175. #define HWtype SItype
  176. #define UHWtype USItype
  177. #define DWtype DItype
  178. #define UDWtype UDItype
  179. #ifdef LIBGCC2_GNU_PREFIX
  180. #define __NW(a,b) __gnu_ ## a ## si ## b
  181. #define __NDW(a,b) __gnu_ ## a ## di ## b
  182. #else
  183. #define __NW(a,b) __ ## a ## si ## b
  184. #define __NDW(a,b) __ ## a ## di ## b
  185. #endif
  186. #elif LIBGCC2_UNITS_PER_WORD == 2
  187. #define W_TYPE_SIZE (2 * BITS_PER_UNIT)
  188. #define Wtype HItype
  189. #define UWtype UHItype
  190. #define HWtype HItype
  191. #define UHWtype UHItype
  192. #define DWtype SItype
  193. #define UDWtype USItype
  194. #ifdef LIBGCC2_GNU_PREFIX
  195. #define __NW(a,b) __gnu_ ## a ## hi ## b
  196. #define __NDW(a,b) __gnu_ ## a ## si ## b
  197. #else
  198. #define __NW(a,b) __ ## a ## hi ## b
  199. #define __NDW(a,b) __ ## a ## si ## b
  200. #endif
  201. #else
  202. #define W_TYPE_SIZE BITS_PER_UNIT
  203. #define Wtype QItype
  204. #define UWtype UQItype
  205. #define HWtype QItype
  206. #define UHWtype UQItype
  207. #define DWtype HItype
  208. #define UDWtype UHItype
  209. #ifdef LIBGCC2_GNU_PREFIX
  210. #define __NW(a,b) __gnu_ ## a ## qi ## b
  211. #define __NDW(a,b) __gnu_ ## a ## hi ## b
  212. #else
  213. #define __NW(a,b) __ ## a ## qi ## b
  214. #define __NDW(a,b) __ ## a ## hi ## b
  215. #endif
  216. #endif
  217. #ifdef LIBGCC2_GNU_PREFIX
  218. #define __N(a) __gnu_ ## a
  219. #else
  220. #define __N(a) __ ## a
  221. #endif
  222. #define Wtype_MAX ((Wtype)(((UWtype)1 << (W_TYPE_SIZE - 1)) - 1))
  223. #define Wtype_MIN (- Wtype_MAX - 1)
  224. #if W_TYPE_SIZE == 8
  225. # define Wtype_MAXp1_F 0x1p8f
  226. #elif W_TYPE_SIZE == 16
  227. # define Wtype_MAXp1_F 0x1p16f
  228. #elif W_TYPE_SIZE == 32
  229. # define Wtype_MAXp1_F 0x1p32f
  230. #elif W_TYPE_SIZE == 64
  231. # define Wtype_MAXp1_F 0x1p64f
  232. #else
  233. # error "expand the table"
  234. #endif
  235. #define __muldi3 __NDW(mul,3)
  236. #define __divdi3 __NDW(div,3)
  237. #define __udivdi3 __NDW(udiv,3)
  238. #define __moddi3 __NDW(mod,3)
  239. #define __umoddi3 __NDW(umod,3)
  240. #define __negdi2 __NDW(neg,2)
  241. #define __lshrdi3 __NDW(lshr,3)
  242. #define __ashldi3 __NDW(ashl,3)
  243. #define __ashrdi3 __NDW(ashr,3)
  244. #define __cmpdi2 __NDW(cmp,2)
  245. #define __ucmpdi2 __NDW(ucmp,2)
  246. #define __udivmoddi4 __NDW(udivmod,4)
  247. #define __fixunstfDI __NDW(fixunstf,)
  248. #define __fixtfdi __NDW(fixtf,)
  249. #define __fixunsxfDI __NDW(fixunsxf,)
  250. #define __fixxfdi __NDW(fixxf,)
  251. #define __fixunsdfDI __NDW(fixunsdf,)
  252. #define __fixdfdi __NDW(fixdf,)
  253. #define __fixunssfDI __NDW(fixunssf,)
  254. #define __fixsfdi __NDW(fixsf,)
  255. #define __floatdixf __NDW(float,xf)
  256. #define __floatditf __NDW(float,tf)
  257. #define __floatdidf __NDW(float,df)
  258. #define __floatdisf __NDW(float,sf)
  259. #define __floatundixf __NDW(floatun,xf)
  260. #define __floatunditf __NDW(floatun,tf)
  261. #define __floatundidf __NDW(floatun,df)
  262. #define __floatundisf __NDW(floatun,sf)
  263. #define __fixunsxfSI __NW(fixunsxf,)
  264. #define __fixunstfSI __NW(fixunstf,)
  265. #define __fixunsdfSI __NW(fixunsdf,)
  266. #define __fixunssfSI __NW(fixunssf,)
  267. #define __absvSI2 __NW(absv,2)
  268. #define __addvSI3 __NW(addv,3)
  269. #define __subvSI3 __NW(subv,3)
  270. #define __mulvSI3 __NW(mulv,3)
  271. #define __negvSI2 __NW(negv,2)
  272. #define __absvDI2 __NDW(absv,2)
  273. #define __addvDI3 __NDW(addv,3)
  274. #define __subvDI3 __NDW(subv,3)
  275. #define __mulvDI3 __NDW(mulv,3)
  276. #define __negvDI2 __NDW(negv,2)
  277. #define __ffsSI2 __NW(ffs,2)
  278. #define __clzSI2 __NW(clz,2)
  279. #define __ctzSI2 __NW(ctz,2)
  280. #define __clrsbSI2 __NW(clrsb,2)
  281. #define __popcountSI2 __NW(popcount,2)
  282. #define __paritySI2 __NW(parity,2)
  283. #define __ffsDI2 __NDW(ffs,2)
  284. #define __clzDI2 __NDW(clz,2)
  285. #define __ctzDI2 __NDW(ctz,2)
  286. #define __clrsbDI2 __NDW(clrsb,2)
  287. #define __popcountDI2 __NDW(popcount,2)
  288. #define __parityDI2 __NDW(parity,2)
  289. #define __clz_tab __N(clz_tab)
  290. #define __bswapsi2 __N(bswapsi2)
  291. #define __bswapdi2 __N(bswapdi2)
  292. #define __udiv_w_sdiv __N(udiv_w_sdiv)
  293. #define __clear_cache __N(clear_cache)
  294. #define __enable_execute_stack __N(enable_execute_stack)
  295. #ifndef __powisf2
  296. #define __powisf2 __N(powisf2)
  297. #endif
  298. #ifndef __powidf2
  299. #define __powidf2 __N(powidf2)
  300. #endif
  301. #ifndef __powitf2
  302. #define __powitf2 __N(powitf2)
  303. #endif
  304. #ifndef __powixf2
  305. #define __powixf2 __N(powixf2)
  306. #endif
  307. #ifndef __mulsc3
  308. #define __mulsc3 __N(mulsc3)
  309. #endif
  310. #ifndef __muldc3
  311. #define __muldc3 __N(muldc3)
  312. #endif
  313. #ifndef __mulxc3
  314. #define __mulxc3 __N(mulxc3)
  315. #endif
  316. #ifndef __multc3
  317. #define __multc3 __N(multc3)
  318. #endif
  319. #ifndef __divsc3
  320. #define __divsc3 __N(divsc3)
  321. #endif
  322. #ifndef __divdc3
  323. #define __divdc3 __N(divdc3)
  324. #endif
  325. #ifndef __divxc3
  326. #define __divxc3 __N(divxc3)
  327. #endif
  328. #ifndef __divtc3
  329. #define __divtc3 __N(divtc3)
  330. #endif
  331. extern DWtype __muldi3 (DWtype, DWtype);
  332. extern DWtype __divdi3 (DWtype, DWtype);
  333. extern UDWtype __udivdi3 (UDWtype, UDWtype);
  334. extern UDWtype __umoddi3 (UDWtype, UDWtype);
  335. extern DWtype __moddi3 (DWtype, DWtype);
  336. /* __udivmoddi4 is static inline when building other libgcc2 portions. */
  337. #if (!defined (L_udivdi3) && !defined (L_divdi3) && \
  338. !defined (L_umoddi3) && !defined (L_moddi3))
  339. extern UDWtype __udivmoddi4 (UDWtype, UDWtype, UDWtype *);
  340. #endif
  341. /* __negdi2 is static inline when building other libgcc2 portions. */
  342. #if !defined(L_divdi3) && !defined(L_moddi3)
  343. extern DWtype __negdi2 (DWtype);
  344. #endif
  345. extern DWtype __lshrdi3 (DWtype, shift_count_type);
  346. extern DWtype __ashldi3 (DWtype, shift_count_type);
  347. extern DWtype __ashrdi3 (DWtype, shift_count_type);
  348. /* __udiv_w_sdiv is static inline when building other libgcc2 portions. */
  349. #if (!defined(L_udivdi3) && !defined(L_divdi3) && \
  350. !defined(L_umoddi3) && !defined(L_moddi3))
  351. extern UWtype __udiv_w_sdiv (UWtype *, UWtype, UWtype, UWtype);
  352. #endif
  353. extern cmp_return_type __cmpdi2 (DWtype, DWtype);
  354. extern cmp_return_type __ucmpdi2 (DWtype, DWtype);
  355. #if MIN_UNITS_PER_WORD > 1
  356. extern SItype __bswapsi2 (SItype);
  357. #endif
  358. #if __SIZEOF_LONG_LONG__ > 4
  359. extern DItype __bswapdi2 (DItype);
  360. #endif
  361. extern Wtype __absvSI2 (Wtype);
  362. extern Wtype __addvSI3 (Wtype, Wtype);
  363. extern Wtype __subvSI3 (Wtype, Wtype);
  364. extern Wtype __mulvSI3 (Wtype, Wtype);
  365. extern Wtype __negvSI2 (Wtype);
  366. extern DWtype __absvDI2 (DWtype);
  367. extern DWtype __addvDI3 (DWtype, DWtype);
  368. extern DWtype __subvDI3 (DWtype, DWtype);
  369. extern DWtype __mulvDI3 (DWtype, DWtype);
  370. extern DWtype __negvDI2 (DWtype);
  371. #ifdef COMPAT_SIMODE_TRAPPING_ARITHMETIC
  372. #define __absvsi2 __N(absvsi2)
  373. #define __negvsi2 __N(negvsi2)
  374. #define __addvsi3 __N(addvsi3)
  375. #define __subvsi3 __N(subvsi3)
  376. #define __mulvsi3 __N(mulvsi3)
  377. extern SItype __absvsi2 (SItype);
  378. extern SItype __addvsi3 (SItype, SItype);
  379. extern SItype __subvsi3 (SItype, SItype);
  380. extern SItype __mulvsi3 (SItype, SItype);
  381. extern SItype __negvsi2 (SItype);
  382. #endif /* COMPAT_SIMODE_TRAPPING_ARITHMETIC */
  383. #undef int
  384. #if LIBGCC2_HAS_SF_MODE
  385. extern DWtype __fixsfdi (SFtype);
  386. extern SFtype __floatdisf (DWtype);
  387. extern SFtype __floatundisf (UDWtype);
  388. extern UWtype __fixunssfSI (SFtype);
  389. extern UDWtype __fixunssfDI (SFtype);
  390. extern SFtype __powisf2 (SFtype, int);
  391. extern SCtype __divsc3 (SFtype, SFtype, SFtype, SFtype);
  392. extern SCtype __mulsc3 (SFtype, SFtype, SFtype, SFtype);
  393. #endif
  394. #if LIBGCC2_HAS_DF_MODE
  395. extern DWtype __fixdfdi (DFtype);
  396. extern DFtype __floatdidf (DWtype);
  397. extern DFtype __floatundidf (UDWtype);
  398. extern UWtype __fixunsdfSI (DFtype);
  399. extern UDWtype __fixunsdfDI (DFtype);
  400. extern DFtype __powidf2 (DFtype, int);
  401. extern DCtype __divdc3 (DFtype, DFtype, DFtype, DFtype);
  402. extern DCtype __muldc3 (DFtype, DFtype, DFtype, DFtype);
  403. #endif
  404. #if LIBGCC2_HAS_XF_MODE
  405. extern DWtype __fixxfdi (XFtype);
  406. extern UDWtype __fixunsxfDI (XFtype);
  407. extern XFtype __floatdixf (DWtype);
  408. extern XFtype __floatundixf (UDWtype);
  409. extern UWtype __fixunsxfSI (XFtype);
  410. extern XFtype __powixf2 (XFtype, int);
  411. extern XCtype __divxc3 (XFtype, XFtype, XFtype, XFtype);
  412. extern XCtype __mulxc3 (XFtype, XFtype, XFtype, XFtype);
  413. #endif
  414. #if LIBGCC2_HAS_TF_MODE
  415. extern UDWtype __fixunstfDI (TFtype);
  416. extern DWtype __fixtfdi (TFtype);
  417. extern TFtype __floatditf (DWtype);
  418. extern TFtype __floatunditf (UDWtype);
  419. extern TFtype __powitf2 (TFtype, int);
  420. extern TCtype __divtc3 (TFtype, TFtype, TFtype, TFtype);
  421. extern TCtype __multc3 (TFtype, TFtype, TFtype, TFtype);
  422. #endif
  423. #define int bogus_type
  424. /* DWstructs are pairs of Wtype values in the order determined by
  425. __BYTE_ORDER__. */
  426. #if __BYTE_ORDER__ != __ORDER_LITTLE_ENDIAN__
  427. struct DWstruct {Wtype high, low;};
  428. #else
  429. struct DWstruct {Wtype low, high;};
  430. #endif
  431. /* We need this union to unpack/pack DImode values, since we don't have
  432. any arithmetic yet. Incoming DImode parameters are stored into the
  433. `ll' field, and the unpacked result is read from the struct `s'. */
  434. typedef union
  435. {
  436. struct DWstruct s;
  437. DWtype ll;
  438. } DWunion;
  439. /* Defined for L_popcount_tab. Exported here because some targets may
  440. want to use it for their own versions of the __popcount builtins. */
  441. extern const UQItype __popcount_tab[256];
  442. /* Defined for L_clz. Exported here because some targets may want to use
  443. it for their own versions of the __clz builtins. It contains the bit
  444. position of the first set bit for the numbers 0 - 255. This avoids the
  445. need for a separate table for the __ctz builtins. */
  446. extern const UQItype __clz_tab[256];
  447. #include "longlong.h"
  448. #undef int
  449. extern int __clzDI2 (UDWtype);
  450. extern int __clzSI2 (UWtype);
  451. extern int __ctzSI2 (UWtype);
  452. extern int __ctzDI2 (UDWtype);
  453. extern int __clrsbSI2 (Wtype);
  454. extern int __clrsbDI2 (DWtype);
  455. extern int __ffsSI2 (UWtype);
  456. extern int __ffsDI2 (DWtype);
  457. extern int __popcountSI2 (UWtype);
  458. extern int __popcountDI2 (UDWtype);
  459. extern int __paritySI2 (UWtype);
  460. extern int __parityDI2 (UDWtype);
  461. #define int bogus_type
  462. extern void __enable_execute_stack (void *);
  463. #ifndef HIDE_EXPORTS
  464. #pragma GCC visibility pop
  465. #endif
  466. #endif /* ! GCC_LIBGCC2_H */