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
215259563Spfg@deftypefn {Runtime Function} int32_t __bswapsi2 (int32_t @var{a})
216259563Spfg@deftypefnx {Runtime Function} int64_t __bswapdi2 (int64_t @var{a})
217259563SpfgThese functions return the @var{a} byteswapped.
218259563Spfg@end deftypefn
219259563Spfg
220132718Skan@node Soft float library routines
221132718Skan@section Routines for floating point emulation
222132718Skan@cindex soft float library
223132718Skan@cindex arithmetic library
224132718Skan@cindex math library
225132718Skan@opindex msoft-float
226132718Skan
227132718SkanThe software floating point library is used on machines which do not
228132718Skanhave hardware support for floating point.  It is also used whenever
229132718Skan@option{-msoft-float} is used to disable generation of floating point
230132718Skaninstructions.  (Not all targets support this switch.)
231132718Skan
232132718SkanFor compatibility with other compilers, the floating point emulation
233132718Skanroutines can be renamed with the @code{DECLARE_LIBRARY_RENAMES} macro
234132718Skan(@pxref{Library Calls}).  In this section, the default names are used.
235132718Skan
236132718SkanPresently the library does not support @code{XFmode}, which is used
237132718Skanfor @code{long double} on some architectures.
238132718Skan
239132718Skan@subsection Arithmetic functions
240132718Skan
241132718Skan@deftypefn {Runtime Function} float __addsf3 (float @var{a}, float @var{b})
242132718Skan@deftypefnx {Runtime Function} double __adddf3 (double @var{a}, double @var{b})
243132718Skan@deftypefnx {Runtime Function} {long double} __addtf3 (long double @var{a}, long double @var{b})
244132718Skan@deftypefnx {Runtime Function} {long double} __addxf3 (long double @var{a}, long double @var{b})
245132718SkanThese functions return the sum of @var{a} and @var{b}.
246132718Skan@end deftypefn
247132718Skan
248132718Skan@deftypefn {Runtime Function} float __subsf3 (float @var{a}, float @var{b})
249132718Skan@deftypefnx {Runtime Function} double __subdf3 (double @var{a}, double @var{b})
250132718Skan@deftypefnx {Runtime Function} {long double} __subtf3 (long double @var{a}, long double @var{b})
251132718Skan@deftypefnx {Runtime Function} {long double} __subxf3 (long double @var{a}, long double @var{b})
252132718SkanThese functions return the difference between @var{b} and @var{a};
253132718Skanthat is, @w{@math{@var{a} - @var{b}}}.
254132718Skan@end deftypefn
255132718Skan
256132718Skan@deftypefn {Runtime Function} float __mulsf3 (float @var{a}, float @var{b})
257132718Skan@deftypefnx {Runtime Function} double __muldf3 (double @var{a}, double @var{b})
258132718Skan@deftypefnx {Runtime Function} {long double} __multf3 (long double @var{a}, long double @var{b})
259132718Skan@deftypefnx {Runtime Function} {long double} __mulxf3 (long double @var{a}, long double @var{b})
260132718SkanThese functions return the product of @var{a} and @var{b}.
261132718Skan@end deftypefn
262132718Skan
263132718Skan@deftypefn {Runtime Function} float __divsf3 (float @var{a}, float @var{b})
264132718Skan@deftypefnx {Runtime Function} double __divdf3 (double @var{a}, double @var{b})
265132718Skan@deftypefnx {Runtime Function} {long double} __divtf3 (long double @var{a}, long double @var{b})
266132718Skan@deftypefnx {Runtime Function} {long double} __divxf3 (long double @var{a}, long double @var{b})
267132718SkanThese functions return the quotient of @var{a} and @var{b}; that is,
268132718Skan@w{@math{@var{a} / @var{b}}}.
269132718Skan@end deftypefn
270132718Skan
271132718Skan@deftypefn {Runtime Function} float __negsf2 (float @var{a})
272132718Skan@deftypefnx {Runtime Function} double __negdf2 (double @var{a})
273132718Skan@deftypefnx {Runtime Function} {long double} __negtf2 (long double @var{a})
274132718Skan@deftypefnx {Runtime Function} {long double} __negxf2 (long double @var{a})
275132718SkanThese functions return the negation of @var{a}.  They simply flip the
276169689Skansign bit, so they can produce negative zero and negative NaN@.
277132718Skan@end deftypefn
278132718Skan
279132718Skan@subsection Conversion functions
280132718Skan
281132718Skan@deftypefn {Runtime Function} double __extendsfdf2 (float @var{a})
282132718Skan@deftypefnx {Runtime Function} {long double} __extendsftf2 (float @var{a})
283132718Skan@deftypefnx {Runtime Function} {long double} __extendsfxf2 (float @var{a})
284132718Skan@deftypefnx {Runtime Function} {long double} __extenddftf2 (double @var{a})
285132718Skan@deftypefnx {Runtime Function} {long double} __extenddfxf2 (double @var{a})
286132718SkanThese functions extend @var{a} to the wider mode of their return
287132718Skantype.
288132718Skan@end deftypefn
289132718Skan
290132718Skan@deftypefn {Runtime Function} double __truncxfdf2 (long double @var{a})
291132718Skan@deftypefnx {Runtime Function} double __trunctfdf2 (long double @var{a})
292132718Skan@deftypefnx {Runtime Function} float __truncxfsf2 (long double @var{a})
293132718Skan@deftypefnx {Runtime Function} float __trunctfsf2 (long double @var{a})
294132718Skan@deftypefnx {Runtime Function} float __truncdfsf2 (double @var{a})
295132718SkanThese functions truncate @var{a} to the narrower mode of their return
296132718Skantype, rounding toward zero.
297132718Skan@end deftypefn
298132718Skan
299132718Skan@deftypefn {Runtime Function} int __fixsfsi (float @var{a})
300132718Skan@deftypefnx {Runtime Function} int __fixdfsi (double @var{a})
301132718Skan@deftypefnx {Runtime Function} int __fixtfsi (long double @var{a})
302132718Skan@deftypefnx {Runtime Function} int __fixxfsi (long double @var{a})
303132718SkanThese functions convert @var{a} to a signed integer, rounding toward zero.
304132718Skan@end deftypefn
305132718Skan
306132718Skan@deftypefn {Runtime Function} long __fixsfdi (float @var{a})
307132718Skan@deftypefnx {Runtime Function} long __fixdfdi (double @var{a})
308132718Skan@deftypefnx {Runtime Function} long __fixtfdi (long double @var{a})
309132718Skan@deftypefnx {Runtime Function} long __fixxfdi (long double @var{a})
310132718SkanThese functions convert @var{a} to a signed long, rounding toward zero.
311132718Skan@end deftypefn
312132718Skan
313132718Skan@deftypefn {Runtime Function} {long long} __fixsfti (float @var{a})
314132718Skan@deftypefnx {Runtime Function} {long long} __fixdfti (double @var{a})
315132718Skan@deftypefnx {Runtime Function} {long long} __fixtfti (long double @var{a})
316132718Skan@deftypefnx {Runtime Function} {long long} __fixxfti (long double @var{a})
317132718SkanThese functions convert @var{a} to a signed long long, rounding toward zero.
318132718Skan@end deftypefn
319132718Skan
320132718Skan@deftypefn {Runtime Function} {unsigned int} __fixunssfsi (float @var{a})
321132718Skan@deftypefnx {Runtime Function} {unsigned int} __fixunsdfsi (double @var{a})
322132718Skan@deftypefnx {Runtime Function} {unsigned int} __fixunstfsi (long double @var{a})
323132718Skan@deftypefnx {Runtime Function} {unsigned int} __fixunsxfsi (long double @var{a})
324132718SkanThese functions convert @var{a} to an unsigned integer, rounding
325132718Skantoward zero.  Negative values all become zero.
326132718Skan@end deftypefn
327132718Skan
328132718Skan@deftypefn {Runtime Function} {unsigned long} __fixunssfdi (float @var{a})
329132718Skan@deftypefnx {Runtime Function} {unsigned long} __fixunsdfdi (double @var{a})
330132718Skan@deftypefnx {Runtime Function} {unsigned long} __fixunstfdi (long double @var{a})
331132718Skan@deftypefnx {Runtime Function} {unsigned long} __fixunsxfdi (long double @var{a})
332132718SkanThese functions convert @var{a} to an unsigned long, rounding
333132718Skantoward zero.  Negative values all become zero.
334132718Skan@end deftypefn
335132718Skan
336132718Skan@deftypefn {Runtime Function} {unsigned long long} __fixunssfti (float @var{a})
337132718Skan@deftypefnx {Runtime Function} {unsigned long long} __fixunsdfti (double @var{a})
338132718Skan@deftypefnx {Runtime Function} {unsigned long long} __fixunstfti (long double @var{a})
339132718Skan@deftypefnx {Runtime Function} {unsigned long long} __fixunsxfti (long double @var{a})
340132718SkanThese functions convert @var{a} to an unsigned long long, rounding
341132718Skantoward zero.  Negative values all become zero.
342132718Skan@end deftypefn
343132718Skan
344132718Skan@deftypefn {Runtime Function} float __floatsisf (int @var{i})
345132718Skan@deftypefnx {Runtime Function} double __floatsidf (int @var{i})
346132718Skan@deftypefnx {Runtime Function} {long double} __floatsitf (int @var{i})
347132718Skan@deftypefnx {Runtime Function} {long double} __floatsixf (int @var{i})
348132718SkanThese functions convert @var{i}, a signed integer, to floating point.
349132718Skan@end deftypefn
350132718Skan
351132718Skan@deftypefn {Runtime Function} float __floatdisf (long @var{i})
352132718Skan@deftypefnx {Runtime Function} double __floatdidf (long @var{i})
353132718Skan@deftypefnx {Runtime Function} {long double} __floatditf (long @var{i})
354132718Skan@deftypefnx {Runtime Function} {long double} __floatdixf (long @var{i})
355132718SkanThese functions convert @var{i}, a signed long, to floating point.
356132718Skan@end deftypefn
357132718Skan
358132718Skan@deftypefn {Runtime Function} float __floattisf (long long @var{i})
359132718Skan@deftypefnx {Runtime Function} double __floattidf (long long @var{i})
360132718Skan@deftypefnx {Runtime Function} {long double} __floattitf (long long @var{i})
361132718Skan@deftypefnx {Runtime Function} {long double} __floattixf (long long @var{i})
362132718SkanThese functions convert @var{i}, a signed long long, to floating point.
363132718Skan@end deftypefn
364132718Skan
365169689Skan@deftypefn {Runtime Function} float __floatunsisf (unsigned int @var{i})
366169689Skan@deftypefnx {Runtime Function} double __floatunsidf (unsigned int @var{i})
367169689Skan@deftypefnx {Runtime Function} {long double} __floatunsitf (unsigned int @var{i})
368169689Skan@deftypefnx {Runtime Function} {long double} __floatunsixf (unsigned int @var{i})
369169689SkanThese functions convert @var{i}, an unsigned integer, to floating point.
370169689Skan@end deftypefn
371169689Skan
372169689Skan@deftypefn {Runtime Function} float __floatundisf (unsigned long @var{i})
373169689Skan@deftypefnx {Runtime Function} double __floatundidf (unsigned long @var{i})
374169689Skan@deftypefnx {Runtime Function} {long double} __floatunditf (unsigned long @var{i})
375169689Skan@deftypefnx {Runtime Function} {long double} __floatundixf (unsigned long @var{i})
376169689SkanThese functions convert @var{i}, an unsigned long, to floating point.
377169689Skan@end deftypefn
378169689Skan
379169689Skan@deftypefn {Runtime Function} float __floatuntisf (unsigned long long @var{i})
380169689Skan@deftypefnx {Runtime Function} double __floatuntidf (unsigned long long @var{i})
381169689Skan@deftypefnx {Runtime Function} {long double} __floatuntitf (unsigned long long @var{i})
382169689Skan@deftypefnx {Runtime Function} {long double} __floatuntixf (unsigned long long @var{i})
383169689SkanThese functions convert @var{i}, an unsigned long long, to floating point.
384169689Skan@end deftypefn
385169689Skan
386132718Skan@subsection Comparison functions
387132718Skan
388132718SkanThere are two sets of basic comparison functions.
389132718Skan
390132718Skan@deftypefn {Runtime Function} int __cmpsf2 (float @var{a}, float @var{b})
391132718Skan@deftypefnx {Runtime Function} int __cmpdf2 (double @var{a}, double @var{b})
392132718Skan@deftypefnx {Runtime Function} int __cmptf2 (long double @var{a}, long double @var{b})
393132718SkanThese functions calculate @math{a <=> b}.  That is, if @var{a} is less
394169689Skanthan @var{b}, they return @minus{}1; if @var{a} is greater than @var{b}, they
395132718Skanreturn 1; and if @var{a} and @var{b} are equal they return 0.  If
396132718Skaneither argument is NaN they return 1, but you should not rely on this;
397132718Skanif NaN is a possibility, use one of the higher-level comparison
398132718Skanfunctions.
399132718Skan@end deftypefn
400132718Skan
401132718Skan@deftypefn {Runtime Function} int __unordsf2 (float @var{a}, float @var{b})
402132718Skan@deftypefnx {Runtime Function} int __unorddf2 (double @var{a}, double @var{b})
403132718Skan@deftypefnx {Runtime Function} int __unordtf2 (long double @var{a}, long double @var{b})
404132718SkanThese functions return a nonzero value if either argument is NaN, otherwise 0.
405132718Skan@end deftypefn
406132718Skan
407132718SkanThere is also a complete group of higher level functions which
408132718Skancorrespond directly to comparison operators.  They implement the ISO C
409132718Skansemantics for floating-point comparisons, taking NaN into account.
410132718SkanPay careful attention to the return values defined for each set.
411132718SkanUnder the hood, all of these routines are implemented as
412132718Skan
413132718Skan@smallexample
414132718Skan  if (__unord@var{X}f2 (a, b))
415132718Skan    return @var{E};
416132718Skan  return __cmp@var{X}f2 (a, b);
417132718Skan@end smallexample
418132718Skan
419132718Skan@noindent
420132718Skanwhere @var{E} is a constant chosen to give the proper behavior for
421169689SkanNaN@.  Thus, the meaning of the return value is different for each set.
422132718SkanDo not rely on this implementation; only the semantics documented
423132718Skanbelow are guaranteed.
424132718Skan
425132718Skan@deftypefn {Runtime Function} int __eqsf2 (float @var{a}, float @var{b})
426132718Skan@deftypefnx {Runtime Function} int __eqdf2 (double @var{a}, double @var{b})
427132718Skan@deftypefnx {Runtime Function} int __eqtf2 (long double @var{a}, long double @var{b})
428132718SkanThese functions return zero if neither argument is NaN, and @var{a} and
429132718Skan@var{b} are equal.
430132718Skan@end deftypefn
431132718Skan
432132718Skan@deftypefn {Runtime Function} int __nesf2 (float @var{a}, float @var{b})
433132718Skan@deftypefnx {Runtime Function} int __nedf2 (double @var{a}, double @var{b})
434132718Skan@deftypefnx {Runtime Function} int __netf2 (long double @var{a}, long double @var{b})
435132718SkanThese functions return a nonzero value if either argument is NaN, or
436132718Skanif @var{a} and @var{b} are unequal.
437132718Skan@end deftypefn
438132718Skan
439132718Skan@deftypefn {Runtime Function} int __gesf2 (float @var{a}, float @var{b})
440132718Skan@deftypefnx {Runtime Function} int __gedf2 (double @var{a}, double @var{b})
441132718Skan@deftypefnx {Runtime Function} int __getf2 (long double @var{a}, long double @var{b})
442132718SkanThese functions return a value greater than or equal to zero if
443132718Skanneither argument is NaN, and @var{a} is greater than or equal to
444132718Skan@var{b}.
445132718Skan@end deftypefn
446132718Skan
447132718Skan@deftypefn {Runtime Function} int __ltsf2 (float @var{a}, float @var{b})
448132718Skan@deftypefnx {Runtime Function} int __ltdf2 (double @var{a}, double @var{b})
449132718Skan@deftypefnx {Runtime Function} int __lttf2 (long double @var{a}, long double @var{b})
450132718SkanThese functions return a value less than zero if neither argument is
451132718SkanNaN, and @var{a} is strictly less than @var{b}.
452132718Skan@end deftypefn
453132718Skan
454132718Skan@deftypefn {Runtime Function} int __lesf2 (float @var{a}, float @var{b})
455132718Skan@deftypefnx {Runtime Function} int __ledf2 (double @var{a}, double @var{b})
456132718Skan@deftypefnx {Runtime Function} int __letf2 (long double @var{a}, long double @var{b})
457132718SkanThese functions return a value less than or equal to zero if neither
458132718Skanargument is NaN, and @var{a} is less than or equal to @var{b}.
459132718Skan@end deftypefn
460132718Skan
461132718Skan@deftypefn {Runtime Function} int __gtsf2 (float @var{a}, float @var{b})
462132718Skan@deftypefnx {Runtime Function} int __gtdf2 (double @var{a}, double @var{b})
463132718Skan@deftypefnx {Runtime Function} int __gttf2 (long double @var{a}, long double @var{b})
464132718SkanThese functions return a value greater than zero if neither argument
465132718Skanis NaN, and @var{a} is strictly greater than @var{b}.
466132718Skan@end deftypefn
467132718Skan
468169689Skan@subsection Other floating-point functions
469169689Skan
470169689Skan@deftypefn {Runtime Function} float __powisf2 (float @var{a}, int @var{b})
471169689Skan@deftypefnx {Runtime Function} double __powidf2 (double @var{a}, int @var{b})
472169689Skan@deftypefnx {Runtime Function} {long double} __powitf2 (long double @var{a}, int @var{b})
473169689Skan@deftypefnx {Runtime Function} {long double} __powixf2 (long double @var{a}, int @var{b})
474169689SkanThese functions convert raise @var{a} to the power @var{b}.
475169689Skan@end deftypefn
476169689Skan
477169689Skan@deftypefn {Runtime Function} {complex float} __mulsc3 (float @var{a}, float @var{b}, float @var{c}, float @var{d})
478169689Skan@deftypefnx {Runtime Function} {complex double} __muldc3 (double @var{a}, double @var{b}, double @var{c}, double @var{d})
479169689Skan@deftypefnx {Runtime Function} {complex long double} __multc3 (long double @var{a}, long double @var{b}, long double @var{c}, long double @var{d})
480169689Skan@deftypefnx {Runtime Function} {complex long double} __mulxc3 (long double @var{a}, long double @var{b}, long double @var{c}, long double @var{d})
481169689SkanThese functions return the product of @math{@var{a} + i@var{b}} and
482169689Skan@math{@var{c} + i@var{d}}, following the rules of C99 Annex G@.
483169689Skan@end deftypefn
484169689Skan
485169689Skan@deftypefn {Runtime Function} {complex float} __divsc3 (float @var{a}, float @var{b}, float @var{c}, float @var{d})
486169689Skan@deftypefnx {Runtime Function} {complex double} __divdc3 (double @var{a}, double @var{b}, double @var{c}, double @var{d})
487169689Skan@deftypefnx {Runtime Function} {complex long double} __divtc3 (long double @var{a}, long double @var{b}, long double @var{c}, long double @var{d})
488169689Skan@deftypefnx {Runtime Function} {complex long double} __divxc3 (long double @var{a}, long double @var{b}, long double @var{c}, long double @var{d})
489169689SkanThese functions return the quotient of @math{@var{a} + i@var{b}} and
490169689Skan@math{@var{c} + i@var{d}} (i.e., @math{(@var{a} + i@var{b}) / (@var{c}
491169689Skan+ i@var{d})}), following the rules of C99 Annex G@.
492169689Skan@end deftypefn
493169689Skan
494169689Skan@node Decimal float library routines
495169689Skan@section Routines for decimal floating point emulation
496169689Skan@cindex decimal float library
497169689Skan@cindex IEEE-754R
498169689Skan
499169689SkanThe software decimal floating point library implements IEEE 754R
500169689Skandecimal floating point arithmetic and is only activated on selected
501169689Skantargets.
502169689Skan
503169689Skan@subsection Arithmetic functions
504169689Skan
505169689Skan@deftypefn {Runtime Function} _Decimal32 __addsd3 (_Decimal32 @var{a}, _Decimal32 @var{b})
506169689Skan@deftypefnx {Runtime Function} _Decimal64 __adddd3 (_Decimal64 @var{a}, _Decimal64 @var{b})
507169689Skan@deftypefnx {Runtime Function} _Decimal128 __addtd3 (_Decimal128 @var{a}, _Decimal128 @var{b})
508169689SkanThese functions return the sum of @var{a} and @var{b}.
509169689Skan@end deftypefn
510169689Skan
511169689Skan@deftypefn {Runtime Function} _Decimal32 __subsd3 (_Decimal32 @var{a}, _Decimal32 @var{b})
512169689Skan@deftypefnx {Runtime Function} _Decimal64 __subdd3 (_Decimal64 @var{a}, _Decimal64 @var{b})
513169689Skan@deftypefnx {Runtime Function} _Decimal128 __subtd3 (_Decimal128 @var{a}, _Decimal128 @var{b})
514169689SkanThese functions return the difference between @var{b} and @var{a};
515169689Skanthat is, @w{@math{@var{a} - @var{b}}}.
516169689Skan@end deftypefn
517169689Skan
518169689Skan@deftypefn {Runtime Function} _Decimal32 __mulsd3 (_Decimal32 @var{a}, _Decimal32 @var{b})
519169689Skan@deftypefnx {Runtime Function} _Decimal64 __muldd3 (_Decimal64 @var{a}, _Decimal64 @var{b})
520169689Skan@deftypefnx {Runtime Function} _Decimal128 __multd3 (_Decimal128 @var{a}, _Decimal128 @var{b})
521169689SkanThese functions return the product of @var{a} and @var{b}.
522169689Skan@end deftypefn
523169689Skan
524169689Skan@deftypefn {Runtime Function} _Decimal32 __divsd3 (_Decimal32 @var{a}, _Decimal32 @var{b})
525169689Skan@deftypefnx {Runtime Function} _Decimal64 __divdd3 (_Decimal64 @var{a}, _Decimal64 @var{b})
526169689Skan@deftypefnx {Runtime Function} _Decimal128 __divtd3 (_Decimal128 @var{a}, _Decimal128 @var{b})
527169689SkanThese functions return the quotient of @var{a} and @var{b}; that is,
528169689Skan@w{@math{@var{a} / @var{b}}}.
529169689Skan@end deftypefn
530169689Skan
531169689Skan@deftypefn {Runtime Function} _Decimal32 __negsd2 (_Decimal32 @var{a})
532169689Skan@deftypefnx {Runtime Function} _Decimal64 __negdd2 (_Decimal64 @var{a})
533169689Skan@deftypefnx {Runtime Function} _Decimal128 __negtd2 (_Decimal128 @var{a})
534169689SkanThese functions return the negation of @var{a}.  They simply flip the
535169689Skansign bit, so they can produce negative zero and negative NaN@.
536169689Skan@end deftypefn
537169689Skan
538169689Skan@subsection Conversion functions
539169689Skan
540169689Skan@c DFP/DFP conversions
541169689Skan@deftypefn {Runtime Function} _Decimal64 __extendsddd2 (_Decimal32 @var{a})
542169689Skan@deftypefnx {Runtime Function} _Decimal128 __extendsdtd2 (_Decimal32 @var{a})
543169689Skan@deftypefnx {Runtime Function} _Decimal128 __extendddtd2 (_Decimal64 @var{a})
544169689Skan@c DFP/binary FP conversions
545169689Skan@deftypefnx {Runtime Function} _Decimal32 __extendsfsd (float @var{a})
546169689Skan@deftypefnx {Runtime Function} double __extendsddf (_Decimal32 @var{a})
547169689Skan@deftypefnx {Runtime Function} {long double} __extendsdxf (_Decimal32 @var{a})
548169689Skan@deftypefnx {Runtime Function} _Decimal64 __extendsfdd (float @var{a})
549169689Skan@deftypefnx {Runtime Function} _Decimal64 __extenddfdd (double @var{a})
550169689Skan@deftypefnx {Runtime Function} {long double} __extendddxf (_Decimal64 @var{a})
551169689Skan@deftypefnx {Runtime Function} _Decimal128 __extendsftd (float @var{a})
552169689Skan@deftypefnx {Runtime Function} _Decimal128 __extenddftd (double @var{a})
553169689Skan@deftypefnx {Runtime Function} _Decimal128 __extendxftd ({long double} @var{a})
554169689SkanThese functions extend @var{a} to the wider mode of their return type.
555169689Skan@end deftypefn
556169689Skan
557169689Skan@c DFP/DFP conversions
558169689Skan@deftypefn {Runtime Function} _Decimal32 __truncddsd2 (_Decimal64 @var{a})
559169689Skan@deftypefnx {Runtime Function} _Decimal32 __trunctdsd2 (_Decimal128 @var{a})
560169689Skan@deftypefnx {Runtime Function} _Decimal64 __trunctddd2 (_Decimal128 @var{a})
561169689Skan@c DFP/binary FP conversions
562169689Skan@deftypefnx {Runtime Function} float __truncsdsf (_Decimal32 @var{a})
563169689Skan@deftypefnx {Runtime Function} _Decimal32 __truncdfsd (double @var{a})
564169689Skan@deftypefnx {Runtime Function} _Decimal32 __truncxfsd ({long double} @var{a})
565169689Skan@deftypefnx {Runtime Function} float __truncddsf (_Decimal64 @var{a})
566169689Skan@deftypefnx {Runtime Function} double __truncdddf (_Decimal64 @var{a})
567169689Skan@deftypefnx {Runtime Function} _Decimal64 __truncxfdd ({long double} @var{a})
568169689Skan@deftypefnx {Runtime Function} float __trunctdsf (_Decimal128 @var{a})
569169689Skan@deftypefnx {Runtime Function} double __trunctddf (_Decimal128 @var{a})
570169689Skan@deftypefnx {Runtime Function} {long double} __trunctdxf (_Decimal128 @var{a})
571169689SkanThese functions truncate @var{a} to the narrower mode of their return
572169689Skantype.
573169689Skan@end deftypefn
574169689Skan
575169689Skan@deftypefn {Runtime Function} int __fixsdsi (_Decimal32 @var{a})
576169689Skan@deftypefnx {Runtime Function} int __fixddsi (_Decimal64 @var{a})
577169689Skan@deftypefnx {Runtime Function} int __fixtdsi (_Decimal128 @var{a})
578169689SkanThese functions convert @var{a} to a signed integer.
579169689Skan@end deftypefn
580169689Skan
581169689Skan@deftypefn {Runtime Function} long __fixsddi (_Decimal32 @var{a})
582169689Skan@deftypefnx {Runtime Function} long __fixdddi (_Decimal64 @var{a})
583169689Skan@deftypefnx {Runtime Function} long __fixtddi (_Decimal128 @var{a})
584169689SkanThese functions convert @var{a} to a signed long.
585169689Skan@end deftypefn
586169689Skan
587169689Skan@deftypefn {Runtime Function} {unsigned int} __fixunssdsi (_Decimal32 @var{a})
588169689Skan@deftypefnx {Runtime Function} {unsigned int} __fixunsddsi (_Decimal64 @var{a})
589169689Skan@deftypefnx {Runtime Function} {unsigned int} __fixunstdsi (_Decimal128 @var{a})
590169689SkanThese functions convert @var{a} to an unsigned integer.  Negative values all become zero.
591169689Skan@end deftypefn
592169689Skan
593169689Skan@deftypefn {Runtime Function} {unsigned long} __fixunssddi (_Decimal32 @var{a})
594169689Skan@deftypefnx {Runtime Function} {unsigned long} __fixunsdddi (_Decimal64 @var{a})
595169689Skan@deftypefnx {Runtime Function} {unsigned long} __fixunstddi (_Decimal128 @var{a})
596169689SkanThese functions convert @var{a} to an unsigned long.  Negative values
597169689Skanall become zero.
598169689Skan@end deftypefn
599169689Skan
600169689Skan@deftypefn {Runtime Function} _Decimal32 __floatsisd (int @var{i})
601169689Skan@deftypefnx {Runtime Function} _Decimal64 __floatsidd (int @var{i})
602169689Skan@deftypefnx {Runtime Function} _Decimal128 __floatsitd (int @var{i})
603169689SkanThese functions convert @var{i}, a signed integer, to decimal floating point.
604169689Skan@end deftypefn
605169689Skan
606169689Skan@deftypefn {Runtime Function} _Decimal32 __floatdisd (long @var{i})
607169689Skan@deftypefnx {Runtime Function} _Decimal64 __floatdidd (long @var{i})
608169689Skan@deftypefnx {Runtime Function} _Decimal128 __floatditd (long @var{i})
609169689SkanThese functions convert @var{i}, a signed long, to decimal floating point.
610169689Skan@end deftypefn
611169689Skan
612169689Skan@deftypefn {Runtime Function} _Decimal32 __floatunssisd (unsigned int @var{i})
613169689Skan@deftypefnx {Runtime Function} _Decimal64 __floatunssidd (unsigned int @var{i})
614169689Skan@deftypefnx {Runtime Function} _Decimal128 __floatunssitd (unsigned int @var{i})
615169689SkanThese functions convert @var{i}, an unsigned integer, to decimal floating point.
616169689Skan@end deftypefn
617169689Skan
618169689Skan@deftypefn {Runtime Function} _Decimal32 __floatunsdisd (unsigned long @var{i})
619169689Skan@deftypefnx {Runtime Function} _Decimal64 __floatunsdidd (unsigned long @var{i})
620169689Skan@deftypefnx {Runtime Function} _Decimal128 __floatunsditd (unsigned long @var{i})
621169689SkanThese functions convert @var{i}, an unsigned long, to decimal floating point.
622169689Skan@end deftypefn
623169689Skan
624169689Skan@subsection Comparison functions
625169689Skan
626169689Skan@deftypefn {Runtime Function} int __unordsd2 (_Decimal32 @var{a}, _Decimal32 @var{b})
627169689Skan@deftypefnx {Runtime Function} int __unorddd2 (_Decimal64 @var{a}, _Decimal64 @var{b})
628169689Skan@deftypefnx {Runtime Function} int __unordtd2 (_Decimal128 @var{a}, _Decimal128 @var{b})
629169689SkanThese functions return a nonzero value if either argument is NaN, otherwise 0.
630169689Skan@end deftypefn
631169689Skan
632169689SkanThere is also a complete group of higher level functions which
633169689Skancorrespond directly to comparison operators.  They implement the ISO C
634169689Skansemantics for floating-point comparisons, taking NaN into account.
635169689SkanPay careful attention to the return values defined for each set.
636169689SkanUnder the hood, all of these routines are implemented as
637169689Skan
638169689Skan@smallexample
639169689Skan  if (__unord@var{X}d2 (a, b))
640169689Skan    return @var{E};
641169689Skan  return __cmp@var{X}d2 (a, b);
642169689Skan@end smallexample
643169689Skan
644169689Skan@noindent
645169689Skanwhere @var{E} is a constant chosen to give the proper behavior for
646169689SkanNaN@.  Thus, the meaning of the return value is different for each set.
647169689SkanDo not rely on this implementation; only the semantics documented
648169689Skanbelow are guaranteed.
649169689Skan
650169689Skan@deftypefn {Runtime Function} int __eqsd2 (_Decimal32 @var{a}, _Decimal32 @var{b})
651169689Skan@deftypefnx {Runtime Function} int __eqdd2 (_Decimal64 @var{a}, _Decimal64 @var{b})
652169689Skan@deftypefnx {Runtime Function} int __eqtd2 (_Decimal128 @var{a}, _Decimal128 @var{b})
653169689SkanThese functions return zero if neither argument is NaN, and @var{a} and
654169689Skan@var{b} are equal.
655169689Skan@end deftypefn
656169689Skan
657169689Skan@deftypefn {Runtime Function} int __nesd2 (_Decimal32 @var{a}, _Decimal32 @var{b})
658169689Skan@deftypefnx {Runtime Function} int __nedd2 (_Decimal64 @var{a}, _Decimal64 @var{b})
659169689Skan@deftypefnx {Runtime Function} int __netd2 (_Decimal128 @var{a}, _Decimal128 @var{b})
660169689SkanThese functions return a nonzero value if either argument is NaN, or
661169689Skanif @var{a} and @var{b} are unequal.
662169689Skan@end deftypefn
663169689Skan
664169689Skan@deftypefn {Runtime Function} int __gesd2 (_Decimal32 @var{a}, _Decimal32 @var{b})
665169689Skan@deftypefnx {Runtime Function} int __gedd2 (_Decimal64 @var{a}, _Decimal64 @var{b})
666169689Skan@deftypefnx {Runtime Function} int __getd2 (_Decimal128 @var{a}, _Decimal128 @var{b})
667169689SkanThese functions return a value greater than or equal to zero if
668169689Skanneither argument is NaN, and @var{a} is greater than or equal to
669169689Skan@var{b}.
670169689Skan@end deftypefn
671169689Skan
672169689Skan@deftypefn {Runtime Function} int __ltsd2 (_Decimal32 @var{a}, _Decimal32 @var{b})
673169689Skan@deftypefnx {Runtime Function} int __ltdd2 (_Decimal64 @var{a}, _Decimal64 @var{b})
674169689Skan@deftypefnx {Runtime Function} int __lttd2 (_Decimal128 @var{a}, _Decimal128 @var{b})
675169689SkanThese functions return a value less than zero if neither argument is
676169689SkanNaN, and @var{a} is strictly less than @var{b}.
677169689Skan@end deftypefn
678169689Skan
679169689Skan@deftypefn {Runtime Function} int __lesd2 (_Decimal32 @var{a}, _Decimal32 @var{b})
680169689Skan@deftypefnx {Runtime Function} int __ledd2 (_Decimal64 @var{a}, _Decimal64 @var{b})
681169689Skan@deftypefnx {Runtime Function} int __letd2 (_Decimal128 @var{a}, _Decimal128 @var{b})
682169689SkanThese functions return a value less than or equal to zero if neither
683169689Skanargument is NaN, and @var{a} is less than or equal to @var{b}.
684169689Skan@end deftypefn
685169689Skan
686169689Skan@deftypefn {Runtime Function} int __gtsd2 (_Decimal32 @var{a}, _Decimal32 @var{b})
687169689Skan@deftypefnx {Runtime Function} int __gtdd2 (_Decimal64 @var{a}, _Decimal64 @var{b})
688169689Skan@deftypefnx {Runtime Function} int __gttd2 (_Decimal128 @var{a}, _Decimal128 @var{b})
689169689SkanThese functions return a value greater than zero if neither argument
690169689Skanis NaN, and @var{a} is strictly greater than @var{b}.
691169689Skan@end deftypefn
692169689Skan
693132718Skan@node Exception handling routines
694132718Skan@section Language-independent routines for exception handling
695132718Skan
696132718Skandocument me!
697132718Skan
698132718Skan@smallexample
699132718Skan  _Unwind_DeleteException
700132718Skan  _Unwind_Find_FDE
701132718Skan  _Unwind_ForcedUnwind
702132718Skan  _Unwind_GetGR
703132718Skan  _Unwind_GetIP
704132718Skan  _Unwind_GetLanguageSpecificData
705132718Skan  _Unwind_GetRegionStart
706132718Skan  _Unwind_GetTextRelBase
707132718Skan  _Unwind_GetDataRelBase
708132718Skan  _Unwind_RaiseException
709132718Skan  _Unwind_Resume
710132718Skan  _Unwind_SetGR
711132718Skan  _Unwind_SetIP
712132718Skan  _Unwind_FindEnclosingFunction
713132718Skan  _Unwind_SjLj_Register
714132718Skan  _Unwind_SjLj_Unregister
715132718Skan  _Unwind_SjLj_RaiseException
716132718Skan  _Unwind_SjLj_ForcedUnwind
717132718Skan  _Unwind_SjLj_Resume
718132718Skan  __deregister_frame
719132718Skan  __deregister_frame_info
720132718Skan  __deregister_frame_info_bases
721132718Skan  __register_frame
722132718Skan  __register_frame_info
723132718Skan  __register_frame_info_bases
724132718Skan  __register_frame_info_table
725132718Skan  __register_frame_info_table_bases
726132718Skan  __register_frame_table
727132718Skan@end smallexample
728132718Skan
729132718Skan@node Miscellaneous routines
730132718Skan@section Miscellaneous runtime library routines
731132718Skan
732132718Skan@subsection Cache control functions
733132718Skan@deftypefn {Runtime Function} void __clear_cache (char *@var{beg}, char *@var{end})
734132718SkanThis function clears the instruction cache between @var{beg} and @var{end}.
735132718Skan@end deftypefn
736