1169689Skan@c Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. 2132718Skan@c This is part of the GCC manual. 3132718Skan@c For copying conditions, see the file gcc.texi. 4132718Skan@c Contributed by Aldy Hernandez <aldy@quesejoda.com> 5132718Skan 6132718Skan@node Libgcc 7132718Skan@chapter The GCC low-level runtime library 8132718Skan 9132718SkanGCC provides a low-level runtime library, @file{libgcc.a} or 10132718Skan@file{libgcc_s.so.1} on some platforms. GCC generates calls to 11132718Skanroutines in this library automatically, whenever it needs to perform 12132718Skansome operation that is too complicated to emit inline code for. 13132718Skan 14132718SkanMost of the routines in @code{libgcc} handle arithmetic operations 15132718Skanthat the target processor cannot perform directly. This includes 16132718Skaninteger multiply and divide on some machines, and all floating-point 17132718Skanoperations on other machines. @code{libgcc} also includes routines 18132718Skanfor exception handling, and a handful of miscellaneous operations. 19132718Skan 20169689SkanSome of these routines can be defined in mostly machine-independent C@. 21132718SkanOthers must be hand-written in assembly language for each processor 22132718Skanthat needs them. 23132718Skan 24132718SkanGCC will also generate calls to C library routines, such as 25132718Skan@code{memcpy} and @code{memset}, in some cases. The set of routines 26132718Skanthat GCC may possibly use is documented in @ref{Other 27132718SkanBuiltins,,,gcc, Using the GNU Compiler Collection (GCC)}. 28132718Skan 29132718SkanThese routines take arguments and return values of a specific machine 30132718Skanmode, not a specific C type. @xref{Machine Modes}, for an explanation 31132718Skanof this concept. For illustrative purposes, in this chapter the 32132718Skanfloating point type @code{float} is assumed to correspond to @code{SFmode}; 33132718Skan@code{double} to @code{DFmode}; and @code{@w{long double}} to both 34132718Skan@code{TFmode} and @code{XFmode}. Similarly, the integer types @code{int} 35132718Skanand @code{@w{unsigned int}} correspond to @code{SImode}; @code{long} and 36132718Skan@code{@w{unsigned long}} to @code{DImode}; and @code{@w{long long}} and 37132718Skan@code{@w{unsigned long long}} to @code{TImode}. 38132718Skan 39132718Skan@menu 40132718Skan* Integer library routines:: 41132718Skan* Soft float library routines:: 42169689Skan* Decimal float library routines:: 43132718Skan* Exception handling routines:: 44132718Skan* Miscellaneous routines:: 45132718Skan@end menu 46132718Skan 47132718Skan@node Integer library routines 48132718Skan@section Routines for integer arithmetic 49132718Skan 50132718SkanThe integer arithmetic routines are used on platforms that don't provide 51132718Skanhardware support for arithmetic operations on some modes. 52132718Skan 53132718Skan@subsection Arithmetic functions 54132718Skan 55132718Skan@deftypefn {Runtime Function} int __ashlsi3 (int @var{a}, int @var{b}) 56132718Skan@deftypefnx {Runtime Function} long __ashldi3 (long @var{a}, int @var{b}) 57132718Skan@deftypefnx {Runtime Function} {long long} __ashlti3 (long long @var{a}, int @var{b}) 58132718SkanThese functions return the result of shifting @var{a} left by @var{b} bits. 59132718Skan@end deftypefn 60132718Skan 61132718Skan@deftypefn {Runtime Function} int __ashrsi3 (int @var{a}, int @var{b}) 62132718Skan@deftypefnx {Runtime Function} long __ashrdi3 (long @var{a}, int @var{b}) 63132718Skan@deftypefnx {Runtime Function} {long long} __ashrti3 (long long @var{a}, int @var{b}) 64132718SkanThese functions return the result of arithmetically shifting @var{a} right 65132718Skanby @var{b} bits. 66132718Skan@end deftypefn 67132718Skan 68132718Skan@deftypefn {Runtime Function} int __divsi3 (int @var{a}, int @var{b}) 69132718Skan@deftypefnx {Runtime Function} long __divdi3 (long @var{a}, long @var{b}) 70132718Skan@deftypefnx {Runtime Function} {long long} __divti3 (long long @var{a}, long long @var{b}) 71132718SkanThese functions return the quotient of the signed division of @var{a} and 72132718Skan@var{b}. 73132718Skan@end deftypefn 74132718Skan 75132718Skan@deftypefn {Runtime Function} int __lshrsi3 (int @var{a}, int @var{b}) 76132718Skan@deftypefnx {Runtime Function} long __lshrdi3 (long @var{a}, int @var{b}) 77132718Skan@deftypefnx {Runtime Function} {long long} __lshrti3 (long long @var{a}, int @var{b}) 78132718SkanThese functions return the result of logically shifting @var{a} right by 79132718Skan@var{b} bits. 80132718Skan@end deftypefn 81132718Skan 82132718Skan@deftypefn {Runtime Function} int __modsi3 (int @var{a}, int @var{b}) 83132718Skan@deftypefnx {Runtime Function} long __moddi3 (long @var{a}, long @var{b}) 84132718Skan@deftypefnx {Runtime Function} {long long} __modti3 (long long @var{a}, long long @var{b}) 85132718SkanThese functions return the remainder of the signed division of @var{a} 86132718Skanand @var{b}. 87132718Skan@end deftypefn 88132718Skan 89132718Skan@deftypefn {Runtime Function} int __mulsi3 (int @var{a}, int @var{b}) 90132718Skan@deftypefnx {Runtime Function} long __muldi3 (long @var{a}, long @var{b}) 91132718Skan@deftypefnx {Runtime Function} {long long} __multi3 (long long @var{a}, long long @var{b}) 92132718SkanThese functions return the product of @var{a} and @var{b}. 93132718Skan@end deftypefn 94132718Skan 95132718Skan@deftypefn {Runtime Function} long __negdi2 (long @var{a}) 96132718Skan@deftypefnx {Runtime Function} {long long} __negti2 (long long @var{a}) 97132718SkanThese functions return the negation of @var{a}. 98132718Skan@end deftypefn 99132718Skan 100132718Skan@deftypefn {Runtime Function} {unsigned int} __udivsi3 (unsigned int @var{a}, unsigned int @var{b}) 101132718Skan@deftypefnx {Runtime Function} {unsigned long} __udivdi3 (unsigned long @var{a}, unsigned long @var{b}) 102132718Skan@deftypefnx {Runtime Function} {unsigned long long} __udivti3 (unsigned long long @var{a}, unsigned long long @var{b}) 103132718SkanThese functions return the quotient of the unsigned division of @var{a} 104132718Skanand @var{b}. 105132718Skan@end deftypefn 106132718Skan 107132718Skan@deftypefn {Runtime Function} {unsigned long} __udivmoddi3 (unsigned long @var{a}, unsigned long @var{b}, unsigned long *@var{c}) 108132718Skan@deftypefnx {Runtime Function} {unsigned long long} __udivti3 (unsigned long long @var{a}, unsigned long long @var{b}, unsigned long long *@var{c}) 109132718SkanThese functions calculate both the quotient and remainder of the unsigned 110132718Skandivision of @var{a} and @var{b}. The return value is the quotient, and 111132718Skanthe remainder is placed in variable pointed to by @var{c}. 112132718Skan@end deftypefn 113132718Skan 114132718Skan@deftypefn {Runtime Function} {unsigned int} __umodsi3 (unsigned int @var{a}, unsigned int @var{b}) 115132718Skan@deftypefnx {Runtime Function} {unsigned long} __umoddi3 (unsigned long @var{a}, unsigned long @var{b}) 116132718Skan@deftypefnx {Runtime Function} {unsigned long long} __umodti3 (unsigned long long @var{a}, unsigned long long @var{b}) 117132718SkanThese functions return the remainder of the unsigned division of @var{a} 118132718Skanand @var{b}. 119132718Skan@end deftypefn 120132718Skan 121132718Skan@subsection Comparison functions 122132718Skan 123132718SkanThe following functions implement integral comparisons. These functions 124132718Skanimplement a low-level compare, upon which the higher level comparison 125132718Skanoperators (such as less than and greater than or equal to) can be 126132718Skanconstructed. The returned values lie in the range zero to two, to allow 127132718Skanthe high-level operators to be implemented by testing the returned 128132718Skanresult using either signed or unsigned comparison. 129132718Skan 130132718Skan@deftypefn {Runtime Function} int __cmpdi2 (long @var{a}, long @var{b}) 131132718Skan@deftypefnx {Runtime Function} int __cmpti2 (long long @var{a}, long long @var{b}) 132132718SkanThese functions perform a signed comparison of @var{a} and @var{b}. If 133132718Skan@var{a} is less than @var{b}, they return 0; if @var{a} is greater than 134132718Skan@var{b}, they return 2; and if @var{a} and @var{b} are equal they return 1. 135132718Skan@end deftypefn 136132718Skan 137132718Skan@deftypefn {Runtime Function} int __ucmpdi2 (unsigned long @var{a}, unsigned long @var{b}) 138132718Skan@deftypefnx {Runtime Function} int __ucmpti2 (unsigned long long @var{a}, unsigned long long @var{b}) 139132718SkanThese functions perform an unsigned comparison of @var{a} and @var{b}. 140132718SkanIf @var{a} is less than @var{b}, they return 0; if @var{a} is greater than 141132718Skan@var{b}, they return 2; and if @var{a} and @var{b} are equal they return 1. 142132718Skan@end deftypefn 143132718Skan 144132718Skan@subsection Trapping arithmetic functions 145132718Skan 146132718SkanThe following functions implement trapping arithmetic. These functions 147132718Skancall the libc function @code{abort} upon signed arithmetic overflow. 148132718Skan 149132718Skan@deftypefn {Runtime Function} int __absvsi2 (int @var{a}) 150132718Skan@deftypefnx {Runtime Function} long __absvdi2 (long @var{a}) 151132718SkanThese functions return the absolute value of @var{a}. 152132718Skan@end deftypefn 153132718Skan 154132718Skan@deftypefn {Runtime Function} int __addvsi3 (int @var{a}, int @var{b}) 155132718Skan@deftypefnx {Runtime Function} long __addvdi3 (long @var{a}, long @var{b}) 156132718SkanThese functions return the sum of @var{a} and @var{b}; that is 157132718Skan@code{@var{a} + @var{b}}. 158132718Skan@end deftypefn 159132718Skan 160132718Skan@deftypefn {Runtime Function} int __mulvsi3 (int @var{a}, int @var{b}) 161132718Skan@deftypefnx {Runtime Function} long __mulvdi3 (long @var{a}, long @var{b}) 162132718SkanThe functions return the product of @var{a} and @var{b}; that is 163132718Skan@code{@var{a} * @var{b}}. 164132718Skan@end deftypefn 165132718Skan 166132718Skan@deftypefn {Runtime Function} int __negvsi2 (int @var{a}) 167132718Skan@deftypefnx {Runtime Function} long __negvdi2 (long @var{a}) 168132718SkanThese functions return the negation of @var{a}; that is @code{-@var{a}}. 169132718Skan@end deftypefn 170132718Skan 171132718Skan@deftypefn {Runtime Function} int __subvsi3 (int @var{a}, int @var{b}) 172132718Skan@deftypefnx {Runtime Function} long __subvdi3 (long @var{a}, long @var{b}) 173132718SkanThese functions return the difference between @var{b} and @var{a}; 174132718Skanthat is @code{@var{a} - @var{b}}. 175132718Skan@end deftypefn 176132718Skan 177132718Skan@subsection Bit operations 178132718Skan 179132718Skan@deftypefn {Runtime Function} int __clzsi2 (int @var{a}) 180132718Skan@deftypefnx {Runtime Function} int __clzdi2 (long @var{a}) 181132718Skan@deftypefnx {Runtime Function} int __clzti2 (long long @var{a}) 182132718SkanThese functions return the number of leading 0-bits in @var{a}, starting 183132718Skanat the most significant bit position. If @var{a} is zero, the result is 184132718Skanundefined. 185132718Skan@end deftypefn 186132718Skan 187132718Skan@deftypefn {Runtime Function} int __ctzsi2 (int @var{a}) 188132718Skan@deftypefnx {Runtime Function} int __ctzdi2 (long @var{a}) 189132718Skan@deftypefnx {Runtime Function} int __ctzti2 (long long @var{a}) 190132718SkanThese functions return the number of trailing 0-bits in @var{a}, starting 191132718Skanat the least significant bit position. If @var{a} is zero, the result is 192132718Skanundefined. 193132718Skan@end deftypefn 194132718Skan 195132718Skan@deftypefn {Runtime Function} int __ffsdi2 (long @var{a}) 196132718Skan@deftypefnx {Runtime Function} int __ffsti2 (long long @var{a}) 197132718SkanThese functions return the index of the least significant 1-bit in @var{a}, 198132718Skanor the value zero if @var{a} is zero. The least significant bit is index 199132718Skanone. 200132718Skan@end deftypefn 201132718Skan 202132718Skan@deftypefn {Runtime Function} int __paritysi2 (int @var{a}) 203132718Skan@deftypefnx {Runtime Function} int __paritydi2 (long @var{a}) 204132718Skan@deftypefnx {Runtime Function} int __parityti2 (long long @var{a}) 205132718SkanThese functions return the value zero if the number of bits set in 206132718Skan@var{a} is even, and the value one otherwise. 207132718Skan@end deftypefn 208132718Skan 209132718Skan@deftypefn {Runtime Function} int __popcountsi2 (int @var{a}) 210132718Skan@deftypefnx {Runtime Function} int __popcountdi2 (long @var{a}) 211132718Skan@deftypefnx {Runtime Function} int __popcountti2 (long long @var{a}) 212132718SkanThese functions return the number of bits set in @var{a}. 213132718Skan@end deftypefn 214132718Skan 215132718Skan@node Soft float library routines 216132718Skan@section Routines for floating point emulation 217132718Skan@cindex soft float library 218132718Skan@cindex arithmetic library 219132718Skan@cindex math library 220132718Skan@opindex msoft-float 221132718Skan 222132718SkanThe software floating point library is used on machines which do not 223132718Skanhave hardware support for floating point. It is also used whenever 224132718Skan@option{-msoft-float} is used to disable generation of floating point 225132718Skaninstructions. (Not all targets support this switch.) 226132718Skan 227132718SkanFor compatibility with other compilers, the floating point emulation 228132718Skanroutines can be renamed with the @code{DECLARE_LIBRARY_RENAMES} macro 229132718Skan(@pxref{Library Calls}). In this section, the default names are used. 230132718Skan 231132718SkanPresently the library does not support @code{XFmode}, which is used 232132718Skanfor @code{long double} on some architectures. 233132718Skan 234132718Skan@subsection Arithmetic functions 235132718Skan 236132718Skan@deftypefn {Runtime Function} float __addsf3 (float @var{a}, float @var{b}) 237132718Skan@deftypefnx {Runtime Function} double __adddf3 (double @var{a}, double @var{b}) 238132718Skan@deftypefnx {Runtime Function} {long double} __addtf3 (long double @var{a}, long double @var{b}) 239132718Skan@deftypefnx {Runtime Function} {long double} __addxf3 (long double @var{a}, long double @var{b}) 240132718SkanThese functions return the sum of @var{a} and @var{b}. 241132718Skan@end deftypefn 242132718Skan 243132718Skan@deftypefn {Runtime Function} float __subsf3 (float @var{a}, float @var{b}) 244132718Skan@deftypefnx {Runtime Function} double __subdf3 (double @var{a}, double @var{b}) 245132718Skan@deftypefnx {Runtime Function} {long double} __subtf3 (long double @var{a}, long double @var{b}) 246132718Skan@deftypefnx {Runtime Function} {long double} __subxf3 (long double @var{a}, long double @var{b}) 247132718SkanThese functions return the difference between @var{b} and @var{a}; 248132718Skanthat is, @w{@math{@var{a} - @var{b}}}. 249132718Skan@end deftypefn 250132718Skan 251132718Skan@deftypefn {Runtime Function} float __mulsf3 (float @var{a}, float @var{b}) 252132718Skan@deftypefnx {Runtime Function} double __muldf3 (double @var{a}, double @var{b}) 253132718Skan@deftypefnx {Runtime Function} {long double} __multf3 (long double @var{a}, long double @var{b}) 254132718Skan@deftypefnx {Runtime Function} {long double} __mulxf3 (long double @var{a}, long double @var{b}) 255132718SkanThese functions return the product of @var{a} and @var{b}. 256132718Skan@end deftypefn 257132718Skan 258132718Skan@deftypefn {Runtime Function} float __divsf3 (float @var{a}, float @var{b}) 259132718Skan@deftypefnx {Runtime Function} double __divdf3 (double @var{a}, double @var{b}) 260132718Skan@deftypefnx {Runtime Function} {long double} __divtf3 (long double @var{a}, long double @var{b}) 261132718Skan@deftypefnx {Runtime Function} {long double} __divxf3 (long double @var{a}, long double @var{b}) 262132718SkanThese functions return the quotient of @var{a} and @var{b}; that is, 263132718Skan@w{@math{@var{a} / @var{b}}}. 264132718Skan@end deftypefn 265132718Skan 266132718Skan@deftypefn {Runtime Function} float __negsf2 (float @var{a}) 267132718Skan@deftypefnx {Runtime Function} double __negdf2 (double @var{a}) 268132718Skan@deftypefnx {Runtime Function} {long double} __negtf2 (long double @var{a}) 269132718Skan@deftypefnx {Runtime Function} {long double} __negxf2 (long double @var{a}) 270132718SkanThese functions return the negation of @var{a}. They simply flip the 271169689Skansign bit, so they can produce negative zero and negative NaN@. 272132718Skan@end deftypefn 273132718Skan 274132718Skan@subsection Conversion functions 275132718Skan 276132718Skan@deftypefn {Runtime Function} double __extendsfdf2 (float @var{a}) 277132718Skan@deftypefnx {Runtime Function} {long double} __extendsftf2 (float @var{a}) 278132718Skan@deftypefnx {Runtime Function} {long double} __extendsfxf2 (float @var{a}) 279132718Skan@deftypefnx {Runtime Function} {long double} __extenddftf2 (double @var{a}) 280132718Skan@deftypefnx {Runtime Function} {long double} __extenddfxf2 (double @var{a}) 281132718SkanThese functions extend @var{a} to the wider mode of their return 282132718Skantype. 283132718Skan@end deftypefn 284132718Skan 285132718Skan@deftypefn {Runtime Function} double __truncxfdf2 (long double @var{a}) 286132718Skan@deftypefnx {Runtime Function} double __trunctfdf2 (long double @var{a}) 287132718Skan@deftypefnx {Runtime Function} float __truncxfsf2 (long double @var{a}) 288132718Skan@deftypefnx {Runtime Function} float __trunctfsf2 (long double @var{a}) 289132718Skan@deftypefnx {Runtime Function} float __truncdfsf2 (double @var{a}) 290132718SkanThese functions truncate @var{a} to the narrower mode of their return 291132718Skantype, rounding toward zero. 292132718Skan@end deftypefn 293132718Skan 294132718Skan@deftypefn {Runtime Function} int __fixsfsi (float @var{a}) 295132718Skan@deftypefnx {Runtime Function} int __fixdfsi (double @var{a}) 296132718Skan@deftypefnx {Runtime Function} int __fixtfsi (long double @var{a}) 297132718Skan@deftypefnx {Runtime Function} int __fixxfsi (long double @var{a}) 298132718SkanThese functions convert @var{a} to a signed integer, rounding toward zero. 299132718Skan@end deftypefn 300132718Skan 301132718Skan@deftypefn {Runtime Function} long __fixsfdi (float @var{a}) 302132718Skan@deftypefnx {Runtime Function} long __fixdfdi (double @var{a}) 303132718Skan@deftypefnx {Runtime Function} long __fixtfdi (long double @var{a}) 304132718Skan@deftypefnx {Runtime Function} long __fixxfdi (long double @var{a}) 305132718SkanThese functions convert @var{a} to a signed long, rounding toward zero. 306132718Skan@end deftypefn 307132718Skan 308132718Skan@deftypefn {Runtime Function} {long long} __fixsfti (float @var{a}) 309132718Skan@deftypefnx {Runtime Function} {long long} __fixdfti (double @var{a}) 310132718Skan@deftypefnx {Runtime Function} {long long} __fixtfti (long double @var{a}) 311132718Skan@deftypefnx {Runtime Function} {long long} __fixxfti (long double @var{a}) 312132718SkanThese functions convert @var{a} to a signed long long, rounding toward zero. 313132718Skan@end deftypefn 314132718Skan 315132718Skan@deftypefn {Runtime Function} {unsigned int} __fixunssfsi (float @var{a}) 316132718Skan@deftypefnx {Runtime Function} {unsigned int} __fixunsdfsi (double @var{a}) 317132718Skan@deftypefnx {Runtime Function} {unsigned int} __fixunstfsi (long double @var{a}) 318132718Skan@deftypefnx {Runtime Function} {unsigned int} __fixunsxfsi (long double @var{a}) 319132718SkanThese functions convert @var{a} to an unsigned integer, rounding 320132718Skantoward zero. Negative values all become zero. 321132718Skan@end deftypefn 322132718Skan 323132718Skan@deftypefn {Runtime Function} {unsigned long} __fixunssfdi (float @var{a}) 324132718Skan@deftypefnx {Runtime Function} {unsigned long} __fixunsdfdi (double @var{a}) 325132718Skan@deftypefnx {Runtime Function} {unsigned long} __fixunstfdi (long double @var{a}) 326132718Skan@deftypefnx {Runtime Function} {unsigned long} __fixunsxfdi (long double @var{a}) 327132718SkanThese functions convert @var{a} to an unsigned long, rounding 328132718Skantoward zero. Negative values all become zero. 329132718Skan@end deftypefn 330132718Skan 331132718Skan@deftypefn {Runtime Function} {unsigned long long} __fixunssfti (float @var{a}) 332132718Skan@deftypefnx {Runtime Function} {unsigned long long} __fixunsdfti (double @var{a}) 333132718Skan@deftypefnx {Runtime Function} {unsigned long long} __fixunstfti (long double @var{a}) 334132718Skan@deftypefnx {Runtime Function} {unsigned long long} __fixunsxfti (long double @var{a}) 335132718SkanThese functions convert @var{a} to an unsigned long long, rounding 336132718Skantoward zero. Negative values all become zero. 337132718Skan@end deftypefn 338132718Skan 339132718Skan@deftypefn {Runtime Function} float __floatsisf (int @var{i}) 340132718Skan@deftypefnx {Runtime Function} double __floatsidf (int @var{i}) 341132718Skan@deftypefnx {Runtime Function} {long double} __floatsitf (int @var{i}) 342132718Skan@deftypefnx {Runtime Function} {long double} __floatsixf (int @var{i}) 343132718SkanThese functions convert @var{i}, a signed integer, to floating point. 344132718Skan@end deftypefn 345132718Skan 346132718Skan@deftypefn {Runtime Function} float __floatdisf (long @var{i}) 347132718Skan@deftypefnx {Runtime Function} double __floatdidf (long @var{i}) 348132718Skan@deftypefnx {Runtime Function} {long double} __floatditf (long @var{i}) 349132718Skan@deftypefnx {Runtime Function} {long double} __floatdixf (long @var{i}) 350132718SkanThese functions convert @var{i}, a signed long, to floating point. 351132718Skan@end deftypefn 352132718Skan 353132718Skan@deftypefn {Runtime Function} float __floattisf (long long @var{i}) 354132718Skan@deftypefnx {Runtime Function} double __floattidf (long long @var{i}) 355132718Skan@deftypefnx {Runtime Function} {long double} __floattitf (long long @var{i}) 356132718Skan@deftypefnx {Runtime Function} {long double} __floattixf (long long @var{i}) 357132718SkanThese functions convert @var{i}, a signed long long, to floating point. 358132718Skan@end deftypefn 359132718Skan 360169689Skan@deftypefn {Runtime Function} float __floatunsisf (unsigned int @var{i}) 361169689Skan@deftypefnx {Runtime Function} double __floatunsidf (unsigned int @var{i}) 362169689Skan@deftypefnx {Runtime Function} {long double} __floatunsitf (unsigned int @var{i}) 363169689Skan@deftypefnx {Runtime Function} {long double} __floatunsixf (unsigned int @var{i}) 364169689SkanThese functions convert @var{i}, an unsigned integer, to floating point. 365169689Skan@end deftypefn 366169689Skan 367169689Skan@deftypefn {Runtime Function} float __floatundisf (unsigned long @var{i}) 368169689Skan@deftypefnx {Runtime Function} double __floatundidf (unsigned long @var{i}) 369169689Skan@deftypefnx {Runtime Function} {long double} __floatunditf (unsigned long @var{i}) 370169689Skan@deftypefnx {Runtime Function} {long double} __floatundixf (unsigned long @var{i}) 371169689SkanThese functions convert @var{i}, an unsigned long, to floating point. 372169689Skan@end deftypefn 373169689Skan 374169689Skan@deftypefn {Runtime Function} float __floatuntisf (unsigned long long @var{i}) 375169689Skan@deftypefnx {Runtime Function} double __floatuntidf (unsigned long long @var{i}) 376169689Skan@deftypefnx {Runtime Function} {long double} __floatuntitf (unsigned long long @var{i}) 377169689Skan@deftypefnx {Runtime Function} {long double} __floatuntixf (unsigned long long @var{i}) 378169689SkanThese functions convert @var{i}, an unsigned long long, to floating point. 379169689Skan@end deftypefn 380169689Skan 381132718Skan@subsection Comparison functions 382132718Skan 383132718SkanThere are two sets of basic comparison functions. 384132718Skan 385132718Skan@deftypefn {Runtime Function} int __cmpsf2 (float @var{a}, float @var{b}) 386132718Skan@deftypefnx {Runtime Function} int __cmpdf2 (double @var{a}, double @var{b}) 387132718Skan@deftypefnx {Runtime Function} int __cmptf2 (long double @var{a}, long double @var{b}) 388132718SkanThese functions calculate @math{a <=> b}. That is, if @var{a} is less 389169689Skanthan @var{b}, they return @minus{}1; if @var{a} is greater than @var{b}, they 390132718Skanreturn 1; and if @var{a} and @var{b} are equal they return 0. If 391132718Skaneither argument is NaN they return 1, but you should not rely on this; 392132718Skanif NaN is a possibility, use one of the higher-level comparison 393132718Skanfunctions. 394132718Skan@end deftypefn 395132718Skan 396132718Skan@deftypefn {Runtime Function} int __unordsf2 (float @var{a}, float @var{b}) 397132718Skan@deftypefnx {Runtime Function} int __unorddf2 (double @var{a}, double @var{b}) 398132718Skan@deftypefnx {Runtime Function} int __unordtf2 (long double @var{a}, long double @var{b}) 399132718SkanThese functions return a nonzero value if either argument is NaN, otherwise 0. 400132718Skan@end deftypefn 401132718Skan 402132718SkanThere is also a complete group of higher level functions which 403132718Skancorrespond directly to comparison operators. They implement the ISO C 404132718Skansemantics for floating-point comparisons, taking NaN into account. 405132718SkanPay careful attention to the return values defined for each set. 406132718SkanUnder the hood, all of these routines are implemented as 407132718Skan 408132718Skan@smallexample 409132718Skan if (__unord@var{X}f2 (a, b)) 410132718Skan return @var{E}; 411132718Skan return __cmp@var{X}f2 (a, b); 412132718Skan@end smallexample 413132718Skan 414132718Skan@noindent 415132718Skanwhere @var{E} is a constant chosen to give the proper behavior for 416169689SkanNaN@. Thus, the meaning of the return value is different for each set. 417132718SkanDo not rely on this implementation; only the semantics documented 418132718Skanbelow are guaranteed. 419132718Skan 420132718Skan@deftypefn {Runtime Function} int __eqsf2 (float @var{a}, float @var{b}) 421132718Skan@deftypefnx {Runtime Function} int __eqdf2 (double @var{a}, double @var{b}) 422132718Skan@deftypefnx {Runtime Function} int __eqtf2 (long double @var{a}, long double @var{b}) 423132718SkanThese functions return zero if neither argument is NaN, and @var{a} and 424132718Skan@var{b} are equal. 425132718Skan@end deftypefn 426132718Skan 427132718Skan@deftypefn {Runtime Function} int __nesf2 (float @var{a}, float @var{b}) 428132718Skan@deftypefnx {Runtime Function} int __nedf2 (double @var{a}, double @var{b}) 429132718Skan@deftypefnx {Runtime Function} int __netf2 (long double @var{a}, long double @var{b}) 430132718SkanThese functions return a nonzero value if either argument is NaN, or 431132718Skanif @var{a} and @var{b} are unequal. 432132718Skan@end deftypefn 433132718Skan 434132718Skan@deftypefn {Runtime Function} int __gesf2 (float @var{a}, float @var{b}) 435132718Skan@deftypefnx {Runtime Function} int __gedf2 (double @var{a}, double @var{b}) 436132718Skan@deftypefnx {Runtime Function} int __getf2 (long double @var{a}, long double @var{b}) 437132718SkanThese functions return a value greater than or equal to zero if 438132718Skanneither argument is NaN, and @var{a} is greater than or equal to 439132718Skan@var{b}. 440132718Skan@end deftypefn 441132718Skan 442132718Skan@deftypefn {Runtime Function} int __ltsf2 (float @var{a}, float @var{b}) 443132718Skan@deftypefnx {Runtime Function} int __ltdf2 (double @var{a}, double @var{b}) 444132718Skan@deftypefnx {Runtime Function} int __lttf2 (long double @var{a}, long double @var{b}) 445132718SkanThese functions return a value less than zero if neither argument is 446132718SkanNaN, and @var{a} is strictly less than @var{b}. 447132718Skan@end deftypefn 448132718Skan 449132718Skan@deftypefn {Runtime Function} int __lesf2 (float @var{a}, float @var{b}) 450132718Skan@deftypefnx {Runtime Function} int __ledf2 (double @var{a}, double @var{b}) 451132718Skan@deftypefnx {Runtime Function} int __letf2 (long double @var{a}, long double @var{b}) 452132718SkanThese functions return a value less than or equal to zero if neither 453132718Skanargument is NaN, and @var{a} is less than or equal to @var{b}. 454132718Skan@end deftypefn 455132718Skan 456132718Skan@deftypefn {Runtime Function} int __gtsf2 (float @var{a}, float @var{b}) 457132718Skan@deftypefnx {Runtime Function} int __gtdf2 (double @var{a}, double @var{b}) 458132718Skan@deftypefnx {Runtime Function} int __gttf2 (long double @var{a}, long double @var{b}) 459132718SkanThese functions return a value greater than zero if neither argument 460132718Skanis NaN, and @var{a} is strictly greater than @var{b}. 461132718Skan@end deftypefn 462132718Skan 463169689Skan@subsection Other floating-point functions 464169689Skan 465169689Skan@deftypefn {Runtime Function} float __powisf2 (float @var{a}, int @var{b}) 466169689Skan@deftypefnx {Runtime Function} double __powidf2 (double @var{a}, int @var{b}) 467169689Skan@deftypefnx {Runtime Function} {long double} __powitf2 (long double @var{a}, int @var{b}) 468169689Skan@deftypefnx {Runtime Function} {long double} __powixf2 (long double @var{a}, int @var{b}) 469169689SkanThese functions convert raise @var{a} to the power @var{b}. 470169689Skan@end deftypefn 471169689Skan 472169689Skan@deftypefn {Runtime Function} {complex float} __mulsc3 (float @var{a}, float @var{b}, float @var{c}, float @var{d}) 473169689Skan@deftypefnx {Runtime Function} {complex double} __muldc3 (double @var{a}, double @var{b}, double @var{c}, double @var{d}) 474169689Skan@deftypefnx {Runtime Function} {complex long double} __multc3 (long double @var{a}, long double @var{b}, long double @var{c}, long double @var{d}) 475169689Skan@deftypefnx {Runtime Function} {complex long double} __mulxc3 (long double @var{a}, long double @var{b}, long double @var{c}, long double @var{d}) 476169689SkanThese functions return the product of @math{@var{a} + i@var{b}} and 477169689Skan@math{@var{c} + i@var{d}}, following the rules of C99 Annex G@. 478169689Skan@end deftypefn 479169689Skan 480169689Skan@deftypefn {Runtime Function} {complex float} __divsc3 (float @var{a}, float @var{b}, float @var{c}, float @var{d}) 481169689Skan@deftypefnx {Runtime Function} {complex double} __divdc3 (double @var{a}, double @var{b}, double @var{c}, double @var{d}) 482169689Skan@deftypefnx {Runtime Function} {complex long double} __divtc3 (long double @var{a}, long double @var{b}, long double @var{c}, long double @var{d}) 483169689Skan@deftypefnx {Runtime Function} {complex long double} __divxc3 (long double @var{a}, long double @var{b}, long double @var{c}, long double @var{d}) 484169689SkanThese functions return the quotient of @math{@var{a} + i@var{b}} and 485169689Skan@math{@var{c} + i@var{d}} (i.e., @math{(@var{a} + i@var{b}) / (@var{c} 486169689Skan+ i@var{d})}), following the rules of C99 Annex G@. 487169689Skan@end deftypefn 488169689Skan 489169689Skan@node Decimal float library routines 490169689Skan@section Routines for decimal floating point emulation 491169689Skan@cindex decimal float library 492169689Skan@cindex IEEE-754R 493169689Skan 494169689SkanThe software decimal floating point library implements IEEE 754R 495169689Skandecimal floating point arithmetic and is only activated on selected 496169689Skantargets. 497169689Skan 498169689Skan@subsection Arithmetic functions 499169689Skan 500169689Skan@deftypefn {Runtime Function} _Decimal32 __addsd3 (_Decimal32 @var{a}, _Decimal32 @var{b}) 501169689Skan@deftypefnx {Runtime Function} _Decimal64 __adddd3 (_Decimal64 @var{a}, _Decimal64 @var{b}) 502169689Skan@deftypefnx {Runtime Function} _Decimal128 __addtd3 (_Decimal128 @var{a}, _Decimal128 @var{b}) 503169689SkanThese functions return the sum of @var{a} and @var{b}. 504169689Skan@end deftypefn 505169689Skan 506169689Skan@deftypefn {Runtime Function} _Decimal32 __subsd3 (_Decimal32 @var{a}, _Decimal32 @var{b}) 507169689Skan@deftypefnx {Runtime Function} _Decimal64 __subdd3 (_Decimal64 @var{a}, _Decimal64 @var{b}) 508169689Skan@deftypefnx {Runtime Function} _Decimal128 __subtd3 (_Decimal128 @var{a}, _Decimal128 @var{b}) 509169689SkanThese functions return the difference between @var{b} and @var{a}; 510169689Skanthat is, @w{@math{@var{a} - @var{b}}}. 511169689Skan@end deftypefn 512169689Skan 513169689Skan@deftypefn {Runtime Function} _Decimal32 __mulsd3 (_Decimal32 @var{a}, _Decimal32 @var{b}) 514169689Skan@deftypefnx {Runtime Function} _Decimal64 __muldd3 (_Decimal64 @var{a}, _Decimal64 @var{b}) 515169689Skan@deftypefnx {Runtime Function} _Decimal128 __multd3 (_Decimal128 @var{a}, _Decimal128 @var{b}) 516169689SkanThese functions return the product of @var{a} and @var{b}. 517169689Skan@end deftypefn 518169689Skan 519169689Skan@deftypefn {Runtime Function} _Decimal32 __divsd3 (_Decimal32 @var{a}, _Decimal32 @var{b}) 520169689Skan@deftypefnx {Runtime Function} _Decimal64 __divdd3 (_Decimal64 @var{a}, _Decimal64 @var{b}) 521169689Skan@deftypefnx {Runtime Function} _Decimal128 __divtd3 (_Decimal128 @var{a}, _Decimal128 @var{b}) 522169689SkanThese functions return the quotient of @var{a} and @var{b}; that is, 523169689Skan@w{@math{@var{a} / @var{b}}}. 524169689Skan@end deftypefn 525169689Skan 526169689Skan@deftypefn {Runtime Function} _Decimal32 __negsd2 (_Decimal32 @var{a}) 527169689Skan@deftypefnx {Runtime Function} _Decimal64 __negdd2 (_Decimal64 @var{a}) 528169689Skan@deftypefnx {Runtime Function} _Decimal128 __negtd2 (_Decimal128 @var{a}) 529169689SkanThese functions return the negation of @var{a}. They simply flip the 530169689Skansign bit, so they can produce negative zero and negative NaN@. 531169689Skan@end deftypefn 532169689Skan 533169689Skan@subsection Conversion functions 534169689Skan 535169689Skan@c DFP/DFP conversions 536169689Skan@deftypefn {Runtime Function} _Decimal64 __extendsddd2 (_Decimal32 @var{a}) 537169689Skan@deftypefnx {Runtime Function} _Decimal128 __extendsdtd2 (_Decimal32 @var{a}) 538169689Skan@deftypefnx {Runtime Function} _Decimal128 __extendddtd2 (_Decimal64 @var{a}) 539169689Skan@c DFP/binary FP conversions 540169689Skan@deftypefnx {Runtime Function} _Decimal32 __extendsfsd (float @var{a}) 541169689Skan@deftypefnx {Runtime Function} double __extendsddf (_Decimal32 @var{a}) 542169689Skan@deftypefnx {Runtime Function} {long double} __extendsdxf (_Decimal32 @var{a}) 543169689Skan@deftypefnx {Runtime Function} _Decimal64 __extendsfdd (float @var{a}) 544169689Skan@deftypefnx {Runtime Function} _Decimal64 __extenddfdd (double @var{a}) 545169689Skan@deftypefnx {Runtime Function} {long double} __extendddxf (_Decimal64 @var{a}) 546169689Skan@deftypefnx {Runtime Function} _Decimal128 __extendsftd (float @var{a}) 547169689Skan@deftypefnx {Runtime Function} _Decimal128 __extenddftd (double @var{a}) 548169689Skan@deftypefnx {Runtime Function} _Decimal128 __extendxftd ({long double} @var{a}) 549169689SkanThese functions extend @var{a} to the wider mode of their return type. 550169689Skan@end deftypefn 551169689Skan 552169689Skan@c DFP/DFP conversions 553169689Skan@deftypefn {Runtime Function} _Decimal32 __truncddsd2 (_Decimal64 @var{a}) 554169689Skan@deftypefnx {Runtime Function} _Decimal32 __trunctdsd2 (_Decimal128 @var{a}) 555169689Skan@deftypefnx {Runtime Function} _Decimal64 __trunctddd2 (_Decimal128 @var{a}) 556169689Skan@c DFP/binary FP conversions 557169689Skan@deftypefnx {Runtime Function} float __truncsdsf (_Decimal32 @var{a}) 558169689Skan@deftypefnx {Runtime Function} _Decimal32 __truncdfsd (double @var{a}) 559169689Skan@deftypefnx {Runtime Function} _Decimal32 __truncxfsd ({long double} @var{a}) 560169689Skan@deftypefnx {Runtime Function} float __truncddsf (_Decimal64 @var{a}) 561169689Skan@deftypefnx {Runtime Function} double __truncdddf (_Decimal64 @var{a}) 562169689Skan@deftypefnx {Runtime Function} _Decimal64 __truncxfdd ({long double} @var{a}) 563169689Skan@deftypefnx {Runtime Function} float __trunctdsf (_Decimal128 @var{a}) 564169689Skan@deftypefnx {Runtime Function} double __trunctddf (_Decimal128 @var{a}) 565169689Skan@deftypefnx {Runtime Function} {long double} __trunctdxf (_Decimal128 @var{a}) 566169689SkanThese functions truncate @var{a} to the narrower mode of their return 567169689Skantype. 568169689Skan@end deftypefn 569169689Skan 570169689Skan@deftypefn {Runtime Function} int __fixsdsi (_Decimal32 @var{a}) 571169689Skan@deftypefnx {Runtime Function} int __fixddsi (_Decimal64 @var{a}) 572169689Skan@deftypefnx {Runtime Function} int __fixtdsi (_Decimal128 @var{a}) 573169689SkanThese functions convert @var{a} to a signed integer. 574169689Skan@end deftypefn 575169689Skan 576169689Skan@deftypefn {Runtime Function} long __fixsddi (_Decimal32 @var{a}) 577169689Skan@deftypefnx {Runtime Function} long __fixdddi (_Decimal64 @var{a}) 578169689Skan@deftypefnx {Runtime Function} long __fixtddi (_Decimal128 @var{a}) 579169689SkanThese functions convert @var{a} to a signed long. 580169689Skan@end deftypefn 581169689Skan 582169689Skan@deftypefn {Runtime Function} {unsigned int} __fixunssdsi (_Decimal32 @var{a}) 583169689Skan@deftypefnx {Runtime Function} {unsigned int} __fixunsddsi (_Decimal64 @var{a}) 584169689Skan@deftypefnx {Runtime Function} {unsigned int} __fixunstdsi (_Decimal128 @var{a}) 585169689SkanThese functions convert @var{a} to an unsigned integer. Negative values all become zero. 586169689Skan@end deftypefn 587169689Skan 588169689Skan@deftypefn {Runtime Function} {unsigned long} __fixunssddi (_Decimal32 @var{a}) 589169689Skan@deftypefnx {Runtime Function} {unsigned long} __fixunsdddi (_Decimal64 @var{a}) 590169689Skan@deftypefnx {Runtime Function} {unsigned long} __fixunstddi (_Decimal128 @var{a}) 591169689SkanThese functions convert @var{a} to an unsigned long. Negative values 592169689Skanall become zero. 593169689Skan@end deftypefn 594169689Skan 595169689Skan@deftypefn {Runtime Function} _Decimal32 __floatsisd (int @var{i}) 596169689Skan@deftypefnx {Runtime Function} _Decimal64 __floatsidd (int @var{i}) 597169689Skan@deftypefnx {Runtime Function} _Decimal128 __floatsitd (int @var{i}) 598169689SkanThese functions convert @var{i}, a signed integer, to decimal floating point. 599169689Skan@end deftypefn 600169689Skan 601169689Skan@deftypefn {Runtime Function} _Decimal32 __floatdisd (long @var{i}) 602169689Skan@deftypefnx {Runtime Function} _Decimal64 __floatdidd (long @var{i}) 603169689Skan@deftypefnx {Runtime Function} _Decimal128 __floatditd (long @var{i}) 604169689SkanThese functions convert @var{i}, a signed long, to decimal floating point. 605169689Skan@end deftypefn 606169689Skan 607169689Skan@deftypefn {Runtime Function} _Decimal32 __floatunssisd (unsigned int @var{i}) 608169689Skan@deftypefnx {Runtime Function} _Decimal64 __floatunssidd (unsigned int @var{i}) 609169689Skan@deftypefnx {Runtime Function} _Decimal128 __floatunssitd (unsigned int @var{i}) 610169689SkanThese functions convert @var{i}, an unsigned integer, to decimal floating point. 611169689Skan@end deftypefn 612169689Skan 613169689Skan@deftypefn {Runtime Function} _Decimal32 __floatunsdisd (unsigned long @var{i}) 614169689Skan@deftypefnx {Runtime Function} _Decimal64 __floatunsdidd (unsigned long @var{i}) 615169689Skan@deftypefnx {Runtime Function} _Decimal128 __floatunsditd (unsigned long @var{i}) 616169689SkanThese functions convert @var{i}, an unsigned long, to decimal floating point. 617169689Skan@end deftypefn 618169689Skan 619169689Skan@subsection Comparison functions 620169689Skan 621169689Skan@deftypefn {Runtime Function} int __unordsd2 (_Decimal32 @var{a}, _Decimal32 @var{b}) 622169689Skan@deftypefnx {Runtime Function} int __unorddd2 (_Decimal64 @var{a}, _Decimal64 @var{b}) 623169689Skan@deftypefnx {Runtime Function} int __unordtd2 (_Decimal128 @var{a}, _Decimal128 @var{b}) 624169689SkanThese functions return a nonzero value if either argument is NaN, otherwise 0. 625169689Skan@end deftypefn 626169689Skan 627169689SkanThere is also a complete group of higher level functions which 628169689Skancorrespond directly to comparison operators. They implement the ISO C 629169689Skansemantics for floating-point comparisons, taking NaN into account. 630169689SkanPay careful attention to the return values defined for each set. 631169689SkanUnder the hood, all of these routines are implemented as 632169689Skan 633169689Skan@smallexample 634169689Skan if (__unord@var{X}d2 (a, b)) 635169689Skan return @var{E}; 636169689Skan return __cmp@var{X}d2 (a, b); 637169689Skan@end smallexample 638169689Skan 639169689Skan@noindent 640169689Skanwhere @var{E} is a constant chosen to give the proper behavior for 641169689SkanNaN@. Thus, the meaning of the return value is different for each set. 642169689SkanDo not rely on this implementation; only the semantics documented 643169689Skanbelow are guaranteed. 644169689Skan 645169689Skan@deftypefn {Runtime Function} int __eqsd2 (_Decimal32 @var{a}, _Decimal32 @var{b}) 646169689Skan@deftypefnx {Runtime Function} int __eqdd2 (_Decimal64 @var{a}, _Decimal64 @var{b}) 647169689Skan@deftypefnx {Runtime Function} int __eqtd2 (_Decimal128 @var{a}, _Decimal128 @var{b}) 648169689SkanThese functions return zero if neither argument is NaN, and @var{a} and 649169689Skan@var{b} are equal. 650169689Skan@end deftypefn 651169689Skan 652169689Skan@deftypefn {Runtime Function} int __nesd2 (_Decimal32 @var{a}, _Decimal32 @var{b}) 653169689Skan@deftypefnx {Runtime Function} int __nedd2 (_Decimal64 @var{a}, _Decimal64 @var{b}) 654169689Skan@deftypefnx {Runtime Function} int __netd2 (_Decimal128 @var{a}, _Decimal128 @var{b}) 655169689SkanThese functions return a nonzero value if either argument is NaN, or 656169689Skanif @var{a} and @var{b} are unequal. 657169689Skan@end deftypefn 658169689Skan 659169689Skan@deftypefn {Runtime Function} int __gesd2 (_Decimal32 @var{a}, _Decimal32 @var{b}) 660169689Skan@deftypefnx {Runtime Function} int __gedd2 (_Decimal64 @var{a}, _Decimal64 @var{b}) 661169689Skan@deftypefnx {Runtime Function} int __getd2 (_Decimal128 @var{a}, _Decimal128 @var{b}) 662169689SkanThese functions return a value greater than or equal to zero if 663169689Skanneither argument is NaN, and @var{a} is greater than or equal to 664169689Skan@var{b}. 665169689Skan@end deftypefn 666169689Skan 667169689Skan@deftypefn {Runtime Function} int __ltsd2 (_Decimal32 @var{a}, _Decimal32 @var{b}) 668169689Skan@deftypefnx {Runtime Function} int __ltdd2 (_Decimal64 @var{a}, _Decimal64 @var{b}) 669169689Skan@deftypefnx {Runtime Function} int __lttd2 (_Decimal128 @var{a}, _Decimal128 @var{b}) 670169689SkanThese functions return a value less than zero if neither argument is 671169689SkanNaN, and @var{a} is strictly less than @var{b}. 672169689Skan@end deftypefn 673169689Skan 674169689Skan@deftypefn {Runtime Function} int __lesd2 (_Decimal32 @var{a}, _Decimal32 @var{b}) 675169689Skan@deftypefnx {Runtime Function} int __ledd2 (_Decimal64 @var{a}, _Decimal64 @var{b}) 676169689Skan@deftypefnx {Runtime Function} int __letd2 (_Decimal128 @var{a}, _Decimal128 @var{b}) 677169689SkanThese functions return a value less than or equal to zero if neither 678169689Skanargument is NaN, and @var{a} is less than or equal to @var{b}. 679169689Skan@end deftypefn 680169689Skan 681169689Skan@deftypefn {Runtime Function} int __gtsd2 (_Decimal32 @var{a}, _Decimal32 @var{b}) 682169689Skan@deftypefnx {Runtime Function} int __gtdd2 (_Decimal64 @var{a}, _Decimal64 @var{b}) 683169689Skan@deftypefnx {Runtime Function} int __gttd2 (_Decimal128 @var{a}, _Decimal128 @var{b}) 684169689SkanThese functions return a value greater than zero if neither argument 685169689Skanis NaN, and @var{a} is strictly greater than @var{b}. 686169689Skan@end deftypefn 687169689Skan 688132718Skan@node Exception handling routines 689132718Skan@section Language-independent routines for exception handling 690132718Skan 691132718Skandocument me! 692132718Skan 693132718Skan@smallexample 694132718Skan _Unwind_DeleteException 695132718Skan _Unwind_Find_FDE 696132718Skan _Unwind_ForcedUnwind 697132718Skan _Unwind_GetGR 698132718Skan _Unwind_GetIP 699132718Skan _Unwind_GetLanguageSpecificData 700132718Skan _Unwind_GetRegionStart 701132718Skan _Unwind_GetTextRelBase 702132718Skan _Unwind_GetDataRelBase 703132718Skan _Unwind_RaiseException 704132718Skan _Unwind_Resume 705132718Skan _Unwind_SetGR 706132718Skan _Unwind_SetIP 707132718Skan _Unwind_FindEnclosingFunction 708132718Skan _Unwind_SjLj_Register 709132718Skan _Unwind_SjLj_Unregister 710132718Skan _Unwind_SjLj_RaiseException 711132718Skan _Unwind_SjLj_ForcedUnwind 712132718Skan _Unwind_SjLj_Resume 713132718Skan __deregister_frame 714132718Skan __deregister_frame_info 715132718Skan __deregister_frame_info_bases 716132718Skan __register_frame 717132718Skan __register_frame_info 718132718Skan __register_frame_info_bases 719132718Skan __register_frame_info_table 720132718Skan __register_frame_info_table_bases 721132718Skan __register_frame_table 722132718Skan@end smallexample 723132718Skan 724132718Skan@node Miscellaneous routines 725132718Skan@section Miscellaneous runtime library routines 726132718Skan 727132718Skan@subsection Cache control functions 728132718Skan@deftypefn {Runtime Function} void __clear_cache (char *@var{beg}, char *@var{end}) 729132718SkanThis function clears the instruction cache between @var{beg} and @var{end}. 730132718Skan@end deftypefn 731132718Skan 732