Update tk to version 8.5.5
[msysgit.git] / mingw / info / gccint.info
blob412378c32dc99b474e1634942ab7bf4df62dc41a
1 This is doc/gccint.info, produced by makeinfo version 4.8 from
2 ../../gcc-4.3.3/gcc/doc/gccint.texi.
4  Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
5 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software
6 Foundation, Inc.
8  Permission is granted to copy, distribute and/or modify this document
9 under the terms of the GNU Free Documentation License, Version 1.2 or
10 any later version published by the Free Software Foundation; with the
11 Invariant Sections being "GNU General Public License" and "Funding Free
12 Software", the Front-Cover texts being (a) (see below), and with the
13 Back-Cover Texts being (b) (see below).  A copy of the license is
14 included in the section entitled "GNU Free Documentation License".
16  (a) The FSF's Front-Cover Text is:
18  A GNU Manual
20  (b) The FSF's Back-Cover Text is:
22  You have freedom to copy and modify this GNU Manual, like GNU
23 software.  Copies published by the Free Software Foundation raise
24 funds for GNU development.
26 INFO-DIR-SECTION Software development
27 START-INFO-DIR-ENTRY
28 * gccint: (gccint).            Internals of the GNU Compiler Collection.
29 END-INFO-DIR-ENTRY
30  This file documents the internals of the GNU compilers.
32  Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
33 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software
34 Foundation, Inc.
36  Permission is granted to copy, distribute and/or modify this document
37 under the terms of the GNU Free Documentation License, Version 1.2 or
38 any later version published by the Free Software Foundation; with the
39 Invariant Sections being "GNU General Public License" and "Funding Free
40 Software", the Front-Cover texts being (a) (see below), and with the
41 Back-Cover Texts being (b) (see below).  A copy of the license is
42 included in the section entitled "GNU Free Documentation License".
44  (a) The FSF's Front-Cover Text is:
46  A GNU Manual
48  (b) The FSF's Back-Cover Text is:
50  You have freedom to copy and modify this GNU Manual, like GNU
51 software.  Copies published by the Free Software Foundation raise
52 funds for GNU development.
55 \x1f
56 File: gccint.info,  Node: Top,  Next: Contributing,  Up: (DIR)
58 Introduction
59 ************
61 This manual documents the internals of the GNU compilers, including how
62 to port them to new targets and some information about how to write
63 front ends for new languages.  It corresponds to the compilers
64 (4.3.3-tdm-1 mingw32) version 4.3.3.  The use of the GNU compilers is
65 documented in a separate manual.  *Note Introduction: (gcc)Top.
67  This manual is mainly a reference manual rather than a tutorial.  It
68 discusses how to contribute to GCC (*note Contributing::), the
69 characteristics of the machines supported by GCC as hosts and targets
70 (*note Portability::), how GCC relates to the ABIs on such systems
71 (*note Interface::), and the characteristics of the languages for which
72 GCC front ends are written (*note Languages::).  It then describes the
73 GCC source tree structure and build system, some of the interfaces to
74 GCC front ends, and how support for a target system is implemented in
75 GCC.
77  Additional tutorial information is linked to from
78 `http://gcc.gnu.org/readings.html'.
80 * Menu:
82 * Contributing::    How to contribute to testing and developing GCC.
83 * Portability::     Goals of GCC's portability features.
84 * Interface::       Function-call interface of GCC output.
85 * Libgcc::          Low-level runtime library used by GCC.
86 * Languages::       Languages for which GCC front ends are written.
87 * Source Tree::     GCC source tree structure and build system.
88 * Options::         Option specification files.
89 * Passes::          Order of passes, what they do, and what each file is for.
90 * Trees::           The source representation used by the C and C++ front ends.
91 * RTL::             The intermediate representation that most passes work on.
92 * Control Flow::    Maintaining and manipulating the control flow graph.
93 * Tree SSA::        Analysis and optimization of the tree representation.
94 * Loop Analysis and Representation:: Analysis and representation of loops
95 * Machine Desc::    How to write machine description instruction patterns.
96 * Target Macros::   How to write the machine description C macros and functions.
97 * Host Config::     Writing the `xm-MACHINE.h' file.
98 * Fragments::       Writing the `t-TARGET' and `x-HOST' files.
99 * Collect2::        How `collect2' works; how it finds `ld'.
100 * Header Dirs::     Understanding the standard header file directories.
101 * Type Information:: GCC's memory management; generating type information.
103 * Funding::         How to help assure funding for free software.
104 * GNU Project::     The GNU Project and GNU/Linux.
106 * Copying::         GNU General Public License says
107                      how you can copy and share GCC.
108 * GNU Free Documentation License:: How you can copy and share this manual.
109 * Contributors::    People who have contributed to GCC.
111 * Option Index::    Index to command line options.
112 * Concept Index::   Index of concepts and symbol names.
114 \x1f
115 File: gccint.info,  Node: Contributing,  Next: Portability,  Prev: Top,  Up: Top
117 1 Contributing to GCC Development
118 *********************************
120 If you would like to help pretest GCC releases to assure they work well,
121 current development sources are available by SVN (see
122 `http://gcc.gnu.org/svn.html').  Source and binary snapshots are also
123 available for FTP; see `http://gcc.gnu.org/snapshots.html'.
125  If you would like to work on improvements to GCC, please read the
126 advice at these URLs:
128      `http://gcc.gnu.org/contribute.html'
129      `http://gcc.gnu.org/contributewhy.html'
131 for information on how to make useful contributions and avoid
132 duplication of effort.  Suggested projects are listed at
133 `http://gcc.gnu.org/projects/'.
135 \x1f
136 File: gccint.info,  Node: Portability,  Next: Interface,  Prev: Contributing,  Up: Top
138 2 GCC and Portability
139 *********************
141 GCC itself aims to be portable to any machine where `int' is at least a
142 32-bit type.  It aims to target machines with a flat (non-segmented)
143 byte addressed data address space (the code address space can be
144 separate).  Target ABIs may have 8, 16, 32 or 64-bit `int' type.  `char'
145 can be wider than 8 bits.
147  GCC gets most of the information about the target machine from a
148 machine description which gives an algebraic formula for each of the
149 machine's instructions.  This is a very clean way to describe the
150 target.  But when the compiler needs information that is difficult to
151 express in this fashion, ad-hoc parameters have been defined for
152 machine descriptions.  The purpose of portability is to reduce the
153 total work needed on the compiler; it was not of interest for its own
154 sake.
156  GCC does not contain machine dependent code, but it does contain code
157 that depends on machine parameters such as endianness (whether the most
158 significant byte has the highest or lowest address of the bytes in a
159 word) and the availability of autoincrement addressing.  In the
160 RTL-generation pass, it is often necessary to have multiple strategies
161 for generating code for a particular kind of syntax tree, strategies
162 that are usable for different combinations of parameters.  Often, not
163 all possible cases have been addressed, but only the common ones or
164 only the ones that have been encountered.  As a result, a new target
165 may require additional strategies.  You will know if this happens
166 because the compiler will call `abort'.  Fortunately, the new
167 strategies can be added in a machine-independent fashion, and will
168 affect only the target machines that need them.
170 \x1f
171 File: gccint.info,  Node: Interface,  Next: Libgcc,  Prev: Portability,  Up: Top
173 3 Interfacing to GCC Output
174 ***************************
176 GCC is normally configured to use the same function calling convention
177 normally in use on the target system.  This is done with the
178 machine-description macros described (*note Target Macros::).
180  However, returning of structure and union values is done differently on
181 some target machines.  As a result, functions compiled with PCC
182 returning such types cannot be called from code compiled with GCC, and
183 vice versa.  This does not cause trouble often because few Unix library
184 routines return structures or unions.
186  GCC code returns structures and unions that are 1, 2, 4 or 8 bytes
187 long in the same registers used for `int' or `double' return values.
188 (GCC typically allocates variables of such types in registers also.)
189 Structures and unions of other sizes are returned by storing them into
190 an address passed by the caller (usually in a register).  The target
191 hook `TARGET_STRUCT_VALUE_RTX' tells GCC where to pass this address.
193  By contrast, PCC on most target machines returns structures and unions
194 of any size by copying the data into an area of static storage, and then
195 returning the address of that storage as if it were a pointer value.
196 The caller must copy the data from that memory area to the place where
197 the value is wanted.  This is slower than the method used by GCC, and
198 fails to be reentrant.
200  On some target machines, such as RISC machines and the 80386, the
201 standard system convention is to pass to the subroutine the address of
202 where to return the value.  On these machines, GCC has been configured
203 to be compatible with the standard compiler, when this method is used.
204 It may not be compatible for structures of 1, 2, 4 or 8 bytes.
206  GCC uses the system's standard convention for passing arguments.  On
207 some machines, the first few arguments are passed in registers; in
208 others, all are passed on the stack.  It would be possible to use
209 registers for argument passing on any machine, and this would probably
210 result in a significant speedup.  But the result would be complete
211 incompatibility with code that follows the standard convention.  So this
212 change is practical only if you are switching to GCC as the sole C
213 compiler for the system.  We may implement register argument passing on
214 certain machines once we have a complete GNU system so that we can
215 compile the libraries with GCC.
217  On some machines (particularly the SPARC), certain types of arguments
218 are passed "by invisible reference".  This means that the value is
219 stored in memory, and the address of the memory location is passed to
220 the subroutine.
222  If you use `longjmp', beware of automatic variables.  ISO C says that
223 automatic variables that are not declared `volatile' have undefined
224 values after a `longjmp'.  And this is all GCC promises to do, because
225 it is very difficult to restore register variables correctly, and one
226 of GCC's features is that it can put variables in registers without
227 your asking it to.
229 \x1f
230 File: gccint.info,  Node: Libgcc,  Next: Languages,  Prev: Interface,  Up: Top
232 4 The GCC low-level runtime library
233 ***********************************
235 GCC provides a low-level runtime library, `libgcc.a' or `libgcc_s.so.1'
236 on some platforms.  GCC generates calls to routines in this library
237 automatically, whenever it needs to perform some operation that is too
238 complicated to emit inline code for.
240  Most of the routines in `libgcc' handle arithmetic operations that the
241 target processor cannot perform directly.  This includes integer
242 multiply and divide on some machines, and all floating-point and
243 fixed-point operations on other machines.  `libgcc' also includes
244 routines for exception handling, and a handful of miscellaneous
245 operations.
247  Some of these routines can be defined in mostly machine-independent C.
248 Others must be hand-written in assembly language for each processor
249 that needs them.
251  GCC will also generate calls to C library routines, such as `memcpy'
252 and `memset', in some cases.  The set of routines that GCC may possibly
253 use is documented in *Note Other Builtins: (gcc)Other Builtins.
255  These routines take arguments and return values of a specific machine
256 mode, not a specific C type.  *Note Machine Modes::, for an explanation
257 of this concept.  For illustrative purposes, in this chapter the
258 floating point type `float' is assumed to correspond to `SFmode';
259 `double' to `DFmode'; and `long double' to both `TFmode' and `XFmode'.
260 Similarly, the integer types `int' and `unsigned int' correspond to
261 `SImode'; `long' and `unsigned long' to `DImode'; and `long long' and
262 `unsigned long long' to `TImode'.
264 * Menu:
266 * Integer library routines::
267 * Soft float library routines::
268 * Decimal float library routines::
269 * Fixed-point fractional library routines::
270 * Exception handling routines::
271 * Miscellaneous routines::
273 \x1f
274 File: gccint.info,  Node: Integer library routines,  Next: Soft float library routines,  Up: Libgcc
276 4.1 Routines for integer arithmetic
277 ===================================
279 The integer arithmetic routines are used on platforms that don't provide
280 hardware support for arithmetic operations on some modes.
282 4.1.1 Arithmetic functions
283 --------------------------
285  -- Runtime Function: int __ashlsi3 (int A, int B)
286  -- Runtime Function: long __ashldi3 (long A, int B)
287  -- Runtime Function: long long __ashlti3 (long long A, int B)
288      These functions return the result of shifting A left by B bits.
290  -- Runtime Function: int __ashrsi3 (int A, int B)
291  -- Runtime Function: long __ashrdi3 (long A, int B)
292  -- Runtime Function: long long __ashrti3 (long long A, int B)
293      These functions return the result of arithmetically shifting A
294      right by B bits.
296  -- Runtime Function: int __divsi3 (int A, int B)
297  -- Runtime Function: long __divdi3 (long A, long B)
298  -- Runtime Function: long long __divti3 (long long A, long long B)
299      These functions return the quotient of the signed division of A and
300      B.
302  -- Runtime Function: int __lshrsi3 (int A, int B)
303  -- Runtime Function: long __lshrdi3 (long A, int B)
304  -- Runtime Function: long long __lshrti3 (long long A, int B)
305      These functions return the result of logically shifting A right by
306      B bits.
308  -- Runtime Function: int __modsi3 (int A, int B)
309  -- Runtime Function: long __moddi3 (long A, long B)
310  -- Runtime Function: long long __modti3 (long long A, long long B)
311      These functions return the remainder of the signed division of A
312      and B.
314  -- Runtime Function: int __mulsi3 (int A, int B)
315  -- Runtime Function: long __muldi3 (long A, long B)
316  -- Runtime Function: long long __multi3 (long long A, long long B)
317      These functions return the product of A and B.
319  -- Runtime Function: long __negdi2 (long A)
320  -- Runtime Function: long long __negti2 (long long A)
321      These functions return the negation of A.
323  -- Runtime Function: unsigned int __udivsi3 (unsigned int A, unsigned
324           int B)
325  -- Runtime Function: unsigned long __udivdi3 (unsigned long A,
326           unsigned long B)
327  -- Runtime Function: unsigned long long __udivti3 (unsigned long long
328           A, unsigned long long B)
329      These functions return the quotient of the unsigned division of A
330      and B.
332  -- Runtime Function: unsigned long __udivmoddi3 (unsigned long A,
333           unsigned long B, unsigned long *C)
334  -- Runtime Function: unsigned long long __udivti3 (unsigned long long
335           A, unsigned long long B, unsigned long long *C)
336      These functions calculate both the quotient and remainder of the
337      unsigned division of A and B.  The return value is the quotient,
338      and the remainder is placed in variable pointed to by C.
340  -- Runtime Function: unsigned int __umodsi3 (unsigned int A, unsigned
341           int B)
342  -- Runtime Function: unsigned long __umoddi3 (unsigned long A,
343           unsigned long B)
344  -- Runtime Function: unsigned long long __umodti3 (unsigned long long
345           A, unsigned long long B)
346      These functions return the remainder of the unsigned division of A
347      and B.
349 4.1.2 Comparison functions
350 --------------------------
352 The following functions implement integral comparisons.  These functions
353 implement a low-level compare, upon which the higher level comparison
354 operators (such as less than and greater than or equal to) can be
355 constructed.  The returned values lie in the range zero to two, to allow
356 the high-level operators to be implemented by testing the returned
357 result using either signed or unsigned comparison.
359  -- Runtime Function: int __cmpdi2 (long A, long B)
360  -- Runtime Function: int __cmpti2 (long long A, long long B)
361      These functions perform a signed comparison of A and B.  If A is
362      less than B, they return 0; if A is greater than B, they return 2;
363      and if A and B are equal they return 1.
365  -- Runtime Function: int __ucmpdi2 (unsigned long A, unsigned long B)
366  -- Runtime Function: int __ucmpti2 (unsigned long long A, unsigned
367           long long B)
368      These functions perform an unsigned comparison of A and B.  If A
369      is less than B, they return 0; if A is greater than B, they return
370      2; and if A and B are equal they return 1.
372 4.1.3 Trapping arithmetic functions
373 -----------------------------------
375 The following functions implement trapping arithmetic.  These functions
376 call the libc function `abort' upon signed arithmetic overflow.
378  -- Runtime Function: int __absvsi2 (int A)
379  -- Runtime Function: long __absvdi2 (long A)
380      These functions return the absolute value of A.
382  -- Runtime Function: int __addvsi3 (int A, int B)
383  -- Runtime Function: long __addvdi3 (long A, long B)
384      These functions return the sum of A and B; that is `A + B'.
386  -- Runtime Function: int __mulvsi3 (int A, int B)
387  -- Runtime Function: long __mulvdi3 (long A, long B)
388      The functions return the product of A and B; that is `A * B'.
390  -- Runtime Function: int __negvsi2 (int A)
391  -- Runtime Function: long __negvdi2 (long A)
392      These functions return the negation of A; that is `-A'.
394  -- Runtime Function: int __subvsi3 (int A, int B)
395  -- Runtime Function: long __subvdi3 (long A, long B)
396      These functions return the difference between B and A; that is `A
397      - B'.
399 4.1.4 Bit operations
400 --------------------
402  -- Runtime Function: int __clzsi2 (int A)
403  -- Runtime Function: int __clzdi2 (long A)
404  -- Runtime Function: int __clzti2 (long long A)
405      These functions return the number of leading 0-bits in A, starting
406      at the most significant bit position.  If A is zero, the result is
407      undefined.
409  -- Runtime Function: int __ctzsi2 (int A)
410  -- Runtime Function: int __ctzdi2 (long A)
411  -- Runtime Function: int __ctzti2 (long long A)
412      These functions return the number of trailing 0-bits in A, starting
413      at the least significant bit position.  If A is zero, the result is
414      undefined.
416  -- Runtime Function: int __ffsdi2 (long A)
417  -- Runtime Function: int __ffsti2 (long long A)
418      These functions return the index of the least significant 1-bit in
419      A, or the value zero if A is zero.  The least significant bit is
420      index one.
422  -- Runtime Function: int __paritysi2 (int A)
423  -- Runtime Function: int __paritydi2 (long A)
424  -- Runtime Function: int __parityti2 (long long A)
425      These functions return the value zero if the number of bits set in
426      A is even, and the value one otherwise.
428  -- Runtime Function: int __popcountsi2 (int A)
429  -- Runtime Function: int __popcountdi2 (long A)
430  -- Runtime Function: int __popcountti2 (long long A)
431      These functions return the number of bits set in A.
433  -- Runtime Function: int32_t __bswapsi2 (int32_t A)
434  -- Runtime Function: int64_t __bswapdi2 (int64_t A)
435      These functions return the A byteswapped.
437 \x1f
438 File: gccint.info,  Node: Soft float library routines,  Next: Decimal float library routines,  Prev: Integer library routines,  Up: Libgcc
440 4.2 Routines for floating point emulation
441 =========================================
443 The software floating point library is used on machines which do not
444 have hardware support for floating point.  It is also used whenever
445 `-msoft-float' is used to disable generation of floating point
446 instructions.  (Not all targets support this switch.)
448  For compatibility with other compilers, the floating point emulation
449 routines can be renamed with the `DECLARE_LIBRARY_RENAMES' macro (*note
450 Library Calls::).  In this section, the default names are used.
452  Presently the library does not support `XFmode', which is used for
453 `long double' on some architectures.
455 4.2.1 Arithmetic functions
456 --------------------------
458  -- Runtime Function: float __addsf3 (float A, float B)
459  -- Runtime Function: double __adddf3 (double A, double B)
460  -- Runtime Function: long double __addtf3 (long double A, long double
461           B)
462  -- Runtime Function: long double __addxf3 (long double A, long double
463           B)
464      These functions return the sum of A and B.
466  -- Runtime Function: float __subsf3 (float A, float B)
467  -- Runtime Function: double __subdf3 (double A, double B)
468  -- Runtime Function: long double __subtf3 (long double A, long double
469           B)
470  -- Runtime Function: long double __subxf3 (long double A, long double
471           B)
472      These functions return the difference between B and A; that is,
473      A - B.
475  -- Runtime Function: float __mulsf3 (float A, float B)
476  -- Runtime Function: double __muldf3 (double A, double B)
477  -- Runtime Function: long double __multf3 (long double A, long double
478           B)
479  -- Runtime Function: long double __mulxf3 (long double A, long double
480           B)
481      These functions return the product of A and B.
483  -- Runtime Function: float __divsf3 (float A, float B)
484  -- Runtime Function: double __divdf3 (double A, double B)
485  -- Runtime Function: long double __divtf3 (long double A, long double
486           B)
487  -- Runtime Function: long double __divxf3 (long double A, long double
488           B)
489      These functions return the quotient of A and B; that is, A / B.
491  -- Runtime Function: float __negsf2 (float A)
492  -- Runtime Function: double __negdf2 (double A)
493  -- Runtime Function: long double __negtf2 (long double A)
494  -- Runtime Function: long double __negxf2 (long double A)
495      These functions return the negation of A.  They simply flip the
496      sign bit, so they can produce negative zero and negative NaN.
498 4.2.2 Conversion functions
499 --------------------------
501  -- Runtime Function: double __extendsfdf2 (float A)
502  -- Runtime Function: long double __extendsftf2 (float A)
503  -- Runtime Function: long double __extendsfxf2 (float A)
504  -- Runtime Function: long double __extenddftf2 (double A)
505  -- Runtime Function: long double __extenddfxf2 (double A)
506      These functions extend A to the wider mode of their return type.
508  -- Runtime Function: double __truncxfdf2 (long double A)
509  -- Runtime Function: double __trunctfdf2 (long double A)
510  -- Runtime Function: float __truncxfsf2 (long double A)
511  -- Runtime Function: float __trunctfsf2 (long double A)
512  -- Runtime Function: float __truncdfsf2 (double A)
513      These functions truncate A to the narrower mode of their return
514      type, rounding toward zero.
516  -- Runtime Function: int __fixsfsi (float A)
517  -- Runtime Function: int __fixdfsi (double A)
518  -- Runtime Function: int __fixtfsi (long double A)
519  -- Runtime Function: int __fixxfsi (long double A)
520      These functions convert A to a signed integer, rounding toward
521      zero.
523  -- Runtime Function: long __fixsfdi (float A)
524  -- Runtime Function: long __fixdfdi (double A)
525  -- Runtime Function: long __fixtfdi (long double A)
526  -- Runtime Function: long __fixxfdi (long double A)
527      These functions convert A to a signed long, rounding toward zero.
529  -- Runtime Function: long long __fixsfti (float A)
530  -- Runtime Function: long long __fixdfti (double A)
531  -- Runtime Function: long long __fixtfti (long double A)
532  -- Runtime Function: long long __fixxfti (long double A)
533      These functions convert A to a signed long long, rounding toward
534      zero.
536  -- Runtime Function: unsigned int __fixunssfsi (float A)
537  -- Runtime Function: unsigned int __fixunsdfsi (double A)
538  -- Runtime Function: unsigned int __fixunstfsi (long double A)
539  -- Runtime Function: unsigned int __fixunsxfsi (long double A)
540      These functions convert A to an unsigned integer, rounding toward
541      zero.  Negative values all become zero.
543  -- Runtime Function: unsigned long __fixunssfdi (float A)
544  -- Runtime Function: unsigned long __fixunsdfdi (double A)
545  -- Runtime Function: unsigned long __fixunstfdi (long double A)
546  -- Runtime Function: unsigned long __fixunsxfdi (long double A)
547      These functions convert A to an unsigned long, rounding toward
548      zero.  Negative values all become zero.
550  -- Runtime Function: unsigned long long __fixunssfti (float A)
551  -- Runtime Function: unsigned long long __fixunsdfti (double A)
552  -- Runtime Function: unsigned long long __fixunstfti (long double A)
553  -- Runtime Function: unsigned long long __fixunsxfti (long double A)
554      These functions convert A to an unsigned long long, rounding
555      toward zero.  Negative values all become zero.
557  -- Runtime Function: float __floatsisf (int I)
558  -- Runtime Function: double __floatsidf (int I)
559  -- Runtime Function: long double __floatsitf (int I)
560  -- Runtime Function: long double __floatsixf (int I)
561      These functions convert I, a signed integer, to floating point.
563  -- Runtime Function: float __floatdisf (long I)
564  -- Runtime Function: double __floatdidf (long I)
565  -- Runtime Function: long double __floatditf (long I)
566  -- Runtime Function: long double __floatdixf (long I)
567      These functions convert I, a signed long, to floating point.
569  -- Runtime Function: float __floattisf (long long I)
570  -- Runtime Function: double __floattidf (long long I)
571  -- Runtime Function: long double __floattitf (long long I)
572  -- Runtime Function: long double __floattixf (long long I)
573      These functions convert I, a signed long long, to floating point.
575  -- Runtime Function: float __floatunsisf (unsigned int I)
576  -- Runtime Function: double __floatunsidf (unsigned int I)
577  -- Runtime Function: long double __floatunsitf (unsigned int I)
578  -- Runtime Function: long double __floatunsixf (unsigned int I)
579      These functions convert I, an unsigned integer, to floating point.
581  -- Runtime Function: float __floatundisf (unsigned long I)
582  -- Runtime Function: double __floatundidf (unsigned long I)
583  -- Runtime Function: long double __floatunditf (unsigned long I)
584  -- Runtime Function: long double __floatundixf (unsigned long I)
585      These functions convert I, an unsigned long, to floating point.
587  -- Runtime Function: float __floatuntisf (unsigned long long I)
588  -- Runtime Function: double __floatuntidf (unsigned long long I)
589  -- Runtime Function: long double __floatuntitf (unsigned long long I)
590  -- Runtime Function: long double __floatuntixf (unsigned long long I)
591      These functions convert I, an unsigned long long, to floating
592      point.
594 4.2.3 Comparison functions
595 --------------------------
597 There are two sets of basic comparison functions.
599  -- Runtime Function: int __cmpsf2 (float A, float B)
600  -- Runtime Function: int __cmpdf2 (double A, double B)
601  -- Runtime Function: int __cmptf2 (long double A, long double B)
602      These functions calculate a <=> b.  That is, if A is less than B,
603      they return -1; if A is greater than B, they return 1; and if A
604      and B are equal they return 0.  If either argument is NaN they
605      return 1, but you should not rely on this; if NaN is a
606      possibility, use one of the higher-level comparison functions.
608  -- Runtime Function: int __unordsf2 (float A, float B)
609  -- Runtime Function: int __unorddf2 (double A, double B)
610  -- Runtime Function: int __unordtf2 (long double A, long double B)
611      These functions return a nonzero value if either argument is NaN,
612      otherwise 0.
614  There is also a complete group of higher level functions which
615 correspond directly to comparison operators.  They implement the ISO C
616 semantics for floating-point comparisons, taking NaN into account.  Pay
617 careful attention to the return values defined for each set.  Under the
618 hood, all of these routines are implemented as
620        if (__unordXf2 (a, b))
621          return E;
622        return __cmpXf2 (a, b);
624 where E is a constant chosen to give the proper behavior for NaN.
625 Thus, the meaning of the return value is different for each set.  Do
626 not rely on this implementation; only the semantics documented below
627 are guaranteed.
629  -- Runtime Function: int __eqsf2 (float A, float B)
630  -- Runtime Function: int __eqdf2 (double A, double B)
631  -- Runtime Function: int __eqtf2 (long double A, long double B)
632      These functions return zero if neither argument is NaN, and A and
633      B are equal.
635  -- Runtime Function: int __nesf2 (float A, float B)
636  -- Runtime Function: int __nedf2 (double A, double B)
637  -- Runtime Function: int __netf2 (long double A, long double B)
638      These functions return a nonzero value if either argument is NaN,
639      or if A and B are unequal.
641  -- Runtime Function: int __gesf2 (float A, float B)
642  -- Runtime Function: int __gedf2 (double A, double B)
643  -- Runtime Function: int __getf2 (long double A, long double B)
644      These functions return a value greater than or equal to zero if
645      neither argument is NaN, and A is greater than or equal to B.
647  -- Runtime Function: int __ltsf2 (float A, float B)
648  -- Runtime Function: int __ltdf2 (double A, double B)
649  -- Runtime Function: int __lttf2 (long double A, long double B)
650      These functions return a value less than zero if neither argument
651      is NaN, and A is strictly less than B.
653  -- Runtime Function: int __lesf2 (float A, float B)
654  -- Runtime Function: int __ledf2 (double A, double B)
655  -- Runtime Function: int __letf2 (long double A, long double B)
656      These functions return a value less than or equal to zero if
657      neither argument is NaN, and A is less than or equal to B.
659  -- Runtime Function: int __gtsf2 (float A, float B)
660  -- Runtime Function: int __gtdf2 (double A, double B)
661  -- Runtime Function: int __gttf2 (long double A, long double B)
662      These functions return a value greater than zero if neither
663      argument is NaN, and A is strictly greater than B.
665 4.2.4 Other floating-point functions
666 ------------------------------------
668  -- Runtime Function: float __powisf2 (float A, int B)
669  -- Runtime Function: double __powidf2 (double A, int B)
670  -- Runtime Function: long double __powitf2 (long double A, int B)
671  -- Runtime Function: long double __powixf2 (long double A, int B)
672      These functions convert raise A to the power B.
674  -- Runtime Function: complex float __mulsc3 (float A, float B, float
675           C, float D)
676  -- Runtime Function: complex double __muldc3 (double A, double B,
677           double C, double D)
678  -- Runtime Function: complex long double __multc3 (long double A, long
679           double B, long double C, long double D)
680  -- Runtime Function: complex long double __mulxc3 (long double A, long
681           double B, long double C, long double D)
682      These functions return the product of A + iB and C + iD, following
683      the rules of C99 Annex G.
685  -- Runtime Function: complex float __divsc3 (float A, float B, float
686           C, float D)
687  -- Runtime Function: complex double __divdc3 (double A, double B,
688           double C, double D)
689  -- Runtime Function: complex long double __divtc3 (long double A, long
690           double B, long double C, long double D)
691  -- Runtime Function: complex long double __divxc3 (long double A, long
692           double B, long double C, long double D)
693      These functions return the quotient of A + iB and C + iD (i.e., (A
694      + iB) / (C + iD)), following the rules of C99 Annex G.
696 \x1f
697 File: gccint.info,  Node: Decimal float library routines,  Next: Fixed-point fractional library routines,  Prev: Soft float library routines,  Up: Libgcc
699 4.3 Routines for decimal floating point emulation
700 =================================================
702 The software decimal floating point library implements IEEE 754R
703 decimal floating point arithmetic and is only activated on selected
704 targets.
706  The software decimal floating point library supports either DPD
707 (Densely Packed Decimal) or BID (Binary Integer Decimal) encoding as
708 selected at configure time.
710 4.3.1 Arithmetic functions
711 --------------------------
713  -- Runtime Function: _Decimal32 __dpd_addsd3 (_Decimal32 A, _Decimal32
714           B)
715  -- Runtime Function: _Decimal32 __bid_addsd3 (_Decimal32 A, _Decimal32
716           B)
717  -- Runtime Function: _Decimal64 __dpd_adddd3 (_Decimal64 A, _Decimal64
718           B)
719  -- Runtime Function: _Decimal64 __bid_adddd3 (_Decimal64 A, _Decimal64
720           B)
721  -- Runtime Function: _Decimal128 __dpd_addtd3 (_Decimal128 A,
722           _Decimal128 B)
723  -- Runtime Function: _Decimal128 __bid_addtd3 (_Decimal128 A,
724           _Decimal128 B)
725      These functions return the sum of A and B.
727  -- Runtime Function: _Decimal32 __dpd_subsd3 (_Decimal32 A, _Decimal32
728           B)
729  -- Runtime Function: _Decimal32 __bid_subsd3 (_Decimal32 A, _Decimal32
730           B)
731  -- Runtime Function: _Decimal64 __dpd_subdd3 (_Decimal64 A, _Decimal64
732           B)
733  -- Runtime Function: _Decimal64 __bid_subdd3 (_Decimal64 A, _Decimal64
734           B)
735  -- Runtime Function: _Decimal128 __dpd_subtd3 (_Decimal128 A,
736           _Decimal128 B)
737  -- Runtime Function: _Decimal128 __bid_subtd3 (_Decimal128 A,
738           _Decimal128 B)
739      These functions return the difference between B and A; that is,
740      A - B.
742  -- Runtime Function: _Decimal32 __dpd_mulsd3 (_Decimal32 A, _Decimal32
743           B)
744  -- Runtime Function: _Decimal32 __bid_mulsd3 (_Decimal32 A, _Decimal32
745           B)
746  -- Runtime Function: _Decimal64 __dpd_muldd3 (_Decimal64 A, _Decimal64
747           B)
748  -- Runtime Function: _Decimal64 __bid_muldd3 (_Decimal64 A, _Decimal64
749           B)
750  -- Runtime Function: _Decimal128 __dpd_multd3 (_Decimal128 A,
751           _Decimal128 B)
752  -- Runtime Function: _Decimal128 __bid_multd3 (_Decimal128 A,
753           _Decimal128 B)
754      These functions return the product of A and B.
756  -- Runtime Function: _Decimal32 __dpd_divsd3 (_Decimal32 A, _Decimal32
757           B)
758  -- Runtime Function: _Decimal32 __bid_divsd3 (_Decimal32 A, _Decimal32
759           B)
760  -- Runtime Function: _Decimal64 __dpd_divdd3 (_Decimal64 A, _Decimal64
761           B)
762  -- Runtime Function: _Decimal64 __bid_divdd3 (_Decimal64 A, _Decimal64
763           B)
764  -- Runtime Function: _Decimal128 __dpd_divtd3 (_Decimal128 A,
765           _Decimal128 B)
766  -- Runtime Function: _Decimal128 __bid_divtd3 (_Decimal128 A,
767           _Decimal128 B)
768      These functions return the quotient of A and B; that is, A / B.
770  -- Runtime Function: _Decimal32 __dpd_negsd2 (_Decimal32 A)
771  -- Runtime Function: _Decimal32 __bid_negsd2 (_Decimal32 A)
772  -- Runtime Function: _Decimal64 __dpd_negdd2 (_Decimal64 A)
773  -- Runtime Function: _Decimal64 __bid_negdd2 (_Decimal64 A)
774  -- Runtime Function: _Decimal128 __dpd_negtd2 (_Decimal128 A)
775  -- Runtime Function: _Decimal128 __bid_negtd2 (_Decimal128 A)
776      These functions return the negation of A.  They simply flip the
777      sign bit, so they can produce negative zero and negative NaN.
779 4.3.2 Conversion functions
780 --------------------------
782  -- Runtime Function: _Decimal64 __dpd_extendsddd2 (_Decimal32 A)
783  -- Runtime Function: _Decimal64 __bid_extendsddd2 (_Decimal32 A)
784  -- Runtime Function: _Decimal128 __dpd_extendsdtd2 (_Decimal32 A)
785  -- Runtime Function: _Decimal128 __bid_extendsdtd2 (_Decimal32 A)
786  -- Runtime Function: _Decimal128 __dpd_extendddtd2 (_Decimal64 A)
787  -- Runtime Function: _Decimal128 __bid_extendddtd2 (_Decimal64 A)
788  -- Runtime Function: _Decimal32 __dpd_truncddsd2 (_Decimal64 A)
789  -- Runtime Function: _Decimal32 __bid_truncddsd2 (_Decimal64 A)
790  -- Runtime Function: _Decimal32 __dpd_trunctdsd2 (_Decimal128 A)
791  -- Runtime Function: _Decimal32 __bid_trunctdsd2 (_Decimal128 A)
792  -- Runtime Function: _Decimal64 __dpd_trunctddd2 (_Decimal128 A)
793  -- Runtime Function: _Decimal64 __bid_trunctddd2 (_Decimal128 A)
794      These functions convert the value A from one decimal floating type
795      to another.
797  -- Runtime Function: _Decimal64 __dpd_extendsfdd (float A)
798  -- Runtime Function: _Decimal64 __bid_extendsfdd (float A)
799  -- Runtime Function: _Decimal128 __dpd_extendsftd (float A)
800  -- Runtime Function: _Decimal128 __bid_extendsftd (float A)
801  -- Runtime Function: _Decimal128 __dpd_extenddftd (double A)
802  -- Runtime Function: _Decimal128 __bid_extenddftd (double A)
803  -- Runtime Function: _Decimal128 __dpd_extendxftd (long double A)
804  -- Runtime Function: _Decimal128 __bid_extendxftd (long double A)
805  -- Runtime Function: _Decimal32 __dpd_truncdfsd (double A)
806  -- Runtime Function: _Decimal32 __bid_truncdfsd (double A)
807  -- Runtime Function: _Decimal32 __dpd_truncxfsd (long double A)
808  -- Runtime Function: _Decimal32 __bid_truncxfsd (long double A)
809  -- Runtime Function: _Decimal32 __dpd_trunctfsd (long double A)
810  -- Runtime Function: _Decimal32 __bid_trunctfsd (long double A)
811  -- Runtime Function: _Decimal64 __dpd_truncxfdd (long double A)
812  -- Runtime Function: _Decimal64 __bid_truncxfdd (long double A)
813  -- Runtime Function: _Decimal64 __dpd_trunctfdd (long double A)
814  -- Runtime Function: _Decimal64 __bid_trunctfdd (long double A)
815      These functions convert the value of A from a binary floating type
816      to a decimal floating type of a different size.
818  -- Runtime Function: float __dpd_truncddsf (_Decimal64 A)
819  -- Runtime Function: float __bid_truncddsf (_Decimal64 A)
820  -- Runtime Function: float __dpd_trunctdsf (_Decimal128 A)
821  -- Runtime Function: float __bid_trunctdsf (_Decimal128 A)
822  -- Runtime Function: double __dpd_extendsddf (_Decimal32 A)
823  -- Runtime Function: double __bid_extendsddf (_Decimal32 A)
824  -- Runtime Function: double __dpd_trunctddf (_Decimal128 A)
825  -- Runtime Function: double __bid_trunctddf (_Decimal128 A)
826  -- Runtime Function: long double __dpd_extendsdxf (_Decimal32 A)
827  -- Runtime Function: long double __bid_extendsdxf (_Decimal32 A)
828  -- Runtime Function: long double __dpd_extendddxf (_Decimal64 A)
829  -- Runtime Function: long double __bid_extendddxf (_Decimal64 A)
830  -- Runtime Function: long double __dpd_trunctdxf (_Decimal128 A)
831  -- Runtime Function: long double __bid_trunctdxf (_Decimal128 A)
832  -- Runtime Function: long double __dpd_extendsdtf (_Decimal32 A)
833  -- Runtime Function: long double __bid_extendsdtf (_Decimal32 A)
834  -- Runtime Function: long double __dpd_extendddtf (_Decimal64 A)
835  -- Runtime Function: long double __bid_extendddtf (_Decimal64 A)
836      These functions convert the value of A from a decimal floating type
837      to a binary floating type of a different size.
839  -- Runtime Function: _Decimal32 __dpd_extendsfsd (float A)
840  -- Runtime Function: _Decimal32 __bid_extendsfsd (float A)
841  -- Runtime Function: _Decimal64 __dpd_extenddfdd (double A)
842  -- Runtime Function: _Decimal64 __bid_extenddfdd (double A)
843  -- Runtime Function: _Decimal128 __dpd_extendtftd (long double A)
844  -- Runtime Function: _Decimal128 __bid_extendtftd (long double A)
845  -- Runtime Function: float __dpd_truncsdsf (_Decimal32 A)
846  -- Runtime Function: float __bid_truncsdsf (_Decimal32 A)
847  -- Runtime Function: double __dpd_truncdddf (_Decimal64 A)
848  -- Runtime Function: double __bid_truncdddf (_Decimal64 A)
849  -- Runtime Function: long double __dpd_trunctdtf (_Decimal128 A)
850  -- Runtime Function: long double __bid_trunctdtf (_Decimal128 A)
851      These functions convert the value of A between decimal and binary
852      floating types of the same size.
854  -- Runtime Function: int __dpd_fixsdsi (_Decimal32 A)
855  -- Runtime Function: int __bid_fixsdsi (_Decimal32 A)
856  -- Runtime Function: int __dpd_fixddsi (_Decimal64 A)
857  -- Runtime Function: int __bid_fixddsi (_Decimal64 A)
858  -- Runtime Function: int __dpd_fixtdsi (_Decimal128 A)
859  -- Runtime Function: int __bid_fixtdsi (_Decimal128 A)
860      These functions convert A to a signed integer.
862  -- Runtime Function: long __dpd_fixsddi (_Decimal32 A)
863  -- Runtime Function: long __bid_fixsddi (_Decimal32 A)
864  -- Runtime Function: long __dpd_fixdddi (_Decimal64 A)
865  -- Runtime Function: long __bid_fixdddi (_Decimal64 A)
866  -- Runtime Function: long __dpd_fixtddi (_Decimal128 A)
867  -- Runtime Function: long __bid_fixtddi (_Decimal128 A)
868      These functions convert A to a signed long.
870  -- Runtime Function: unsigned int __dpd_fixunssdsi (_Decimal32 A)
871  -- Runtime Function: unsigned int __bid_fixunssdsi (_Decimal32 A)
872  -- Runtime Function: unsigned int __dpd_fixunsddsi (_Decimal64 A)
873  -- Runtime Function: unsigned int __bid_fixunsddsi (_Decimal64 A)
874  -- Runtime Function: unsigned int __dpd_fixunstdsi (_Decimal128 A)
875  -- Runtime Function: unsigned int __bid_fixunstdsi (_Decimal128 A)
876      These functions convert A to an unsigned integer.  Negative values
877      all become zero.
879  -- Runtime Function: unsigned long __dpd_fixunssddi (_Decimal32 A)
880  -- Runtime Function: unsigned long __bid_fixunssddi (_Decimal32 A)
881  -- Runtime Function: unsigned long __dpd_fixunsdddi (_Decimal64 A)
882  -- Runtime Function: unsigned long __bid_fixunsdddi (_Decimal64 A)
883  -- Runtime Function: unsigned long __dpd_fixunstddi (_Decimal128 A)
884  -- Runtime Function: unsigned long __bid_fixunstddi (_Decimal128 A)
885      These functions convert A to an unsigned long.  Negative values
886      all become zero.
888  -- Runtime Function: _Decimal32 __dpd_floatsisd (int I)
889  -- Runtime Function: _Decimal32 __bid_floatsisd (int I)
890  -- Runtime Function: _Decimal64 __dpd_floatsidd (int I)
891  -- Runtime Function: _Decimal64 __bid_floatsidd (int I)
892  -- Runtime Function: _Decimal128 __dpd_floatsitd (int I)
893  -- Runtime Function: _Decimal128 __bid_floatsitd (int I)
894      These functions convert I, a signed integer, to decimal floating
895      point.
897  -- Runtime Function: _Decimal32 __dpd_floatdisd (long I)
898  -- Runtime Function: _Decimal32 __bid_floatdisd (long I)
899  -- Runtime Function: _Decimal64 __dpd_floatdidd (long I)
900  -- Runtime Function: _Decimal64 __bid_floatdidd (long I)
901  -- Runtime Function: _Decimal128 __dpd_floatditd (long I)
902  -- Runtime Function: _Decimal128 __bid_floatditd (long I)
903      These functions convert I, a signed long, to decimal floating
904      point.
906  -- Runtime Function: _Decimal32 __dpd_floatunssisd (unsigned int I)
907  -- Runtime Function: _Decimal32 __bid_floatunssisd (unsigned int I)
908  -- Runtime Function: _Decimal64 __dpd_floatunssidd (unsigned int I)
909  -- Runtime Function: _Decimal64 __bid_floatunssidd (unsigned int I)
910  -- Runtime Function: _Decimal128 __dpd_floatunssitd (unsigned int I)
911  -- Runtime Function: _Decimal128 __bid_floatunssitd (unsigned int I)
912      These functions convert I, an unsigned integer, to decimal
913      floating point.
915  -- Runtime Function: _Decimal32 __dpd_floatunsdisd (unsigned long I)
916  -- Runtime Function: _Decimal32 __bid_floatunsdisd (unsigned long I)
917  -- Runtime Function: _Decimal64 __dpd_floatunsdidd (unsigned long I)
918  -- Runtime Function: _Decimal64 __bid_floatunsdidd (unsigned long I)
919  -- Runtime Function: _Decimal128 __dpd_floatunsditd (unsigned long I)
920  -- Runtime Function: _Decimal128 __bid_floatunsditd (unsigned long I)
921      These functions convert I, an unsigned long, to decimal floating
922      point.
924 4.3.3 Comparison functions
925 --------------------------
927  -- Runtime Function: int __dpd_unordsd2 (_Decimal32 A, _Decimal32 B)
928  -- Runtime Function: int __bid_unordsd2 (_Decimal32 A, _Decimal32 B)
929  -- Runtime Function: int __dpd_unorddd2 (_Decimal64 A, _Decimal64 B)
930  -- Runtime Function: int __bid_unorddd2 (_Decimal64 A, _Decimal64 B)
931  -- Runtime Function: int __dpd_unordtd2 (_Decimal128 A, _Decimal128 B)
932  -- Runtime Function: int __bid_unordtd2 (_Decimal128 A, _Decimal128 B)
933      These functions return a nonzero value if either argument is NaN,
934      otherwise 0.
936  There is also a complete group of higher level functions which
937 correspond directly to comparison operators.  They implement the ISO C
938 semantics for floating-point comparisons, taking NaN into account.  Pay
939 careful attention to the return values defined for each set.  Under the
940 hood, all of these routines are implemented as
942        if (__bid_unordXd2 (a, b))
943          return E;
944        return __bid_cmpXd2 (a, b);
946 where E is a constant chosen to give the proper behavior for NaN.
947 Thus, the meaning of the return value is different for each set.  Do
948 not rely on this implementation; only the semantics documented below
949 are guaranteed.
951  -- Runtime Function: int __dpd_eqsd2 (_Decimal32 A, _Decimal32 B)
952  -- Runtime Function: int __bid_eqsd2 (_Decimal32 A, _Decimal32 B)
953  -- Runtime Function: int __dpd_eqdd2 (_Decimal64 A, _Decimal64 B)
954  -- Runtime Function: int __bid_eqdd2 (_Decimal64 A, _Decimal64 B)
955  -- Runtime Function: int __dpd_eqtd2 (_Decimal128 A, _Decimal128 B)
956  -- Runtime Function: int __bid_eqtd2 (_Decimal128 A, _Decimal128 B)
957      These functions return zero if neither argument is NaN, and A and
958      B are equal.
960  -- Runtime Function: int __dpd_nesd2 (_Decimal32 A, _Decimal32 B)
961  -- Runtime Function: int __bid_nesd2 (_Decimal32 A, _Decimal32 B)
962  -- Runtime Function: int __dpd_nedd2 (_Decimal64 A, _Decimal64 B)
963  -- Runtime Function: int __bid_nedd2 (_Decimal64 A, _Decimal64 B)
964  -- Runtime Function: int __dpd_netd2 (_Decimal128 A, _Decimal128 B)
965  -- Runtime Function: int __bid_netd2 (_Decimal128 A, _Decimal128 B)
966      These functions return a nonzero value if either argument is NaN,
967      or if A and B are unequal.
969  -- Runtime Function: int __dpd_gesd2 (_Decimal32 A, _Decimal32 B)
970  -- Runtime Function: int __bid_gesd2 (_Decimal32 A, _Decimal32 B)
971  -- Runtime Function: int __dpd_gedd2 (_Decimal64 A, _Decimal64 B)
972  -- Runtime Function: int __bid_gedd2 (_Decimal64 A, _Decimal64 B)
973  -- Runtime Function: int __dpd_getd2 (_Decimal128 A, _Decimal128 B)
974  -- Runtime Function: int __bid_getd2 (_Decimal128 A, _Decimal128 B)
975      These functions return a value greater than or equal to zero if
976      neither argument is NaN, and A is greater than or equal to B.
978  -- Runtime Function: int __dpd_ltsd2 (_Decimal32 A, _Decimal32 B)
979  -- Runtime Function: int __bid_ltsd2 (_Decimal32 A, _Decimal32 B)
980  -- Runtime Function: int __dpd_ltdd2 (_Decimal64 A, _Decimal64 B)
981  -- Runtime Function: int __bid_ltdd2 (_Decimal64 A, _Decimal64 B)
982  -- Runtime Function: int __dpd_lttd2 (_Decimal128 A, _Decimal128 B)
983  -- Runtime Function: int __bid_lttd2 (_Decimal128 A, _Decimal128 B)
984      These functions return a value less than zero if neither argument
985      is NaN, and A is strictly less than B.
987  -- Runtime Function: int __dpd_lesd2 (_Decimal32 A, _Decimal32 B)
988  -- Runtime Function: int __bid_lesd2 (_Decimal32 A, _Decimal32 B)
989  -- Runtime Function: int __dpd_ledd2 (_Decimal64 A, _Decimal64 B)
990  -- Runtime Function: int __bid_ledd2 (_Decimal64 A, _Decimal64 B)
991  -- Runtime Function: int __dpd_letd2 (_Decimal128 A, _Decimal128 B)
992  -- Runtime Function: int __bid_letd2 (_Decimal128 A, _Decimal128 B)
993      These functions return a value less than or equal to zero if
994      neither argument is NaN, and A is less than or equal to B.
996  -- Runtime Function: int __dpd_gtsd2 (_Decimal32 A, _Decimal32 B)
997  -- Runtime Function: int __bid_gtsd2 (_Decimal32 A, _Decimal32 B)
998  -- Runtime Function: int __dpd_gtdd2 (_Decimal64 A, _Decimal64 B)
999  -- Runtime Function: int __bid_gtdd2 (_Decimal64 A, _Decimal64 B)
1000  -- Runtime Function: int __dpd_gttd2 (_Decimal128 A, _Decimal128 B)
1001  -- Runtime Function: int __bid_gttd2 (_Decimal128 A, _Decimal128 B)
1002      These functions return a value greater than zero if neither
1003      argument is NaN, and A is strictly greater than B.
1005 \x1f
1006 File: gccint.info,  Node: Fixed-point fractional library routines,  Next: Exception handling routines,  Prev: Decimal float library routines,  Up: Libgcc
1008 4.4 Routines for fixed-point fractional emulation
1009 =================================================
1011 The software fixed-point library implements fixed-point fractional
1012 arithmetic, and is only activated on selected targets.
1014  For ease of comprehension `fract' is an alias for the `_Fract' type,
1015 `accum' an alias for `_Accum', and `sat' an alias for `_Sat'.
1017  For illustrative purposes, in this section the fixed-point fractional
1018 type `short fract' is assumed to correspond to machine mode `QQmode';
1019 `unsigned short fract' to `UQQmode'; `fract' to `HQmode';
1020 `unsigned fract' to `UHQmode'; `long fract' to `SQmode';
1021 `unsigned long fract' to `USQmode'; `long long fract' to `DQmode'; and
1022 `unsigned long long fract' to `UDQmode'.  Similarly the fixed-point
1023 accumulator type `short accum' corresponds to `HAmode';
1024 `unsigned short accum' to `UHAmode'; `accum' to `SAmode';
1025 `unsigned accum' to `USAmode'; `long accum' to `DAmode';
1026 `unsigned long accum' to `UDAmode'; `long long accum' to `TAmode'; and
1027 `unsigned long long accum' to `UTAmode'.
1029 4.4.1 Arithmetic functions
1030 --------------------------
1032  -- Runtime Function: short fract __addqq3 (short fract A, short fract
1033           B)
1034  -- Runtime Function: fract __addhq3 (fract A, fract B)
1035  -- Runtime Function: long fract __addsq3 (long fract A, long fract B)
1036  -- Runtime Function: long long fract __adddq3 (long long fract A, long
1037           long fract B)
1038  -- Runtime Function: unsigned short fract __adduqq3 (unsigned short
1039           fract A, unsigned short fract B)
1040  -- Runtime Function: unsigned fract __adduhq3 (unsigned fract A,
1041           unsigned fract B)
1042  -- Runtime Function: unsigned long fract __addusq3 (unsigned long
1043           fract A, unsigned long fract B)
1044  -- Runtime Function: unsigned long long fract __addudq3 (unsigned long
1045           long fract A, unsigned long long fract B)
1046  -- Runtime Function: short accum __addha3 (short accum A, short accum
1047           B)
1048  -- Runtime Function: accum __addsa3 (accum A, accum B)
1049  -- Runtime Function: long accum __addda3 (long accum A, long accum B)
1050  -- Runtime Function: long long accum __addta3 (long long accum A, long
1051           long accum B)
1052  -- Runtime Function: unsigned short accum __adduha3 (unsigned short
1053           accum A, unsigned short accum B)
1054  -- Runtime Function: unsigned accum __addusa3 (unsigned accum A,
1055           unsigned accum B)
1056  -- Runtime Function: unsigned long accum __adduda3 (unsigned long
1057           accum A, unsigned long accum B)
1058  -- Runtime Function: unsigned long long accum __adduta3 (unsigned long
1059           long accum A, unsigned long long accum B)
1060      These functions return the sum of A and B.
1062  -- Runtime Function: short fract __ssaddqq3 (short fract A, short
1063           fract B)
1064  -- Runtime Function: fract __ssaddhq3 (fract A, fract B)
1065  -- Runtime Function: long fract __ssaddsq3 (long fract A, long fract B)
1066  -- Runtime Function: long long fract __ssadddq3 (long long fract A,
1067           long long fract B)
1068  -- Runtime Function: short accum __ssaddha3 (short accum A, short
1069           accum B)
1070  -- Runtime Function: accum __ssaddsa3 (accum A, accum B)
1071  -- Runtime Function: long accum __ssaddda3 (long accum A, long accum B)
1072  -- Runtime Function: long long accum __ssaddta3 (long long accum A,
1073           long long accum B)
1074      These functions return the sum of A and B with signed saturation.
1076  -- Runtime Function: unsigned short fract __usadduqq3 (unsigned short
1077           fract A, unsigned short fract B)
1078  -- Runtime Function: unsigned fract __usadduhq3 (unsigned fract A,
1079           unsigned fract B)
1080  -- Runtime Function: unsigned long fract __usaddusq3 (unsigned long
1081           fract A, unsigned long fract B)
1082  -- Runtime Function: unsigned long long fract __usaddudq3 (unsigned
1083           long long fract A, unsigned long long fract B)
1084  -- Runtime Function: unsigned short accum __usadduha3 (unsigned short
1085           accum A, unsigned short accum B)
1086  -- Runtime Function: unsigned accum __usaddusa3 (unsigned accum A,
1087           unsigned accum B)
1088  -- Runtime Function: unsigned long accum __usadduda3 (unsigned long
1089           accum A, unsigned long accum B)
1090  -- Runtime Function: unsigned long long accum __usadduta3 (unsigned
1091           long long accum A, unsigned long long accum B)
1092      These functions return the sum of A and B with unsigned saturation.
1094  -- Runtime Function: short fract __subqq3 (short fract A, short fract
1095           B)
1096  -- Runtime Function: fract __subhq3 (fract A, fract B)
1097  -- Runtime Function: long fract __subsq3 (long fract A, long fract B)
1098  -- Runtime Function: long long fract __subdq3 (long long fract A, long
1099           long fract B)
1100  -- Runtime Function: unsigned short fract __subuqq3 (unsigned short
1101           fract A, unsigned short fract B)
1102  -- Runtime Function: unsigned fract __subuhq3 (unsigned fract A,
1103           unsigned fract B)
1104  -- Runtime Function: unsigned long fract __subusq3 (unsigned long
1105           fract A, unsigned long fract B)
1106  -- Runtime Function: unsigned long long fract __subudq3 (unsigned long
1107           long fract A, unsigned long long fract B)
1108  -- Runtime Function: short accum __subha3 (short accum A, short accum
1109           B)
1110  -- Runtime Function: accum __subsa3 (accum A, accum B)
1111  -- Runtime Function: long accum __subda3 (long accum A, long accum B)
1112  -- Runtime Function: long long accum __subta3 (long long accum A, long
1113           long accum B)
1114  -- Runtime Function: unsigned short accum __subuha3 (unsigned short
1115           accum A, unsigned short accum B)
1116  -- Runtime Function: unsigned accum __subusa3 (unsigned accum A,
1117           unsigned accum B)
1118  -- Runtime Function: unsigned long accum __subuda3 (unsigned long
1119           accum A, unsigned long accum B)
1120  -- Runtime Function: unsigned long long accum __subuta3 (unsigned long
1121           long accum A, unsigned long long accum B)
1122      These functions return the difference of A and B; that is, `A - B'.
1124  -- Runtime Function: short fract __sssubqq3 (short fract A, short
1125           fract B)
1126  -- Runtime Function: fract __sssubhq3 (fract A, fract B)
1127  -- Runtime Function: long fract __sssubsq3 (long fract A, long fract B)
1128  -- Runtime Function: long long fract __sssubdq3 (long long fract A,
1129           long long fract B)
1130  -- Runtime Function: short accum __sssubha3 (short accum A, short
1131           accum B)
1132  -- Runtime Function: accum __sssubsa3 (accum A, accum B)
1133  -- Runtime Function: long accum __sssubda3 (long accum A, long accum B)
1134  -- Runtime Function: long long accum __sssubta3 (long long accum A,
1135           long long accum B)
1136      These functions return the difference of A and B with signed
1137      saturation;  that is, `A - B'.
1139  -- Runtime Function: unsigned short fract __ussubuqq3 (unsigned short
1140           fract A, unsigned short fract B)
1141  -- Runtime Function: unsigned fract __ussubuhq3 (unsigned fract A,
1142           unsigned fract B)
1143  -- Runtime Function: unsigned long fract __ussubusq3 (unsigned long
1144           fract A, unsigned long fract B)
1145  -- Runtime Function: unsigned long long fract __ussubudq3 (unsigned
1146           long long fract A, unsigned long long fract B)
1147  -- Runtime Function: unsigned short accum __ussubuha3 (unsigned short
1148           accum A, unsigned short accum B)
1149  -- Runtime Function: unsigned accum __ussubusa3 (unsigned accum A,
1150           unsigned accum B)
1151  -- Runtime Function: unsigned long accum __ussubuda3 (unsigned long
1152           accum A, unsigned long accum B)
1153  -- Runtime Function: unsigned long long accum __ussubuta3 (unsigned
1154           long long accum A, unsigned long long accum B)
1155      These functions return the difference of A and B with unsigned
1156      saturation;  that is, `A - B'.
1158  -- Runtime Function: short fract __mulqq3 (short fract A, short fract
1159           B)
1160  -- Runtime Function: fract __mulhq3 (fract A, fract B)
1161  -- Runtime Function: long fract __mulsq3 (long fract A, long fract B)
1162  -- Runtime Function: long long fract __muldq3 (long long fract A, long
1163           long fract B)
1164  -- Runtime Function: unsigned short fract __muluqq3 (unsigned short
1165           fract A, unsigned short fract B)
1166  -- Runtime Function: unsigned fract __muluhq3 (unsigned fract A,
1167           unsigned fract B)
1168  -- Runtime Function: unsigned long fract __mulusq3 (unsigned long
1169           fract A, unsigned long fract B)
1170  -- Runtime Function: unsigned long long fract __muludq3 (unsigned long
1171           long fract A, unsigned long long fract B)
1172  -- Runtime Function: short accum __mulha3 (short accum A, short accum
1173           B)
1174  -- Runtime Function: accum __mulsa3 (accum A, accum B)
1175  -- Runtime Function: long accum __mulda3 (long accum A, long accum B)
1176  -- Runtime Function: long long accum __multa3 (long long accum A, long
1177           long accum B)
1178  -- Runtime Function: unsigned short accum __muluha3 (unsigned short
1179           accum A, unsigned short accum B)
1180  -- Runtime Function: unsigned accum __mulusa3 (unsigned accum A,
1181           unsigned accum B)
1182  -- Runtime Function: unsigned long accum __muluda3 (unsigned long
1183           accum A, unsigned long accum B)
1184  -- Runtime Function: unsigned long long accum __muluta3 (unsigned long
1185           long accum A, unsigned long long accum B)
1186      These functions return the product of A and B.
1188  -- Runtime Function: short fract __ssmulqq3 (short fract A, short
1189           fract B)
1190  -- Runtime Function: fract __ssmulhq3 (fract A, fract B)
1191  -- Runtime Function: long fract __ssmulsq3 (long fract A, long fract B)
1192  -- Runtime Function: long long fract __ssmuldq3 (long long fract A,
1193           long long fract B)
1194  -- Runtime Function: short accum __ssmulha3 (short accum A, short
1195           accum B)
1196  -- Runtime Function: accum __ssmulsa3 (accum A, accum B)
1197  -- Runtime Function: long accum __ssmulda3 (long accum A, long accum B)
1198  -- Runtime Function: long long accum __ssmulta3 (long long accum A,
1199           long long accum B)
1200      These functions return the product of A and B with signed
1201      saturation.
1203  -- Runtime Function: unsigned short fract __usmuluqq3 (unsigned short
1204           fract A, unsigned short fract B)
1205  -- Runtime Function: unsigned fract __usmuluhq3 (unsigned fract A,
1206           unsigned fract B)
1207  -- Runtime Function: unsigned long fract __usmulusq3 (unsigned long
1208           fract A, unsigned long fract B)
1209  -- Runtime Function: unsigned long long fract __usmuludq3 (unsigned
1210           long long fract A, unsigned long long fract B)
1211  -- Runtime Function: unsigned short accum __usmuluha3 (unsigned short
1212           accum A, unsigned short accum B)
1213  -- Runtime Function: unsigned accum __usmulusa3 (unsigned accum A,
1214           unsigned accum B)
1215  -- Runtime Function: unsigned long accum __usmuluda3 (unsigned long
1216           accum A, unsigned long accum B)
1217  -- Runtime Function: unsigned long long accum __usmuluta3 (unsigned
1218           long long accum A, unsigned long long accum B)
1219      These functions return the product of A and B with unsigned
1220      saturation.
1222  -- Runtime Function: short fract __divqq3 (short fract A, short fract
1223           B)
1224  -- Runtime Function: fract __divhq3 (fract A, fract B)
1225  -- Runtime Function: long fract __divsq3 (long fract A, long fract B)
1226  -- Runtime Function: long long fract __divdq3 (long long fract A, long
1227           long fract B)
1228  -- Runtime Function: short accum __divha3 (short accum A, short accum
1229           B)
1230  -- Runtime Function: accum __divsa3 (accum A, accum B)
1231  -- Runtime Function: long accum __divda3 (long accum A, long accum B)
1232  -- Runtime Function: long long accum __divta3 (long long accum A, long
1233           long accum B)
1234      These functions return the quotient of the signed division of A
1235      and B.
1237  -- Runtime Function: unsigned short fract __udivuqq3 (unsigned short
1238           fract A, unsigned short fract B)
1239  -- Runtime Function: unsigned fract __udivuhq3 (unsigned fract A,
1240           unsigned fract B)
1241  -- Runtime Function: unsigned long fract __udivusq3 (unsigned long
1242           fract A, unsigned long fract B)
1243  -- Runtime Function: unsigned long long fract __udivudq3 (unsigned
1244           long long fract A, unsigned long long fract B)
1245  -- Runtime Function: unsigned short accum __udivuha3 (unsigned short
1246           accum A, unsigned short accum B)
1247  -- Runtime Function: unsigned accum __udivusa3 (unsigned accum A,
1248           unsigned accum B)
1249  -- Runtime Function: unsigned long accum __udivuda3 (unsigned long
1250           accum A, unsigned long accum B)
1251  -- Runtime Function: unsigned long long accum __udivuta3 (unsigned
1252           long long accum A, unsigned long long accum B)
1253      These functions return the quotient of the unsigned division of A
1254      and B.
1256  -- Runtime Function: short fract __ssdivqq3 (short fract A, short
1257           fract B)
1258  -- Runtime Function: fract __ssdivhq3 (fract A, fract B)
1259  -- Runtime Function: long fract __ssdivsq3 (long fract A, long fract B)
1260  -- Runtime Function: long long fract __ssdivdq3 (long long fract A,
1261           long long fract B)
1262  -- Runtime Function: short accum __ssdivha3 (short accum A, short
1263           accum B)
1264  -- Runtime Function: accum __ssdivsa3 (accum A, accum B)
1265  -- Runtime Function: long accum __ssdivda3 (long accum A, long accum B)
1266  -- Runtime Function: long long accum __ssdivta3 (long long accum A,
1267           long long accum B)
1268      These functions return the quotient of the signed division of A
1269      and B with signed saturation.
1271  -- Runtime Function: unsigned short fract __usdivuqq3 (unsigned short
1272           fract A, unsigned short fract B)
1273  -- Runtime Function: unsigned fract __usdivuhq3 (unsigned fract A,
1274           unsigned fract B)
1275  -- Runtime Function: unsigned long fract __usdivusq3 (unsigned long
1276           fract A, unsigned long fract B)
1277  -- Runtime Function: unsigned long long fract __usdivudq3 (unsigned
1278           long long fract A, unsigned long long fract B)
1279  -- Runtime Function: unsigned short accum __usdivuha3 (unsigned short
1280           accum A, unsigned short accum B)
1281  -- Runtime Function: unsigned accum __usdivusa3 (unsigned accum A,
1282           unsigned accum B)
1283  -- Runtime Function: unsigned long accum __usdivuda3 (unsigned long
1284           accum A, unsigned long accum B)
1285  -- Runtime Function: unsigned long long accum __usdivuta3 (unsigned
1286           long long accum A, unsigned long long accum B)
1287      These functions return the quotient of the unsigned division of A
1288      and B with unsigned saturation.
1290  -- Runtime Function: short fract __negqq2 (short fract A)
1291  -- Runtime Function: fract __neghq2 (fract A)
1292  -- Runtime Function: long fract __negsq2 (long fract A)
1293  -- Runtime Function: long long fract __negdq2 (long long fract A)
1294  -- Runtime Function: unsigned short fract __neguqq2 (unsigned short
1295           fract A)
1296  -- Runtime Function: unsigned fract __neguhq2 (unsigned fract A)
1297  -- Runtime Function: unsigned long fract __negusq2 (unsigned long
1298           fract A)
1299  -- Runtime Function: unsigned long long fract __negudq2 (unsigned long
1300           long fract A)
1301  -- Runtime Function: short accum __negha2 (short accum A)
1302  -- Runtime Function: accum __negsa2 (accum A)
1303  -- Runtime Function: long accum __negda2 (long accum A)
1304  -- Runtime Function: long long accum __negta2 (long long accum A)
1305  -- Runtime Function: unsigned short accum __neguha2 (unsigned short
1306           accum A)
1307  -- Runtime Function: unsigned accum __negusa2 (unsigned accum A)
1308  -- Runtime Function: unsigned long accum __neguda2 (unsigned long
1309           accum A)
1310  -- Runtime Function: unsigned long long accum __neguta2 (unsigned long
1311           long accum A)
1312      These functions return the negation of A.
1314  -- Runtime Function: short fract __ssnegqq2 (short fract A)
1315  -- Runtime Function: fract __ssneghq2 (fract A)
1316  -- Runtime Function: long fract __ssnegsq2 (long fract A)
1317  -- Runtime Function: long long fract __ssnegdq2 (long long fract A)
1318  -- Runtime Function: short accum __ssnegha2 (short accum A)
1319  -- Runtime Function: accum __ssnegsa2 (accum A)
1320  -- Runtime Function: long accum __ssnegda2 (long accum A)
1321  -- Runtime Function: long long accum __ssnegta2 (long long accum A)
1322      These functions return the negation of A with signed saturation.
1324  -- Runtime Function: unsigned short fract __usneguqq2 (unsigned short
1325           fract A)
1326  -- Runtime Function: unsigned fract __usneguhq2 (unsigned fract A)
1327  -- Runtime Function: unsigned long fract __usnegusq2 (unsigned long
1328           fract A)
1329  -- Runtime Function: unsigned long long fract __usnegudq2 (unsigned
1330           long long fract A)
1331  -- Runtime Function: unsigned short accum __usneguha2 (unsigned short
1332           accum A)
1333  -- Runtime Function: unsigned accum __usnegusa2 (unsigned accum A)
1334  -- Runtime Function: unsigned long accum __usneguda2 (unsigned long
1335           accum A)
1336  -- Runtime Function: unsigned long long accum __usneguta2 (unsigned
1337           long long accum A)
1338      These functions return the negation of A with unsigned saturation.
1340  -- Runtime Function: short fract __ashlqq3 (short fract A, int B)
1341  -- Runtime Function: fract __ashlhq3 (fract A, int B)
1342  -- Runtime Function: long fract __ashlsq3 (long fract A, int B)
1343  -- Runtime Function: long long fract __ashldq3 (long long fract A, int
1344           B)
1345  -- Runtime Function: unsigned short fract __ashluqq3 (unsigned short
1346           fract A, int B)
1347  -- Runtime Function: unsigned fract __ashluhq3 (unsigned fract A, int
1348           B)
1349  -- Runtime Function: unsigned long fract __ashlusq3 (unsigned long
1350           fract A, int B)
1351  -- Runtime Function: unsigned long long fract __ashludq3 (unsigned
1352           long long fract A, int B)
1353  -- Runtime Function: short accum __ashlha3 (short accum A, int B)
1354  -- Runtime Function: accum __ashlsa3 (accum A, int B)
1355  -- Runtime Function: long accum __ashlda3 (long accum A, int B)
1356  -- Runtime Function: long long accum __ashlta3 (long long accum A, int
1357           B)
1358  -- Runtime Function: unsigned short accum __ashluha3 (unsigned short
1359           accum A, int B)
1360  -- Runtime Function: unsigned accum __ashlusa3 (unsigned accum A, int
1361           B)
1362  -- Runtime Function: unsigned long accum __ashluda3 (unsigned long
1363           accum A, int B)
1364  -- Runtime Function: unsigned long long accum __ashluta3 (unsigned
1365           long long accum A, int B)
1366      These functions return the result of shifting A left by B bits.
1368  -- Runtime Function: short fract __ashrqq3 (short fract A, int B)
1369  -- Runtime Function: fract __ashrhq3 (fract A, int B)
1370  -- Runtime Function: long fract __ashrsq3 (long fract A, int B)
1371  -- Runtime Function: long long fract __ashrdq3 (long long fract A, int
1372           B)
1373  -- Runtime Function: short accum __ashrha3 (short accum A, int B)
1374  -- Runtime Function: accum __ashrsa3 (accum A, int B)
1375  -- Runtime Function: long accum __ashrda3 (long accum A, int B)
1376  -- Runtime Function: long long accum __ashrta3 (long long accum A, int
1377           B)
1378      These functions return the result of arithmetically shifting A
1379      right by B bits.
1381  -- Runtime Function: unsigned short fract __lshruqq3 (unsigned short
1382           fract A, int B)
1383  -- Runtime Function: unsigned fract __lshruhq3 (unsigned fract A, int
1384           B)
1385  -- Runtime Function: unsigned long fract __lshrusq3 (unsigned long
1386           fract A, int B)
1387  -- Runtime Function: unsigned long long fract __lshrudq3 (unsigned
1388           long long fract A, int B)
1389  -- Runtime Function: unsigned short accum __lshruha3 (unsigned short
1390           accum A, int B)
1391  -- Runtime Function: unsigned accum __lshrusa3 (unsigned accum A, int
1392           B)
1393  -- Runtime Function: unsigned long accum __lshruda3 (unsigned long
1394           accum A, int B)
1395  -- Runtime Function: unsigned long long accum __lshruta3 (unsigned
1396           long long accum A, int B)
1397      These functions return the result of logically shifting A right by
1398      B bits.
1400  -- Runtime Function: fract __ssashlhq3 (fract A, int B)
1401  -- Runtime Function: long fract __ssashlsq3 (long fract A, int B)
1402  -- Runtime Function: long long fract __ssashldq3 (long long fract A,
1403           int B)
1404  -- Runtime Function: short accum __ssashlha3 (short accum A, int B)
1405  -- Runtime Function: accum __ssashlsa3 (accum A, int B)
1406  -- Runtime Function: long accum __ssashlda3 (long accum A, int B)
1407  -- Runtime Function: long long accum __ssashlta3 (long long accum A,
1408           int B)
1409      These functions return the result of shifting A left by B bits
1410      with signed saturation.
1412  -- Runtime Function: unsigned short fract __usashluqq3 (unsigned short
1413           fract A, int B)
1414  -- Runtime Function: unsigned fract __usashluhq3 (unsigned fract A,
1415           int B)
1416  -- Runtime Function: unsigned long fract __usashlusq3 (unsigned long
1417           fract A, int B)
1418  -- Runtime Function: unsigned long long fract __usashludq3 (unsigned
1419           long long fract A, int B)
1420  -- Runtime Function: unsigned short accum __usashluha3 (unsigned short
1421           accum A, int B)
1422  -- Runtime Function: unsigned accum __usashlusa3 (unsigned accum A,
1423           int B)
1424  -- Runtime Function: unsigned long accum __usashluda3 (unsigned long
1425           accum A, int B)
1426  -- Runtime Function: unsigned long long accum __usashluta3 (unsigned
1427           long long accum A, int B)
1428      These functions return the result of shifting A left by B bits
1429      with unsigned saturation.
1431 4.4.2 Comparison functions
1432 --------------------------
1434 The following functions implement fixed-point comparisons.  These
1435 functions implement a low-level compare, upon which the higher level
1436 comparison operators (such as less than and greater than or equal to)
1437 can be constructed.  The returned values lie in the range zero to two,
1438 to allow the high-level operators to be implemented by testing the
1439 returned result using either signed or unsigned comparison.
1441  -- Runtime Function: int __cmpqq2 (short fract A, short fract B)
1442  -- Runtime Function: int __cmphq2 (fract A, fract B)
1443  -- Runtime Function: int __cmpsq2 (long fract A, long fract B)
1444  -- Runtime Function: int __cmpdq2 (long long fract A, long long fract
1445           B)
1446  -- Runtime Function: int __cmpuqq2 (unsigned short fract A, unsigned
1447           short fract B)
1448  -- Runtime Function: int __cmpuhq2 (unsigned fract A, unsigned fract B)
1449  -- Runtime Function: int __cmpusq2 (unsigned long fract A, unsigned
1450           long fract B)
1451  -- Runtime Function: int __cmpudq2 (unsigned long long fract A,
1452           unsigned long long fract B)
1453  -- Runtime Function: int __cmpha2 (short accum A, short accum B)
1454  -- Runtime Function: int __cmpsa2 (accum A, accum B)
1455  -- Runtime Function: int __cmpda2 (long accum A, long accum B)
1456  -- Runtime Function: int __cmpta2 (long long accum A, long long accum
1457           B)
1458  -- Runtime Function: int __cmpuha2 (unsigned short accum A, unsigned
1459           short accum B)
1460  -- Runtime Function: int __cmpusa2 (unsigned accum A, unsigned accum B)
1461  -- Runtime Function: int __cmpuda2 (unsigned long accum A, unsigned
1462           long accum B)
1463  -- Runtime Function: int __cmputa2 (unsigned long long accum A,
1464           unsigned long long accum B)
1465      These functions perform a signed or unsigned comparison of A and B
1466      (depending on the selected machine mode).  If A is less than B,
1467      they return 0; if A is greater than B, they return 2; and if A and
1468      B are equal they return 1.
1470 4.4.3 Conversion functions
1471 --------------------------
1473  -- Runtime Function: fract __fractqqhq2 (short fract A)
1474  -- Runtime Function: long fract __fractqqsq2 (short fract A)
1475  -- Runtime Function: long long fract __fractqqdq2 (short fract A)
1476  -- Runtime Function: short accum __fractqqha (short fract A)
1477  -- Runtime Function: accum __fractqqsa (short fract A)
1478  -- Runtime Function: long accum __fractqqda (short fract A)
1479  -- Runtime Function: long long accum __fractqqta (short fract A)
1480  -- Runtime Function: unsigned short fract __fractqquqq (short fract A)
1481  -- Runtime Function: unsigned fract __fractqquhq (short fract A)
1482  -- Runtime Function: unsigned long fract __fractqqusq (short fract A)
1483  -- Runtime Function: unsigned long long fract __fractqqudq (short
1484           fract A)
1485  -- Runtime Function: unsigned short accum __fractqquha (short fract A)
1486  -- Runtime Function: unsigned accum __fractqqusa (short fract A)
1487  -- Runtime Function: unsigned long accum __fractqquda (short fract A)
1488  -- Runtime Function: unsigned long long accum __fractqquta (short
1489           fract A)
1490  -- Runtime Function: signed char __fractqqqi (short fract A)
1491  -- Runtime Function: short __fractqqhi (short fract A)
1492  -- Runtime Function: int __fractqqsi (short fract A)
1493  -- Runtime Function: long __fractqqdi (short fract A)
1494  -- Runtime Function: long long __fractqqti (short fract A)
1495  -- Runtime Function: float __fractqqsf (short fract A)
1496  -- Runtime Function: double __fractqqdf (short fract A)
1497  -- Runtime Function: short fract __fracthqqq2 (fract A)
1498  -- Runtime Function: long fract __fracthqsq2 (fract A)
1499  -- Runtime Function: long long fract __fracthqdq2 (fract A)
1500  -- Runtime Function: short accum __fracthqha (fract A)
1501  -- Runtime Function: accum __fracthqsa (fract A)
1502  -- Runtime Function: long accum __fracthqda (fract A)
1503  -- Runtime Function: long long accum __fracthqta (fract A)
1504  -- Runtime Function: unsigned short fract __fracthquqq (fract A)
1505  -- Runtime Function: unsigned fract __fracthquhq (fract A)
1506  -- Runtime Function: unsigned long fract __fracthqusq (fract A)
1507  -- Runtime Function: unsigned long long fract __fracthqudq (fract A)
1508  -- Runtime Function: unsigned short accum __fracthquha (fract A)
1509  -- Runtime Function: unsigned accum __fracthqusa (fract A)
1510  -- Runtime Function: unsigned long accum __fracthquda (fract A)
1511  -- Runtime Function: unsigned long long accum __fracthquta (fract A)
1512  -- Runtime Function: signed char __fracthqqi (fract A)
1513  -- Runtime Function: short __fracthqhi (fract A)
1514  -- Runtime Function: int __fracthqsi (fract A)
1515  -- Runtime Function: long __fracthqdi (fract A)
1516  -- Runtime Function: long long __fracthqti (fract A)
1517  -- Runtime Function: float __fracthqsf (fract A)
1518  -- Runtime Function: double __fracthqdf (fract A)
1519  -- Runtime Function: short fract __fractsqqq2 (long fract A)
1520  -- Runtime Function: fract __fractsqhq2 (long fract A)
1521  -- Runtime Function: long long fract __fractsqdq2 (long fract A)
1522  -- Runtime Function: short accum __fractsqha (long fract A)
1523  -- Runtime Function: accum __fractsqsa (long fract A)
1524  -- Runtime Function: long accum __fractsqda (long fract A)
1525  -- Runtime Function: long long accum __fractsqta (long fract A)
1526  -- Runtime Function: unsigned short fract __fractsquqq (long fract A)
1527  -- Runtime Function: unsigned fract __fractsquhq (long fract A)
1528  -- Runtime Function: unsigned long fract __fractsqusq (long fract A)
1529  -- Runtime Function: unsigned long long fract __fractsqudq (long fract
1530           A)
1531  -- Runtime Function: unsigned short accum __fractsquha (long fract A)
1532  -- Runtime Function: unsigned accum __fractsqusa (long fract A)
1533  -- Runtime Function: unsigned long accum __fractsquda (long fract A)
1534  -- Runtime Function: unsigned long long accum __fractsquta (long fract
1535           A)
1536  -- Runtime Function: signed char __fractsqqi (long fract A)
1537  -- Runtime Function: short __fractsqhi (long fract A)
1538  -- Runtime Function: int __fractsqsi (long fract A)
1539  -- Runtime Function: long __fractsqdi (long fract A)
1540  -- Runtime Function: long long __fractsqti (long fract A)
1541  -- Runtime Function: float __fractsqsf (long fract A)
1542  -- Runtime Function: double __fractsqdf (long fract A)
1543  -- Runtime Function: short fract __fractdqqq2 (long long fract A)
1544  -- Runtime Function: fract __fractdqhq2 (long long fract A)
1545  -- Runtime Function: long fract __fractdqsq2 (long long fract A)
1546  -- Runtime Function: short accum __fractdqha (long long fract A)
1547  -- Runtime Function: accum __fractdqsa (long long fract A)
1548  -- Runtime Function: long accum __fractdqda (long long fract A)
1549  -- Runtime Function: long long accum __fractdqta (long long fract A)
1550  -- Runtime Function: unsigned short fract __fractdquqq (long long
1551           fract A)
1552  -- Runtime Function: unsigned fract __fractdquhq (long long fract A)
1553  -- Runtime Function: unsigned long fract __fractdqusq (long long fract
1554           A)
1555  -- Runtime Function: unsigned long long fract __fractdqudq (long long
1556           fract A)
1557  -- Runtime Function: unsigned short accum __fractdquha (long long
1558           fract A)
1559  -- Runtime Function: unsigned accum __fractdqusa (long long fract A)
1560  -- Runtime Function: unsigned long accum __fractdquda (long long fract
1561           A)
1562  -- Runtime Function: unsigned long long accum __fractdquta (long long
1563           fract A)
1564  -- Runtime Function: signed char __fractdqqi (long long fract A)
1565  -- Runtime Function: short __fractdqhi (long long fract A)
1566  -- Runtime Function: int __fractdqsi (long long fract A)
1567  -- Runtime Function: long __fractdqdi (long long fract A)
1568  -- Runtime Function: long long __fractdqti (long long fract A)
1569  -- Runtime Function: float __fractdqsf (long long fract A)
1570  -- Runtime Function: double __fractdqdf (long long fract A)
1571  -- Runtime Function: short fract __fracthaqq (short accum A)
1572  -- Runtime Function: fract __fracthahq (short accum A)
1573  -- Runtime Function: long fract __fracthasq (short accum A)
1574  -- Runtime Function: long long fract __fracthadq (short accum A)
1575  -- Runtime Function: accum __fracthasa2 (short accum A)
1576  -- Runtime Function: long accum __fracthada2 (short accum A)
1577  -- Runtime Function: long long accum __fracthata2 (short accum A)
1578  -- Runtime Function: unsigned short fract __fracthauqq (short accum A)
1579  -- Runtime Function: unsigned fract __fracthauhq (short accum A)
1580  -- Runtime Function: unsigned long fract __fracthausq (short accum A)
1581  -- Runtime Function: unsigned long long fract __fracthaudq (short
1582           accum A)
1583  -- Runtime Function: unsigned short accum __fracthauha (short accum A)
1584  -- Runtime Function: unsigned accum __fracthausa (short accum A)
1585  -- Runtime Function: unsigned long accum __fracthauda (short accum A)
1586  -- Runtime Function: unsigned long long accum __fracthauta (short
1587           accum A)
1588  -- Runtime Function: signed char __fracthaqi (short accum A)
1589  -- Runtime Function: short __fracthahi (short accum A)
1590  -- Runtime Function: int __fracthasi (short accum A)
1591  -- Runtime Function: long __fracthadi (short accum A)
1592  -- Runtime Function: long long __fracthati (short accum A)
1593  -- Runtime Function: float __fracthasf (short accum A)
1594  -- Runtime Function: double __fracthadf (short accum A)
1595  -- Runtime Function: short fract __fractsaqq (accum A)
1596  -- Runtime Function: fract __fractsahq (accum A)
1597  -- Runtime Function: long fract __fractsasq (accum A)
1598  -- Runtime Function: long long fract __fractsadq (accum A)
1599  -- Runtime Function: short accum __fractsaha2 (accum A)
1600  -- Runtime Function: long accum __fractsada2 (accum A)
1601  -- Runtime Function: long long accum __fractsata2 (accum A)
1602  -- Runtime Function: unsigned short fract __fractsauqq (accum A)
1603  -- Runtime Function: unsigned fract __fractsauhq (accum A)
1604  -- Runtime Function: unsigned long fract __fractsausq (accum A)
1605  -- Runtime Function: unsigned long long fract __fractsaudq (accum A)
1606  -- Runtime Function: unsigned short accum __fractsauha (accum A)
1607  -- Runtime Function: unsigned accum __fractsausa (accum A)
1608  -- Runtime Function: unsigned long accum __fractsauda (accum A)
1609  -- Runtime Function: unsigned long long accum __fractsauta (accum A)
1610  -- Runtime Function: signed char __fractsaqi (accum A)
1611  -- Runtime Function: short __fractsahi (accum A)
1612  -- Runtime Function: int __fractsasi (accum A)
1613  -- Runtime Function: long __fractsadi (accum A)
1614  -- Runtime Function: long long __fractsati (accum A)
1615  -- Runtime Function: float __fractsasf (accum A)
1616  -- Runtime Function: double __fractsadf (accum A)
1617  -- Runtime Function: short fract __fractdaqq (long accum A)
1618  -- Runtime Function: fract __fractdahq (long accum A)
1619  -- Runtime Function: long fract __fractdasq (long accum A)
1620  -- Runtime Function: long long fract __fractdadq (long accum A)
1621  -- Runtime Function: short accum __fractdaha2 (long accum A)
1622  -- Runtime Function: accum __fractdasa2 (long accum A)
1623  -- Runtime Function: long long accum __fractdata2 (long accum A)
1624  -- Runtime Function: unsigned short fract __fractdauqq (long accum A)
1625  -- Runtime Function: unsigned fract __fractdauhq (long accum A)
1626  -- Runtime Function: unsigned long fract __fractdausq (long accum A)
1627  -- Runtime Function: unsigned long long fract __fractdaudq (long accum
1628           A)
1629  -- Runtime Function: unsigned short accum __fractdauha (long accum A)
1630  -- Runtime Function: unsigned accum __fractdausa (long accum A)
1631  -- Runtime Function: unsigned long accum __fractdauda (long accum A)
1632  -- Runtime Function: unsigned long long accum __fractdauta (long accum
1633           A)
1634  -- Runtime Function: signed char __fractdaqi (long accum A)
1635  -- Runtime Function: short __fractdahi (long accum A)
1636  -- Runtime Function: int __fractdasi (long accum A)
1637  -- Runtime Function: long __fractdadi (long accum A)
1638  -- Runtime Function: long long __fractdati (long accum A)
1639  -- Runtime Function: float __fractdasf (long accum A)
1640  -- Runtime Function: double __fractdadf (long accum A)
1641  -- Runtime Function: short fract __fracttaqq (long long accum A)
1642  -- Runtime Function: fract __fracttahq (long long accum A)
1643  -- Runtime Function: long fract __fracttasq (long long accum A)
1644  -- Runtime Function: long long fract __fracttadq (long long accum A)
1645  -- Runtime Function: short accum __fracttaha2 (long long accum A)
1646  -- Runtime Function: accum __fracttasa2 (long long accum A)
1647  -- Runtime Function: long accum __fracttada2 (long long accum A)
1648  -- Runtime Function: unsigned short fract __fracttauqq (long long
1649           accum A)
1650  -- Runtime Function: unsigned fract __fracttauhq (long long accum A)
1651  -- Runtime Function: unsigned long fract __fracttausq (long long accum
1652           A)
1653  -- Runtime Function: unsigned long long fract __fracttaudq (long long
1654           accum A)
1655  -- Runtime Function: unsigned short accum __fracttauha (long long
1656           accum A)
1657  -- Runtime Function: unsigned accum __fracttausa (long long accum A)
1658  -- Runtime Function: unsigned long accum __fracttauda (long long accum
1659           A)
1660  -- Runtime Function: unsigned long long accum __fracttauta (long long
1661           accum A)
1662  -- Runtime Function: signed char __fracttaqi (long long accum A)
1663  -- Runtime Function: short __fracttahi (long long accum A)
1664  -- Runtime Function: int __fracttasi (long long accum A)
1665  -- Runtime Function: long __fracttadi (long long accum A)
1666  -- Runtime Function: long long __fracttati (long long accum A)
1667  -- Runtime Function: float __fracttasf (long long accum A)
1668  -- Runtime Function: double __fracttadf (long long accum A)
1669  -- Runtime Function: short fract __fractuqqqq (unsigned short fract A)
1670  -- Runtime Function: fract __fractuqqhq (unsigned short fract A)
1671  -- Runtime Function: long fract __fractuqqsq (unsigned short fract A)
1672  -- Runtime Function: long long fract __fractuqqdq (unsigned short
1673           fract A)
1674  -- Runtime Function: short accum __fractuqqha (unsigned short fract A)
1675  -- Runtime Function: accum __fractuqqsa (unsigned short fract A)
1676  -- Runtime Function: long accum __fractuqqda (unsigned short fract A)
1677  -- Runtime Function: long long accum __fractuqqta (unsigned short
1678           fract A)
1679  -- Runtime Function: unsigned fract __fractuqquhq2 (unsigned short
1680           fract A)
1681  -- Runtime Function: unsigned long fract __fractuqqusq2 (unsigned
1682           short fract A)
1683  -- Runtime Function: unsigned long long fract __fractuqqudq2 (unsigned
1684           short fract A)
1685  -- Runtime Function: unsigned short accum __fractuqquha (unsigned
1686           short fract A)
1687  -- Runtime Function: unsigned accum __fractuqqusa (unsigned short
1688           fract A)
1689  -- Runtime Function: unsigned long accum __fractuqquda (unsigned short
1690           fract A)
1691  -- Runtime Function: unsigned long long accum __fractuqquta (unsigned
1692           short fract A)
1693  -- Runtime Function: signed char __fractuqqqi (unsigned short fract A)
1694  -- Runtime Function: short __fractuqqhi (unsigned short fract A)
1695  -- Runtime Function: int __fractuqqsi (unsigned short fract A)
1696  -- Runtime Function: long __fractuqqdi (unsigned short fract A)
1697  -- Runtime Function: long long __fractuqqti (unsigned short fract A)
1698  -- Runtime Function: float __fractuqqsf (unsigned short fract A)
1699  -- Runtime Function: double __fractuqqdf (unsigned short fract A)
1700  -- Runtime Function: short fract __fractuhqqq (unsigned fract A)
1701  -- Runtime Function: fract __fractuhqhq (unsigned fract A)
1702  -- Runtime Function: long fract __fractuhqsq (unsigned fract A)
1703  -- Runtime Function: long long fract __fractuhqdq (unsigned fract A)
1704  -- Runtime Function: short accum __fractuhqha (unsigned fract A)
1705  -- Runtime Function: accum __fractuhqsa (unsigned fract A)
1706  -- Runtime Function: long accum __fractuhqda (unsigned fract A)
1707  -- Runtime Function: long long accum __fractuhqta (unsigned fract A)
1708  -- Runtime Function: unsigned short fract __fractuhquqq2 (unsigned
1709           fract A)
1710  -- Runtime Function: unsigned long fract __fractuhqusq2 (unsigned
1711           fract A)
1712  -- Runtime Function: unsigned long long fract __fractuhqudq2 (unsigned
1713           fract A)
1714  -- Runtime Function: unsigned short accum __fractuhquha (unsigned
1715           fract A)
1716  -- Runtime Function: unsigned accum __fractuhqusa (unsigned fract A)
1717  -- Runtime Function: unsigned long accum __fractuhquda (unsigned fract
1718           A)
1719  -- Runtime Function: unsigned long long accum __fractuhquta (unsigned
1720           fract A)
1721  -- Runtime Function: signed char __fractuhqqi (unsigned fract A)
1722  -- Runtime Function: short __fractuhqhi (unsigned fract A)
1723  -- Runtime Function: int __fractuhqsi (unsigned fract A)
1724  -- Runtime Function: long __fractuhqdi (unsigned fract A)
1725  -- Runtime Function: long long __fractuhqti (unsigned fract A)
1726  -- Runtime Function: float __fractuhqsf (unsigned fract A)
1727  -- Runtime Function: double __fractuhqdf (unsigned fract A)
1728  -- Runtime Function: short fract __fractusqqq (unsigned long fract A)
1729  -- Runtime Function: fract __fractusqhq (unsigned long fract A)
1730  -- Runtime Function: long fract __fractusqsq (unsigned long fract A)
1731  -- Runtime Function: long long fract __fractusqdq (unsigned long fract
1732           A)
1733  -- Runtime Function: short accum __fractusqha (unsigned long fract A)
1734  -- Runtime Function: accum __fractusqsa (unsigned long fract A)
1735  -- Runtime Function: long accum __fractusqda (unsigned long fract A)
1736  -- Runtime Function: long long accum __fractusqta (unsigned long fract
1737           A)
1738  -- Runtime Function: unsigned short fract __fractusquqq2 (unsigned
1739           long fract A)
1740  -- Runtime Function: unsigned fract __fractusquhq2 (unsigned long
1741           fract A)
1742  -- Runtime Function: unsigned long long fract __fractusqudq2 (unsigned
1743           long fract A)
1744  -- Runtime Function: unsigned short accum __fractusquha (unsigned long
1745           fract A)
1746  -- Runtime Function: unsigned accum __fractusqusa (unsigned long fract
1747           A)
1748  -- Runtime Function: unsigned long accum __fractusquda (unsigned long
1749           fract A)
1750  -- Runtime Function: unsigned long long accum __fractusquta (unsigned
1751           long fract A)
1752  -- Runtime Function: signed char __fractusqqi (unsigned long fract A)
1753  -- Runtime Function: short __fractusqhi (unsigned long fract A)
1754  -- Runtime Function: int __fractusqsi (unsigned long fract A)
1755  -- Runtime Function: long __fractusqdi (unsigned long fract A)
1756  -- Runtime Function: long long __fractusqti (unsigned long fract A)
1757  -- Runtime Function: float __fractusqsf (unsigned long fract A)
1758  -- Runtime Function: double __fractusqdf (unsigned long fract A)
1759  -- Runtime Function: short fract __fractudqqq (unsigned long long
1760           fract A)
1761  -- Runtime Function: fract __fractudqhq (unsigned long long fract A)
1762  -- Runtime Function: long fract __fractudqsq (unsigned long long fract
1763           A)
1764  -- Runtime Function: long long fract __fractudqdq (unsigned long long
1765           fract A)
1766  -- Runtime Function: short accum __fractudqha (unsigned long long
1767           fract A)
1768  -- Runtime Function: accum __fractudqsa (unsigned long long fract A)
1769  -- Runtime Function: long accum __fractudqda (unsigned long long fract
1770           A)
1771  -- Runtime Function: long long accum __fractudqta (unsigned long long
1772           fract A)
1773  -- Runtime Function: unsigned short fract __fractudquqq2 (unsigned
1774           long long fract A)
1775  -- Runtime Function: unsigned fract __fractudquhq2 (unsigned long long
1776           fract A)
1777  -- Runtime Function: unsigned long fract __fractudqusq2 (unsigned long
1778           long fract A)
1779  -- Runtime Function: unsigned short accum __fractudquha (unsigned long
1780           long fract A)
1781  -- Runtime Function: unsigned accum __fractudqusa (unsigned long long
1782           fract A)
1783  -- Runtime Function: unsigned long accum __fractudquda (unsigned long
1784           long fract A)
1785  -- Runtime Function: unsigned long long accum __fractudquta (unsigned
1786           long long fract A)
1787  -- Runtime Function: signed char __fractudqqi (unsigned long long
1788           fract A)
1789  -- Runtime Function: short __fractudqhi (unsigned long long fract A)
1790  -- Runtime Function: int __fractudqsi (unsigned long long fract A)
1791  -- Runtime Function: long __fractudqdi (unsigned long long fract A)
1792  -- Runtime Function: long long __fractudqti (unsigned long long fract
1793           A)
1794  -- Runtime Function: float __fractudqsf (unsigned long long fract A)
1795  -- Runtime Function: double __fractudqdf (unsigned long long fract A)
1796  -- Runtime Function: short fract __fractuhaqq (unsigned short accum A)
1797  -- Runtime Function: fract __fractuhahq (unsigned short accum A)
1798  -- Runtime Function: long fract __fractuhasq (unsigned short accum A)
1799  -- Runtime Function: long long fract __fractuhadq (unsigned short
1800           accum A)
1801  -- Runtime Function: short accum __fractuhaha (unsigned short accum A)
1802  -- Runtime Function: accum __fractuhasa (unsigned short accum A)
1803  -- Runtime Function: long accum __fractuhada (unsigned short accum A)
1804  -- Runtime Function: long long accum __fractuhata (unsigned short
1805           accum A)
1806  -- Runtime Function: unsigned short fract __fractuhauqq (unsigned
1807           short accum A)
1808  -- Runtime Function: unsigned fract __fractuhauhq (unsigned short
1809           accum A)
1810  -- Runtime Function: unsigned long fract __fractuhausq (unsigned short
1811           accum A)
1812  -- Runtime Function: unsigned long long fract __fractuhaudq (unsigned
1813           short accum A)
1814  -- Runtime Function: unsigned accum __fractuhausa2 (unsigned short
1815           accum A)
1816  -- Runtime Function: unsigned long accum __fractuhauda2 (unsigned
1817           short accum A)
1818  -- Runtime Function: unsigned long long accum __fractuhauta2 (unsigned
1819           short accum A)
1820  -- Runtime Function: signed char __fractuhaqi (unsigned short accum A)
1821  -- Runtime Function: short __fractuhahi (unsigned short accum A)
1822  -- Runtime Function: int __fractuhasi (unsigned short accum A)
1823  -- Runtime Function: long __fractuhadi (unsigned short accum A)
1824  -- Runtime Function: long long __fractuhati (unsigned short accum A)
1825  -- Runtime Function: float __fractuhasf (unsigned short accum A)
1826  -- Runtime Function: double __fractuhadf (unsigned short accum A)
1827  -- Runtime Function: short fract __fractusaqq (unsigned accum A)
1828  -- Runtime Function: fract __fractusahq (unsigned accum A)
1829  -- Runtime Function: long fract __fractusasq (unsigned accum A)
1830  -- Runtime Function: long long fract __fractusadq (unsigned accum A)
1831  -- Runtime Function: short accum __fractusaha (unsigned accum A)
1832  -- Runtime Function: accum __fractusasa (unsigned accum A)
1833  -- Runtime Function: long accum __fractusada (unsigned accum A)
1834  -- Runtime Function: long long accum __fractusata (unsigned accum A)
1835  -- Runtime Function: unsigned short fract __fractusauqq (unsigned
1836           accum A)
1837  -- Runtime Function: unsigned fract __fractusauhq (unsigned accum A)
1838  -- Runtime Function: unsigned long fract __fractusausq (unsigned accum
1839           A)
1840  -- Runtime Function: unsigned long long fract __fractusaudq (unsigned
1841           accum A)
1842  -- Runtime Function: unsigned short accum __fractusauha2 (unsigned
1843           accum A)
1844  -- Runtime Function: unsigned long accum __fractusauda2 (unsigned
1845           accum A)
1846  -- Runtime Function: unsigned long long accum __fractusauta2 (unsigned
1847           accum A)
1848  -- Runtime Function: signed char __fractusaqi (unsigned accum A)
1849  -- Runtime Function: short __fractusahi (unsigned accum A)
1850  -- Runtime Function: int __fractusasi (unsigned accum A)
1851  -- Runtime Function: long __fractusadi (unsigned accum A)
1852  -- Runtime Function: long long __fractusati (unsigned accum A)
1853  -- Runtime Function: float __fractusasf (unsigned accum A)
1854  -- Runtime Function: double __fractusadf (unsigned accum A)
1855  -- Runtime Function: short fract __fractudaqq (unsigned long accum A)
1856  -- Runtime Function: fract __fractudahq (unsigned long accum A)
1857  -- Runtime Function: long fract __fractudasq (unsigned long accum A)
1858  -- Runtime Function: long long fract __fractudadq (unsigned long accum
1859           A)
1860  -- Runtime Function: short accum __fractudaha (unsigned long accum A)
1861  -- Runtime Function: accum __fractudasa (unsigned long accum A)
1862  -- Runtime Function: long accum __fractudada (unsigned long accum A)
1863  -- Runtime Function: long long accum __fractudata (unsigned long accum
1864           A)
1865  -- Runtime Function: unsigned short fract __fractudauqq (unsigned long
1866           accum A)
1867  -- Runtime Function: unsigned fract __fractudauhq (unsigned long accum
1868           A)
1869  -- Runtime Function: unsigned long fract __fractudausq (unsigned long
1870           accum A)
1871  -- Runtime Function: unsigned long long fract __fractudaudq (unsigned
1872           long accum A)
1873  -- Runtime Function: unsigned short accum __fractudauha2 (unsigned
1874           long accum A)
1875  -- Runtime Function: unsigned accum __fractudausa2 (unsigned long
1876           accum A)
1877  -- Runtime Function: unsigned long long accum __fractudauta2 (unsigned
1878           long accum A)
1879  -- Runtime Function: signed char __fractudaqi (unsigned long accum A)
1880  -- Runtime Function: short __fractudahi (unsigned long accum A)
1881  -- Runtime Function: int __fractudasi (unsigned long accum A)
1882  -- Runtime Function: long __fractudadi (unsigned long accum A)
1883  -- Runtime Function: long long __fractudati (unsigned long accum A)
1884  -- Runtime Function: float __fractudasf (unsigned long accum A)
1885  -- Runtime Function: double __fractudadf (unsigned long accum A)
1886  -- Runtime Function: short fract __fractutaqq (unsigned long long
1887           accum A)
1888  -- Runtime Function: fract __fractutahq (unsigned long long accum A)
1889  -- Runtime Function: long fract __fractutasq (unsigned long long accum
1890           A)
1891  -- Runtime Function: long long fract __fractutadq (unsigned long long
1892           accum A)
1893  -- Runtime Function: short accum __fractutaha (unsigned long long
1894           accum A)
1895  -- Runtime Function: accum __fractutasa (unsigned long long accum A)
1896  -- Runtime Function: long accum __fractutada (unsigned long long accum
1897           A)
1898  -- Runtime Function: long long accum __fractutata (unsigned long long
1899           accum A)
1900  -- Runtime Function: unsigned short fract __fractutauqq (unsigned long
1901           long accum A)
1902  -- Runtime Function: unsigned fract __fractutauhq (unsigned long long
1903           accum A)
1904  -- Runtime Function: unsigned long fract __fractutausq (unsigned long
1905           long accum A)
1906  -- Runtime Function: unsigned long long fract __fractutaudq (unsigned
1907           long long accum A)
1908  -- Runtime Function: unsigned short accum __fractutauha2 (unsigned
1909           long long accum A)
1910  -- Runtime Function: unsigned accum __fractutausa2 (unsigned long long
1911           accum A)
1912  -- Runtime Function: unsigned long accum __fractutauda2 (unsigned long
1913           long accum A)
1914  -- Runtime Function: signed char __fractutaqi (unsigned long long
1915           accum A)
1916  -- Runtime Function: short __fractutahi (unsigned long long accum A)
1917  -- Runtime Function: int __fractutasi (unsigned long long accum A)
1918  -- Runtime Function: long __fractutadi (unsigned long long accum A)
1919  -- Runtime Function: long long __fractutati (unsigned long long accum
1920           A)
1921  -- Runtime Function: float __fractutasf (unsigned long long accum A)
1922  -- Runtime Function: double __fractutadf (unsigned long long accum A)
1923  -- Runtime Function: short fract __fractqiqq (signed char A)
1924  -- Runtime Function: fract __fractqihq (signed char A)
1925  -- Runtime Function: long fract __fractqisq (signed char A)
1926  -- Runtime Function: long long fract __fractqidq (signed char A)
1927  -- Runtime Function: short accum __fractqiha (signed char A)
1928  -- Runtime Function: accum __fractqisa (signed char A)
1929  -- Runtime Function: long accum __fractqida (signed char A)
1930  -- Runtime Function: long long accum __fractqita (signed char A)
1931  -- Runtime Function: unsigned short fract __fractqiuqq (signed char A)
1932  -- Runtime Function: unsigned fract __fractqiuhq (signed char A)
1933  -- Runtime Function: unsigned long fract __fractqiusq (signed char A)
1934  -- Runtime Function: unsigned long long fract __fractqiudq (signed
1935           char A)
1936  -- Runtime Function: unsigned short accum __fractqiuha (signed char A)
1937  -- Runtime Function: unsigned accum __fractqiusa (signed char A)
1938  -- Runtime Function: unsigned long accum __fractqiuda (signed char A)
1939  -- Runtime Function: unsigned long long accum __fractqiuta (signed
1940           char A)
1941  -- Runtime Function: short fract __fracthiqq (short A)
1942  -- Runtime Function: fract __fracthihq (short A)
1943  -- Runtime Function: long fract __fracthisq (short A)
1944  -- Runtime Function: long long fract __fracthidq (short A)
1945  -- Runtime Function: short accum __fracthiha (short A)
1946  -- Runtime Function: accum __fracthisa (short A)
1947  -- Runtime Function: long accum __fracthida (short A)
1948  -- Runtime Function: long long accum __fracthita (short A)
1949  -- Runtime Function: unsigned short fract __fracthiuqq (short A)
1950  -- Runtime Function: unsigned fract __fracthiuhq (short A)
1951  -- Runtime Function: unsigned long fract __fracthiusq (short A)
1952  -- Runtime Function: unsigned long long fract __fracthiudq (short A)
1953  -- Runtime Function: unsigned short accum __fracthiuha (short A)
1954  -- Runtime Function: unsigned accum __fracthiusa (short A)
1955  -- Runtime Function: unsigned long accum __fracthiuda (short A)
1956  -- Runtime Function: unsigned long long accum __fracthiuta (short A)
1957  -- Runtime Function: short fract __fractsiqq (int A)
1958  -- Runtime Function: fract __fractsihq (int A)
1959  -- Runtime Function: long fract __fractsisq (int A)
1960  -- Runtime Function: long long fract __fractsidq (int A)
1961  -- Runtime Function: short accum __fractsiha (int A)
1962  -- Runtime Function: accum __fractsisa (int A)
1963  -- Runtime Function: long accum __fractsida (int A)
1964  -- Runtime Function: long long accum __fractsita (int A)
1965  -- Runtime Function: unsigned short fract __fractsiuqq (int A)
1966  -- Runtime Function: unsigned fract __fractsiuhq (int A)
1967  -- Runtime Function: unsigned long fract __fractsiusq (int A)
1968  -- Runtime Function: unsigned long long fract __fractsiudq (int A)
1969  -- Runtime Function: unsigned short accum __fractsiuha (int A)
1970  -- Runtime Function: unsigned accum __fractsiusa (int A)
1971  -- Runtime Function: unsigned long accum __fractsiuda (int A)
1972  -- Runtime Function: unsigned long long accum __fractsiuta (int A)
1973  -- Runtime Function: short fract __fractdiqq (long A)
1974  -- Runtime Function: fract __fractdihq (long A)
1975  -- Runtime Function: long fract __fractdisq (long A)
1976  -- Runtime Function: long long fract __fractdidq (long A)
1977  -- Runtime Function: short accum __fractdiha (long A)
1978  -- Runtime Function: accum __fractdisa (long A)
1979  -- Runtime Function: long accum __fractdida (long A)
1980  -- Runtime Function: long long accum __fractdita (long A)
1981  -- Runtime Function: unsigned short fract __fractdiuqq (long A)
1982  -- Runtime Function: unsigned fract __fractdiuhq (long A)
1983  -- Runtime Function: unsigned long fract __fractdiusq (long A)
1984  -- Runtime Function: unsigned long long fract __fractdiudq (long A)
1985  -- Runtime Function: unsigned short accum __fractdiuha (long A)
1986  -- Runtime Function: unsigned accum __fractdiusa (long A)
1987  -- Runtime Function: unsigned long accum __fractdiuda (long A)
1988  -- Runtime Function: unsigned long long accum __fractdiuta (long A)
1989  -- Runtime Function: short fract __fracttiqq (long long A)
1990  -- Runtime Function: fract __fracttihq (long long A)
1991  -- Runtime Function: long fract __fracttisq (long long A)
1992  -- Runtime Function: long long fract __fracttidq (long long A)
1993  -- Runtime Function: short accum __fracttiha (long long A)
1994  -- Runtime Function: accum __fracttisa (long long A)
1995  -- Runtime Function: long accum __fracttida (long long A)
1996  -- Runtime Function: long long accum __fracttita (long long A)
1997  -- Runtime Function: unsigned short fract __fracttiuqq (long long A)
1998  -- Runtime Function: unsigned fract __fracttiuhq (long long A)
1999  -- Runtime Function: unsigned long fract __fracttiusq (long long A)
2000  -- Runtime Function: unsigned long long fract __fracttiudq (long long
2001           A)
2002  -- Runtime Function: unsigned short accum __fracttiuha (long long A)
2003  -- Runtime Function: unsigned accum __fracttiusa (long long A)
2004  -- Runtime Function: unsigned long accum __fracttiuda (long long A)
2005  -- Runtime Function: unsigned long long accum __fracttiuta (long long
2006           A)
2007  -- Runtime Function: short fract __fractsfqq (float A)
2008  -- Runtime Function: fract __fractsfhq (float A)
2009  -- Runtime Function: long fract __fractsfsq (float A)
2010  -- Runtime Function: long long fract __fractsfdq (float A)
2011  -- Runtime Function: short accum __fractsfha (float A)
2012  -- Runtime Function: accum __fractsfsa (float A)
2013  -- Runtime Function: long accum __fractsfda (float A)
2014  -- Runtime Function: long long accum __fractsfta (float A)
2015  -- Runtime Function: unsigned short fract __fractsfuqq (float A)
2016  -- Runtime Function: unsigned fract __fractsfuhq (float A)
2017  -- Runtime Function: unsigned long fract __fractsfusq (float A)
2018  -- Runtime Function: unsigned long long fract __fractsfudq (float A)
2019  -- Runtime Function: unsigned short accum __fractsfuha (float A)
2020  -- Runtime Function: unsigned accum __fractsfusa (float A)
2021  -- Runtime Function: unsigned long accum __fractsfuda (float A)
2022  -- Runtime Function: unsigned long long accum __fractsfuta (float A)
2023  -- Runtime Function: short fract __fractdfqq (double A)
2024  -- Runtime Function: fract __fractdfhq (double A)
2025  -- Runtime Function: long fract __fractdfsq (double A)
2026  -- Runtime Function: long long fract __fractdfdq (double A)
2027  -- Runtime Function: short accum __fractdfha (double A)
2028  -- Runtime Function: accum __fractdfsa (double A)
2029  -- Runtime Function: long accum __fractdfda (double A)
2030  -- Runtime Function: long long accum __fractdfta (double A)
2031  -- Runtime Function: unsigned short fract __fractdfuqq (double A)
2032  -- Runtime Function: unsigned fract __fractdfuhq (double A)
2033  -- Runtime Function: unsigned long fract __fractdfusq (double A)
2034  -- Runtime Function: unsigned long long fract __fractdfudq (double A)
2035  -- Runtime Function: unsigned short accum __fractdfuha (double A)
2036  -- Runtime Function: unsigned accum __fractdfusa (double A)
2037  -- Runtime Function: unsigned long accum __fractdfuda (double A)
2038  -- Runtime Function: unsigned long long accum __fractdfuta (double A)
2039      These functions convert from fractional and signed non-fractionals
2040      to fractionals and signed non-fractionals, without saturation.
2042  -- Runtime Function: fract __satfractqqhq2 (short fract A)
2043  -- Runtime Function: long fract __satfractqqsq2 (short fract A)
2044  -- Runtime Function: long long fract __satfractqqdq2 (short fract A)
2045  -- Runtime Function: short accum __satfractqqha (short fract A)
2046  -- Runtime Function: accum __satfractqqsa (short fract A)
2047  -- Runtime Function: long accum __satfractqqda (short fract A)
2048  -- Runtime Function: long long accum __satfractqqta (short fract A)
2049  -- Runtime Function: unsigned short fract __satfractqquqq (short fract
2050           A)
2051  -- Runtime Function: unsigned fract __satfractqquhq (short fract A)
2052  -- Runtime Function: unsigned long fract __satfractqqusq (short fract
2053           A)
2054  -- Runtime Function: unsigned long long fract __satfractqqudq (short
2055           fract A)
2056  -- Runtime Function: unsigned short accum __satfractqquha (short fract
2057           A)
2058  -- Runtime Function: unsigned accum __satfractqqusa (short fract A)
2059  -- Runtime Function: unsigned long accum __satfractqquda (short fract
2060           A)
2061  -- Runtime Function: unsigned long long accum __satfractqquta (short
2062           fract A)
2063  -- Runtime Function: short fract __satfracthqqq2 (fract A)
2064  -- Runtime Function: long fract __satfracthqsq2 (fract A)
2065  -- Runtime Function: long long fract __satfracthqdq2 (fract A)
2066  -- Runtime Function: short accum __satfracthqha (fract A)
2067  -- Runtime Function: accum __satfracthqsa (fract A)
2068  -- Runtime Function: long accum __satfracthqda (fract A)
2069  -- Runtime Function: long long accum __satfracthqta (fract A)
2070  -- Runtime Function: unsigned short fract __satfracthquqq (fract A)
2071  -- Runtime Function: unsigned fract __satfracthquhq (fract A)
2072  -- Runtime Function: unsigned long fract __satfracthqusq (fract A)
2073  -- Runtime Function: unsigned long long fract __satfracthqudq (fract A)
2074  -- Runtime Function: unsigned short accum __satfracthquha (fract A)
2075  -- Runtime Function: unsigned accum __satfracthqusa (fract A)
2076  -- Runtime Function: unsigned long accum __satfracthquda (fract A)
2077  -- Runtime Function: unsigned long long accum __satfracthquta (fract A)
2078  -- Runtime Function: short fract __satfractsqqq2 (long fract A)
2079  -- Runtime Function: fract __satfractsqhq2 (long fract A)
2080  -- Runtime Function: long long fract __satfractsqdq2 (long fract A)
2081  -- Runtime Function: short accum __satfractsqha (long fract A)
2082  -- Runtime Function: accum __satfractsqsa (long fract A)
2083  -- Runtime Function: long accum __satfractsqda (long fract A)
2084  -- Runtime Function: long long accum __satfractsqta (long fract A)
2085  -- Runtime Function: unsigned short fract __satfractsquqq (long fract
2086           A)
2087  -- Runtime Function: unsigned fract __satfractsquhq (long fract A)
2088  -- Runtime Function: unsigned long fract __satfractsqusq (long fract A)
2089  -- Runtime Function: unsigned long long fract __satfractsqudq (long
2090           fract A)
2091  -- Runtime Function: unsigned short accum __satfractsquha (long fract
2092           A)
2093  -- Runtime Function: unsigned accum __satfractsqusa (long fract A)
2094  -- Runtime Function: unsigned long accum __satfractsquda (long fract A)
2095  -- Runtime Function: unsigned long long accum __satfractsquta (long
2096           fract A)
2097  -- Runtime Function: short fract __satfractdqqq2 (long long fract A)
2098  -- Runtime Function: fract __satfractdqhq2 (long long fract A)
2099  -- Runtime Function: long fract __satfractdqsq2 (long long fract A)
2100  -- Runtime Function: short accum __satfractdqha (long long fract A)
2101  -- Runtime Function: accum __satfractdqsa (long long fract A)
2102  -- Runtime Function: long accum __satfractdqda (long long fract A)
2103  -- Runtime Function: long long accum __satfractdqta (long long fract A)
2104  -- Runtime Function: unsigned short fract __satfractdquqq (long long
2105           fract A)
2106  -- Runtime Function: unsigned fract __satfractdquhq (long long fract A)
2107  -- Runtime Function: unsigned long fract __satfractdqusq (long long
2108           fract A)
2109  -- Runtime Function: unsigned long long fract __satfractdqudq (long
2110           long fract A)
2111  -- Runtime Function: unsigned short accum __satfractdquha (long long
2112           fract A)
2113  -- Runtime Function: unsigned accum __satfractdqusa (long long fract A)
2114  -- Runtime Function: unsigned long accum __satfractdquda (long long
2115           fract A)
2116  -- Runtime Function: unsigned long long accum __satfractdquta (long
2117           long fract A)
2118  -- Runtime Function: short fract __satfracthaqq (short accum A)
2119  -- Runtime Function: fract __satfracthahq (short accum A)
2120  -- Runtime Function: long fract __satfracthasq (short accum A)
2121  -- Runtime Function: long long fract __satfracthadq (short accum A)
2122  -- Runtime Function: accum __satfracthasa2 (short accum A)
2123  -- Runtime Function: long accum __satfracthada2 (short accum A)
2124  -- Runtime Function: long long accum __satfracthata2 (short accum A)
2125  -- Runtime Function: unsigned short fract __satfracthauqq (short accum
2126           A)
2127  -- Runtime Function: unsigned fract __satfracthauhq (short accum A)
2128  -- Runtime Function: unsigned long fract __satfracthausq (short accum
2129           A)
2130  -- Runtime Function: unsigned long long fract __satfracthaudq (short
2131           accum A)
2132  -- Runtime Function: unsigned short accum __satfracthauha (short accum
2133           A)
2134  -- Runtime Function: unsigned accum __satfracthausa (short accum A)
2135  -- Runtime Function: unsigned long accum __satfracthauda (short accum
2136           A)
2137  -- Runtime Function: unsigned long long accum __satfracthauta (short
2138           accum A)
2139  -- Runtime Function: short fract __satfractsaqq (accum A)
2140  -- Runtime Function: fract __satfractsahq (accum A)
2141  -- Runtime Function: long fract __satfractsasq (accum A)
2142  -- Runtime Function: long long fract __satfractsadq (accum A)
2143  -- Runtime Function: short accum __satfractsaha2 (accum A)
2144  -- Runtime Function: long accum __satfractsada2 (accum A)
2145  -- Runtime Function: long long accum __satfractsata2 (accum A)
2146  -- Runtime Function: unsigned short fract __satfractsauqq (accum A)
2147  -- Runtime Function: unsigned fract __satfractsauhq (accum A)
2148  -- Runtime Function: unsigned long fract __satfractsausq (accum A)
2149  -- Runtime Function: unsigned long long fract __satfractsaudq (accum A)
2150  -- Runtime Function: unsigned short accum __satfractsauha (accum A)
2151  -- Runtime Function: unsigned accum __satfractsausa (accum A)
2152  -- Runtime Function: unsigned long accum __satfractsauda (accum A)
2153  -- Runtime Function: unsigned long long accum __satfractsauta (accum A)
2154  -- Runtime Function: short fract __satfractdaqq (long accum A)
2155  -- Runtime Function: fract __satfractdahq (long accum A)
2156  -- Runtime Function: long fract __satfractdasq (long accum A)
2157  -- Runtime Function: long long fract __satfractdadq (long accum A)
2158  -- Runtime Function: short accum __satfractdaha2 (long accum A)
2159  -- Runtime Function: accum __satfractdasa2 (long accum A)
2160  -- Runtime Function: long long accum __satfractdata2 (long accum A)
2161  -- Runtime Function: unsigned short fract __satfractdauqq (long accum
2162           A)
2163  -- Runtime Function: unsigned fract __satfractdauhq (long accum A)
2164  -- Runtime Function: unsigned long fract __satfractdausq (long accum A)
2165  -- Runtime Function: unsigned long long fract __satfractdaudq (long
2166           accum A)
2167  -- Runtime Function: unsigned short accum __satfractdauha (long accum
2168           A)
2169  -- Runtime Function: unsigned accum __satfractdausa (long accum A)
2170  -- Runtime Function: unsigned long accum __satfractdauda (long accum A)
2171  -- Runtime Function: unsigned long long accum __satfractdauta (long
2172           accum A)
2173  -- Runtime Function: short fract __satfracttaqq (long long accum A)
2174  -- Runtime Function: fract __satfracttahq (long long accum A)
2175  -- Runtime Function: long fract __satfracttasq (long long accum A)
2176  -- Runtime Function: long long fract __satfracttadq (long long accum A)
2177  -- Runtime Function: short accum __satfracttaha2 (long long accum A)
2178  -- Runtime Function: accum __satfracttasa2 (long long accum A)
2179  -- Runtime Function: long accum __satfracttada2 (long long accum A)
2180  -- Runtime Function: unsigned short fract __satfracttauqq (long long
2181           accum A)
2182  -- Runtime Function: unsigned fract __satfracttauhq (long long accum A)
2183  -- Runtime Function: unsigned long fract __satfracttausq (long long
2184           accum A)
2185  -- Runtime Function: unsigned long long fract __satfracttaudq (long
2186           long accum A)
2187  -- Runtime Function: unsigned short accum __satfracttauha (long long
2188           accum A)
2189  -- Runtime Function: unsigned accum __satfracttausa (long long accum A)
2190  -- Runtime Function: unsigned long accum __satfracttauda (long long
2191           accum A)
2192  -- Runtime Function: unsigned long long accum __satfracttauta (long
2193           long accum A)
2194  -- Runtime Function: short fract __satfractuqqqq (unsigned short fract
2195           A)
2196  -- Runtime Function: fract __satfractuqqhq (unsigned short fract A)
2197  -- Runtime Function: long fract __satfractuqqsq (unsigned short fract
2198           A)
2199  -- Runtime Function: long long fract __satfractuqqdq (unsigned short
2200           fract A)
2201  -- Runtime Function: short accum __satfractuqqha (unsigned short fract
2202           A)
2203  -- Runtime Function: accum __satfractuqqsa (unsigned short fract A)
2204  -- Runtime Function: long accum __satfractuqqda (unsigned short fract
2205           A)
2206  -- Runtime Function: long long accum __satfractuqqta (unsigned short
2207           fract A)
2208  -- Runtime Function: unsigned fract __satfractuqquhq2 (unsigned short
2209           fract A)
2210  -- Runtime Function: unsigned long fract __satfractuqqusq2 (unsigned
2211           short fract A)
2212  -- Runtime Function: unsigned long long fract __satfractuqqudq2
2213           (unsigned short fract A)
2214  -- Runtime Function: unsigned short accum __satfractuqquha (unsigned
2215           short fract A)
2216  -- Runtime Function: unsigned accum __satfractuqqusa (unsigned short
2217           fract A)
2218  -- Runtime Function: unsigned long accum __satfractuqquda (unsigned
2219           short fract A)
2220  -- Runtime Function: unsigned long long accum __satfractuqquta
2221           (unsigned short fract A)
2222  -- Runtime Function: short fract __satfractuhqqq (unsigned fract A)
2223  -- Runtime Function: fract __satfractuhqhq (unsigned fract A)
2224  -- Runtime Function: long fract __satfractuhqsq (unsigned fract A)
2225  -- Runtime Function: long long fract __satfractuhqdq (unsigned fract A)
2226  -- Runtime Function: short accum __satfractuhqha (unsigned fract A)
2227  -- Runtime Function: accum __satfractuhqsa (unsigned fract A)
2228  -- Runtime Function: long accum __satfractuhqda (unsigned fract A)
2229  -- Runtime Function: long long accum __satfractuhqta (unsigned fract A)
2230  -- Runtime Function: unsigned short fract __satfractuhquqq2 (unsigned
2231           fract A)
2232  -- Runtime Function: unsigned long fract __satfractuhqusq2 (unsigned
2233           fract A)
2234  -- Runtime Function: unsigned long long fract __satfractuhqudq2
2235           (unsigned fract A)
2236  -- Runtime Function: unsigned short accum __satfractuhquha (unsigned
2237           fract A)
2238  -- Runtime Function: unsigned accum __satfractuhqusa (unsigned fract A)
2239  -- Runtime Function: unsigned long accum __satfractuhquda (unsigned
2240           fract A)
2241  -- Runtime Function: unsigned long long accum __satfractuhquta
2242           (unsigned fract A)
2243  -- Runtime Function: short fract __satfractusqqq (unsigned long fract
2244           A)
2245  -- Runtime Function: fract __satfractusqhq (unsigned long fract A)
2246  -- Runtime Function: long fract __satfractusqsq (unsigned long fract A)
2247  -- Runtime Function: long long fract __satfractusqdq (unsigned long
2248           fract A)
2249  -- Runtime Function: short accum __satfractusqha (unsigned long fract
2250           A)
2251  -- Runtime Function: accum __satfractusqsa (unsigned long fract A)
2252  -- Runtime Function: long accum __satfractusqda (unsigned long fract A)
2253  -- Runtime Function: long long accum __satfractusqta (unsigned long
2254           fract A)
2255  -- Runtime Function: unsigned short fract __satfractusquqq2 (unsigned
2256           long fract A)
2257  -- Runtime Function: unsigned fract __satfractusquhq2 (unsigned long
2258           fract A)
2259  -- Runtime Function: unsigned long long fract __satfractusqudq2
2260           (unsigned long fract A)
2261  -- Runtime Function: unsigned short accum __satfractusquha (unsigned
2262           long fract A)
2263  -- Runtime Function: unsigned accum __satfractusqusa (unsigned long
2264           fract A)
2265  -- Runtime Function: unsigned long accum __satfractusquda (unsigned
2266           long fract A)
2267  -- Runtime Function: unsigned long long accum __satfractusquta
2268           (unsigned long fract A)
2269  -- Runtime Function: short fract __satfractudqqq (unsigned long long
2270           fract A)
2271  -- Runtime Function: fract __satfractudqhq (unsigned long long fract A)
2272  -- Runtime Function: long fract __satfractudqsq (unsigned long long
2273           fract A)
2274  -- Runtime Function: long long fract __satfractudqdq (unsigned long
2275           long fract A)
2276  -- Runtime Function: short accum __satfractudqha (unsigned long long
2277           fract A)
2278  -- Runtime Function: accum __satfractudqsa (unsigned long long fract A)
2279  -- Runtime Function: long accum __satfractudqda (unsigned long long
2280           fract A)
2281  -- Runtime Function: long long accum __satfractudqta (unsigned long
2282           long fract A)
2283  -- Runtime Function: unsigned short fract __satfractudquqq2 (unsigned
2284           long long fract A)
2285  -- Runtime Function: unsigned fract __satfractudquhq2 (unsigned long
2286           long fract A)
2287  -- Runtime Function: unsigned long fract __satfractudqusq2 (unsigned
2288           long long fract A)
2289  -- Runtime Function: unsigned short accum __satfractudquha (unsigned
2290           long long fract A)
2291  -- Runtime Function: unsigned accum __satfractudqusa (unsigned long
2292           long fract A)
2293  -- Runtime Function: unsigned long accum __satfractudquda (unsigned
2294           long long fract A)
2295  -- Runtime Function: unsigned long long accum __satfractudquta
2296           (unsigned long long fract A)
2297  -- Runtime Function: short fract __satfractuhaqq (unsigned short accum
2298           A)
2299  -- Runtime Function: fract __satfractuhahq (unsigned short accum A)
2300  -- Runtime Function: long fract __satfractuhasq (unsigned short accum
2301           A)
2302  -- Runtime Function: long long fract __satfractuhadq (unsigned short
2303           accum A)
2304  -- Runtime Function: short accum __satfractuhaha (unsigned short accum
2305           A)
2306  -- Runtime Function: accum __satfractuhasa (unsigned short accum A)
2307  -- Runtime Function: long accum __satfractuhada (unsigned short accum
2308           A)
2309  -- Runtime Function: long long accum __satfractuhata (unsigned short
2310           accum A)
2311  -- Runtime Function: unsigned short fract __satfractuhauqq (unsigned
2312           short accum A)
2313  -- Runtime Function: unsigned fract __satfractuhauhq (unsigned short
2314           accum A)
2315  -- Runtime Function: unsigned long fract __satfractuhausq (unsigned
2316           short accum A)
2317  -- Runtime Function: unsigned long long fract __satfractuhaudq
2318           (unsigned short accum A)
2319  -- Runtime Function: unsigned accum __satfractuhausa2 (unsigned short
2320           accum A)
2321  -- Runtime Function: unsigned long accum __satfractuhauda2 (unsigned
2322           short accum A)
2323  -- Runtime Function: unsigned long long accum __satfractuhauta2
2324           (unsigned short accum A)
2325  -- Runtime Function: short fract __satfractusaqq (unsigned accum A)
2326  -- Runtime Function: fract __satfractusahq (unsigned accum A)
2327  -- Runtime Function: long fract __satfractusasq (unsigned accum A)
2328  -- Runtime Function: long long fract __satfractusadq (unsigned accum A)
2329  -- Runtime Function: short accum __satfractusaha (unsigned accum A)
2330  -- Runtime Function: accum __satfractusasa (unsigned accum A)
2331  -- Runtime Function: long accum __satfractusada (unsigned accum A)
2332  -- Runtime Function: long long accum __satfractusata (unsigned accum A)
2333  -- Runtime Function: unsigned short fract __satfractusauqq (unsigned
2334           accum A)
2335  -- Runtime Function: unsigned fract __satfractusauhq (unsigned accum A)
2336  -- Runtime Function: unsigned long fract __satfractusausq (unsigned
2337           accum A)
2338  -- Runtime Function: unsigned long long fract __satfractusaudq
2339           (unsigned accum A)
2340  -- Runtime Function: unsigned short accum __satfractusauha2 (unsigned
2341           accum A)
2342  -- Runtime Function: unsigned long accum __satfractusauda2 (unsigned
2343           accum A)
2344  -- Runtime Function: unsigned long long accum __satfractusauta2
2345           (unsigned accum A)
2346  -- Runtime Function: short fract __satfractudaqq (unsigned long accum
2347           A)
2348  -- Runtime Function: fract __satfractudahq (unsigned long accum A)
2349  -- Runtime Function: long fract __satfractudasq (unsigned long accum A)
2350  -- Runtime Function: long long fract __satfractudadq (unsigned long
2351           accum A)
2352  -- Runtime Function: short accum __satfractudaha (unsigned long accum
2353           A)
2354  -- Runtime Function: accum __satfractudasa (unsigned long accum A)
2355  -- Runtime Function: long accum __satfractudada (unsigned long accum A)
2356  -- Runtime Function: long long accum __satfractudata (unsigned long
2357           accum A)
2358  -- Runtime Function: unsigned short fract __satfractudauqq (unsigned
2359           long accum A)
2360  -- Runtime Function: unsigned fract __satfractudauhq (unsigned long
2361           accum A)
2362  -- Runtime Function: unsigned long fract __satfractudausq (unsigned
2363           long accum A)
2364  -- Runtime Function: unsigned long long fract __satfractudaudq
2365           (unsigned long accum A)
2366  -- Runtime Function: unsigned short accum __satfractudauha2 (unsigned
2367           long accum A)
2368  -- Runtime Function: unsigned accum __satfractudausa2 (unsigned long
2369           accum A)
2370  -- Runtime Function: unsigned long long accum __satfractudauta2
2371           (unsigned long accum A)
2372  -- Runtime Function: short fract __satfractutaqq (unsigned long long
2373           accum A)
2374  -- Runtime Function: fract __satfractutahq (unsigned long long accum A)
2375  -- Runtime Function: long fract __satfractutasq (unsigned long long
2376           accum A)
2377  -- Runtime Function: long long fract __satfractutadq (unsigned long
2378           long accum A)
2379  -- Runtime Function: short accum __satfractutaha (unsigned long long
2380           accum A)
2381  -- Runtime Function: accum __satfractutasa (unsigned long long accum A)
2382  -- Runtime Function: long accum __satfractutada (unsigned long long
2383           accum A)
2384  -- Runtime Function: long long accum __satfractutata (unsigned long
2385           long accum A)
2386  -- Runtime Function: unsigned short fract __satfractutauqq (unsigned
2387           long long accum A)
2388  -- Runtime Function: unsigned fract __satfractutauhq (unsigned long
2389           long accum A)
2390  -- Runtime Function: unsigned long fract __satfractutausq (unsigned
2391           long long accum A)
2392  -- Runtime Function: unsigned long long fract __satfractutaudq
2393           (unsigned long long accum A)
2394  -- Runtime Function: unsigned short accum __satfractutauha2 (unsigned
2395           long long accum A)
2396  -- Runtime Function: unsigned accum __satfractutausa2 (unsigned long
2397           long accum A)
2398  -- Runtime Function: unsigned long accum __satfractutauda2 (unsigned
2399           long long accum A)
2400  -- Runtime Function: short fract __satfractqiqq (signed char A)
2401  -- Runtime Function: fract __satfractqihq (signed char A)
2402  -- Runtime Function: long fract __satfractqisq (signed char A)
2403  -- Runtime Function: long long fract __satfractqidq (signed char A)
2404  -- Runtime Function: short accum __satfractqiha (signed char A)
2405  -- Runtime Function: accum __satfractqisa (signed char A)
2406  -- Runtime Function: long accum __satfractqida (signed char A)
2407  -- Runtime Function: long long accum __satfractqita (signed char A)
2408  -- Runtime Function: unsigned short fract __satfractqiuqq (signed char
2409           A)
2410  -- Runtime Function: unsigned fract __satfractqiuhq (signed char A)
2411  -- Runtime Function: unsigned long fract __satfractqiusq (signed char
2412           A)
2413  -- Runtime Function: unsigned long long fract __satfractqiudq (signed
2414           char A)
2415  -- Runtime Function: unsigned short accum __satfractqiuha (signed char
2416           A)
2417  -- Runtime Function: unsigned accum __satfractqiusa (signed char A)
2418  -- Runtime Function: unsigned long accum __satfractqiuda (signed char
2419           A)
2420  -- Runtime Function: unsigned long long accum __satfractqiuta (signed
2421           char A)
2422  -- Runtime Function: short fract __satfracthiqq (short A)
2423  -- Runtime Function: fract __satfracthihq (short A)
2424  -- Runtime Function: long fract __satfracthisq (short A)
2425  -- Runtime Function: long long fract __satfracthidq (short A)
2426  -- Runtime Function: short accum __satfracthiha (short A)
2427  -- Runtime Function: accum __satfracthisa (short A)
2428  -- Runtime Function: long accum __satfracthida (short A)
2429  -- Runtime Function: long long accum __satfracthita (short A)
2430  -- Runtime Function: unsigned short fract __satfracthiuqq (short A)
2431  -- Runtime Function: unsigned fract __satfracthiuhq (short A)
2432  -- Runtime Function: unsigned long fract __satfracthiusq (short A)
2433  -- Runtime Function: unsigned long long fract __satfracthiudq (short A)
2434  -- Runtime Function: unsigned short accum __satfracthiuha (short A)
2435  -- Runtime Function: unsigned accum __satfracthiusa (short A)
2436  -- Runtime Function: unsigned long accum __satfracthiuda (short A)
2437  -- Runtime Function: unsigned long long accum __satfracthiuta (short A)
2438  -- Runtime Function: short fract __satfractsiqq (int A)
2439  -- Runtime Function: fract __satfractsihq (int A)
2440  -- Runtime Function: long fract __satfractsisq (int A)
2441  -- Runtime Function: long long fract __satfractsidq (int A)
2442  -- Runtime Function: short accum __satfractsiha (int A)
2443  -- Runtime Function: accum __satfractsisa (int A)
2444  -- Runtime Function: long accum __satfractsida (int A)
2445  -- Runtime Function: long long accum __satfractsita (int A)
2446  -- Runtime Function: unsigned short fract __satfractsiuqq (int A)
2447  -- Runtime Function: unsigned fract __satfractsiuhq (int A)
2448  -- Runtime Function: unsigned long fract __satfractsiusq (int A)
2449  -- Runtime Function: unsigned long long fract __satfractsiudq (int A)
2450  -- Runtime Function: unsigned short accum __satfractsiuha (int A)
2451  -- Runtime Function: unsigned accum __satfractsiusa (int A)
2452  -- Runtime Function: unsigned long accum __satfractsiuda (int A)
2453  -- Runtime Function: unsigned long long accum __satfractsiuta (int A)
2454  -- Runtime Function: short fract __satfractdiqq (long A)
2455  -- Runtime Function: fract __satfractdihq (long A)
2456  -- Runtime Function: long fract __satfractdisq (long A)
2457  -- Runtime Function: long long fract __satfractdidq (long A)
2458  -- Runtime Function: short accum __satfractdiha (long A)
2459  -- Runtime Function: accum __satfractdisa (long A)
2460  -- Runtime Function: long accum __satfractdida (long A)
2461  -- Runtime Function: long long accum __satfractdita (long A)
2462  -- Runtime Function: unsigned short fract __satfractdiuqq (long A)
2463  -- Runtime Function: unsigned fract __satfractdiuhq (long A)
2464  -- Runtime Function: unsigned long fract __satfractdiusq (long A)
2465  -- Runtime Function: unsigned long long fract __satfractdiudq (long A)
2466  -- Runtime Function: unsigned short accum __satfractdiuha (long A)
2467  -- Runtime Function: unsigned accum __satfractdiusa (long A)
2468  -- Runtime Function: unsigned long accum __satfractdiuda (long A)
2469  -- Runtime Function: unsigned long long accum __satfractdiuta (long A)
2470  -- Runtime Function: short fract __satfracttiqq (long long A)
2471  -- Runtime Function: fract __satfracttihq (long long A)
2472  -- Runtime Function: long fract __satfracttisq (long long A)
2473  -- Runtime Function: long long fract __satfracttidq (long long A)
2474  -- Runtime Function: short accum __satfracttiha (long long A)
2475  -- Runtime Function: accum __satfracttisa (long long A)
2476  -- Runtime Function: long accum __satfracttida (long long A)
2477  -- Runtime Function: long long accum __satfracttita (long long A)
2478  -- Runtime Function: unsigned short fract __satfracttiuqq (long long A)
2479  -- Runtime Function: unsigned fract __satfracttiuhq (long long A)
2480  -- Runtime Function: unsigned long fract __satfracttiusq (long long A)
2481  -- Runtime Function: unsigned long long fract __satfracttiudq (long
2482           long A)
2483  -- Runtime Function: unsigned short accum __satfracttiuha (long long A)
2484  -- Runtime Function: unsigned accum __satfracttiusa (long long A)
2485  -- Runtime Function: unsigned long accum __satfracttiuda (long long A)
2486  -- Runtime Function: unsigned long long accum __satfracttiuta (long
2487           long A)
2488  -- Runtime Function: short fract __satfractsfqq (float A)
2489  -- Runtime Function: fract __satfractsfhq (float A)
2490  -- Runtime Function: long fract __satfractsfsq (float A)
2491  -- Runtime Function: long long fract __satfractsfdq (float A)
2492  -- Runtime Function: short accum __satfractsfha (float A)
2493  -- Runtime Function: accum __satfractsfsa (float A)
2494  -- Runtime Function: long accum __satfractsfda (float A)
2495  -- Runtime Function: long long accum __satfractsfta (float A)
2496  -- Runtime Function: unsigned short fract __satfractsfuqq (float A)
2497  -- Runtime Function: unsigned fract __satfractsfuhq (float A)
2498  -- Runtime Function: unsigned long fract __satfractsfusq (float A)
2499  -- Runtime Function: unsigned long long fract __satfractsfudq (float A)
2500  -- Runtime Function: unsigned short accum __satfractsfuha (float A)
2501  -- Runtime Function: unsigned accum __satfractsfusa (float A)
2502  -- Runtime Function: unsigned long accum __satfractsfuda (float A)
2503  -- Runtime Function: unsigned long long accum __satfractsfuta (float A)
2504  -- Runtime Function: short fract __satfractdfqq (double A)
2505  -- Runtime Function: fract __satfractdfhq (double A)
2506  -- Runtime Function: long fract __satfractdfsq (double A)
2507  -- Runtime Function: long long fract __satfractdfdq (double A)
2508  -- Runtime Function: short accum __satfractdfha (double A)
2509  -- Runtime Function: accum __satfractdfsa (double A)
2510  -- Runtime Function: long accum __satfractdfda (double A)
2511  -- Runtime Function: long long accum __satfractdfta (double A)
2512  -- Runtime Function: unsigned short fract __satfractdfuqq (double A)
2513  -- Runtime Function: unsigned fract __satfractdfuhq (double A)
2514  -- Runtime Function: unsigned long fract __satfractdfusq (double A)
2515  -- Runtime Function: unsigned long long fract __satfractdfudq (double
2516           A)
2517  -- Runtime Function: unsigned short accum __satfractdfuha (double A)
2518  -- Runtime Function: unsigned accum __satfractdfusa (double A)
2519  -- Runtime Function: unsigned long accum __satfractdfuda (double A)
2520  -- Runtime Function: unsigned long long accum __satfractdfuta (double
2521           A)
2522      The functions convert from fractional and signed non-fractionals to
2523      fractionals, with saturation.
2525  -- Runtime Function: unsigned char __fractunsqqqi (short fract A)
2526  -- Runtime Function: unsigned short __fractunsqqhi (short fract A)
2527  -- Runtime Function: unsigned int __fractunsqqsi (short fract A)
2528  -- Runtime Function: unsigned long __fractunsqqdi (short fract A)
2529  -- Runtime Function: unsigned long long __fractunsqqti (short fract A)
2530  -- Runtime Function: unsigned char __fractunshqqi (fract A)
2531  -- Runtime Function: unsigned short __fractunshqhi (fract A)
2532  -- Runtime Function: unsigned int __fractunshqsi (fract A)
2533  -- Runtime Function: unsigned long __fractunshqdi (fract A)
2534  -- Runtime Function: unsigned long long __fractunshqti (fract A)
2535  -- Runtime Function: unsigned char __fractunssqqi (long fract A)
2536  -- Runtime Function: unsigned short __fractunssqhi (long fract A)
2537  -- Runtime Function: unsigned int __fractunssqsi (long fract A)
2538  -- Runtime Function: unsigned long __fractunssqdi (long fract A)
2539  -- Runtime Function: unsigned long long __fractunssqti (long fract A)
2540  -- Runtime Function: unsigned char __fractunsdqqi (long long fract A)
2541  -- Runtime Function: unsigned short __fractunsdqhi (long long fract A)
2542  -- Runtime Function: unsigned int __fractunsdqsi (long long fract A)
2543  -- Runtime Function: unsigned long __fractunsdqdi (long long fract A)
2544  -- Runtime Function: unsigned long long __fractunsdqti (long long
2545           fract A)
2546  -- Runtime Function: unsigned char __fractunshaqi (short accum A)
2547  -- Runtime Function: unsigned short __fractunshahi (short accum A)
2548  -- Runtime Function: unsigned int __fractunshasi (short accum A)
2549  -- Runtime Function: unsigned long __fractunshadi (short accum A)
2550  -- Runtime Function: unsigned long long __fractunshati (short accum A)
2551  -- Runtime Function: unsigned char __fractunssaqi (accum A)
2552  -- Runtime Function: unsigned short __fractunssahi (accum A)
2553  -- Runtime Function: unsigned int __fractunssasi (accum A)
2554  -- Runtime Function: unsigned long __fractunssadi (accum A)
2555  -- Runtime Function: unsigned long long __fractunssati (accum A)
2556  -- Runtime Function: unsigned char __fractunsdaqi (long accum A)
2557  -- Runtime Function: unsigned short __fractunsdahi (long accum A)
2558  -- Runtime Function: unsigned int __fractunsdasi (long accum A)
2559  -- Runtime Function: unsigned long __fractunsdadi (long accum A)
2560  -- Runtime Function: unsigned long long __fractunsdati (long accum A)
2561  -- Runtime Function: unsigned char __fractunstaqi (long long accum A)
2562  -- Runtime Function: unsigned short __fractunstahi (long long accum A)
2563  -- Runtime Function: unsigned int __fractunstasi (long long accum A)
2564  -- Runtime Function: unsigned long __fractunstadi (long long accum A)
2565  -- Runtime Function: unsigned long long __fractunstati (long long
2566           accum A)
2567  -- Runtime Function: unsigned char __fractunsuqqqi (unsigned short
2568           fract A)
2569  -- Runtime Function: unsigned short __fractunsuqqhi (unsigned short
2570           fract A)
2571  -- Runtime Function: unsigned int __fractunsuqqsi (unsigned short
2572           fract A)
2573  -- Runtime Function: unsigned long __fractunsuqqdi (unsigned short
2574           fract A)
2575  -- Runtime Function: unsigned long long __fractunsuqqti (unsigned
2576           short fract A)
2577  -- Runtime Function: unsigned char __fractunsuhqqi (unsigned fract A)
2578  -- Runtime Function: unsigned short __fractunsuhqhi (unsigned fract A)
2579  -- Runtime Function: unsigned int __fractunsuhqsi (unsigned fract A)
2580  -- Runtime Function: unsigned long __fractunsuhqdi (unsigned fract A)
2581  -- Runtime Function: unsigned long long __fractunsuhqti (unsigned
2582           fract A)
2583  -- Runtime Function: unsigned char __fractunsusqqi (unsigned long
2584           fract A)
2585  -- Runtime Function: unsigned short __fractunsusqhi (unsigned long
2586           fract A)
2587  -- Runtime Function: unsigned int __fractunsusqsi (unsigned long fract
2588           A)
2589  -- Runtime Function: unsigned long __fractunsusqdi (unsigned long
2590           fract A)
2591  -- Runtime Function: unsigned long long __fractunsusqti (unsigned long
2592           fract A)
2593  -- Runtime Function: unsigned char __fractunsudqqi (unsigned long long
2594           fract A)
2595  -- Runtime Function: unsigned short __fractunsudqhi (unsigned long
2596           long fract A)
2597  -- Runtime Function: unsigned int __fractunsudqsi (unsigned long long
2598           fract A)
2599  -- Runtime Function: unsigned long __fractunsudqdi (unsigned long long
2600           fract A)
2601  -- Runtime Function: unsigned long long __fractunsudqti (unsigned long
2602           long fract A)
2603  -- Runtime Function: unsigned char __fractunsuhaqi (unsigned short
2604           accum A)
2605  -- Runtime Function: unsigned short __fractunsuhahi (unsigned short
2606           accum A)
2607  -- Runtime Function: unsigned int __fractunsuhasi (unsigned short
2608           accum A)
2609  -- Runtime Function: unsigned long __fractunsuhadi (unsigned short
2610           accum A)
2611  -- Runtime Function: unsigned long long __fractunsuhati (unsigned
2612           short accum A)
2613  -- Runtime Function: unsigned char __fractunsusaqi (unsigned accum A)
2614  -- Runtime Function: unsigned short __fractunsusahi (unsigned accum A)
2615  -- Runtime Function: unsigned int __fractunsusasi (unsigned accum A)
2616  -- Runtime Function: unsigned long __fractunsusadi (unsigned accum A)
2617  -- Runtime Function: unsigned long long __fractunsusati (unsigned
2618           accum A)
2619  -- Runtime Function: unsigned char __fractunsudaqi (unsigned long
2620           accum A)
2621  -- Runtime Function: unsigned short __fractunsudahi (unsigned long
2622           accum A)
2623  -- Runtime Function: unsigned int __fractunsudasi (unsigned long accum
2624           A)
2625  -- Runtime Function: unsigned long __fractunsudadi (unsigned long
2626           accum A)
2627  -- Runtime Function: unsigned long long __fractunsudati (unsigned long
2628           accum A)
2629  -- Runtime Function: unsigned char __fractunsutaqi (unsigned long long
2630           accum A)
2631  -- Runtime Function: unsigned short __fractunsutahi (unsigned long
2632           long accum A)
2633  -- Runtime Function: unsigned int __fractunsutasi (unsigned long long
2634           accum A)
2635  -- Runtime Function: unsigned long __fractunsutadi (unsigned long long
2636           accum A)
2637  -- Runtime Function: unsigned long long __fractunsutati (unsigned long
2638           long accum A)
2639  -- Runtime Function: short fract __fractunsqiqq (unsigned char A)
2640  -- Runtime Function: fract __fractunsqihq (unsigned char A)
2641  -- Runtime Function: long fract __fractunsqisq (unsigned char A)
2642  -- Runtime Function: long long fract __fractunsqidq (unsigned char A)
2643  -- Runtime Function: short accum __fractunsqiha (unsigned char A)
2644  -- Runtime Function: accum __fractunsqisa (unsigned char A)
2645  -- Runtime Function: long accum __fractunsqida (unsigned char A)
2646  -- Runtime Function: long long accum __fractunsqita (unsigned char A)
2647  -- Runtime Function: unsigned short fract __fractunsqiuqq (unsigned
2648           char A)
2649  -- Runtime Function: unsigned fract __fractunsqiuhq (unsigned char A)
2650  -- Runtime Function: unsigned long fract __fractunsqiusq (unsigned
2651           char A)
2652  -- Runtime Function: unsigned long long fract __fractunsqiudq
2653           (unsigned char A)
2654  -- Runtime Function: unsigned short accum __fractunsqiuha (unsigned
2655           char A)
2656  -- Runtime Function: unsigned accum __fractunsqiusa (unsigned char A)
2657  -- Runtime Function: unsigned long accum __fractunsqiuda (unsigned
2658           char A)
2659  -- Runtime Function: unsigned long long accum __fractunsqiuta
2660           (unsigned char A)
2661  -- Runtime Function: short fract __fractunshiqq (unsigned short A)
2662  -- Runtime Function: fract __fractunshihq (unsigned short A)
2663  -- Runtime Function: long fract __fractunshisq (unsigned short A)
2664  -- Runtime Function: long long fract __fractunshidq (unsigned short A)
2665  -- Runtime Function: short accum __fractunshiha (unsigned short A)
2666  -- Runtime Function: accum __fractunshisa (unsigned short A)
2667  -- Runtime Function: long accum __fractunshida (unsigned short A)
2668  -- Runtime Function: long long accum __fractunshita (unsigned short A)
2669  -- Runtime Function: unsigned short fract __fractunshiuqq (unsigned
2670           short A)
2671  -- Runtime Function: unsigned fract __fractunshiuhq (unsigned short A)
2672  -- Runtime Function: unsigned long fract __fractunshiusq (unsigned
2673           short A)
2674  -- Runtime Function: unsigned long long fract __fractunshiudq
2675           (unsigned short A)
2676  -- Runtime Function: unsigned short accum __fractunshiuha (unsigned
2677           short A)
2678  -- Runtime Function: unsigned accum __fractunshiusa (unsigned short A)
2679  -- Runtime Function: unsigned long accum __fractunshiuda (unsigned
2680           short A)
2681  -- Runtime Function: unsigned long long accum __fractunshiuta
2682           (unsigned short A)
2683  -- Runtime Function: short fract __fractunssiqq (unsigned int A)
2684  -- Runtime Function: fract __fractunssihq (unsigned int A)
2685  -- Runtime Function: long fract __fractunssisq (unsigned int A)
2686  -- Runtime Function: long long fract __fractunssidq (unsigned int A)
2687  -- Runtime Function: short accum __fractunssiha (unsigned int A)
2688  -- Runtime Function: accum __fractunssisa (unsigned int A)
2689  -- Runtime Function: long accum __fractunssida (unsigned int A)
2690  -- Runtime Function: long long accum __fractunssita (unsigned int A)
2691  -- Runtime Function: unsigned short fract __fractunssiuqq (unsigned
2692           int A)
2693  -- Runtime Function: unsigned fract __fractunssiuhq (unsigned int A)
2694  -- Runtime Function: unsigned long fract __fractunssiusq (unsigned int
2695           A)
2696  -- Runtime Function: unsigned long long fract __fractunssiudq
2697           (unsigned int A)
2698  -- Runtime Function: unsigned short accum __fractunssiuha (unsigned
2699           int A)
2700  -- Runtime Function: unsigned accum __fractunssiusa (unsigned int A)
2701  -- Runtime Function: unsigned long accum __fractunssiuda (unsigned int
2702           A)
2703  -- Runtime Function: unsigned long long accum __fractunssiuta
2704           (unsigned int A)
2705  -- Runtime Function: short fract __fractunsdiqq (unsigned long A)
2706  -- Runtime Function: fract __fractunsdihq (unsigned long A)
2707  -- Runtime Function: long fract __fractunsdisq (unsigned long A)
2708  -- Runtime Function: long long fract __fractunsdidq (unsigned long A)
2709  -- Runtime Function: short accum __fractunsdiha (unsigned long A)
2710  -- Runtime Function: accum __fractunsdisa (unsigned long A)
2711  -- Runtime Function: long accum __fractunsdida (unsigned long A)
2712  -- Runtime Function: long long accum __fractunsdita (unsigned long A)
2713  -- Runtime Function: unsigned short fract __fractunsdiuqq (unsigned
2714           long A)
2715  -- Runtime Function: unsigned fract __fractunsdiuhq (unsigned long A)
2716  -- Runtime Function: unsigned long fract __fractunsdiusq (unsigned
2717           long A)
2718  -- Runtime Function: unsigned long long fract __fractunsdiudq
2719           (unsigned long A)
2720  -- Runtime Function: unsigned short accum __fractunsdiuha (unsigned
2721           long A)
2722  -- Runtime Function: unsigned accum __fractunsdiusa (unsigned long A)
2723  -- Runtime Function: unsigned long accum __fractunsdiuda (unsigned
2724           long A)
2725  -- Runtime Function: unsigned long long accum __fractunsdiuta
2726           (unsigned long A)
2727  -- Runtime Function: short fract __fractunstiqq (unsigned long long A)
2728  -- Runtime Function: fract __fractunstihq (unsigned long long A)
2729  -- Runtime Function: long fract __fractunstisq (unsigned long long A)
2730  -- Runtime Function: long long fract __fractunstidq (unsigned long
2731           long A)
2732  -- Runtime Function: short accum __fractunstiha (unsigned long long A)
2733  -- Runtime Function: accum __fractunstisa (unsigned long long A)
2734  -- Runtime Function: long accum __fractunstida (unsigned long long A)
2735  -- Runtime Function: long long accum __fractunstita (unsigned long
2736           long A)
2737  -- Runtime Function: unsigned short fract __fractunstiuqq (unsigned
2738           long long A)
2739  -- Runtime Function: unsigned fract __fractunstiuhq (unsigned long
2740           long A)
2741  -- Runtime Function: unsigned long fract __fractunstiusq (unsigned
2742           long long A)
2743  -- Runtime Function: unsigned long long fract __fractunstiudq
2744           (unsigned long long A)
2745  -- Runtime Function: unsigned short accum __fractunstiuha (unsigned
2746           long long A)
2747  -- Runtime Function: unsigned accum __fractunstiusa (unsigned long
2748           long A)
2749  -- Runtime Function: unsigned long accum __fractunstiuda (unsigned
2750           long long A)
2751  -- Runtime Function: unsigned long long accum __fractunstiuta
2752           (unsigned long long A)
2753      These functions convert from fractionals to unsigned
2754      non-fractionals; and from unsigned non-fractionals to fractionals,
2755      without saturation.
2757  -- Runtime Function: short fract __satfractunsqiqq (unsigned char A)
2758  -- Runtime Function: fract __satfractunsqihq (unsigned char A)
2759  -- Runtime Function: long fract __satfractunsqisq (unsigned char A)
2760  -- Runtime Function: long long fract __satfractunsqidq (unsigned char
2761           A)
2762  -- Runtime Function: short accum __satfractunsqiha (unsigned char A)
2763  -- Runtime Function: accum __satfractunsqisa (unsigned char A)
2764  -- Runtime Function: long accum __satfractunsqida (unsigned char A)
2765  -- Runtime Function: long long accum __satfractunsqita (unsigned char
2766           A)
2767  -- Runtime Function: unsigned short fract __satfractunsqiuqq (unsigned
2768           char A)
2769  -- Runtime Function: unsigned fract __satfractunsqiuhq (unsigned char
2770           A)
2771  -- Runtime Function: unsigned long fract __satfractunsqiusq (unsigned
2772           char A)
2773  -- Runtime Function: unsigned long long fract __satfractunsqiudq
2774           (unsigned char A)
2775  -- Runtime Function: unsigned short accum __satfractunsqiuha (unsigned
2776           char A)
2777  -- Runtime Function: unsigned accum __satfractunsqiusa (unsigned char
2778           A)
2779  -- Runtime Function: unsigned long accum __satfractunsqiuda (unsigned
2780           char A)
2781  -- Runtime Function: unsigned long long accum __satfractunsqiuta
2782           (unsigned char A)
2783  -- Runtime Function: short fract __satfractunshiqq (unsigned short A)
2784  -- Runtime Function: fract __satfractunshihq (unsigned short A)
2785  -- Runtime Function: long fract __satfractunshisq (unsigned short A)
2786  -- Runtime Function: long long fract __satfractunshidq (unsigned short
2787           A)
2788  -- Runtime Function: short accum __satfractunshiha (unsigned short A)
2789  -- Runtime Function: accum __satfractunshisa (unsigned short A)
2790  -- Runtime Function: long accum __satfractunshida (unsigned short A)
2791  -- Runtime Function: long long accum __satfractunshita (unsigned short
2792           A)
2793  -- Runtime Function: unsigned short fract __satfractunshiuqq (unsigned
2794           short A)
2795  -- Runtime Function: unsigned fract __satfractunshiuhq (unsigned short
2796           A)
2797  -- Runtime Function: unsigned long fract __satfractunshiusq (unsigned
2798           short A)
2799  -- Runtime Function: unsigned long long fract __satfractunshiudq
2800           (unsigned short A)
2801  -- Runtime Function: unsigned short accum __satfractunshiuha (unsigned
2802           short A)
2803  -- Runtime Function: unsigned accum __satfractunshiusa (unsigned short
2804           A)
2805  -- Runtime Function: unsigned long accum __satfractunshiuda (unsigned
2806           short A)
2807  -- Runtime Function: unsigned long long accum __satfractunshiuta
2808           (unsigned short A)
2809  -- Runtime Function: short fract __satfractunssiqq (unsigned int A)
2810  -- Runtime Function: fract __satfractunssihq (unsigned int A)
2811  -- Runtime Function: long fract __satfractunssisq (unsigned int A)
2812  -- Runtime Function: long long fract __satfractunssidq (unsigned int A)
2813  -- Runtime Function: short accum __satfractunssiha (unsigned int A)
2814  -- Runtime Function: accum __satfractunssisa (unsigned int A)
2815  -- Runtime Function: long accum __satfractunssida (unsigned int A)
2816  -- Runtime Function: long long accum __satfractunssita (unsigned int A)
2817  -- Runtime Function: unsigned short fract __satfractunssiuqq (unsigned
2818           int A)
2819  -- Runtime Function: unsigned fract __satfractunssiuhq (unsigned int A)
2820  -- Runtime Function: unsigned long fract __satfractunssiusq (unsigned
2821           int A)
2822  -- Runtime Function: unsigned long long fract __satfractunssiudq
2823           (unsigned int A)
2824  -- Runtime Function: unsigned short accum __satfractunssiuha (unsigned
2825           int A)
2826  -- Runtime Function: unsigned accum __satfractunssiusa (unsigned int A)
2827  -- Runtime Function: unsigned long accum __satfractunssiuda (unsigned
2828           int A)
2829  -- Runtime Function: unsigned long long accum __satfractunssiuta
2830           (unsigned int A)
2831  -- Runtime Function: short fract __satfractunsdiqq (unsigned long A)
2832  -- Runtime Function: fract __satfractunsdihq (unsigned long A)
2833  -- Runtime Function: long fract __satfractunsdisq (unsigned long A)
2834  -- Runtime Function: long long fract __satfractunsdidq (unsigned long
2835           A)
2836  -- Runtime Function: short accum __satfractunsdiha (unsigned long A)
2837  -- Runtime Function: accum __satfractunsdisa (unsigned long A)
2838  -- Runtime Function: long accum __satfractunsdida (unsigned long A)
2839  -- Runtime Function: long long accum __satfractunsdita (unsigned long
2840           A)
2841  -- Runtime Function: unsigned short fract __satfractunsdiuqq (unsigned
2842           long A)
2843  -- Runtime Function: unsigned fract __satfractunsdiuhq (unsigned long
2844           A)
2845  -- Runtime Function: unsigned long fract __satfractunsdiusq (unsigned
2846           long A)
2847  -- Runtime Function: unsigned long long fract __satfractunsdiudq
2848           (unsigned long A)
2849  -- Runtime Function: unsigned short accum __satfractunsdiuha (unsigned
2850           long A)
2851  -- Runtime Function: unsigned accum __satfractunsdiusa (unsigned long
2852           A)
2853  -- Runtime Function: unsigned long accum __satfractunsdiuda (unsigned
2854           long A)
2855  -- Runtime Function: unsigned long long accum __satfractunsdiuta
2856           (unsigned long A)
2857  -- Runtime Function: short fract __satfractunstiqq (unsigned long long
2858           A)
2859  -- Runtime Function: fract __satfractunstihq (unsigned long long A)
2860  -- Runtime Function: long fract __satfractunstisq (unsigned long long
2861           A)
2862  -- Runtime Function: long long fract __satfractunstidq (unsigned long
2863           long A)
2864  -- Runtime Function: short accum __satfractunstiha (unsigned long long
2865           A)
2866  -- Runtime Function: accum __satfractunstisa (unsigned long long A)
2867  -- Runtime Function: long accum __satfractunstida (unsigned long long
2868           A)
2869  -- Runtime Function: long long accum __satfractunstita (unsigned long
2870           long A)
2871  -- Runtime Function: unsigned short fract __satfractunstiuqq (unsigned
2872           long long A)
2873  -- Runtime Function: unsigned fract __satfractunstiuhq (unsigned long
2874           long A)
2875  -- Runtime Function: unsigned long fract __satfractunstiusq (unsigned
2876           long long A)
2877  -- Runtime Function: unsigned long long fract __satfractunstiudq
2878           (unsigned long long A)
2879  -- Runtime Function: unsigned short accum __satfractunstiuha (unsigned
2880           long long A)
2881  -- Runtime Function: unsigned accum __satfractunstiusa (unsigned long
2882           long A)
2883  -- Runtime Function: unsigned long accum __satfractunstiuda (unsigned
2884           long long A)
2885  -- Runtime Function: unsigned long long accum __satfractunstiuta
2886           (unsigned long long A)
2887      These functions convert from unsigned non-fractionals to
2888      fractionals, with saturation.
2890 \x1f
2891 File: gccint.info,  Node: Exception handling routines,  Next: Miscellaneous routines,  Prev: Fixed-point fractional library routines,  Up: Libgcc
2893 4.5 Language-independent routines for exception handling
2894 ========================================================
2896 document me!
2898        _Unwind_DeleteException
2899        _Unwind_Find_FDE
2900        _Unwind_ForcedUnwind
2901        _Unwind_GetGR
2902        _Unwind_GetIP
2903        _Unwind_GetLanguageSpecificData
2904        _Unwind_GetRegionStart
2905        _Unwind_GetTextRelBase
2906        _Unwind_GetDataRelBase
2907        _Unwind_RaiseException
2908        _Unwind_Resume
2909        _Unwind_SetGR
2910        _Unwind_SetIP
2911        _Unwind_FindEnclosingFunction
2912        _Unwind_SjLj_Register
2913        _Unwind_SjLj_Unregister
2914        _Unwind_SjLj_RaiseException
2915        _Unwind_SjLj_ForcedUnwind
2916        _Unwind_SjLj_Resume
2917        __deregister_frame
2918        __deregister_frame_info
2919        __deregister_frame_info_bases
2920        __register_frame
2921        __register_frame_info
2922        __register_frame_info_bases
2923        __register_frame_info_table
2924        __register_frame_info_table_bases
2925        __register_frame_table
2927 \x1f
2928 File: gccint.info,  Node: Miscellaneous routines,  Prev: Exception handling routines,  Up: Libgcc
2930 4.6 Miscellaneous runtime library routines
2931 ==========================================
2933 4.6.1 Cache control functions
2934 -----------------------------
2936  -- Runtime Function: void __clear_cache (char *BEG, char *END)
2937      This function clears the instruction cache between BEG and END.
2939 \x1f
2940 File: gccint.info,  Node: Languages,  Next: Source Tree,  Prev: Libgcc,  Up: Top
2942 5 Language Front Ends in GCC
2943 ****************************
2945 The interface to front ends for languages in GCC, and in particular the
2946 `tree' structure (*note Trees::), was initially designed for C, and
2947 many aspects of it are still somewhat biased towards C and C-like
2948 languages.  It is, however, reasonably well suited to other procedural
2949 languages, and front ends for many such languages have been written for
2950 GCC.
2952  Writing a compiler as a front end for GCC, rather than compiling
2953 directly to assembler or generating C code which is then compiled by
2954 GCC, has several advantages:
2956    * GCC front ends benefit from the support for many different target
2957      machines already present in GCC.
2959    * GCC front ends benefit from all the optimizations in GCC.  Some of
2960      these, such as alias analysis, may work better when GCC is
2961      compiling directly from source code then when it is compiling from
2962      generated C code.
2964    * Better debugging information is generated when compiling directly
2965      from source code than when going via intermediate generated C code.
2967  Because of the advantages of writing a compiler as a GCC front end,
2968 GCC front ends have also been created for languages very different from
2969 those for which GCC was designed, such as the declarative
2970 logic/functional language Mercury.  For these reasons, it may also be
2971 useful to implement compilers created for specialized purposes (for
2972 example, as part of a research project) as GCC front ends.
2974 \x1f
2975 File: gccint.info,  Node: Source Tree,  Next: Options,  Prev: Languages,  Up: Top
2977 6 Source Tree Structure and Build System
2978 ****************************************
2980 This chapter describes the structure of the GCC source tree, and how
2981 GCC is built.  The user documentation for building and installing GCC
2982 is in a separate manual (`http://gcc.gnu.org/install/'), with which it
2983 is presumed that you are familiar.
2985 * Menu:
2987 * Configure Terms:: Configuration terminology and history.
2988 * Top Level::       The top level source directory.
2989 * gcc Directory::   The `gcc' subdirectory.
2990 * Testsuites::      The GCC testsuites.
2992 \x1f
2993 File: gccint.info,  Node: Configure Terms,  Next: Top Level,  Up: Source Tree
2995 6.1 Configure Terms and History
2996 ===============================
2998 The configure and build process has a long and colorful history, and can
2999 be confusing to anyone who doesn't know why things are the way they are.
3000 While there are other documents which describe the configuration process
3001 in detail, here are a few things that everyone working on GCC should
3002 know.
3004  There are three system names that the build knows about: the machine
3005 you are building on ("build"), the machine that you are building for
3006 ("host"), and the machine that GCC will produce code for ("target").
3007 When you configure GCC, you specify these with `--build=', `--host=',
3008 and `--target='.
3010  Specifying the host without specifying the build should be avoided, as
3011 `configure' may (and once did) assume that the host you specify is also
3012 the build, which may not be true.
3014  If build, host, and target are all the same, this is called a
3015 "native".  If build and host are the same but target is different, this
3016 is called a "cross".  If build, host, and target are all different this
3017 is called a "canadian" (for obscure reasons dealing with Canada's
3018 political party and the background of the person working on the build
3019 at that time).  If host and target are the same, but build is
3020 different, you are using a cross-compiler to build a native for a
3021 different system.  Some people call this a "host-x-host", "crossed
3022 native", or "cross-built native".  If build and target are the same,
3023 but host is different, you are using a cross compiler to build a cross
3024 compiler that produces code for the machine you're building on.  This
3025 is rare, so there is no common way of describing it.  There is a
3026 proposal to call this a "crossback".
3028  If build and host are the same, the GCC you are building will also be
3029 used to build the target libraries (like `libstdc++').  If build and
3030 host are different, you must have already built and installed a cross
3031 compiler that will be used to build the target libraries (if you
3032 configured with `--target=foo-bar', this compiler will be called
3033 `foo-bar-gcc').
3035  In the case of target libraries, the machine you're building for is the
3036 machine you specified with `--target'.  So, build is the machine you're
3037 building on (no change there), host is the machine you're building for
3038 (the target libraries are built for the target, so host is the target
3039 you specified), and target doesn't apply (because you're not building a
3040 compiler, you're building libraries).  The configure/make process will
3041 adjust these variables as needed.  It also sets `$with_cross_host' to
3042 the original `--host' value in case you need it.
3044  The `libiberty' support library is built up to three times: once for
3045 the host, once for the target (even if they are the same), and once for
3046 the build if build and host are different.  This allows it to be used
3047 by all programs which are generated in the course of the build process.
3049 \x1f
3050 File: gccint.info,  Node: Top Level,  Next: gcc Directory,  Prev: Configure Terms,  Up: Source Tree
3052 6.2 Top Level Source Directory
3053 ==============================
3055 The top level source directory in a GCC distribution contains several
3056 files and directories that are shared with other software distributions
3057 such as that of GNU Binutils.  It also contains several subdirectories
3058 that contain parts of GCC and its runtime libraries:
3060 `boehm-gc'
3061      The Boehm conservative garbage collector, used as part of the Java
3062      runtime library.
3064 `contrib'
3065      Contributed scripts that may be found useful in conjunction with
3066      GCC.  One of these, `contrib/texi2pod.pl', is used to generate man
3067      pages from Texinfo manuals as part of the GCC build process.
3069 `fastjar'
3070      An implementation of the `jar' command, used with the Java front
3071      end.
3073 `gcc'
3074      The main sources of GCC itself (except for runtime libraries),
3075      including optimizers, support for different target architectures,
3076      language front ends, and testsuites.  *Note The `gcc'
3077      Subdirectory: gcc Directory, for details.
3079 `include'
3080      Headers for the `libiberty' library.
3082 `libada'
3083      The Ada runtime library.
3085 `libcpp'
3086      The C preprocessor library.
3088 `libgfortran'
3089      The Fortran runtime library.
3091 `libffi'
3092      The `libffi' library, used as part of the Java runtime library.
3094 `libiberty'
3095      The `libiberty' library, used for portability and for some
3096      generally useful data structures and algorithms.  *Note
3097      Introduction: (libiberty)Top, for more information about this
3098      library.
3100 `libjava'
3101      The Java runtime library.
3103 `libmudflap'
3104      The `libmudflap' library, used for instrumenting pointer and array
3105      dereferencing operations.
3107 `libobjc'
3108      The Objective-C and Objective-C++ runtime library.
3110 `libstdc++-v3'
3111      The C++ runtime library.
3113 `maintainer-scripts'
3114      Scripts used by the `gccadmin' account on `gcc.gnu.org'.
3116 `zlib'
3117      The `zlib' compression library, used by the Java front end and as
3118      part of the Java runtime library.
3120  The build system in the top level directory, including how recursion
3121 into subdirectories works and how building runtime libraries for
3122 multilibs is handled, is documented in a separate manual, included with
3123 GNU Binutils.  *Note GNU configure and build system: (configure)Top,
3124 for details.
3126 \x1f
3127 File: gccint.info,  Node: gcc Directory,  Next: Testsuites,  Prev: Top Level,  Up: Source Tree
3129 6.3 The `gcc' Subdirectory
3130 ==========================
3132 The `gcc' directory contains many files that are part of the C sources
3133 of GCC, other files used as part of the configuration and build
3134 process, and subdirectories including documentation and a testsuite.
3135 The files that are sources of GCC are documented in a separate chapter.
3136 *Note Passes and Files of the Compiler: Passes.
3138 * Menu:
3140 * Subdirectories:: Subdirectories of `gcc'.
3141 * Configuration::  The configuration process, and the files it uses.
3142 * Build::          The build system in the `gcc' directory.
3143 * Makefile::       Targets in `gcc/Makefile'.
3144 * Library Files::  Library source files and headers under `gcc/'.
3145 * Headers::        Headers installed by GCC.
3146 * Documentation::  Building documentation in GCC.
3147 * Front End::      Anatomy of a language front end.
3148 * Back End::       Anatomy of a target back end.
3150 \x1f
3151 File: gccint.info,  Node: Subdirectories,  Next: Configuration,  Up: gcc Directory
3153 6.3.1 Subdirectories of `gcc'
3154 -----------------------------
3156 The `gcc' directory contains the following subdirectories:
3158 `LANGUAGE'
3159      Subdirectories for various languages.  Directories containing a
3160      file `config-lang.in' are language subdirectories.  The contents of
3161      the subdirectories `cp' (for C++), `objc' (for Objective-C) and
3162      `objcp' (for Objective-C++) are documented in this manual (*note
3163      Passes and Files of the Compiler: Passes.); those for other
3164      languages are not.  *Note Anatomy of a Language Front End: Front
3165      End, for details of the files in these directories.
3167 `config'
3168      Configuration files for supported architectures and operating
3169      systems.  *Note Anatomy of a Target Back End: Back End, for
3170      details of the files in this directory.
3172 `doc'
3173      Texinfo documentation for GCC, together with automatically
3174      generated man pages and support for converting the installation
3175      manual to HTML.  *Note Documentation::.
3177 `fixinc'
3178      The support for fixing system headers to work with GCC.  See
3179      `fixinc/README' for more information.  The headers fixed by this
3180      mechanism are installed in `LIBSUBDIR/include'.  Along with those
3181      headers, `README-fixinc' is also installed, as
3182      `LIBSUBDIR/include/README'.
3184 `ginclude'
3185      System headers installed by GCC, mainly those required by the C
3186      standard of freestanding implementations.  *Note Headers Installed
3187      by GCC: Headers, for details of when these and other headers are
3188      installed.
3190 `intl'
3191      GNU `libintl', from GNU `gettext', for systems which do not
3192      include it in libc.  Properly, this directory should be at top
3193      level, parallel to the `gcc' directory.
3195 `po'
3196      Message catalogs with translations of messages produced by GCC into
3197      various languages, `LANGUAGE.po'.  This directory also contains
3198      `gcc.pot', the template for these message catalogues, `exgettext',
3199      a wrapper around `gettext' to extract the messages from the GCC
3200      sources and create `gcc.pot', which is run by `make gcc.pot', and
3201      `EXCLUDES', a list of files from which messages should not be
3202      extracted.
3204 `testsuite'
3205      The GCC testsuites (except for those for runtime libraries).
3206      *Note Testsuites::.
3208 \x1f
3209 File: gccint.info,  Node: Configuration,  Next: Build,  Prev: Subdirectories,  Up: gcc Directory
3211 6.3.2 Configuration in the `gcc' Directory
3212 ------------------------------------------
3214 The `gcc' directory is configured with an Autoconf-generated script
3215 `configure'.  The `configure' script is generated from `configure.ac'
3216 and `aclocal.m4'.  From the files `configure.ac' and `acconfig.h',
3217 Autoheader generates the file `config.in'.  The file `cstamp-h.in' is
3218 used as a timestamp.
3220 * Menu:
3222 * Config Fragments::     Scripts used by `configure'.
3223 * System Config::        The `config.build', `config.host', and
3224                          `config.gcc' files.
3225 * Configuration Files::  Files created by running `configure'.
3227 \x1f
3228 File: gccint.info,  Node: Config Fragments,  Next: System Config,  Up: Configuration
3230 6.3.2.1 Scripts Used by `configure'
3231 ...................................
3233 `configure' uses some other scripts to help in its work:
3235    * The standard GNU `config.sub' and `config.guess' files, kept in
3236      the top level directory, are used.  FIXME: when is the
3237      `config.guess' file in the `gcc' directory (that just calls the
3238      top level one) used?
3240    * The file `config.gcc' is used to handle configuration specific to
3241      the particular target machine.  The file `config.build' is used to
3242      handle configuration specific to the particular build machine.
3243      The file `config.host' is used to handle configuration specific to
3244      the particular host machine.  (In general, these should only be
3245      used for features that cannot reasonably be tested in Autoconf
3246      feature tests.)  *Note The `config.build'; `config.host'; and
3247      `config.gcc' Files: System Config, for details of the contents of
3248      these files.
3250    * Each language subdirectory has a file `LANGUAGE/config-lang.in'
3251      that is used for front-end-specific configuration.  *Note The
3252      Front End `config-lang.in' File: Front End Config, for details of
3253      this file.
3255    * A helper script `configure.frag' is used as part of creating the
3256      output of `configure'.
3258 \x1f
3259 File: gccint.info,  Node: System Config,  Next: Configuration Files,  Prev: Config Fragments,  Up: Configuration
3261 6.3.2.2 The `config.build'; `config.host'; and `config.gcc' Files
3262 .................................................................
3264 The `config.build' file contains specific rules for particular systems
3265 which GCC is built on.  This should be used as rarely as possible, as
3266 the behavior of the build system can always be detected by autoconf.
3268  The `config.host' file contains specific rules for particular systems
3269 which GCC will run on.  This is rarely needed.
3271  The `config.gcc' file contains specific rules for particular systems
3272 which GCC will generate code for.  This is usually needed.
3274  Each file has a list of the shell variables it sets, with
3275 descriptions, at the top of the file.
3277  FIXME: document the contents of these files, and what variables should
3278 be set to control build, host and target configuration.
3280 \x1f
3281 File: gccint.info,  Node: Configuration Files,  Prev: System Config,  Up: Configuration
3283 6.3.2.3 Files Created by `configure'
3284 ....................................
3286 Here we spell out what files will be set up by `configure' in the `gcc'
3287 directory.  Some other files are created as temporary files in the
3288 configuration process, and are not used in the subsequent build; these
3289 are not documented.
3291    * `Makefile' is constructed from `Makefile.in', together with the
3292      host and target fragments (*note Makefile Fragments: Fragments.)
3293      `t-TARGET' and `x-HOST' from `config', if any, and language
3294      Makefile fragments `LANGUAGE/Make-lang.in'.
3296    * `auto-host.h' contains information about the host machine
3297      determined by `configure'.  If the host machine is different from
3298      the build machine, then `auto-build.h' is also created, containing
3299      such information about the build machine.
3301    * `config.status' is a script that may be run to recreate the
3302      current configuration.
3304    * `configargs.h' is a header containing details of the arguments
3305      passed to `configure' to configure GCC, and of the thread model
3306      used.
3308    * `cstamp-h' is used as a timestamp.
3310    * `fixinc/Makefile' is constructed from `fixinc/Makefile.in'.
3312    * `gccbug', a script for reporting bugs in GCC, is constructed from
3313      `gccbug.in'.
3315    * `intl/Makefile' is constructed from `intl/Makefile.in'.
3317    * If a language `config-lang.in' file (*note The Front End
3318      `config-lang.in' File: Front End Config.) sets `outputs', then the
3319      files listed in `outputs' there are also generated.
3321  The following configuration headers are created from the Makefile,
3322 using `mkconfig.sh', rather than directly by `configure'.  `config.h',
3323 `bconfig.h' and `tconfig.h' all contain the `xm-MACHINE.h' header, if
3324 any, appropriate to the host, build and target machines respectively,
3325 the configuration headers for the target, and some definitions; for the
3326 host and build machines, these include the autoconfigured headers
3327 generated by `configure'.  The other configuration headers are
3328 determined by `config.gcc'.  They also contain the typedefs for `rtx',
3329 `rtvec' and `tree'.
3331    * `config.h', for use in programs that run on the host machine.
3333    * `bconfig.h', for use in programs that run on the build machine.
3335    * `tconfig.h', for use in programs and libraries for the target
3336      machine.
3338    * `tm_p.h', which includes the header `MACHINE-protos.h' that
3339      contains prototypes for functions in the target `.c' file.  FIXME:
3340      why is such a separate header necessary?
3342 \x1f
3343 File: gccint.info,  Node: Build,  Next: Makefile,  Prev: Configuration,  Up: gcc Directory
3345 6.3.3 Build System in the `gcc' Directory
3346 -----------------------------------------
3348 FIXME: describe the build system, including what is built in what
3349 stages.  Also list the various source files that are used in the build
3350 process but aren't source files of GCC itself and so aren't documented
3351 below (*note Passes::).
3353 \x1f
3354 File: gccint.info,  Node: Makefile,  Next: Library Files,  Prev: Build,  Up: gcc Directory
3356 6.3.4 Makefile Targets
3357 ----------------------
3359 These targets are available from the `gcc' directory:
3361 `all'
3362      This is the default target.  Depending on what your
3363      build/host/target configuration is, it coordinates all the things
3364      that need to be built.
3366 `doc'
3367      Produce info-formatted documentation and man pages.  Essentially it
3368      calls `make man' and `make info'.
3370 `dvi'
3371      Produce DVI-formatted documentation.
3373 `pdf'
3374      Produce PDF-formatted documentation.
3376 `html'
3377      Produce HTML-formatted documentation.
3379 `man'
3380      Generate man pages.
3382 `info'
3383      Generate info-formatted pages.
3385 `mostlyclean'
3386      Delete the files made while building the compiler.
3388 `clean'
3389      That, and all the other files built by `make all'.
3391 `distclean'
3392      That, and all the files created by `configure'.
3394 `maintainer-clean'
3395      Distclean plus any file that can be generated from other files.
3396      Note that additional tools may be required beyond what is normally
3397      needed to build gcc.
3399 `srcextra'
3400      Generates files in the source directory that do not exist in CVS
3401      but should go into a release tarball.  One example is
3402      `gcc/java/parse.c' which is generated from the CVS source file
3403      `gcc/java/parse.y'.
3405 `srcinfo'
3406 `srcman'
3407      Copies the info-formatted and manpage documentation into the source
3408      directory usually for the purpose of generating a release tarball.
3410 `install'
3411      Installs gcc.
3413 `uninstall'
3414      Deletes installed files.
3416 `check'
3417      Run the testsuite.  This creates a `testsuite' subdirectory that
3418      has various `.sum' and `.log' files containing the results of the
3419      testing.  You can run subsets with, for example, `make check-gcc'.
3420      You can specify specific tests by setting RUNTESTFLAGS to be the
3421      name of the `.exp' file, optionally followed by (for some tests)
3422      an equals and a file wildcard, like:
3424           make check-gcc RUNTESTFLAGS="execute.exp=19980413-*"
3426      Note that running the testsuite may require additional tools be
3427      installed, such as TCL or dejagnu.
3429  The toplevel tree from which you start GCC compilation is not the GCC
3430 directory, but rather a complex Makefile that coordinates the various
3431 steps of the build, including bootstrapping the compiler and using the
3432 new compiler to build target libraries.
3434  When GCC is configured for a native configuration, the default action
3435 for `make' is to do a full three-stage bootstrap.  This means that GCC
3436 is built three times--once with the native compiler, once with the
3437 native-built compiler it just built, and once with the compiler it
3438 built the second time.  In theory, the last two should produce the same
3439 results, which `make compare' can check.  Each stage is configured
3440 separately and compiled into a separate directory, to minimize problems
3441 due to ABI incompatibilities between the native compiler and GCC.
3443  If you do a change, rebuilding will also start from the first stage
3444 and "bubble" up the change through the three stages.  Each stage is
3445 taken from its build directory (if it had been built previously),
3446 rebuilt, and copied to its subdirectory.  This will allow you to, for
3447 example, continue a bootstrap after fixing a bug which causes the
3448 stage2 build to crash.  It does not provide as good coverage of the
3449 compiler as bootstrapping from scratch, but it ensures that the new
3450 code is syntactically correct (e.g., that you did not use GCC extensions
3451 by mistake), and avoids spurious bootstrap comparison failures(1).
3453  Other targets available from the top level include:
3455 `bootstrap-lean'
3456      Like `bootstrap', except that the various stages are removed once
3457      they're no longer needed.  This saves disk space.
3459 `bootstrap2'
3460 `bootstrap2-lean'
3461      Performs only the first two stages of bootstrap.  Unlike a
3462      three-stage bootstrap, this does not perform a comparison to test
3463      that the compiler is running properly.  Note that the disk space
3464      required by a "lean" bootstrap is approximately independent of the
3465      number of stages.
3467 `stageN-bubble (N = 1...4)'
3468      Rebuild all the stages up to N, with the appropriate flags,
3469      "bubbling" the changes as described above.
3471 `all-stageN (N = 1...4)'
3472      Assuming that stage N has already been built, rebuild it with the
3473      appropriate flags.  This is rarely needed.
3475 `cleanstrap'
3476      Remove everything (`make clean') and rebuilds (`make bootstrap').
3478 `compare'
3479      Compares the results of stages 2 and 3.  This ensures that the
3480      compiler is running properly, since it should produce the same
3481      object files regardless of how it itself was compiled.
3483 `profiledbootstrap'
3484      Builds a compiler with profiling feedback information.  For more
3485      information, see *Note Building with profile feedback:
3486      (gccinstall)Building.
3488 `restrap'
3489      Restart a bootstrap, so that everything that was not built with
3490      the system compiler is rebuilt.
3492 `stageN-start (N = 1...4)'
3493      For each package that is bootstrapped, rename directories so that,
3494      for example, `gcc' points to the stageN GCC, compiled with the
3495      stageN-1 GCC(2).
3497      You will invoke this target if you need to test or debug the
3498      stageN GCC.  If you only need to execute GCC (but you need not run
3499      `make' either to rebuild it or to run test suites), you should be
3500      able to work directly in the `stageN-gcc' directory.  This makes
3501      it easier to debug multiple stages in parallel.
3503 `stage'
3504      For each package that is bootstrapped, relocate its build directory
3505      to indicate its stage.  For example, if the `gcc' directory points
3506      to the stage2 GCC, after invoking this target it will be renamed
3507      to `stage2-gcc'.
3510  If you wish to use non-default GCC flags when compiling the stage2 and
3511 stage3 compilers, set `BOOT_CFLAGS' on the command line when doing
3512 `make'.
3514  Usually, the first stage only builds the languages that the compiler
3515 is written in: typically, C and maybe Ada.  If you are debugging a
3516 miscompilation of a different stage2 front-end (for example, of the
3517 Fortran front-end), you may want to have front-ends for other languages
3518 in the first stage as well.  To do so, set `STAGE1_LANGUAGES' on the
3519 command line when doing `make'.
3521  For example, in the aforementioned scenario of debugging a Fortran
3522 front-end miscompilation caused by the stage1 compiler, you may need a
3523 command like
3525      make stage2-bubble STAGE1_LANGUAGES=c,fortran
3527  Alternatively, you can use per-language targets to build and test
3528 languages that are not enabled by default in stage1.  For example,
3529 `make f951' will build a Fortran compiler even in the stage1 build
3530 directory.
3532  ---------- Footnotes ----------
3534  (1) Except if the compiler was buggy and miscompiled   some of the
3535 files that were not modified.  In this case, it's best   to use `make
3536 restrap'.
3538  (2) Customarily, the system compiler   is also termed the `stage0' GCC.
3540 \x1f
3541 File: gccint.info,  Node: Library Files,  Next: Headers,  Prev: Makefile,  Up: gcc Directory
3543 6.3.5 Library Source Files and Headers under the `gcc' Directory
3544 ----------------------------------------------------------------
3546 FIXME: list here, with explanation, all the C source files and headers
3547 under the `gcc' directory that aren't built into the GCC executable but
3548 rather are part of runtime libraries and object files, such as
3549 `crtstuff.c' and `unwind-dw2.c'.  *Note Headers Installed by GCC:
3550 Headers, for more information about the `ginclude' directory.
3552 \x1f
3553 File: gccint.info,  Node: Headers,  Next: Documentation,  Prev: Library Files,  Up: gcc Directory
3555 6.3.6 Headers Installed by GCC
3556 ------------------------------
3558 In general, GCC expects the system C library to provide most of the
3559 headers to be used with it.  However, GCC will fix those headers if
3560 necessary to make them work with GCC, and will install some headers
3561 required of freestanding implementations.  These headers are installed
3562 in `LIBSUBDIR/include'.  Headers for non-C runtime libraries are also
3563 installed by GCC; these are not documented here.  (FIXME: document them
3564 somewhere.)
3566  Several of the headers GCC installs are in the `ginclude' directory.
3567 These headers, `iso646.h', `stdarg.h', `stdbool.h', and `stddef.h', are
3568 installed in `LIBSUBDIR/include', unless the target Makefile fragment
3569 (*note Target Fragment::) overrides this by setting `USER_H'.
3571  In addition to these headers and those generated by fixing system
3572 headers to work with GCC, some other headers may also be installed in
3573 `LIBSUBDIR/include'.  `config.gcc' may set `extra_headers'; this
3574 specifies additional headers under `config' to be installed on some
3575 systems.
3577  GCC installs its own version of `<float.h>', from `ginclude/float.h'.
3578 This is done to cope with command-line options that change the
3579 representation of floating point numbers.
3581  GCC also installs its own version of `<limits.h>'; this is generated
3582 from `glimits.h', together with `limitx.h' and `limity.h' if the system
3583 also has its own version of `<limits.h>'.  (GCC provides its own header
3584 because it is required of ISO C freestanding implementations, but needs
3585 to include the system header from its own header as well because other
3586 standards such as POSIX specify additional values to be defined in
3587 `<limits.h>'.)  The system's `<limits.h>' header is used via
3588 `LIBSUBDIR/include/syslimits.h', which is copied from `gsyslimits.h' if
3589 it does not need fixing to work with GCC; if it needs fixing,
3590 `syslimits.h' is the fixed copy.
3592  GCC can also install `<tgmath.h>'.  It will do this when `config.gcc'
3593 sets `use_gcc_tgmath' to `yes'.
3595 \x1f
3596 File: gccint.info,  Node: Documentation,  Next: Front End,  Prev: Headers,  Up: gcc Directory
3598 6.3.7 Building Documentation
3599 ----------------------------
3601 The main GCC documentation is in the form of manuals in Texinfo format.
3602 These are installed in Info format; DVI versions may be generated by
3603 `make dvi', PDF versions by `make pdf', and HTML versions by `make
3604 html'.  In addition, some man pages are generated from the Texinfo
3605 manuals, there are some other text files with miscellaneous
3606 documentation, and runtime libraries have their own documentation
3607 outside the `gcc' directory.  FIXME: document the documentation for
3608 runtime libraries somewhere.
3610 * Menu:
3612 * Texinfo Manuals::      GCC manuals in Texinfo format.
3613 * Man Page Generation::  Generating man pages from Texinfo manuals.
3614 * Miscellaneous Docs::   Miscellaneous text files with documentation.
3616 \x1f
3617 File: gccint.info,  Node: Texinfo Manuals,  Next: Man Page Generation,  Up: Documentation
3619 6.3.7.1 Texinfo Manuals
3620 .......................
3622 The manuals for GCC as a whole, and the C and C++ front ends, are in
3623 files `doc/*.texi'.  Other front ends have their own manuals in files
3624 `LANGUAGE/*.texi'.  Common files `doc/include/*.texi' are provided
3625 which may be included in multiple manuals; the following files are in
3626 `doc/include':
3628 `fdl.texi'
3629      The GNU Free Documentation License.
3631 `funding.texi'
3632      The section "Funding Free Software".
3634 `gcc-common.texi'
3635      Common definitions for manuals.
3637 `gpl.texi'
3638 `gpl_v3.texi'
3639      The GNU General Public License.
3641 `texinfo.tex'
3642      A copy of `texinfo.tex' known to work with the GCC manuals.
3644  DVI-formatted manuals are generated by `make dvi', which uses
3645 `texi2dvi' (via the Makefile macro `$(TEXI2DVI)').  PDF-formatted
3646 manuals are generated by `make pdf', which uses `texi2pdf' (via the
3647 Makefile macro `$(TEXI2PDF)').  HTML formatted manuals are generated by
3648 `make html'.  Info manuals are generated by `make info' (which is run
3649 as part of a bootstrap); this generates the manuals in the source
3650 directory, using `makeinfo' via the Makefile macro `$(MAKEINFO)', and
3651 they are included in release distributions.
3653  Manuals are also provided on the GCC web site, in both HTML and
3654 PostScript forms.  This is done via the script
3655 `maintainer-scripts/update_web_docs'.  Each manual to be provided
3656 online must be listed in the definition of `MANUALS' in that file; a
3657 file `NAME.texi' must only appear once in the source tree, and the
3658 output manual must have the same name as the source file.  (However,
3659 other Texinfo files, included in manuals but not themselves the root
3660 files of manuals, may have names that appear more than once in the
3661 source tree.)  The manual file `NAME.texi' should only include other
3662 files in its own directory or in `doc/include'.  HTML manuals will be
3663 generated by `makeinfo --html', PostScript manuals by `texi2dvi' and
3664 `dvips', and PDF manuals by `texi2pdf'.  All Texinfo files that are
3665 parts of manuals must be checked into SVN, even if they are generated
3666 files, for the generation of online manuals to work.
3668  The installation manual, `doc/install.texi', is also provided on the
3669 GCC web site.  The HTML version is generated by the script
3670 `doc/install.texi2html'.
3672 \x1f
3673 File: gccint.info,  Node: Man Page Generation,  Next: Miscellaneous Docs,  Prev: Texinfo Manuals,  Up: Documentation
3675 6.3.7.2 Man Page Generation
3676 ...........................
3678 Because of user demand, in addition to full Texinfo manuals, man pages
3679 are provided which contain extracts from those manuals.  These man
3680 pages are generated from the Texinfo manuals using
3681 `contrib/texi2pod.pl' and `pod2man'.  (The man page for `g++',
3682 `cp/g++.1', just contains a `.so' reference to `gcc.1', but all the
3683 other man pages are generated from Texinfo manuals.)
3685  Because many systems may not have the necessary tools installed to
3686 generate the man pages, they are only generated if the `configure'
3687 script detects that recent enough tools are installed, and the
3688 Makefiles allow generating man pages to fail without aborting the
3689 build.  Man pages are also included in release distributions.  They are
3690 generated in the source directory.
3692  Magic comments in Texinfo files starting `@c man' control what parts
3693 of a Texinfo file go into a man page.  Only a subset of Texinfo is
3694 supported by `texi2pod.pl', and it may be necessary to add support for
3695 more Texinfo features to this script when generating new man pages.  To
3696 improve the man page output, some special Texinfo macros are provided
3697 in `doc/include/gcc-common.texi' which `texi2pod.pl' understands:
3699 `@gcctabopt'
3700      Use in the form `@table @gcctabopt' for tables of options, where
3701      for printed output the effect of `@code' is better than that of
3702      `@option' but for man page output a different effect is wanted.
3704 `@gccoptlist'
3705      Use for summary lists of options in manuals.
3707 `@gol'
3708      Use at the end of each line inside `@gccoptlist'.  This is
3709      necessary to avoid problems with differences in how the
3710      `@gccoptlist' macro is handled by different Texinfo formatters.
3712  FIXME: describe the `texi2pod.pl' input language and magic comments in
3713 more detail.
3715 \x1f
3716 File: gccint.info,  Node: Miscellaneous Docs,  Prev: Man Page Generation,  Up: Documentation
3718 6.3.7.3 Miscellaneous Documentation
3719 ...................................
3721 In addition to the formal documentation that is installed by GCC, there
3722 are several other text files with miscellaneous documentation:
3724 `ABOUT-GCC-NLS'
3725      Notes on GCC's Native Language Support.  FIXME: this should be
3726      part of this manual rather than a separate file.
3728 `ABOUT-NLS'
3729      Notes on the Free Translation Project.
3731 `COPYING'
3732      The GNU General Public License.
3734 `COPYING.LIB'
3735      The GNU Lesser General Public License.
3737 `*ChangeLog*'
3738 `*/ChangeLog*'
3739      Change log files for various parts of GCC.
3741 `LANGUAGES'
3742      Details of a few changes to the GCC front-end interface.  FIXME:
3743      the information in this file should be part of general
3744      documentation of the front-end interface in this manual.
3746 `ONEWS'
3747      Information about new features in old versions of GCC.  (For recent
3748      versions, the information is on the GCC web site.)
3750 `README.Portability'
3751      Information about portability issues when writing code in GCC.
3752      FIXME: why isn't this part of this manual or of the GCC Coding
3753      Conventions?
3755  FIXME: document such files in subdirectories, at least `config', `cp',
3756 `objc', `testsuite'.
3758 \x1f
3759 File: gccint.info,  Node: Front End,  Next: Back End,  Prev: Documentation,  Up: gcc Directory
3761 6.3.8 Anatomy of a Language Front End
3762 -------------------------------------
3764 A front end for a language in GCC has the following parts:
3766    * A directory `LANGUAGE' under `gcc' containing source files for
3767      that front end.  *Note The Front End `LANGUAGE' Directory: Front
3768      End Directory, for details.
3770    * A mention of the language in the list of supported languages in
3771      `gcc/doc/install.texi'.
3773    * A mention of the name under which the language's runtime library is
3774      recognized by `--enable-shared=PACKAGE' in the documentation of
3775      that option in `gcc/doc/install.texi'.
3777    * A mention of any special prerequisites for building the front end
3778      in the documentation of prerequisites in `gcc/doc/install.texi'.
3780    * Details of contributors to that front end in
3781      `gcc/doc/contrib.texi'.  If the details are in that front end's
3782      own manual then there should be a link to that manual's list in
3783      `contrib.texi'.
3785    * Information about support for that language in
3786      `gcc/doc/frontends.texi'.
3788    * Information about standards for that language, and the front end's
3789      support for them, in `gcc/doc/standards.texi'.  This may be a link
3790      to such information in the front end's own manual.
3792    * Details of source file suffixes for that language and `-x LANG'
3793      options supported, in `gcc/doc/invoke.texi'.
3795    * Entries in `default_compilers' in `gcc.c' for source file suffixes
3796      for that language.
3798    * Preferably testsuites, which may be under `gcc/testsuite' or
3799      runtime library directories.  FIXME: document somewhere how to
3800      write testsuite harnesses.
3802    * Probably a runtime library for the language, outside the `gcc'
3803      directory.  FIXME: document this further.
3805    * Details of the directories of any runtime libraries in
3806      `gcc/doc/sourcebuild.texi'.
3808  If the front end is added to the official GCC source repository, the
3809 following are also necessary:
3811    * At least one Bugzilla component for bugs in that front end and
3812      runtime libraries.  This category needs to be mentioned in
3813      `gcc/gccbug.in', as well as being added to the Bugzilla database.
3815    * Normally, one or more maintainers of that front end listed in
3816      `MAINTAINERS'.
3818    * Mentions on the GCC web site in `index.html' and `frontends.html',
3819      with any relevant links on `readings.html'.  (Front ends that are
3820      not an official part of GCC may also be listed on
3821      `frontends.html', with relevant links.)
3823    * A news item on `index.html', and possibly an announcement on the
3824      <gcc-announce@gcc.gnu.org> mailing list.
3826    * The front end's manuals should be mentioned in
3827      `maintainer-scripts/update_web_docs' (*note Texinfo Manuals::) and
3828      the online manuals should be linked to from
3829      `onlinedocs/index.html'.
3831    * Any old releases or CVS repositories of the front end, before its
3832      inclusion in GCC, should be made available on the GCC FTP site
3833      `ftp://gcc.gnu.org/pub/gcc/old-releases/'.
3835    * The release and snapshot script `maintainer-scripts/gcc_release'
3836      should be updated to generate appropriate tarballs for this front
3837      end.  The associated `maintainer-scripts/snapshot-README' and
3838      `maintainer-scripts/snapshot-index.html' files should be updated
3839      to list the tarballs and diffs for this front end.
3841    * If this front end includes its own version files that include the
3842      current date, `maintainer-scripts/update_version' should be
3843      updated accordingly.
3845 * Menu:
3847 * Front End Directory::  The front end `LANGUAGE' directory.
3848 * Front End Config::     The front end `config-lang.in' file.
3850 \x1f
3851 File: gccint.info,  Node: Front End Directory,  Next: Front End Config,  Up: Front End
3853 6.3.8.1 The Front End `LANGUAGE' Directory
3854 ..........................................
3856 A front end `LANGUAGE' directory contains the source files of that
3857 front end (but not of any runtime libraries, which should be outside
3858 the `gcc' directory).  This includes documentation, and possibly some
3859 subsidiary programs build alongside the front end.  Certain files are
3860 special and other parts of the compiler depend on their names:
3862 `config-lang.in'
3863      This file is required in all language subdirectories.  *Note The
3864      Front End `config-lang.in' File: Front End Config, for details of
3865      its contents
3867 `Make-lang.in'
3868      This file is required in all language subdirectories.  It contains
3869      targets `LANG.HOOK' (where `LANG' is the setting of `language' in
3870      `config-lang.in') for the following values of `HOOK', and any
3871      other Makefile rules required to build those targets (which may if
3872      necessary use other Makefiles specified in `outputs' in
3873      `config-lang.in', although this is deprecated).  It also adds any
3874      testsuite targets that can use the standard rule in
3875      `gcc/Makefile.in' to the variable `lang_checks'.
3877     `all.cross'
3878     `start.encap'
3879     `rest.encap'
3880           FIXME: exactly what goes in each of these targets?
3882     `tags'
3883           Build an `etags' `TAGS' file in the language subdirectory in
3884           the source tree.
3886     `info'
3887           Build info documentation for the front end, in the build
3888           directory.  This target is only called by `make bootstrap' if
3889           a suitable version of `makeinfo' is available, so does not
3890           need to check for this, and should fail if an error occurs.
3892     `dvi'
3893           Build DVI documentation for the front end, in the build
3894           directory.  This should be done using `$(TEXI2DVI)', with
3895           appropriate `-I' arguments pointing to directories of
3896           included files.
3898     `pdf'
3899           Build PDF documentation for the front end, in the build
3900           directory.  This should be done using `$(TEXI2PDF)', with
3901           appropriate `-I' arguments pointing to directories of
3902           included files.
3904     `html'
3905           Build HTML documentation for the front end, in the build
3906           directory.
3908     `man'
3909           Build generated man pages for the front end from Texinfo
3910           manuals (*note Man Page Generation::), in the build
3911           directory.  This target is only called if the necessary tools
3912           are available, but should ignore errors so as not to stop the
3913           build if errors occur; man pages are optional and the tools
3914           involved may be installed in a broken way.
3916     `install-common'
3917           Install everything that is part of the front end, apart from
3918           the compiler executables listed in `compilers' in
3919           `config-lang.in'.
3921     `install-info'
3922           Install info documentation for the front end, if it is
3923           present in the source directory.  This target should have
3924           dependencies on info files that should be installed.
3926     `install-man'
3927           Install man pages for the front end.  This target should
3928           ignore errors.
3930     `srcextra'
3931           Copies its dependencies into the source directory.  This
3932           generally should be used for generated files such as Bison
3933           output files which are not present in CVS, but should be
3934           included in any release tarballs.  This target will be
3935           executed during a bootstrap if
3936           `--enable-generated-files-in-srcdir' was specified as a
3937           `configure' option.
3939     `srcinfo'
3940     `srcman'
3941           Copies its dependencies into the source directory.  These
3942           targets will be executed during a bootstrap if
3943           `--enable-generated-files-in-srcdir' was specified as a
3944           `configure' option.
3946     `uninstall'
3947           Uninstall files installed by installing the compiler.  This is
3948           currently documented not to be supported, so the hook need
3949           not do anything.
3951     `mostlyclean'
3952     `clean'
3953     `distclean'
3954     `maintainer-clean'
3955           The language parts of the standard GNU `*clean' targets.
3956           *Note Standard Targets for Users: (standards)Standard
3957           Targets, for details of the standard targets.  For GCC,
3958           `maintainer-clean' should delete all generated files in the
3959           source directory that are not checked into CVS, but should
3960           not delete anything checked into CVS.
3962 `lang.opt'
3963      This file registers the set of switches that the front end accepts
3964      on the command line, and their `--help' text.  *Note Options::.
3966 `lang-specs.h'
3967      This file provides entries for `default_compilers' in `gcc.c'
3968      which override the default of giving an error that a compiler for
3969      that language is not installed.
3971 `LANGUAGE-tree.def'
3972      This file, which need not exist, defines any language-specific tree
3973      codes.
3975 \x1f
3976 File: gccint.info,  Node: Front End Config,  Prev: Front End Directory,  Up: Front End
3978 6.3.8.2 The Front End `config-lang.in' File
3979 ...........................................
3981 Each language subdirectory contains a `config-lang.in' file.  In
3982 addition the main directory contains `c-config-lang.in', which contains
3983 limited information for the C language.  This file is a shell script
3984 that may define some variables describing the language:
3986 `language'
3987      This definition must be present, and gives the name of the language
3988      for some purposes such as arguments to `--enable-languages'.
3990 `lang_requires'
3991      If defined, this variable lists (space-separated) language front
3992      ends other than C that this front end requires to be enabled (with
3993      the names given being their `language' settings).  For example, the
3994      Java front end depends on the C++ front end, so sets
3995      `lang_requires=c++'.
3997 `subdir_requires'
3998      If defined, this variable lists (space-separated) front end
3999      directories other than C that this front end requires to be
4000      present.  For example, the Objective-C++ front end uses source
4001      files from the C++ and Objective-C front ends, so sets
4002      `subdir_requires="cp objc"'.
4004 `target_libs'
4005      If defined, this variable lists (space-separated) targets in the
4006      top level `Makefile' to build the runtime libraries for this
4007      language, such as `target-libobjc'.
4009 `lang_dirs'
4010      If defined, this variable lists (space-separated) top level
4011      directories (parallel to `gcc'), apart from the runtime libraries,
4012      that should not be configured if this front end is not built.
4014 `build_by_default'
4015      If defined to `no', this language front end is not built unless
4016      enabled in a `--enable-languages' argument.  Otherwise, front ends
4017      are built by default, subject to any special logic in
4018      `configure.ac' (as is present to disable the Ada front end if the
4019      Ada compiler is not already installed).
4021 `boot_language'
4022      If defined to `yes', this front end is built in stage 1 of the
4023      bootstrap.  This is only relevant to front ends written in their
4024      own languages.
4026 `compilers'
4027      If defined, a space-separated list of compiler executables that
4028      will be run by the driver.  The names here will each end with
4029      `\$(exeext)'.
4031 `outputs'
4032      If defined, a space-separated list of files that should be
4033      generated by `configure' substituting values in them.  This
4034      mechanism can be used to create a file `LANGUAGE/Makefile' from
4035      `LANGUAGE/Makefile.in', but this is deprecated, building
4036      everything from the single `gcc/Makefile' is preferred.
4038 `gtfiles'
4039      If defined, a space-separated list of files that should be scanned
4040      by gengtype.c to generate the garbage collection tables and
4041      routines for this language.  This excludes the files that are
4042      common to all front ends.  *Note Type Information::.
4045 \x1f
4046 File: gccint.info,  Node: Back End,  Prev: Front End,  Up: gcc Directory
4048 6.3.9 Anatomy of a Target Back End
4049 ----------------------------------
4051 A back end for a target architecture in GCC has the following parts:
4053    * A directory `MACHINE' under `gcc/config', containing a machine
4054      description `MACHINE.md' file (*note Machine Descriptions: Machine
4055      Desc.), header files `MACHINE.h' and `MACHINE-protos.h' and a
4056      source file `MACHINE.c' (*note Target Description Macros and
4057      Functions: Target Macros.), possibly a target Makefile fragment
4058      `t-MACHINE' (*note The Target Makefile Fragment: Target
4059      Fragment.), and maybe some other files.  The names of these files
4060      may be changed from the defaults given by explicit specifications
4061      in `config.gcc'.
4063    * If necessary, a file `MACHINE-modes.def' in the `MACHINE'
4064      directory, containing additional machine modes to represent
4065      condition codes.  *Note Condition Code::, for further details.
4067    * An optional `MACHINE.opt' file in the `MACHINE' directory,
4068      containing a list of target-specific options.  You can also add
4069      other option files using the `extra_options' variable in
4070      `config.gcc'.  *Note Options::.
4072    * Entries in `config.gcc' (*note The `config.gcc' File: System
4073      Config.) for the systems with this target architecture.
4075    * Documentation in `gcc/doc/invoke.texi' for any command-line
4076      options supported by this target (*note Run-time Target
4077      Specification: Run-time Target.).  This means both entries in the
4078      summary table of options and details of the individual options.
4080    * Documentation in `gcc/doc/extend.texi' for any target-specific
4081      attributes supported (*note Defining target-specific uses of
4082      `__attribute__': Target Attributes.), including where the same
4083      attribute is already supported on some targets, which are
4084      enumerated in the manual.
4086    * Documentation in `gcc/doc/extend.texi' for any target-specific
4087      pragmas supported.
4089    * Documentation in `gcc/doc/extend.texi' of any target-specific
4090      built-in functions supported.
4092    * Documentation in `gcc/doc/extend.texi' of any target-specific
4093      format checking styles supported.
4095    * Documentation in `gcc/doc/md.texi' of any target-specific
4096      constraint letters (*note Constraints for Particular Machines:
4097      Machine Constraints.).
4099    * A note in `gcc/doc/contrib.texi' under the person or people who
4100      contributed the target support.
4102    * Entries in `gcc/doc/install.texi' for all target triplets
4103      supported with this target architecture, giving details of any
4104      special notes about installation for this target, or saying that
4105      there are no special notes if there are none.
4107    * Possibly other support outside the `gcc' directory for runtime
4108      libraries.  FIXME: reference docs for this.  The libstdc++ porting
4109      manual needs to be installed as info for this to work, or to be a
4110      chapter of this manual.
4112  If the back end is added to the official GCC source repository, the
4113 following are also necessary:
4115    * An entry for the target architecture in `readings.html' on the GCC
4116      web site, with any relevant links.
4118    * Details of the properties of the back end and target architecture
4119      in `backends.html' on the GCC web site.
4121    * A news item about the contribution of support for that target
4122      architecture, in `index.html' on the GCC web site.
4124    * Normally, one or more maintainers of that target listed in
4125      `MAINTAINERS'.  Some existing architectures may be unmaintained,
4126      but it would be unusual to add support for a target that does not
4127      have a maintainer when support is added.
4129 \x1f
4130 File: gccint.info,  Node: Testsuites,  Prev: gcc Directory,  Up: Source Tree
4132 6.4 Testsuites
4133 ==============
4135 GCC contains several testsuites to help maintain compiler quality.
4136 Most of the runtime libraries and language front ends in GCC have
4137 testsuites.  Currently only the C language testsuites are documented
4138 here; FIXME: document the others.
4140 * Menu:
4142 * Test Idioms::     Idioms used in testsuite code.
4143 * Test Directives:: Directives used within DejaGnu tests.
4144 * Ada Tests::       The Ada language testsuites.
4145 * C Tests::         The C language testsuites.
4146 * libgcj Tests::    The Java library testsuites.
4147 * gcov Testing::    Support for testing gcov.
4148 * profopt Testing:: Support for testing profile-directed optimizations.
4149 * compat Testing::  Support for testing binary compatibility.
4150 * Torture Tests::   Support for torture testing using multiple options.
4152 \x1f
4153 File: gccint.info,  Node: Test Idioms,  Next: Test Directives,  Up: Testsuites
4155 6.4.1 Idioms Used in Testsuite Code
4156 -----------------------------------
4158 In general, C testcases have a trailing `-N.c', starting with `-1.c',
4159 in case other testcases with similar names are added later.  If the
4160 test is a test of some well-defined feature, it should have a name
4161 referring to that feature such as `FEATURE-1.c'.  If it does not test a
4162 well-defined feature but just happens to exercise a bug somewhere in
4163 the compiler, and a bug report has been filed for this bug in the GCC
4164 bug database, `prBUG-NUMBER-1.c' is the appropriate form of name.
4165 Otherwise (for miscellaneous bugs not filed in the GCC bug database),
4166 and previously more generally, test cases are named after the date on
4167 which they were added.  This allows people to tell at a glance whether
4168 a test failure is because of a recently found bug that has not yet been
4169 fixed, or whether it may be a regression, but does not give any other
4170 information about the bug or where discussion of it may be found.  Some
4171 other language testsuites follow similar conventions.
4173  In the `gcc.dg' testsuite, it is often necessary to test that an error
4174 is indeed a hard error and not just a warning--for example, where it is
4175 a constraint violation in the C standard, which must become an error
4176 with `-pedantic-errors'.  The following idiom, where the first line
4177 shown is line LINE of the file and the line that generates the error,
4178 is used for this:
4180      /* { dg-bogus "warning" "warning in place of error" } */
4181      /* { dg-error "REGEXP" "MESSAGE" { target *-*-* } LINE } */
4183  It may be necessary to check that an expression is an integer constant
4184 expression and has a certain value.  To check that `E' has value `V',
4185 an idiom similar to the following is used:
4187      char x[((E) == (V) ? 1 : -1)];
4189  In `gcc.dg' tests, `__typeof__' is sometimes used to make assertions
4190 about the types of expressions.  See, for example,
4191 `gcc.dg/c99-condexpr-1.c'.  The more subtle uses depend on the exact
4192 rules for the types of conditional expressions in the C standard; see,
4193 for example, `gcc.dg/c99-intconst-1.c'.
4195  It is useful to be able to test that optimizations are being made
4196 properly.  This cannot be done in all cases, but it can be done where
4197 the optimization will lead to code being optimized away (for example,
4198 where flow analysis or alias analysis should show that certain code
4199 cannot be called) or to functions not being called because they have
4200 been expanded as built-in functions.  Such tests go in
4201 `gcc.c-torture/execute'.  Where code should be optimized away, a call
4202 to a nonexistent function such as `link_failure ()' may be inserted; a
4203 definition
4205      #ifndef __OPTIMIZE__
4206      void
4207      link_failure (void)
4208      {
4209        abort ();
4210      }
4211      #endif
4213 will also be needed so that linking still succeeds when the test is run
4214 without optimization.  When all calls to a built-in function should
4215 have been optimized and no calls to the non-built-in version of the
4216 function should remain, that function may be defined as `static' to
4217 call `abort ()' (although redeclaring a function as static may not work
4218 on all targets).
4220  All testcases must be portable.  Target-specific testcases must have
4221 appropriate code to avoid causing failures on unsupported systems;
4222 unfortunately, the mechanisms for this differ by directory.
4224  FIXME: discuss non-C testsuites here.
4226 \x1f
4227 File: gccint.info,  Node: Test Directives,  Next: Ada Tests,  Prev: Test Idioms,  Up: Testsuites
4229 6.4.2 Directives used within DejaGnu tests
4230 ------------------------------------------
4232 Test directives appear within comments in a test source file and begin
4233 with `dg-'.  Some of these are defined within DejaGnu and others are
4234 local to the GCC testsuite.
4236  The order in which test directives appear in a test can be important:
4237 directives local to GCC sometimes override information used by the
4238 DejaGnu directives, which know nothing about the GCC directives, so the
4239 DejaGnu directives must precede GCC directives.
4241  Several test directives include selectors which are usually preceded by
4242 the keyword `target' or `xfail'.  A selector is: one or more target
4243 triplets, possibly including wildcard characters; a single
4244 effective-target keyword; or a logical expression.  Depending on the
4245 context, the selector specifies whether a test is skipped and reported
4246 as unsupported or is expected to fail.  Use `*-*-*' to match any target.
4247 Effective-target keywords are defined in `target-supports.exp' in the
4248 GCC testsuite.
4250  A selector expression appears within curly braces and uses a single
4251 logical operator: one of `!', `&&', or `||'.  An operand is another
4252 selector expression, an effective-target keyword, a single target
4253 triplet, or a list of target triplets within quotes or curly braces.
4254 For example:
4256      { target { ! "hppa*-*-* ia64*-*-*" } }
4257      { target { powerpc*-*-* && lp64 } }
4258      { xfail { lp64 || vect_no_align } }
4260 `{ dg-do DO-WHAT-KEYWORD [{ target/xfail SELECTOR }] }'
4261      DO-WHAT-KEYWORD specifies how the test is compiled and whether it
4262      is executed.  It is one of:
4264     `preprocess'
4265           Compile with `-E' to run only the preprocessor.
4267     `compile'
4268           Compile with `-S' to produce an assembly code file.
4270     `assemble'
4271           Compile with `-c' to produce a relocatable object file.
4273     `link'
4274           Compile, assemble, and link to produce an executable file.
4276     `run'
4277           Produce and run an executable file, which is expected to
4278           return an exit code of 0.
4280      The default is `compile'.  That can be overridden for a set of
4281      tests by redefining `dg-do-what-default' within the `.exp' file
4282      for those tests.
4284      If the directive includes the optional `{ target SELECTOR }' then
4285      the test is skipped unless the target system is included in the
4286      list of target triplets or matches the effective-target keyword.
4288      If `do-what-keyword' is `run' and the directive includes the
4289      optional `{ xfail SELECTOR }' and the selector is met then the
4290      test is expected to fail.  The `xfail' clause is ignored for other
4291      values of `do-what-keyword'; those tests can use directive
4292      `dg-xfail-if'.
4294 `{ dg-options OPTIONS [{ target SELECTOR }] }'
4295      This DejaGnu directive provides a list of compiler options, to be
4296      used if the target system matches SELECTOR, that replace the
4297      default options used for this set of tests.
4299 `{ dg-add-options FEATURE ... }'
4300      Add any compiler options that are needed to access certain
4301      features.  This directive does nothing on targets that enable the
4302      features by default, or that don't provide them at all.  It must
4303      come after all `dg-options' directives.
4305      The supported values of FEATURE are:
4306     `c99_runtime'
4307           The target's C99 runtime (both headers and libraries).
4309     `mips16_attribute'
4310           `mips16' function attributes.  Only MIPS targets support this
4311           feature, and only then in certain modes.
4313 `{ dg-timeout N [{target SELECTOR }] }'
4314      Set the time limit for the compilation and for the execution of
4315      the test to the specified number of seconds.
4317 `{ dg-timeout-factor X [{ target SELECTOR }] }'
4318      Multiply the normal time limit for compilation and execution of
4319      the test by the specified floating-point factor.  The normal
4320      timeout limit, in seconds, is found by searching the following in
4321      order:
4323         * the value defined by an earlier `dg-timeout' directive in the
4324           test
4326         * variable TOOL_TIMEOUT defined by the set of tests
4328         * GCC,TIMEOUT set in the target board
4330         * 300
4332 `{ dg-skip-if COMMENT { SELECTOR } { INCLUDE-OPTS } { EXCLUDE-OPTS } }'
4333      Skip the test if the test system is included in SELECTOR and if
4334      each of the options in INCLUDE-OPTS is in the set of options with
4335      which the test would be compiled and if none of the options in
4336      EXCLUDE-OPTS is in the set of options with which the test would be
4337      compiled.
4339      Use `"*"' for an empty INCLUDE-OPTS list and `""' for an empty
4340      EXCLUDE-OPTS list.
4342 `{ dg-xfail-if COMMENT { SELECTOR } { INCLUDE-OPTS } { EXCLUDE-OPTS } }'
4343      Expect the test to fail if the conditions (which are the same as
4344      for `dg-skip-if') are met.
4346 `{ dg-require-SUPPORT args }'
4347      Skip the test if the target does not provide the required support;
4348      see `gcc-dg.exp' in the GCC testsuite for the actual directives.
4349      These directives must appear after any `dg-do' directive in the
4350      test and before any `dg-additional-sources' directive.  They
4351      require at least one argument, which can be an empty string if the
4352      specific procedure does not examine the argument.
4354 `{ dg-require-effective-target KEYWORD }'
4355      Skip the test if the test target, including current multilib flags,
4356      is not covered by the effective-target keyword.  This directive
4357      must appear after any `dg-do' directive in the test and before any
4358      `dg-additional-sources' directive.
4360 `{ dg-shouldfail COMMENT { SELECTOR } { INCLUDE-OPTS } { EXCLUDE-OPTS } }'
4361      Expect the test executable to return a nonzero exit status if the
4362      conditions (which are the same as for `dg-skip-if') are met.
4364 `{ dg-error REGEXP [COMMENT [{ target/xfail SELECTOR } [LINE] }]] }'
4365      This DejaGnu directive appears on a source line that is expected
4366      to get an error message, or else specifies the source line
4367      associated with the message.  If there is no message for that line
4368      or if the text of that message is not matched by REGEXP then the
4369      check fails and COMMENT is included in the `FAIL' message.  The
4370      check does not look for the string `"error"' unless it is part of
4371      REGEXP.
4373 `{ dg-warning REGEXP [COMMENT [{ target/xfail SELECTOR } [LINE] }]] }'
4374      This DejaGnu directive appears on a source line that is expected
4375      to get a warning message, or else specifies the source line
4376      associated with the message.  If there is no message for that line
4377      or if the text of that message is not matched by REGEXP then the
4378      check fails and COMMENT is included in the `FAIL' message.  The
4379      check does not look for the string `"warning"' unless it is part
4380      of REGEXP.
4382 `{ dg-message REGEXP [COMMENT [{ target/xfail SELECTOR } [LINE] }]] }'
4383      The line is expected to get a message other than an error or
4384      warning.  If there is no message for that line or if the text of
4385      that message is not matched by REGEXP then the check fails and
4386      COMMENT is included in the `FAIL' message.
4388 `{ dg-bogus REGEXP [COMMENT [{ target/xfail SELECTOR } [LINE] }]] }'
4389      This DejaGnu directive appears on a source line that should not
4390      get a message matching REGEXP, or else specifies the source line
4391      associated with the bogus message.  It is usually used with `xfail'
4392      to indicate that the message is a known problem for a particular
4393      set of targets.
4395 `{ dg-excess-errors COMMENT [{ target/xfail SELECTOR }] }'
4396      This DejaGnu directive indicates that the test is expected to fail
4397      due to compiler messages that are not handled by `dg-error',
4398      `dg-warning' or `dg-bogus'.  For this directive `xfail' has the
4399      same effect as `target'.
4401 `{ dg-output REGEXP [{ target/xfail SELECTOR }] }'
4402      This DejaGnu directive compares REGEXP to the combined output that
4403      the test executable writes to `stdout' and `stderr'.
4405 `{ dg-prune-output REGEXP }'
4406      Prune messages matching REGEXP from test output.
4408 `{ dg-additional-files "FILELIST" }'
4409      Specify additional files, other than source files, that must be
4410      copied to the system where the compiler runs.
4412 `{ dg-additional-sources "FILELIST" }'
4413      Specify additional source files to appear in the compile line
4414      following the main test file.
4416 `{ dg-final { LOCAL-DIRECTIVE } }'
4417      This DejaGnu directive is placed within a comment anywhere in the
4418      source file and is processed after the test has been compiled and
4419      run.  Multiple `dg-final' commands are processed in the order in
4420      which they appear in the source file.
4422      The GCC testsuite defines the following directives to be used
4423      within `dg-final'.
4425     `cleanup-coverage-files'
4426           Removes coverage data files generated for this test.
4428     `cleanup-repo-files'
4429           Removes files generated for this test for `-frepo'.
4431     `cleanup-rtl-dump SUFFIX'
4432           Removes RTL dump files generated for this test.
4434     `cleanup-tree-dump SUFFIX'
4435           Removes tree dump files matching SUFFIX which were generated
4436           for this test.
4438     `cleanup-saved-temps'
4439           Removes files for the current test which were kept for
4440           `--save-temps'.
4442     `scan-file FILENAME REGEXP [{ target/xfail SELECTOR }]'
4443           Passes if REGEXP matches text in FILENAME.
4445     `scan-file-not FILENAME REGEXP [{ target/xfail SELECTOR }]'
4446           Passes if REGEXP does not match text in FILENAME.
4448     `scan-hidden SYMBOL [{ target/xfail SELECTOR }]'
4449           Passes if SYMBOL is defined as a hidden symbol in the test's
4450           assembly output.
4452     `scan-not-hidden SYMBOL [{ target/xfail SELECTOR }]'
4453           Passes if SYMBOL is not defined as a hidden symbol in the
4454           test's assembly output.
4456     `scan-assembler-times REGEX NUM [{ target/xfail SELECTOR }]'
4457           Passes if REGEX is matched exactly NUM times in the test's
4458           assembler output.
4460     `scan-assembler REGEX [{ target/xfail SELECTOR }]'
4461           Passes if REGEX matches text in the test's assembler output.
4463     `scan-assembler-not REGEX [{ target/xfail SELECTOR }]'
4464           Passes if REGEX does not match text in the test's assembler
4465           output.
4467     `scan-assembler-dem REGEX [{ target/xfail SELECTOR }]'
4468           Passes if REGEX matches text in the test's demangled
4469           assembler output.
4471     `scan-assembler-dem-not REGEX [{ target/xfail SELECTOR }]'
4472           Passes if REGEX does not match text in the test's demangled
4473           assembler output.
4475     `scan-tree-dump-times REGEX NUM SUFFIX [{ target/xfail SELECTOR }]'
4476           Passes if REGEX is found exactly NUM times in the dump file
4477           with suffix SUFFIX.
4479     `scan-tree-dump REGEX SUFFIX [{ target/xfail SELECTOR }]'
4480           Passes if REGEX matches text in the dump file with suffix
4481           SUFFIX.
4483     `scan-tree-dump-not REGEX SUFFIX [{ target/xfail SELECTOR }]'
4484           Passes if REGEX does not match text in the dump file with
4485           suffix SUFFIX.
4487     `scan-tree-dump-dem REGEX SUFFIX [{ target/xfail SELECTOR }]'
4488           Passes if REGEX matches demangled text in the dump file with
4489           suffix SUFFIX.
4491     `scan-tree-dump-dem-not REGEX SUFFIX [{ target/xfail SELECTOR }]'
4492           Passes if REGEX does not match demangled text in the dump
4493           file with suffix SUFFIX.
4495     `output-exists [{ target/xfail SELECTOR }]'
4496           Passes if compiler output file exists.
4498     `output-exists-not [{ target/xfail SELECTOR }]'
4499           Passes if compiler output file does not exist.
4501     `run-gcov SOURCEFILE'
4502           Check line counts in `gcov' tests.
4504     `run-gcov [branches] [calls] { OPTS SOURCEFILE }'
4505           Check branch and/or call counts, in addition to line counts,
4506           in `gcov' tests.
4508 \x1f
4509 File: gccint.info,  Node: Ada Tests,  Next: C Tests,  Prev: Test Directives,  Up: Testsuites
4511 6.4.3 Ada Language Testsuites
4512 -----------------------------
4514 The Ada testsuite includes executable tests from the ACATS 2.5
4515 testsuite, publicly available at
4516 `http://www.adaic.org/compilers/acats/2.5'
4518  These tests are integrated in the GCC testsuite in the
4519 `gcc/testsuite/ada/acats' directory, and enabled automatically when
4520 running `make check', assuming the Ada language has been enabled when
4521 configuring GCC.
4523  You can also run the Ada testsuite independently, using `make
4524 check-ada', or run a subset of the tests by specifying which chapter to
4525 run, e.g.:
4527      $ make check-ada CHAPTERS="c3 c9"
4529  The tests are organized by directory, each directory corresponding to
4530 a chapter of the Ada Reference Manual.  So for example, c9 corresponds
4531 to chapter 9, which deals with tasking features of the language.
4533  There is also an extra chapter called `gcc' containing a template for
4534 creating new executable tests.
4536  The tests are run using two `sh' scripts: `run_acats' and
4537 `run_all.sh'.  To run the tests using a simulator or a cross target,
4538 see the small customization section at the top of `run_all.sh'.
4540  These tests are run using the build tree: they can be run without doing
4541 a `make install'.
4543 \x1f
4544 File: gccint.info,  Node: C Tests,  Next: libgcj Tests,  Prev: Ada Tests,  Up: Testsuites
4546 6.4.4 C Language Testsuites
4547 ---------------------------
4549 GCC contains the following C language testsuites, in the
4550 `gcc/testsuite' directory:
4552 `gcc.dg'
4553      This contains tests of particular features of the C compiler,
4554      using the more modern `dg' harness.  Correctness tests for various
4555      compiler features should go here if possible.
4557      Magic comments determine whether the file is preprocessed,
4558      compiled, linked or run.  In these tests, error and warning
4559      message texts are compared against expected texts or regular
4560      expressions given in comments.  These tests are run with the
4561      options `-ansi -pedantic' unless other options are given in the
4562      test.  Except as noted below they are not run with multiple
4563      optimization options.
4565 `gcc.dg/compat'
4566      This subdirectory contains tests for binary compatibility using
4567      `compat.exp', which in turn uses the language-independent support
4568      (*note Support for testing binary compatibility: compat Testing.).
4570 `gcc.dg/cpp'
4571      This subdirectory contains tests of the preprocessor.
4573 `gcc.dg/debug'
4574      This subdirectory contains tests for debug formats.  Tests in this
4575      subdirectory are run for each debug format that the compiler
4576      supports.
4578 `gcc.dg/format'
4579      This subdirectory contains tests of the `-Wformat' format
4580      checking.  Tests in this directory are run with and without
4581      `-DWIDE'.
4583 `gcc.dg/noncompile'
4584      This subdirectory contains tests of code that should not compile
4585      and does not need any special compilation options.  They are run
4586      with multiple optimization options, since sometimes invalid code
4587      crashes the compiler with optimization.
4589 `gcc.dg/special'
4590      FIXME: describe this.
4592 `gcc.c-torture'
4593      This contains particular code fragments which have historically
4594      broken easily.  These tests are run with multiple optimization
4595      options, so tests for features which only break at some
4596      optimization levels belong here.  This also contains tests to
4597      check that certain optimizations occur.  It might be worthwhile to
4598      separate the correctness tests cleanly from the code quality
4599      tests, but it hasn't been done yet.
4601 `gcc.c-torture/compat'
4602      FIXME: describe this.
4604      This directory should probably not be used for new tests.
4606 `gcc.c-torture/compile'
4607      This testsuite contains test cases that should compile, but do not
4608      need to link or run.  These test cases are compiled with several
4609      different combinations of optimization options.  All warnings are
4610      disabled for these test cases, so this directory is not suitable if
4611      you wish to test for the presence or absence of compiler warnings.
4612      While special options can be set, and tests disabled on specific
4613      platforms, by the use of `.x' files, mostly these test cases
4614      should not contain platform dependencies.  FIXME: discuss how
4615      defines such as `NO_LABEL_VALUES' and `STACK_SIZE' are used.
4617 `gcc.c-torture/execute'
4618      This testsuite contains test cases that should compile, link and
4619      run; otherwise the same comments as for `gcc.c-torture/compile'
4620      apply.
4622 `gcc.c-torture/execute/ieee'
4623      This contains tests which are specific to IEEE floating point.
4625 `gcc.c-torture/unsorted'
4626      FIXME: describe this.
4628      This directory should probably not be used for new tests.
4630 `gcc.c-torture/misc-tests'
4631      This directory contains C tests that require special handling.
4632      Some of these tests have individual expect files, and others share
4633      special-purpose expect files:
4635     ``bprob*.c''
4636           Test `-fbranch-probabilities' using `bprob.exp', which in
4637           turn uses the generic, language-independent framework (*note
4638           Support for testing profile-directed optimizations: profopt
4639           Testing.).
4641     ``dg-*.c''
4642           Test the testsuite itself using `dg-test.exp'.
4644     ``gcov*.c''
4645           Test `gcov' output using `gcov.exp', which in turn uses the
4646           language-independent support (*note Support for testing gcov:
4647           gcov Testing.).
4649     ``i386-pf-*.c''
4650           Test i386-specific support for data prefetch using
4651           `i386-prefetch.exp'.
4654  FIXME: merge in `testsuite/README.gcc' and discuss the format of test
4655 cases and magic comments more.
4657 \x1f
4658 File: gccint.info,  Node: libgcj Tests,  Next: gcov Testing,  Prev: C Tests,  Up: Testsuites
4660 6.4.5 The Java library testsuites.
4661 ----------------------------------
4663 Runtime tests are executed via `make check' in the
4664 `TARGET/libjava/testsuite' directory in the build tree.  Additional
4665 runtime tests can be checked into this testsuite.
4667  Regression testing of the core packages in libgcj is also covered by
4668 the Mauve testsuite.  The Mauve Project develops tests for the Java
4669 Class Libraries.  These tests are run as part of libgcj testing by
4670 placing the Mauve tree within the libjava testsuite sources at
4671 `libjava/testsuite/libjava.mauve/mauve', or by specifying the location
4672 of that tree when invoking `make', as in `make MAUVEDIR=~/mauve check'.
4674  To detect regressions, a mechanism in `mauve.exp' compares the
4675 failures for a test run against the list of expected failures in
4676 `libjava/testsuite/libjava.mauve/xfails' from the source hierarchy.
4677 Update this file when adding new failing tests to Mauve, or when fixing
4678 bugs in libgcj that had caused Mauve test failures.
4680  We encourage developers to contribute test cases to Mauve.
4682 \x1f
4683 File: gccint.info,  Node: gcov Testing,  Next: profopt Testing,  Prev: libgcj Tests,  Up: Testsuites
4685 6.4.6 Support for testing `gcov'
4686 --------------------------------
4688 Language-independent support for testing `gcov', and for checking that
4689 branch profiling produces expected values, is provided by the expect
4690 file `gcov.exp'.  `gcov' tests also rely on procedures in `gcc.dg.exp'
4691 to compile and run the test program.  A typical `gcov' test contains
4692 the following DejaGnu commands within comments:
4694      { dg-options "-fprofile-arcs -ftest-coverage" }
4695      { dg-do run { target native } }
4696      { dg-final { run-gcov sourcefile } }
4698  Checks of `gcov' output can include line counts, branch percentages,
4699 and call return percentages.  All of these checks are requested via
4700 commands that appear in comments in the test's source file.  Commands
4701 to check line counts are processed by default.  Commands to check
4702 branch percentages and call return percentages are processed if the
4703 `run-gcov' command has arguments `branches' or `calls', respectively.
4704 For example, the following specifies checking both, as well as passing
4705 `-b' to `gcov':
4707      { dg-final { run-gcov branches calls { -b sourcefile } } }
4709  A line count command appears within a comment on the source line that
4710 is expected to get the specified count and has the form `count(CNT)'.
4711 A test should only check line counts for lines that will get the same
4712 count for any architecture.
4714  Commands to check branch percentages (`branch') and call return
4715 percentages (`returns') are very similar to each other.  A beginning
4716 command appears on or before the first of a range of lines that will
4717 report the percentage, and the ending command follows that range of
4718 lines.  The beginning command can include a list of percentages, all of
4719 which are expected to be found within the range.  A range is terminated
4720 by the next command of the same kind.  A command `branch(end)' or
4721 `returns(end)' marks the end of a range without starting a new one.
4722 For example:
4724      if (i > 10 && j > i && j < 20)  /* branch(27 50 75) */
4725                                      /* branch(end) */
4726        foo (i, j);
4728  For a call return percentage, the value specified is the percentage of
4729 calls reported to return.  For a branch percentage, the value is either
4730 the expected percentage or 100 minus that value, since the direction of
4731 a branch can differ depending on the target or the optimization level.
4733  Not all branches and calls need to be checked.  A test should not
4734 check for branches that might be optimized away or replaced with
4735 predicated instructions.  Don't check for calls inserted by the
4736 compiler or ones that might be inlined or optimized away.
4738  A single test can check for combinations of line counts, branch
4739 percentages, and call return percentages.  The command to check a line
4740 count must appear on the line that will report that count, but commands
4741 to check branch percentages and call return percentages can bracket the
4742 lines that report them.
4744 \x1f
4745 File: gccint.info,  Node: profopt Testing,  Next: compat Testing,  Prev: gcov Testing,  Up: Testsuites
4747 6.4.7 Support for testing profile-directed optimizations
4748 --------------------------------------------------------
4750 The file `profopt.exp' provides language-independent support for
4751 checking correct execution of a test built with profile-directed
4752 optimization.  This testing requires that a test program be built and
4753 executed twice.  The first time it is compiled to generate profile
4754 data, and the second time it is compiled to use the data that was
4755 generated during the first execution.  The second execution is to
4756 verify that the test produces the expected results.
4758  To check that the optimization actually generated better code, a test
4759 can be built and run a third time with normal optimizations to verify
4760 that the performance is better with the profile-directed optimizations.
4761 `profopt.exp' has the beginnings of this kind of support.
4763  `profopt.exp' provides generic support for profile-directed
4764 optimizations.  Each set of tests that uses it provides information
4765 about a specific optimization:
4767 `tool'
4768      tool being tested, e.g., `gcc'
4770 `profile_option'
4771      options used to generate profile data
4773 `feedback_option'
4774      options used to optimize using that profile data
4776 `prof_ext'
4777      suffix of profile data files
4779 `PROFOPT_OPTIONS'
4780      list of options with which to run each test, similar to the lists
4781      for torture tests
4783 \x1f
4784 File: gccint.info,  Node: compat Testing,  Next: Torture Tests,  Prev: profopt Testing,  Up: Testsuites
4786 6.4.8 Support for testing binary compatibility
4787 ----------------------------------------------
4789 The file `compat.exp' provides language-independent support for binary
4790 compatibility testing.  It supports testing interoperability of two
4791 compilers that follow the same ABI, or of multiple sets of compiler
4792 options that should not affect binary compatibility.  It is intended to
4793 be used for testsuites that complement ABI testsuites.
4795  A test supported by this framework has three parts, each in a separate
4796 source file: a main program and two pieces that interact with each
4797 other to split up the functionality being tested.
4799 `TESTNAME_main.SUFFIX'
4800      Contains the main program, which calls a function in file
4801      `TESTNAME_x.SUFFIX'.
4803 `TESTNAME_x.SUFFIX'
4804      Contains at least one call to a function in `TESTNAME_y.SUFFIX'.
4806 `TESTNAME_y.SUFFIX'
4807      Shares data with, or gets arguments from, `TESTNAME_x.SUFFIX'.
4809  Within each test, the main program and one functional piece are
4810 compiled by the GCC under test.  The other piece can be compiled by an
4811 alternate compiler.  If no alternate compiler is specified, then all
4812 three source files are all compiled by the GCC under test.  You can
4813 specify pairs of sets of compiler options.  The first element of such a
4814 pair specifies options used with the GCC under test, and the second
4815 element of the pair specifies options used with the alternate compiler.
4816 Each test is compiled with each pair of options.
4818  `compat.exp' defines default pairs of compiler options.  These can be
4819 overridden by defining the environment variable `COMPAT_OPTIONS' as:
4821      COMPAT_OPTIONS="[list [list {TST1} {ALT1}]
4822        ...[list {TSTN} {ALTN}]]"
4824  where TSTI and ALTI are lists of options, with TSTI used by the
4825 compiler under test and ALTI used by the alternate compiler.  For
4826 example, with `[list [list {-g -O0} {-O3}] [list {-fpic} {-fPIC -O2}]]',
4827 the test is first built with `-g -O0' by the compiler under test and
4828 with `-O3' by the alternate compiler.  The test is built a second time
4829 using `-fpic' by the compiler under test and `-fPIC -O2' by the
4830 alternate compiler.
4832  An alternate compiler is specified by defining an environment variable
4833 to be the full pathname of an installed compiler; for C define
4834 `ALT_CC_UNDER_TEST', and for C++ define `ALT_CXX_UNDER_TEST'.  These
4835 will be written to the `site.exp' file used by DejaGnu.  The default is
4836 to build each test with the compiler under test using the first of each
4837 pair of compiler options from `COMPAT_OPTIONS'.  When
4838 `ALT_CC_UNDER_TEST' or `ALT_CXX_UNDER_TEST' is `same', each test is
4839 built using the compiler under test but with combinations of the
4840 options from `COMPAT_OPTIONS'.
4842  To run only the C++ compatibility suite using the compiler under test
4843 and another version of GCC using specific compiler options, do the
4844 following from `OBJDIR/gcc':
4846      rm site.exp
4847      make -k \
4848        ALT_CXX_UNDER_TEST=${alt_prefix}/bin/g++ \
4849        COMPAT_OPTIONS="lists as shown above" \
4850        check-c++ \
4851        RUNTESTFLAGS="compat.exp"
4853  A test that fails when the source files are compiled with different
4854 compilers, but passes when the files are compiled with the same
4855 compiler, demonstrates incompatibility of the generated code or runtime
4856 support.  A test that fails for the alternate compiler but passes for
4857 the compiler under test probably tests for a bug that was fixed in the
4858 compiler under test but is present in the alternate compiler.
4860  The binary compatibility tests support a small number of test framework
4861 commands that appear within comments in a test file.
4863 `dg-require-*'
4864      These commands can be used in `TESTNAME_main.SUFFIX' to skip the
4865      test if specific support is not available on the target.
4867 `dg-options'
4868      The specified options are used for compiling this particular source
4869      file, appended to the options from `COMPAT_OPTIONS'.  When this
4870      command appears in `TESTNAME_main.SUFFIX' the options are also
4871      used to link the test program.
4873 `dg-xfail-if'
4874      This command can be used in a secondary source file to specify that
4875      compilation is expected to fail for particular options on
4876      particular targets.
4878 \x1f
4879 File: gccint.info,  Node: Torture Tests,  Prev: compat Testing,  Up: Testsuites
4881 6.4.9 Support for torture testing using multiple options
4882 --------------------------------------------------------
4884 Throughout the compiler testsuite there are several directories whose
4885 tests are run multiple times, each with a different set of options.
4886 These are known as torture tests.
4887 `gcc/testsuite/lib/torture-options.exp' defines procedures to set up
4888 these lists:
4890 `torture-init'
4891      Initialize use of torture lists.
4893 `set-torture-options'
4894      Set lists of torture options to use for tests with and without
4895      loops.  Optionally combine a set of torture options with a set of
4896      other options, as is done with Objective-C runtime options.
4898 `torture-finish'
4899      Finalize use of torture lists.
4901  The `.exp' file for a set of tests that use torture options must
4902 include calls to these three procecures if:
4904    * It calls `gcc-dg-runtest' and overrides DG_TORTURE_OPTIONS.
4906    * It calls ${TOOL}`-torture' or ${TOOL}`-torture-execute', where
4907      TOOL is `c', `fortran', or `objc'.
4909    * It calls `dg-pch'.
4911  It is not necessary for a `.exp' file that calls `gcc-dg-runtest' to
4912 call the torture procedures if the tests should use the list in
4913 DG_TORTURE_OPTIONS defined in `gcc-dg.exp'.
4915  Most uses of torture options can override the default lists by defining
4916 TORTURE_OPTIONS in a `.dejagnurc' file.
4918 \x1f
4919 File: gccint.info,  Node: Options,  Next: Passes,  Prev: Source Tree,  Up: Top
4921 7 Option specification files
4922 ****************************
4924 Most GCC command-line options are described by special option
4925 definition files, the names of which conventionally end in `.opt'.
4926 This chapter describes the format of these files.
4928 * Menu:
4930 * Option file format::   The general layout of the files
4931 * Option properties::    Supported option properties
4933 \x1f
4934 File: gccint.info,  Node: Option file format,  Next: Option properties,  Up: Options
4936 7.1 Option file format
4937 ======================
4939 Option files are a simple list of records in which each field occupies
4940 its own line and in which the records themselves are separated by blank
4941 lines.  Comments may appear on their own line anywhere within the file
4942 and are preceded by semicolons.  Whitespace is allowed before the
4943 semicolon.
4945  The files can contain the following types of record:
4947    * A language definition record.  These records have two fields: the
4948      string `Language' and the name of the language.  Once a language
4949      has been declared in this way, it can be used as an option
4950      property.  *Note Option properties::.
4952    * An option definition record.  These records have the following
4953      fields:
4955        1. the name of the option, with the leading "-" removed
4957        2. a space-separated list of option properties (*note Option
4958           properties::)
4960        3. the help text to use for `--help' (omitted if the second field
4961           contains the `Undocumented' property).
4963      By default, all options beginning with "f", "W" or "m" are
4964      implicitly assumed to take a "no-" form.  This form should not be
4965      listed separately.  If an option beginning with one of these
4966      letters does not have a "no-" form, you can use the
4967      `RejectNegative' property to reject it.
4969      The help text is automatically line-wrapped before being displayed.
4970      Normally the name of the option is printed on the left-hand side of
4971      the output and the help text is printed on the right.  However, if
4972      the help text contains a tab character, the text to the left of
4973      the tab is used instead of the option's name and the text to the
4974      right of the tab forms the help text.  This allows you to
4975      elaborate on what type of argument the option takes.
4977    * A target mask record.  These records have one field of the form
4978      `Mask(X)'.  The options-processing script will automatically
4979      allocate a bit in `target_flags' (*note Run-time Target::) for
4980      each mask name X and set the macro `MASK_X' to the appropriate
4981      bitmask.  It will also declare a `TARGET_X' macro that has the
4982      value 1 when bit `MASK_X' is set and 0 otherwise.
4984      They are primarily intended to declare target masks that are not
4985      associated with user options, either because these masks represent
4986      internal switches or because the options are not available on all
4987      configurations and yet the masks always need to be defined.
4989 \x1f
4990 File: gccint.info,  Node: Option properties,  Prev: Option file format,  Up: Options
4992 7.2 Option properties
4993 =====================
4995 The second field of an option record can specify the following
4996 properties:
4998 `Common'
4999      The option is available for all languages and targets.
5001 `Target'
5002      The option is available for all languages but is target-specific.
5004 `LANGUAGE'
5005      The option is available when compiling for the given language.
5007      It is possible to specify several different languages for the same
5008      option.  Each LANGUAGE must have been declared by an earlier
5009      `Language' record.  *Note Option file format::.
5011 `RejectNegative'
5012      The option does not have a "no-" form.  All options beginning with
5013      "f", "W" or "m" are assumed to have a "no-" form unless this
5014      property is used.
5016 `Negative(OTHERNAME)'
5017      The option will turn off another option OTHERNAME, which is the
5018      the option name with the leading "-" removed.  This chain action
5019      will propagate through the `Negative' property of the option to be
5020      turned off.
5022 `Joined'
5023 `Separate'
5024      The option takes a mandatory argument.  `Joined' indicates that
5025      the option and argument can be included in the same `argv' entry
5026      (as with `-mflush-func=NAME', for example).  `Separate' indicates
5027      that the option and argument can be separate `argv' entries (as
5028      with `-o').  An option is allowed to have both of these properties.
5030 `JoinedOrMissing'
5031      The option takes an optional argument.  If the argument is given,
5032      it will be part of the same `argv' entry as the option itself.
5034      This property cannot be used alongside `Joined' or `Separate'.
5036 `UInteger'
5037      The option's argument is a non-negative integer.  The option parser
5038      will check and convert the argument before passing it to the
5039      relevant option handler.
5041 `Var(VAR)'
5042      The state of this option should be stored in variable VAR.  The
5043      way that the state is stored depends on the type of option:
5045         * If the option uses the `Mask' or `InverseMask' properties,
5046           VAR is the integer variable that contains the mask.
5048         * If the option is a normal on/off switch, VAR is an integer
5049           variable that is nonzero when the option is enabled.  The
5050           options parser will set the variable to 1 when the positive
5051           form of the option is used and 0 when the "no-" form is used.
5053         * If the option takes an argument and has the `UInteger'
5054           property, VAR is an integer variable that stores the value of
5055           the argument.
5057         * Otherwise, if the option takes an argument, VAR is a pointer
5058           to the argument string.  The pointer will be null if the
5059           argument is optional and wasn't given.
5061      The option-processing script will usually declare VAR in
5062      `options.c' and leave it to be zero-initialized at start-up time.
5063      You can modify this behavior using `VarExists' and `Init'.
5065 `Var(VAR, SET)'
5066      The option controls an integer variable VAR and is active when VAR
5067      equals SET.  The option parser will set VAR to SET when the
5068      positive form of the option is used and `!SET' when the "no-" form
5069      is used.
5071      VAR is declared in the same way as for the single-argument form
5072      described above.
5074 `VarExists'
5075      The variable specified by the `Var' property already exists.  No
5076      definition should be added to `options.c' in response to this
5077      option record.
5079      You should use this property only if the variable is declared
5080      outside `options.c'.
5082 `Init(VALUE)'
5083      The variable specified by the `Var' property should be statically
5084      initialized to VALUE.
5086 `Mask(NAME)'
5087      The option is associated with a bit in the `target_flags' variable
5088      (*note Run-time Target::) and is active when that bit is set.  You
5089      may also specify `Var' to select a variable other than
5090      `target_flags'.
5092      The options-processing script will automatically allocate a unique
5093      bit for the option.  If the option is attached to `target_flags',
5094      the script will set the macro `MASK_NAME' to the appropriate
5095      bitmask.  It will also declare a `TARGET_NAME' macro that has the
5096      value 1 when the option is active and 0 otherwise.  If you use
5097      `Var' to attach the option to a different variable, the associated
5098      macros are called `OPTION_MASK_NAME' and `OPTION_NAME'
5099      respectively.
5101      You can disable automatic bit allocation using `MaskExists'.
5103 `InverseMask(OTHERNAME)'
5104 `InverseMask(OTHERNAME, THISNAME)'
5105      The option is the inverse of another option that has the
5106      `Mask(OTHERNAME)' property.  If THISNAME is given, the
5107      options-processing script will declare a `TARGET_THISNAME' macro
5108      that is 1 when the option is active and 0 otherwise.
5110 `MaskExists'
5111      The mask specified by the `Mask' property already exists.  No
5112      `MASK' or `TARGET' definitions should be added to `options.h' in
5113      response to this option record.
5115      The main purpose of this property is to support synonymous options.
5116      The first option should use `Mask(NAME)' and the others should use
5117      `Mask(NAME) MaskExists'.
5119 `Report'
5120      The state of the option should be printed by `-fverbose-asm'.
5122 `Undocumented'
5123      The option is deliberately missing documentation and should not be
5124      included in the `--help' output.
5126 `Condition(COND)'
5127      The option should only be accepted if preprocessor condition COND
5128      is true.  Note that any C declarations associated with the option
5129      will be present even if COND is false; COND simply controls
5130      whether the option is accepted and whether it is printed in the
5131      `--help' output.
5133 \x1f
5134 File: gccint.info,  Node: Passes,  Next: Trees,  Prev: Options,  Up: Top
5136 8 Passes and Files of the Compiler
5137 **********************************
5139 This chapter is dedicated to giving an overview of the optimization and
5140 code generation passes of the compiler.  In the process, it describes
5141 some of the language front end interface, though this description is no
5142 where near complete.
5144 * Menu:
5146 * Parsing pass::         The language front end turns text into bits.
5147 * Gimplification pass::  The bits are turned into something we can optimize.
5148 * Pass manager::         Sequencing the optimization passes.
5149 * Tree-SSA passes::      Optimizations on a high-level representation.
5150 * RTL passes::           Optimizations on a low-level representation.
5152 \x1f
5153 File: gccint.info,  Node: Parsing pass,  Next: Gimplification pass,  Up: Passes
5155 8.1 Parsing pass
5156 ================
5158 The language front end is invoked only once, via
5159 `lang_hooks.parse_file', to parse the entire input.  The language front
5160 end may use any intermediate language representation deemed
5161 appropriate.  The C front end uses GENERIC trees (CROSSREF), plus a
5162 double handful of language specific tree codes defined in
5163 `c-common.def'.  The Fortran front end uses a completely different
5164 private representation.
5166  At some point the front end must translate the representation used in
5167 the front end to a representation understood by the language-independent
5168 portions of the compiler.  Current practice takes one of two forms.
5169 The C front end manually invokes the gimplifier (CROSSREF) on each
5170 function, and uses the gimplifier callbacks to convert the
5171 language-specific tree nodes directly to GIMPLE (CROSSREF) before
5172 passing the function off to be compiled.  The Fortran front end
5173 converts from a private representation to GENERIC, which is later
5174 lowered to GIMPLE when the function is compiled.  Which route to choose
5175 probably depends on how well GENERIC (plus extensions) can be made to
5176 match up with the source language and necessary parsing data structures.
5178  BUG: Gimplification must occur before nested function lowering, and
5179 nested function lowering must be done by the front end before passing
5180 the data off to cgraph.
5182  TODO: Cgraph should control nested function lowering.  It would only
5183 be invoked when it is certain that the outer-most function is used.
5185  TODO: Cgraph needs a gimplify_function callback.  It should be invoked
5186 when (1) it is certain that the function is used, (2) warning flags
5187 specified by the user require some amount of compilation in order to
5188 honor, (3) the language indicates that semantic analysis is not
5189 complete until gimplification occurs.  Hum... this sounds overly
5190 complicated.  Perhaps we should just have the front end gimplify
5191 always; in most cases it's only one function call.
5193  The front end needs to pass all function definitions and top level
5194 declarations off to the middle-end so that they can be compiled and
5195 emitted to the object file.  For a simple procedural language, it is
5196 usually most convenient to do this as each top level declaration or
5197 definition is seen.  There is also a distinction to be made between
5198 generating functional code and generating complete debug information.
5199 The only thing that is absolutely required for functional code is that
5200 function and data _definitions_ be passed to the middle-end.  For
5201 complete debug information, function, data and type declarations should
5202 all be passed as well.
5204  In any case, the front end needs each complete top-level function or
5205 data declaration, and each data definition should be passed to
5206 `rest_of_decl_compilation'.  Each complete type definition should be
5207 passed to `rest_of_type_compilation'.  Each function definition should
5208 be passed to `cgraph_finalize_function'.
5210  TODO: I know rest_of_compilation currently has all sorts of
5211 rtl-generation semantics.  I plan to move all code generation bits
5212 (both tree and rtl) to compile_function.  Should we hide cgraph from
5213 the front ends and move back to rest_of_compilation as the official
5214 interface?  Possibly we should rename all three interfaces such that
5215 the names match in some meaningful way and that is more descriptive
5216 than "rest_of".
5218  The middle-end will, at its option, emit the function and data
5219 definitions immediately or queue them for later processing.
5221 \x1f
5222 File: gccint.info,  Node: Gimplification pass,  Next: Pass manager,  Prev: Parsing pass,  Up: Passes
5224 8.2 Gimplification pass
5225 =======================
5227 "Gimplification" is a whimsical term for the process of converting the
5228 intermediate representation of a function into the GIMPLE language
5229 (CROSSREF).  The term stuck, and so words like "gimplification",
5230 "gimplify", "gimplifier" and the like are sprinkled throughout this
5231 section of code.
5233  While a front end may certainly choose to generate GIMPLE directly if
5234 it chooses, this can be a moderately complex process unless the
5235 intermediate language used by the front end is already fairly simple.
5236 Usually it is easier to generate GENERIC trees plus extensions and let
5237 the language-independent gimplifier do most of the work.
5239  The main entry point to this pass is `gimplify_function_tree' located
5240 in `gimplify.c'.  From here we process the entire function gimplifying
5241 each statement in turn.  The main workhorse for this pass is
5242 `gimplify_expr'.  Approximately everything passes through here at least
5243 once, and it is from here that we invoke the `lang_hooks.gimplify_expr'
5244 callback.
5246  The callback should examine the expression in question and return
5247 `GS_UNHANDLED' if the expression is not a language specific construct
5248 that requires attention.  Otherwise it should alter the expression in
5249 some way to such that forward progress is made toward producing valid
5250 GIMPLE.  If the callback is certain that the transformation is complete
5251 and the expression is valid GIMPLE, it should return `GS_ALL_DONE'.
5252 Otherwise it should return `GS_OK', which will cause the expression to
5253 be processed again.  If the callback encounters an error during the
5254 transformation (because the front end is relying on the gimplification
5255 process to finish semantic checks), it should return `GS_ERROR'.
5257 \x1f
5258 File: gccint.info,  Node: Pass manager,  Next: Tree-SSA passes,  Prev: Gimplification pass,  Up: Passes
5260 8.3 Pass manager
5261 ================
5263 The pass manager is located in `passes.c', `tree-optimize.c' and
5264 `tree-pass.h'.  Its job is to run all of the individual passes in the
5265 correct order, and take care of standard bookkeeping that applies to
5266 every pass.
5268  The theory of operation is that each pass defines a structure that
5269 represents everything we need to know about that pass--when it should
5270 be run, how it should be run, what intermediate language form or
5271 on-the-side data structures it needs.  We register the pass to be run
5272 in some particular order, and the pass manager arranges for everything
5273 to happen in the correct order.
5275  The actuality doesn't completely live up to the theory at present.
5276 Command-line switches and `timevar_id_t' enumerations must still be
5277 defined elsewhere.  The pass manager validates constraints but does not
5278 attempt to (re-)generate data structures or lower intermediate language
5279 form based on the requirements of the next pass.  Nevertheless, what is
5280 present is useful, and a far sight better than nothing at all.
5282  TODO: describe the global variables set up by the pass manager, and a
5283 brief description of how a new pass should use it.  I need to look at
5284 what info rtl passes use first....
5286 \x1f
5287 File: gccint.info,  Node: Tree-SSA passes,  Next: RTL passes,  Prev: Pass manager,  Up: Passes
5289 8.4 Tree-SSA passes
5290 ===================
5292 The following briefly describes the tree optimization passes that are
5293 run after gimplification and what source files they are located in.
5295    * Remove useless statements
5297      This pass is an extremely simple sweep across the gimple code in
5298      which we identify obviously dead code and remove it.  Here we do
5299      things like simplify `if' statements with constant conditions,
5300      remove exception handling constructs surrounding code that
5301      obviously cannot throw, remove lexical bindings that contain no
5302      variables, and other assorted simplistic cleanups.  The idea is to
5303      get rid of the obvious stuff quickly rather than wait until later
5304      when it's more work to get rid of it.  This pass is located in
5305      `tree-cfg.c' and described by `pass_remove_useless_stmts'.
5307    * Mudflap declaration registration
5309      If mudflap (*note -fmudflap -fmudflapth -fmudflapir: (gcc)Optimize
5310      Options.) is enabled, we generate code to register some variable
5311      declarations with the mudflap runtime.  Specifically, the runtime
5312      tracks the lifetimes of those variable declarations that have
5313      their addresses taken, or whose bounds are unknown at compile time
5314      (`extern').  This pass generates new exception handling constructs
5315      (`try'/`finally'), and so must run before those are lowered.  In
5316      addition, the pass enqueues declarations of static variables whose
5317      lifetimes extend to the entire program.  The pass is located in
5318      `tree-mudflap.c' and is described by `pass_mudflap_1'.
5320    * OpenMP lowering
5322      If OpenMP generation (`-fopenmp') is enabled, this pass lowers
5323      OpenMP constructs into GIMPLE.
5325      Lowering of OpenMP constructs involves creating replacement
5326      expressions for local variables that have been mapped using data
5327      sharing clauses, exposing the control flow of most synchronization
5328      directives and adding region markers to facilitate the creation of
5329      the control flow graph.  The pass is located in `omp-low.c' and is
5330      described by `pass_lower_omp'.
5332    * OpenMP expansion
5334      If OpenMP generation (`-fopenmp') is enabled, this pass expands
5335      parallel regions into their own functions to be invoked by the
5336      thread library.  The pass is located in `omp-low.c' and is
5337      described by `pass_expand_omp'.
5339    * Lower control flow
5341      This pass flattens `if' statements (`COND_EXPR') and moves lexical
5342      bindings (`BIND_EXPR') out of line.  After this pass, all `if'
5343      statements will have exactly two `goto' statements in its `then'
5344      and `else' arms.  Lexical binding information for each statement
5345      will be found in `TREE_BLOCK' rather than being inferred from its
5346      position under a `BIND_EXPR'.  This pass is found in
5347      `gimple-low.c' and is described by `pass_lower_cf'.
5349    * Lower exception handling control flow
5351      This pass decomposes high-level exception handling constructs
5352      (`TRY_FINALLY_EXPR' and `TRY_CATCH_EXPR') into a form that
5353      explicitly represents the control flow involved.  After this pass,
5354      `lookup_stmt_eh_region' will return a non-negative number for any
5355      statement that may have EH control flow semantics; examine
5356      `tree_can_throw_internal' or `tree_can_throw_external' for exact
5357      semantics.  Exact control flow may be extracted from
5358      `foreach_reachable_handler'.  The EH region nesting tree is defined
5359      in `except.h' and built in `except.c'.  The lowering pass itself
5360      is in `tree-eh.c' and is described by `pass_lower_eh'.
5362    * Build the control flow graph
5364      This pass decomposes a function into basic blocks and creates all
5365      of the edges that connect them.  It is located in `tree-cfg.c' and
5366      is described by `pass_build_cfg'.
5368    * Find all referenced variables
5370      This pass walks the entire function and collects an array of all
5371      variables referenced in the function, `referenced_vars'.  The
5372      index at which a variable is found in the array is used as a UID
5373      for the variable within this function.  This data is needed by the
5374      SSA rewriting routines.  The pass is located in `tree-dfa.c' and
5375      is described by `pass_referenced_vars'.
5377    * Enter static single assignment form
5379      This pass rewrites the function such that it is in SSA form.  After
5380      this pass, all `is_gimple_reg' variables will be referenced by
5381      `SSA_NAME', and all occurrences of other variables will be
5382      annotated with `VDEFS' and `VUSES'; PHI nodes will have been
5383      inserted as necessary for each basic block.  This pass is located
5384      in `tree-ssa.c' and is described by `pass_build_ssa'.
5386    * Warn for uninitialized variables
5388      This pass scans the function for uses of `SSA_NAME's that are fed
5389      by default definition.  For non-parameter variables, such uses are
5390      uninitialized.  The pass is run twice, before and after
5391      optimization.  In the first pass we only warn for uses that are
5392      positively uninitialized; in the second pass we warn for uses that
5393      are possibly uninitialized.  The pass is located in `tree-ssa.c'
5394      and is defined by `pass_early_warn_uninitialized' and
5395      `pass_late_warn_uninitialized'.
5397    * Dead code elimination
5399      This pass scans the function for statements without side effects
5400      whose result is unused.  It does not do memory life analysis, so
5401      any value that is stored in memory is considered used.  The pass
5402      is run multiple times throughout the optimization process.  It is
5403      located in `tree-ssa-dce.c' and is described by `pass_dce'.
5405    * Dominator optimizations
5407      This pass performs trivial dominator-based copy and constant
5408      propagation, expression simplification, and jump threading.  It is
5409      run multiple times throughout the optimization process.  It it
5410      located in `tree-ssa-dom.c' and is described by `pass_dominator'.
5412    * Forward propagation of single-use variables
5414      This pass attempts to remove redundant computation by substituting
5415      variables that are used once into the expression that uses them and
5416      seeing if the result can be simplified.  It is located in
5417      `tree-ssa-forwprop.c' and is described by `pass_forwprop'.
5419    * Copy Renaming
5421      This pass attempts to change the name of compiler temporaries
5422      involved in copy operations such that SSA->normal can coalesce the
5423      copy away.  When compiler temporaries are copies of user
5424      variables, it also renames the compiler temporary to the user
5425      variable resulting in better use of user symbols.  It is located
5426      in `tree-ssa-copyrename.c' and is described by `pass_copyrename'.
5428    * PHI node optimizations
5430      This pass recognizes forms of PHI inputs that can be represented as
5431      conditional expressions and rewrites them into straight line code.
5432      It is located in `tree-ssa-phiopt.c' and is described by
5433      `pass_phiopt'.
5435    * May-alias optimization
5437      This pass performs a flow sensitive SSA-based points-to analysis.
5438      The resulting may-alias, must-alias, and escape analysis
5439      information is used to promote variables from in-memory
5440      addressable objects to non-aliased variables that can be renamed
5441      into SSA form.  We also update the `VDEF'/`VUSE' memory tags for
5442      non-renameable aggregates so that we get fewer false kills.  The
5443      pass is located in `tree-ssa-alias.c' and is described by
5444      `pass_may_alias'.
5446      Interprocedural points-to information is located in
5447      `tree-ssa-structalias.c' and described by `pass_ipa_pta'.
5449    * Profiling
5451      This pass rewrites the function in order to collect runtime block
5452      and value profiling data.  Such data may be fed back into the
5453      compiler on a subsequent run so as to allow optimization based on
5454      expected execution frequencies.  The pass is located in
5455      `predict.c' and is described by `pass_profile'.
5457    * Lower complex arithmetic
5459      This pass rewrites complex arithmetic operations into their
5460      component scalar arithmetic operations.  The pass is located in
5461      `tree-complex.c' and is described by `pass_lower_complex'.
5463    * Scalar replacement of aggregates
5465      This pass rewrites suitable non-aliased local aggregate variables
5466      into a set of scalar variables.  The resulting scalar variables are
5467      rewritten into SSA form, which allows subsequent optimization
5468      passes to do a significantly better job with them.  The pass is
5469      located in `tree-sra.c' and is described by `pass_sra'.
5471    * Dead store elimination
5473      This pass eliminates stores to memory that are subsequently
5474      overwritten by another store, without any intervening loads.  The
5475      pass is located in `tree-ssa-dse.c' and is described by `pass_dse'.
5477    * Tail recursion elimination
5479      This pass transforms tail recursion into a loop.  It is located in
5480      `tree-tailcall.c' and is described by `pass_tail_recursion'.
5482    * Forward store motion
5484      This pass sinks stores and assignments down the flowgraph closer
5485      to their use point.  The pass is located in `tree-ssa-sink.c' and
5486      is described by `pass_sink_code'.
5488    * Partial redundancy elimination
5490      This pass eliminates partially redundant computations, as well as
5491      performing load motion.  The pass is located in `tree-ssa-pre.c'
5492      and is described by `pass_pre'.
5494      Just before partial redundancy elimination, if
5495      `-funsafe-math-optimizations' is on, GCC tries to convert
5496      divisions to multiplications by the reciprocal.  The pass is
5497      located in `tree-ssa-math-opts.c' and is described by
5498      `pass_cse_reciprocal'.
5500    * Full redundancy elimination
5502      This is a simpler form of PRE that only eliminates redundancies
5503      that occur an all paths.  It is located in `tree-ssa-pre.c' and
5504      described by `pass_fre'.
5506    * Loop optimization
5508      The main driver of the pass is placed in `tree-ssa-loop.c' and
5509      described by `pass_loop'.
5511      The optimizations performed by this pass are:
5513      Loop invariant motion.  This pass moves only invariants that would
5514      be hard to handle on rtl level (function calls, operations that
5515      expand to nontrivial sequences of insns).  With `-funswitch-loops'
5516      it also moves operands of conditions that are invariant out of the
5517      loop, so that we can use just trivial invariantness analysis in
5518      loop unswitching.  The pass also includes store motion.  The pass
5519      is implemented in `tree-ssa-loop-im.c'.
5521      Canonical induction variable creation.  This pass creates a simple
5522      counter for number of iterations of the loop and replaces the exit
5523      condition of the loop using it, in case when a complicated
5524      analysis is necessary to determine the number of iterations.
5525      Later optimizations then may determine the number easily.  The
5526      pass is implemented in `tree-ssa-loop-ivcanon.c'.
5528      Induction variable optimizations.  This pass performs standard
5529      induction variable optimizations, including strength reduction,
5530      induction variable merging and induction variable elimination.
5531      The pass is implemented in `tree-ssa-loop-ivopts.c'.
5533      Loop unswitching.  This pass moves the conditional jumps that are
5534      invariant out of the loops.  To achieve this, a duplicate of the
5535      loop is created for each possible outcome of conditional jump(s).
5536      The pass is implemented in `tree-ssa-loop-unswitch.c'.  This pass
5537      should eventually replace the rtl-level loop unswitching in
5538      `loop-unswitch.c', but currently the rtl-level pass is not
5539      completely redundant yet due to deficiencies in tree level alias
5540      analysis.
5542      The optimizations also use various utility functions contained in
5543      `tree-ssa-loop-manip.c', `cfgloop.c', `cfgloopanal.c' and
5544      `cfgloopmanip.c'.
5546      Vectorization.  This pass transforms loops to operate on vector
5547      types instead of scalar types.  Data parallelism across loop
5548      iterations is exploited to group data elements from consecutive
5549      iterations into a vector and operate on them in parallel.
5550      Depending on available target support the loop is conceptually
5551      unrolled by a factor `VF' (vectorization factor), which is the
5552      number of elements operated upon in parallel in each iteration,
5553      and the `VF' copies of each scalar operation are fused to form a
5554      vector operation.  Additional loop transformations such as peeling
5555      and versioning may take place to align the number of iterations,
5556      and to align the memory accesses in the loop.  The pass is
5557      implemented in `tree-vectorizer.c' (the main driver and general
5558      utilities), `tree-vect-analyze.c' and `tree-vect-transform.c'.
5559      Analysis of data references is in `tree-data-ref.c'.
5561      Autoparallelization.  This pass splits the loop iteration space to
5562      run into several threads.  The pass is implemented in
5563      `tree-parloops.c'.
5565    * Tree level if-conversion for vectorizer
5567      This pass applies if-conversion to simple loops to help vectorizer.
5568      We identify if convertible loops, if-convert statements and merge
5569      basic blocks in one big block.  The idea is to present loop in such
5570      form so that vectorizer can have one to one mapping between
5571      statements and available vector operations.  This patch
5572      re-introduces COND_EXPR at GIMPLE level.  This pass is located in
5573      `tree-if-conv.c' and is described by `pass_if_conversion'.
5575    * Conditional constant propagation
5577      This pass relaxes a lattice of values in order to identify those
5578      that must be constant even in the presence of conditional branches.
5579      The pass is located in `tree-ssa-ccp.c' and is described by
5580      `pass_ccp'.
5582      A related pass that works on memory loads and stores, and not just
5583      register values, is located in `tree-ssa-ccp.c' and described by
5584      `pass_store_ccp'.
5586    * Conditional copy propagation
5588      This is similar to constant propagation but the lattice of values
5589      is the "copy-of" relation.  It eliminates redundant copies from the
5590      code.  The pass is located in `tree-ssa-copy.c' and described by
5591      `pass_copy_prop'.
5593      A related pass that works on memory copies, and not just register
5594      copies, is located in `tree-ssa-copy.c' and described by
5595      `pass_store_copy_prop'.
5597    * Value range propagation
5599      This transformation is similar to constant propagation but instead
5600      of propagating single constant values, it propagates known value
5601      ranges.  The implementation is based on Patterson's range
5602      propagation algorithm (Accurate Static Branch Prediction by Value
5603      Range Propagation, J. R. C. Patterson, PLDI '95).  In contrast to
5604      Patterson's algorithm, this implementation does not propagate
5605      branch probabilities nor it uses more than a single range per SSA
5606      name. This means that the current implementation cannot be used
5607      for branch prediction (though adapting it would not be difficult).
5608      The pass is located in `tree-vrp.c' and is described by
5609      `pass_vrp'.
5611    * Folding built-in functions
5613      This pass simplifies built-in functions, as applicable, with
5614      constant arguments or with inferable string lengths.  It is
5615      located in `tree-ssa-ccp.c' and is described by
5616      `pass_fold_builtins'.
5618    * Split critical edges
5620      This pass identifies critical edges and inserts empty basic blocks
5621      such that the edge is no longer critical.  The pass is located in
5622      `tree-cfg.c' and is described by `pass_split_crit_edges'.
5624    * Control dependence dead code elimination
5626      This pass is a stronger form of dead code elimination that can
5627      eliminate unnecessary control flow statements.   It is located in
5628      `tree-ssa-dce.c' and is described by `pass_cd_dce'.
5630    * Tail call elimination
5632      This pass identifies function calls that may be rewritten into
5633      jumps.  No code transformation is actually applied here, but the
5634      data and control flow problem is solved.  The code transformation
5635      requires target support, and so is delayed until RTL.  In the
5636      meantime `CALL_EXPR_TAILCALL' is set indicating the possibility.
5637      The pass is located in `tree-tailcall.c' and is described by
5638      `pass_tail_calls'.  The RTL transformation is handled by
5639      `fixup_tail_calls' in `calls.c'.
5641    * Warn for function return without value
5643      For non-void functions, this pass locates return statements that do
5644      not specify a value and issues a warning.  Such a statement may
5645      have been injected by falling off the end of the function.  This
5646      pass is run last so that we have as much time as possible to prove
5647      that the statement is not reachable.  It is located in
5648      `tree-cfg.c' and is described by `pass_warn_function_return'.
5650    * Mudflap statement annotation
5652      If mudflap is enabled, we rewrite some memory accesses with code to
5653      validate that the memory access is correct.  In particular,
5654      expressions involving pointer dereferences (`INDIRECT_REF',
5655      `ARRAY_REF', etc.) are replaced by code that checks the selected
5656      address range against the mudflap runtime's database of valid
5657      regions.  This check includes an inline lookup into a
5658      direct-mapped cache, based on shift/mask operations of the pointer
5659      value, with a fallback function call into the runtime.  The pass
5660      is located in `tree-mudflap.c' and is described by
5661      `pass_mudflap_2'.
5663    * Leave static single assignment form
5665      This pass rewrites the function such that it is in normal form.  At
5666      the same time, we eliminate as many single-use temporaries as
5667      possible, so the intermediate language is no longer GIMPLE, but
5668      GENERIC.  The pass is located in `tree-outof-ssa.c' and is
5669      described by `pass_del_ssa'.
5671    * Merge PHI nodes that feed into one another
5673      This is part of the CFG cleanup passes.  It attempts to join PHI
5674      nodes from a forwarder CFG block into another block with PHI
5675      nodes.  The pass is located in `tree-cfgcleanup.c' and is
5676      described by `pass_merge_phi'.
5678    * Return value optimization
5680      If a function always returns the same local variable, and that
5681      local variable is an aggregate type, then the variable is replaced
5682      with the return value for the function (i.e., the function's
5683      DECL_RESULT).  This is equivalent to the C++ named return value
5684      optimization applied to GIMPLE.  The pass is located in
5685      `tree-nrv.c' and is described by `pass_nrv'.
5687    * Return slot optimization
5689      If a function returns a memory object and is called as `var =
5690      foo()', this pass tries to change the call so that the address of
5691      `var' is sent to the caller to avoid an extra memory copy.  This
5692      pass is located in `tree-nrv.c' and is described by
5693      `pass_return_slot'.
5695    * Optimize calls to `__builtin_object_size'
5697      This is a propagation pass similar to CCP that tries to remove
5698      calls to `__builtin_object_size' when the size of the object can be
5699      computed at compile-time.  This pass is located in
5700      `tree-object-size.c' and is described by `pass_object_sizes'.
5702    * Loop invariant motion
5704      This pass removes expensive loop-invariant computations out of
5705      loops.  The pass is located in `tree-ssa-loop.c' and described by
5706      `pass_lim'.
5708    * Loop nest optimizations
5710      This is a family of loop transformations that works on loop nests.
5711      It includes loop interchange, scaling, skewing and reversal and
5712      they are all geared to the optimization of data locality in array
5713      traversals and the removal of dependencies that hamper
5714      optimizations such as loop parallelization and vectorization.  The
5715      pass is located in `tree-loop-linear.c' and described by
5716      `pass_linear_transform'.
5718    * Removal of empty loops
5720      This pass removes loops with no code in them.  The pass is located
5721      in `tree-ssa-loop-ivcanon.c' and described by `pass_empty_loop'.
5723    * Unrolling of small loops
5725      This pass completely unrolls loops with few iterations.  The pass
5726      is located in `tree-ssa-loop-ivcanon.c' and described by
5727      `pass_complete_unroll'.
5729    * Predictive commoning
5731      This pass makes the code reuse the computations from the previous
5732      iterations of the loops, especially loads and stores to memory.
5733      It does so by storing the values of these computations to a bank
5734      of temporary variables that are rotated at the end of loop.  To
5735      avoid the need for this rotation, the loop is then unrolled and
5736      the copies of the loop body are rewritten to use the appropriate
5737      version of the temporary variable.  This pass is located in
5738      `tree-predcom.c' and described by `pass_predcom'.
5740    * Array prefetching
5742      This pass issues prefetch instructions for array references inside
5743      loops.  The pass is located in `tree-ssa-loop-prefetch.c' and
5744      described by `pass_loop_prefetch'.
5746    * Reassociation
5748      This pass rewrites arithmetic expressions to enable optimizations
5749      that operate on them, like redundancy elimination and
5750      vectorization.  The pass is located in `tree-ssa-reassoc.c' and
5751      described by `pass_reassoc'.
5753    * Optimization of `stdarg' functions
5755      This pass tries to avoid the saving of register arguments into the
5756      stack on entry to `stdarg' functions.  If the function doesn't use
5757      any `va_start' macros, no registers need to be saved.  If
5758      `va_start' macros are used, the `va_list' variables don't escape
5759      the function, it is only necessary to save registers that will be
5760      used in `va_arg' macros.  For instance, if `va_arg' is only used
5761      with integral types in the function, floating point registers
5762      don't need to be saved.  This pass is located in `tree-stdarg.c'
5763      and described by `pass_stdarg'.
5766 \x1f
5767 File: gccint.info,  Node: RTL passes,  Prev: Tree-SSA passes,  Up: Passes
5769 8.5 RTL passes
5770 ==============
5772 The following briefly describes the rtl generation and optimization
5773 passes that are run after tree optimization.
5775    * RTL generation
5777      The source files for RTL generation include `stmt.c', `calls.c',
5778      `expr.c', `explow.c', `expmed.c', `function.c', `optabs.c' and
5779      `emit-rtl.c'.  Also, the file `insn-emit.c', generated from the
5780      machine description by the program `genemit', is used in this
5781      pass.  The header file `expr.h' is used for communication within
5782      this pass.
5784      The header files `insn-flags.h' and `insn-codes.h', generated from
5785      the machine description by the programs `genflags' and `gencodes',
5786      tell this pass which standard names are available for use and
5787      which patterns correspond to them.
5789    * Generate exception handling landing pads
5791      This pass generates the glue that handles communication between the
5792      exception handling library routines and the exception handlers
5793      within the function.  Entry points in the function that are
5794      invoked by the exception handling library are called "landing
5795      pads".  The code for this pass is located within `except.c'.
5797    * Cleanup control flow graph
5799      This pass removes unreachable code, simplifies jumps to next,
5800      jumps to jump, jumps across jumps, etc.  The pass is run multiple
5801      times.  For historical reasons, it is occasionally referred to as
5802      the "jump optimization pass".  The bulk of the code for this pass
5803      is in `cfgcleanup.c', and there are support routines in `cfgrtl.c'
5804      and `jump.c'.
5806    * Forward propagation of single-def values
5808      This pass attempts to remove redundant computation by substituting
5809      variables that come from a single definition, and seeing if the
5810      result can be simplified.  It performs copy propagation and
5811      addressing mode selection.  The pass is run twice, with values
5812      being propagated into loops only on the second run.  It is located
5813      in `fwprop.c'.
5815    * Common subexpression elimination
5817      This pass removes redundant computation within basic blocks, and
5818      optimizes addressing modes based on cost.  The pass is run twice.
5819      The source is located in `cse.c'.
5821    * Global common subexpression elimination.
5823      This pass performs two different types of GCSE  depending on
5824      whether you are optimizing for size or not (LCM based GCSE tends
5825      to increase code size for a gain in speed, while Morel-Renvoise
5826      based GCSE does not).  When optimizing for size, GCSE is done
5827      using Morel-Renvoise Partial Redundancy Elimination, with the
5828      exception that it does not try to move invariants out of
5829      loops--that is left to  the loop optimization pass.  If MR PRE
5830      GCSE is done, code hoisting (aka unification) is also done, as
5831      well as load motion.  If you are optimizing for speed, LCM (lazy
5832      code motion) based GCSE is done.  LCM is based on the work of
5833      Knoop, Ruthing, and Steffen.  LCM based GCSE also does loop
5834      invariant code motion.  We also perform load and store motion when
5835      optimizing for speed.  Regardless of which type of GCSE is used,
5836      the GCSE pass also performs global constant and  copy propagation.
5837      The source file for this pass is `gcse.c', and the LCM routines
5838      are in `lcm.c'.
5840    * Loop optimization
5842      This pass performs several loop related optimizations.  The source
5843      files `cfgloopanal.c' and `cfgloopmanip.c' contain generic loop
5844      analysis and manipulation code.  Initialization and finalization
5845      of loop structures is handled by `loop-init.c'.  A loop invariant
5846      motion pass is implemented in `loop-invariant.c'.  Basic block
5847      level optimizations--unrolling, peeling and unswitching loops--
5848      are implemented in `loop-unswitch.c' and `loop-unroll.c'.
5849      Replacing of the exit condition of loops by special
5850      machine-dependent instructions is handled by `loop-doloop.c'.
5852    * Jump bypassing
5854      This pass is an aggressive form of GCSE that transforms the control
5855      flow graph of a function by propagating constants into conditional
5856      branch instructions.  The source file for this pass is `gcse.c'.
5858    * If conversion
5860      This pass attempts to replace conditional branches and surrounding
5861      assignments with arithmetic, boolean value producing comparison
5862      instructions, and conditional move instructions.  In the very last
5863      invocation after reload, it will generate predicated instructions
5864      when supported by the target.  The pass is located in `ifcvt.c'.
5866    * Web construction
5868      This pass splits independent uses of each pseudo-register.  This
5869      can improve effect of the other transformation, such as CSE or
5870      register allocation.  Its source files are `web.c'.
5872    * Life analysis
5874      This pass computes which pseudo-registers are live at each point in
5875      the program, and makes the first instruction that uses a value
5876      point at the instruction that computed the value.  It then deletes
5877      computations whose results are never used, and combines memory
5878      references with add or subtract instructions to make autoincrement
5879      or autodecrement addressing.  The pass is located in `flow.c'.
5881    * Instruction combination
5883      This pass attempts to combine groups of two or three instructions
5884      that are related by data flow into single instructions.  It
5885      combines the RTL expressions for the instructions by substitution,
5886      simplifies the result using algebra, and then attempts to match
5887      the result against the machine description.  The pass is located
5888      in `combine.c'.
5890    * Register movement
5892      This pass looks for cases where matching constraints would force an
5893      instruction to need a reload, and this reload would be a
5894      register-to-register move.  It then attempts to change the
5895      registers used by the instruction to avoid the move instruction.
5896      The pass is located in `regmove.c'.
5898    * Optimize mode switching
5900      This pass looks for instructions that require the processor to be
5901      in a specific "mode" and minimizes the number of mode changes
5902      required to satisfy all users.  What these modes are, and what
5903      they apply to are completely target-specific.  The source is
5904      located in `mode-switching.c'.
5906    * Modulo scheduling
5908      This pass looks at innermost loops and reorders their instructions
5909      by overlapping different iterations.  Modulo scheduling is
5910      performed immediately before instruction scheduling.  The pass is
5911      located in (`modulo-sched.c').
5913    * Instruction scheduling
5915      This pass looks for instructions whose output will not be
5916      available by the time that it is used in subsequent instructions.
5917      Memory loads and floating point instructions often have this
5918      behavior on RISC machines.  It re-orders instructions within a
5919      basic block to try to separate the definition and use of items
5920      that otherwise would cause pipeline stalls.  This pass is
5921      performed twice, before and after register allocation.  The pass
5922      is located in `haifa-sched.c', `sched-deps.c', `sched-ebb.c',
5923      `sched-rgn.c' and `sched-vis.c'.
5925    * Register allocation
5927      These passes make sure that all occurrences of pseudo registers are
5928      eliminated, either by allocating them to a hard register, replacing
5929      them by an equivalent expression (e.g. a constant) or by placing
5930      them on the stack.  This is done in several subpasses:
5932         * Register class preferencing.  The RTL code is scanned to find
5933           out which register class is best for each pseudo register.
5934           The source file is `regclass.c'.
5936         * Local register allocation.  This pass allocates hard
5937           registers to pseudo registers that are used only within one
5938           basic block.  Because the basic block is linear, it can use
5939           fast and powerful techniques to do a decent job.  The source
5940           is located in `local-alloc.c'.
5942         * Global register allocation.  This pass allocates hard
5943           registers for the remaining pseudo registers (those whose
5944           life spans are not contained in one basic block).  The pass
5945           is located in `global.c'.
5947         * Reloading.  This pass renumbers pseudo registers with the
5948           hardware registers numbers they were allocated.  Pseudo
5949           registers that did not get hard registers are replaced with
5950           stack slots.  Then it finds instructions that are invalid
5951           because a value has failed to end up in a register, or has
5952           ended up in a register of the wrong kind.  It fixes up these
5953           instructions by reloading the problematical values
5954           temporarily into registers.  Additional instructions are
5955           generated to do the copying.
5957           The reload pass also optionally eliminates the frame pointer
5958           and inserts instructions to save and restore call-clobbered
5959           registers around calls.
5961           Source files are `reload.c' and `reload1.c', plus the header
5962           `reload.h' used for communication between them.
5964    * Basic block reordering
5966      This pass implements profile guided code positioning.  If profile
5967      information is not available, various types of static analysis are
5968      performed to make the predictions normally coming from the profile
5969      feedback (IE execution frequency, branch probability, etc).  It is
5970      implemented in the file `bb-reorder.c', and the various prediction
5971      routines are in `predict.c'.
5973    * Variable tracking
5975      This pass computes where the variables are stored at each position
5976      in code and generates notes describing the variable locations to
5977      RTL code.  The location lists are then generated according to these
5978      notes to debug information if the debugging information format
5979      supports location lists.
5981    * Delayed branch scheduling
5983      This optional pass attempts to find instructions that can go into
5984      the delay slots of other instructions, usually jumps and calls.
5985      The source file name is `reorg.c'.
5987    * Branch shortening
5989      On many RISC machines, branch instructions have a limited range.
5990      Thus, longer sequences of instructions must be used for long
5991      branches.  In this pass, the compiler figures out what how far
5992      each instruction will be from each other instruction, and
5993      therefore whether the usual instructions, or the longer sequences,
5994      must be used for each branch.
5996    * Register-to-stack conversion
5998      Conversion from usage of some hard registers to usage of a register
5999      stack may be done at this point.  Currently, this is supported only
6000      for the floating-point registers of the Intel 80387 coprocessor.
6001      The source file name is `reg-stack.c'.
6003    * Final
6005      This pass outputs the assembler code for the function.  The source
6006      files are `final.c' plus `insn-output.c'; the latter is generated
6007      automatically from the machine description by the tool `genoutput'.
6008      The header file `conditions.h' is used for communication between
6009      these files.  If mudflap is enabled, the queue of deferred
6010      declarations and any addressed constants (e.g., string literals)
6011      is processed by `mudflap_finish_file' into a synthetic constructor
6012      function containing calls into the mudflap runtime.
6014    * Debugging information output
6016      This is run after final because it must output the stack slot
6017      offsets for pseudo registers that did not get hard registers.
6018      Source files are `dbxout.c' for DBX symbol table format,
6019      `sdbout.c' for SDB symbol table format, `dwarfout.c' for DWARF
6020      symbol table format, files `dwarf2out.c' and `dwarf2asm.c' for
6021      DWARF2 symbol table format, and `vmsdbgout.c' for VMS debug symbol
6022      table format.
6025 \x1f
6026 File: gccint.info,  Node: Trees,  Next: RTL,  Prev: Passes,  Up: Top
6028 9 Trees: The intermediate representation used by the C and C++ front ends
6029 *************************************************************************
6031 This chapter documents the internal representation used by GCC to
6032 represent C and C++ source programs.  When presented with a C or C++
6033 source program, GCC parses the program, performs semantic analysis
6034 (including the generation of error messages), and then produces the
6035 internal representation described here.  This representation contains a
6036 complete representation for the entire translation unit provided as
6037 input to the front end.  This representation is then typically processed
6038 by a code-generator in order to produce machine code, but could also be
6039 used in the creation of source browsers, intelligent editors, automatic
6040 documentation generators, interpreters, and any other programs needing
6041 the ability to process C or C++ code.
6043  This chapter explains the internal representation.  In particular, it
6044 documents the internal representation for C and C++ source constructs,
6045 and the macros, functions, and variables that can be used to access
6046 these constructs.  The C++ representation is largely a superset of the
6047 representation used in the C front end.  There is only one construct
6048 used in C that does not appear in the C++ front end and that is the GNU
6049 "nested function" extension.  Many of the macros documented here do not
6050 apply in C because the corresponding language constructs do not appear
6051 in C.
6053  If you are developing a "back end", be it is a code-generator or some
6054 other tool, that uses this representation, you may occasionally find
6055 that you need to ask questions not easily answered by the functions and
6056 macros available here.  If that situation occurs, it is quite likely
6057 that GCC already supports the functionality you desire, but that the
6058 interface is simply not documented here.  In that case, you should ask
6059 the GCC maintainers (via mail to <gcc@gcc.gnu.org>) about documenting
6060 the functionality you require.  Similarly, if you find yourself writing
6061 functions that do not deal directly with your back end, but instead
6062 might be useful to other people using the GCC front end, you should
6063 submit your patches for inclusion in GCC.
6065 * Menu:
6067 * Deficiencies::        Topics net yet covered in this document.
6068 * Tree overview::       All about `tree's.
6069 * Types::               Fundamental and aggregate types.
6070 * Scopes::              Namespaces and classes.
6071 * Functions::           Overloading, function bodies, and linkage.
6072 * Declarations::        Type declarations and variables.
6073 * Attributes::          Declaration and type attributes.
6074 * Expression trees::    From `typeid' to `throw'.
6076 \x1f
6077 File: gccint.info,  Node: Deficiencies,  Next: Tree overview,  Up: Trees
6079 9.1 Deficiencies
6080 ================
6082 There are many places in which this document is incomplet and incorrekt.
6083 It is, as of yet, only _preliminary_ documentation.
6085 \x1f
6086 File: gccint.info,  Node: Tree overview,  Next: Types,  Prev: Deficiencies,  Up: Trees
6088 9.2 Overview
6089 ============
6091 The central data structure used by the internal representation is the
6092 `tree'.  These nodes, while all of the C type `tree', are of many
6093 varieties.  A `tree' is a pointer type, but the object to which it
6094 points may be of a variety of types.  From this point forward, we will
6095 refer to trees in ordinary type, rather than in `this font', except
6096 when talking about the actual C type `tree'.
6098  You can tell what kind of node a particular tree is by using the
6099 `TREE_CODE' macro.  Many, many macros take trees as input and return
6100 trees as output.  However, most macros require a certain kind of tree
6101 node as input.  In other words, there is a type-system for trees, but
6102 it is not reflected in the C type-system.
6104  For safety, it is useful to configure GCC with `--enable-checking'.
6105 Although this results in a significant performance penalty (since all
6106 tree types are checked at run-time), and is therefore inappropriate in a
6107 release version, it is extremely helpful during the development process.
6109  Many macros behave as predicates.  Many, although not all, of these
6110 predicates end in `_P'.  Do not rely on the result type of these macros
6111 being of any particular type.  You may, however, rely on the fact that
6112 the type can be compared to `0', so that statements like
6113      if (TEST_P (t) && !TEST_P (y))
6114        x = 1;
6115  and
6116      int i = (TEST_P (t) != 0);
6117  are legal.  Macros that return `int' values now may be changed to
6118 return `tree' values, or other pointers in the future.  Even those that
6119 continue to return `int' may return multiple nonzero codes where
6120 previously they returned only zero and one.  Therefore, you should not
6121 write code like
6122      if (TEST_P (t) == 1)
6123  as this code is not guaranteed to work correctly in the future.
6125  You should not take the address of values returned by the macros or
6126 functions described here.  In particular, no guarantee is given that the
6127 values are lvalues.
6129  In general, the names of macros are all in uppercase, while the names
6130 of functions are entirely in lowercase.  There are rare exceptions to
6131 this rule.  You should assume that any macro or function whose name is
6132 made up entirely of uppercase letters may evaluate its arguments more
6133 than once.  You may assume that a macro or function whose name is made
6134 up entirely of lowercase letters will evaluate its arguments only once.
6136  The `error_mark_node' is a special tree.  Its tree code is
6137 `ERROR_MARK', but since there is only ever one node with that code, the
6138 usual practice is to compare the tree against `error_mark_node'.  (This
6139 test is just a test for pointer equality.)  If an error has occurred
6140 during front-end processing the flag `errorcount' will be set.  If the
6141 front end has encountered code it cannot handle, it will issue a
6142 message to the user and set `sorrycount'.  When these flags are set,
6143 any macro or function which normally returns a tree of a particular
6144 kind may instead return the `error_mark_node'.  Thus, if you intend to
6145 do any processing of erroneous code, you must be prepared to deal with
6146 the `error_mark_node'.
6148  Occasionally, a particular tree slot (like an operand to an expression,
6149 or a particular field in a declaration) will be referred to as
6150 "reserved for the back end".  These slots are used to store RTL when
6151 the tree is converted to RTL for use by the GCC back end.  However, if
6152 that process is not taking place (e.g., if the front end is being hooked
6153 up to an intelligent editor), then those slots may be used by the back
6154 end presently in use.
6156  If you encounter situations that do not match this documentation, such
6157 as tree nodes of types not mentioned here, or macros documented to
6158 return entities of a particular kind that instead return entities of
6159 some different kind, you have found a bug, either in the front end or in
6160 the documentation.  Please report these bugs as you would any other bug.
6162 * Menu:
6164 * Macros and Functions::Macros and functions that can be used with all trees.
6165 * Identifiers::         The names of things.
6166 * Containers::          Lists and vectors.
6168 \x1f
6169 File: gccint.info,  Node: Macros and Functions,  Next: Identifiers,  Up: Tree overview
6171 9.2.1 Trees
6172 -----------
6174 This section is not here yet.
6176 \x1f
6177 File: gccint.info,  Node: Identifiers,  Next: Containers,  Prev: Macros and Functions,  Up: Tree overview
6179 9.2.2 Identifiers
6180 -----------------
6182 An `IDENTIFIER_NODE' represents a slightly more general concept that
6183 the standard C or C++ concept of identifier.  In particular, an
6184 `IDENTIFIER_NODE' may contain a `$', or other extraordinary characters.
6186  There are never two distinct `IDENTIFIER_NODE's representing the same
6187 identifier.  Therefore, you may use pointer equality to compare
6188 `IDENTIFIER_NODE's, rather than using a routine like `strcmp'.
6190  You can use the following macros to access identifiers:
6191 `IDENTIFIER_POINTER'
6192      The string represented by the identifier, represented as a
6193      `char*'.  This string is always `NUL'-terminated, and contains no
6194      embedded `NUL' characters.
6196 `IDENTIFIER_LENGTH'
6197      The length of the string returned by `IDENTIFIER_POINTER', not
6198      including the trailing `NUL'.  This value of `IDENTIFIER_LENGTH
6199      (x)' is always the same as `strlen (IDENTIFIER_POINTER (x))'.
6201 `IDENTIFIER_OPNAME_P'
6202      This predicate holds if the identifier represents the name of an
6203      overloaded operator.  In this case, you should not depend on the
6204      contents of either the `IDENTIFIER_POINTER' or the
6205      `IDENTIFIER_LENGTH'.
6207 `IDENTIFIER_TYPENAME_P'
6208      This predicate holds if the identifier represents the name of a
6209      user-defined conversion operator.  In this case, the `TREE_TYPE' of
6210      the `IDENTIFIER_NODE' holds the type to which the conversion
6211      operator converts.
6214 \x1f
6215 File: gccint.info,  Node: Containers,  Prev: Identifiers,  Up: Tree overview
6217 9.2.3 Containers
6218 ----------------
6220 Two common container data structures can be represented directly with
6221 tree nodes.  A `TREE_LIST' is a singly linked list containing two trees
6222 per node.  These are the `TREE_PURPOSE' and `TREE_VALUE' of each node.
6223 (Often, the `TREE_PURPOSE' contains some kind of tag, or additional
6224 information, while the `TREE_VALUE' contains the majority of the
6225 payload.  In other cases, the `TREE_PURPOSE' is simply `NULL_TREE',
6226 while in still others both the `TREE_PURPOSE' and `TREE_VALUE' are of
6227 equal stature.)  Given one `TREE_LIST' node, the next node is found by
6228 following the `TREE_CHAIN'.  If the `TREE_CHAIN' is `NULL_TREE', then
6229 you have reached the end of the list.
6231  A `TREE_VEC' is a simple vector.  The `TREE_VEC_LENGTH' is an integer
6232 (not a tree) giving the number of nodes in the vector.  The nodes
6233 themselves are accessed using the `TREE_VEC_ELT' macro, which takes two
6234 arguments.  The first is the `TREE_VEC' in question; the second is an
6235 integer indicating which element in the vector is desired.  The
6236 elements are indexed from zero.
6238 \x1f
6239 File: gccint.info,  Node: Types,  Next: Scopes,  Prev: Tree overview,  Up: Trees
6241 9.3 Types
6242 =========
6244 All types have corresponding tree nodes.  However, you should not assume
6245 that there is exactly one tree node corresponding to each type.  There
6246 are often multiple nodes corresponding to the same type.
6248  For the most part, different kinds of types have different tree codes.
6249 (For example, pointer types use a `POINTER_TYPE' code while arrays use
6250 an `ARRAY_TYPE' code.)  However, pointers to member functions use the
6251 `RECORD_TYPE' code.  Therefore, when writing a `switch' statement that
6252 depends on the code associated with a particular type, you should take
6253 care to handle pointers to member functions under the `RECORD_TYPE'
6254 case label.
6256  In C++, an array type is not qualified; rather the type of the array
6257 elements is qualified.  This situation is reflected in the intermediate
6258 representation.  The macros described here will always examine the
6259 qualification of the underlying element type when applied to an array
6260 type.  (If the element type is itself an array, then the recursion
6261 continues until a non-array type is found, and the qualification of this
6262 type is examined.)  So, for example, `CP_TYPE_CONST_P' will hold of the
6263 type `const int ()[7]', denoting an array of seven `int's.
6265  The following functions and macros deal with cv-qualification of types:
6266 `CP_TYPE_QUALS'
6267      This macro returns the set of type qualifiers applied to this type.
6268      This value is `TYPE_UNQUALIFIED' if no qualifiers have been
6269      applied.  The `TYPE_QUAL_CONST' bit is set if the type is
6270      `const'-qualified.  The `TYPE_QUAL_VOLATILE' bit is set if the
6271      type is `volatile'-qualified.  The `TYPE_QUAL_RESTRICT' bit is set
6272      if the type is `restrict'-qualified.
6274 `CP_TYPE_CONST_P'
6275      This macro holds if the type is `const'-qualified.
6277 `CP_TYPE_VOLATILE_P'
6278      This macro holds if the type is `volatile'-qualified.
6280 `CP_TYPE_RESTRICT_P'
6281      This macro holds if the type is `restrict'-qualified.
6283 `CP_TYPE_CONST_NON_VOLATILE_P'
6284      This predicate holds for a type that is `const'-qualified, but
6285      _not_ `volatile'-qualified; other cv-qualifiers are ignored as
6286      well: only the `const'-ness is tested.
6288 `TYPE_MAIN_VARIANT'
6289      This macro returns the unqualified version of a type.  It may be
6290      applied to an unqualified type, but it is not always the identity
6291      function in that case.
6293  A few other macros and functions are usable with all types:
6294 `TYPE_SIZE'
6295      The number of bits required to represent the type, represented as
6296      an `INTEGER_CST'.  For an incomplete type, `TYPE_SIZE' will be
6297      `NULL_TREE'.
6299 `TYPE_ALIGN'
6300      The alignment of the type, in bits, represented as an `int'.
6302 `TYPE_NAME'
6303      This macro returns a declaration (in the form of a `TYPE_DECL') for
6304      the type.  (Note this macro does _not_ return a `IDENTIFIER_NODE',
6305      as you might expect, given its name!)  You can look at the
6306      `DECL_NAME' of the `TYPE_DECL' to obtain the actual name of the
6307      type.  The `TYPE_NAME' will be `NULL_TREE' for a type that is not
6308      a built-in type, the result of a typedef, or a named class type.
6310 `CP_INTEGRAL_TYPE'
6311      This predicate holds if the type is an integral type.  Notice that
6312      in C++, enumerations are _not_ integral types.
6314 `ARITHMETIC_TYPE_P'
6315      This predicate holds if the type is an integral type (in the C++
6316      sense) or a floating point type.
6318 `CLASS_TYPE_P'
6319      This predicate holds for a class-type.
6321 `TYPE_BUILT_IN'
6322      This predicate holds for a built-in type.
6324 `TYPE_PTRMEM_P'
6325      This predicate holds if the type is a pointer to data member.
6327 `TYPE_PTR_P'
6328      This predicate holds if the type is a pointer type, and the
6329      pointee is not a data member.
6331 `TYPE_PTRFN_P'
6332      This predicate holds for a pointer to function type.
6334 `TYPE_PTROB_P'
6335      This predicate holds for a pointer to object type.  Note however
6336      that it does not hold for the generic pointer to object type `void
6337      *'.  You may use `TYPE_PTROBV_P' to test for a pointer to object
6338      type as well as `void *'.
6340 `TYPE_CANONICAL'
6341      This macro returns the "canonical" type for the given type node.
6342      Canonical types are used to improve performance in the C++ and
6343      Objective-C++ front ends by allowing efficient comparison between
6344      two type nodes in `same_type_p': if the `TYPE_CANONICAL' values of
6345      the types are equal, the types are equivalent; otherwise, the types
6346      are not equivalent. The notion of equivalence for canonical types
6347      is the same as the notion of type equivalence in the language
6348      itself. For instance,
6350      When `TYPE_CANONICAL' is `NULL_TREE', there is no canonical type
6351      for the given type node. In this case, comparison between this
6352      type and any other type requires the compiler to perform a deep,
6353      "structural" comparison to see if the two type nodes have the same
6354      form and properties.
6356      The canonical type for a node is always the most fundamental type
6357      in the equivalence class of types. For instance, `int' is its own
6358      canonical type. A typedef `I' of `int' will have `int' as its
6359      canonical type. Similarly, `I*' and a typedef `IP' (defined to
6360      `I*') will has `int*' as their canonical type. When building a new
6361      type node, be sure to set `TYPE_CANONICAL' to the appropriate
6362      canonical type. If the new type is a compound type (built from
6363      other types), and any of those other types require structural
6364      equality, use `SET_TYPE_STRUCTURAL_EQUALITY' to ensure that the
6365      new type also requires structural equality. Finally, if for some
6366      reason you cannot guarantee that `TYPE_CANONICAL' will point to
6367      the canonical type, use `SET_TYPE_STRUCTURAL_EQUALITY' to make
6368      sure that the new type-and any type constructed based on
6369      it-requires structural equality. If you suspect that the canonical
6370      type system is miscomparing types, pass `--param
6371      verify-canonical-types=1' to the compiler or configure with
6372      `--enable-checking' to force the compiler to verify its
6373      canonical-type comparisons against the structural comparisons; the
6374      compiler will then print any warnings if the canonical types
6375      miscompare.
6377 `TYPE_STRUCTURAL_EQUALITY_P'
6378      This predicate holds when the node requires structural equality
6379      checks, e.g., when `TYPE_CANONICAL' is `NULL_TREE'.
6381 `SET_TYPE_STRUCTURAL_EQUALITY'
6382      This macro states that the type node it is given requires
6383      structural equality checks, e.g., it sets `TYPE_CANONICAL' to
6384      `NULL_TREE'.
6386 `same_type_p'
6387      This predicate takes two types as input, and holds if they are the
6388      same type.  For example, if one type is a `typedef' for the other,
6389      or both are `typedef's for the same type.  This predicate also
6390      holds if the two trees given as input are simply copies of one
6391      another; i.e., there is no difference between them at the source
6392      level, but, for whatever reason, a duplicate has been made in the
6393      representation.  You should never use `==' (pointer equality) to
6394      compare types; always use `same_type_p' instead.
6396  Detailed below are the various kinds of types, and the macros that can
6397 be used to access them.  Although other kinds of types are used
6398 elsewhere in G++, the types described here are the only ones that you
6399 will encounter while examining the intermediate representation.
6401 `VOID_TYPE'
6402      Used to represent the `void' type.
6404 `INTEGER_TYPE'
6405      Used to represent the various integral types, including `char',
6406      `short', `int', `long', and `long long'.  This code is not used
6407      for enumeration types, nor for the `bool' type.  The
6408      `TYPE_PRECISION' is the number of bits used in the representation,
6409      represented as an `unsigned int'.  (Note that in the general case
6410      this is not the same value as `TYPE_SIZE'; suppose that there were
6411      a 24-bit integer type, but that alignment requirements for the ABI
6412      required 32-bit alignment.  Then, `TYPE_SIZE' would be an
6413      `INTEGER_CST' for 32, while `TYPE_PRECISION' would be 24.)  The
6414      integer type is unsigned if `TYPE_UNSIGNED' holds; otherwise, it
6415      is signed.
6417      The `TYPE_MIN_VALUE' is an `INTEGER_CST' for the smallest integer
6418      that may be represented by this type.  Similarly, the
6419      `TYPE_MAX_VALUE' is an `INTEGER_CST' for the largest integer that
6420      may be represented by this type.
6422 `REAL_TYPE'
6423      Used to represent the `float', `double', and `long double' types.
6424      The number of bits in the floating-point representation is given
6425      by `TYPE_PRECISION', as in the `INTEGER_TYPE' case.
6427 `FIXED_POINT_TYPE'
6428      Used to represent the `short _Fract', `_Fract', `long _Fract',
6429      `long long _Fract', `short _Accum', `_Accum', `long _Accum', and
6430      `long long _Accum' types.  The number of bits in the fixed-point
6431      representation is given by `TYPE_PRECISION', as in the
6432      `INTEGER_TYPE' case.  There may be padding bits, fractional bits
6433      and integral bits.  The number of fractional bits is given by
6434      `TYPE_FBIT', and the number of integral bits is given by
6435      `TYPE_IBIT'.  The fixed-point type is unsigned if `TYPE_UNSIGNED'
6436      holds; otherwise, it is signed.  The fixed-point type is
6437      saturating if `TYPE_SATURATING' holds; otherwise, it is not
6438      saturating.
6440 `COMPLEX_TYPE'
6441      Used to represent GCC built-in `__complex__' data types.  The
6442      `TREE_TYPE' is the type of the real and imaginary parts.
6444 `ENUMERAL_TYPE'
6445      Used to represent an enumeration type.  The `TYPE_PRECISION' gives
6446      (as an `int'), the number of bits used to represent the type.  If
6447      there are no negative enumeration constants, `TYPE_UNSIGNED' will
6448      hold.  The minimum and maximum enumeration constants may be
6449      obtained with `TYPE_MIN_VALUE' and `TYPE_MAX_VALUE', respectively;
6450      each of these macros returns an `INTEGER_CST'.
6452      The actual enumeration constants themselves may be obtained by
6453      looking at the `TYPE_VALUES'.  This macro will return a
6454      `TREE_LIST', containing the constants.  The `TREE_PURPOSE' of each
6455      node will be an `IDENTIFIER_NODE' giving the name of the constant;
6456      the `TREE_VALUE' will be an `INTEGER_CST' giving the value
6457      assigned to that constant.  These constants will appear in the
6458      order in which they were declared.  The `TREE_TYPE' of each of
6459      these constants will be the type of enumeration type itself.
6461 `BOOLEAN_TYPE'
6462      Used to represent the `bool' type.
6464 `POINTER_TYPE'
6465      Used to represent pointer types, and pointer to data member types.
6466      The `TREE_TYPE' gives the type to which this type points.  If the
6467      type is a pointer to data member type, then `TYPE_PTRMEM_P' will
6468      hold.  For a pointer to data member type of the form `T X::*',
6469      `TYPE_PTRMEM_CLASS_TYPE' will be the type `X', while
6470      `TYPE_PTRMEM_POINTED_TO_TYPE' will be the type `T'.
6472 `REFERENCE_TYPE'
6473      Used to represent reference types.  The `TREE_TYPE' gives the type
6474      to which this type refers.
6476 `FUNCTION_TYPE'
6477      Used to represent the type of non-member functions and of static
6478      member functions.  The `TREE_TYPE' gives the return type of the
6479      function.  The `TYPE_ARG_TYPES' are a `TREE_LIST' of the argument
6480      types.  The `TREE_VALUE' of each node in this list is the type of
6481      the corresponding argument; the `TREE_PURPOSE' is an expression
6482      for the default argument value, if any.  If the last node in the
6483      list is `void_list_node' (a `TREE_LIST' node whose `TREE_VALUE' is
6484      the `void_type_node'), then functions of this type do not take
6485      variable arguments.  Otherwise, they do take a variable number of
6486      arguments.
6488      Note that in C (but not in C++) a function declared like `void f()'
6489      is an unprototyped function taking a variable number of arguments;
6490      the `TYPE_ARG_TYPES' of such a function will be `NULL'.
6492 `METHOD_TYPE'
6493      Used to represent the type of a non-static member function.  Like a
6494      `FUNCTION_TYPE', the return type is given by the `TREE_TYPE'.  The
6495      type of `*this', i.e., the class of which functions of this type
6496      are a member, is given by the `TYPE_METHOD_BASETYPE'.  The
6497      `TYPE_ARG_TYPES' is the parameter list, as for a `FUNCTION_TYPE',
6498      and includes the `this' argument.
6500 `ARRAY_TYPE'
6501      Used to represent array types.  The `TREE_TYPE' gives the type of
6502      the elements in the array.  If the array-bound is present in the
6503      type, the `TYPE_DOMAIN' is an `INTEGER_TYPE' whose
6504      `TYPE_MIN_VALUE' and `TYPE_MAX_VALUE' will be the lower and upper
6505      bounds of the array, respectively.  The `TYPE_MIN_VALUE' will
6506      always be an `INTEGER_CST' for zero, while the `TYPE_MAX_VALUE'
6507      will be one less than the number of elements in the array, i.e.,
6508      the highest value which may be used to index an element in the
6509      array.
6511 `RECORD_TYPE'
6512      Used to represent `struct' and `class' types, as well as pointers
6513      to member functions and similar constructs in other languages.
6514      `TYPE_FIELDS' contains the items contained in this type, each of
6515      which can be a `FIELD_DECL', `VAR_DECL', `CONST_DECL', or
6516      `TYPE_DECL'.  You may not make any assumptions about the ordering
6517      of the fields in the type or whether one or more of them overlap.
6518      If `TYPE_PTRMEMFUNC_P' holds, then this type is a pointer-to-member
6519      type.  In that case, the `TYPE_PTRMEMFUNC_FN_TYPE' is a
6520      `POINTER_TYPE' pointing to a `METHOD_TYPE'.  The `METHOD_TYPE' is
6521      the type of a function pointed to by the pointer-to-member
6522      function.  If `TYPE_PTRMEMFUNC_P' does not hold, this type is a
6523      class type.  For more information, see *note Classes::.
6525 `UNION_TYPE'
6526      Used to represent `union' types.  Similar to `RECORD_TYPE' except
6527      that all `FIELD_DECL' nodes in `TYPE_FIELD' start at bit position
6528      zero.
6530 `QUAL_UNION_TYPE'
6531      Used to represent part of a variant record in Ada.  Similar to
6532      `UNION_TYPE' except that each `FIELD_DECL' has a `DECL_QUALIFIER'
6533      field, which contains a boolean expression that indicates whether
6534      the field is present in the object.  The type will only have one
6535      field, so each field's `DECL_QUALIFIER' is only evaluated if none
6536      of the expressions in the previous fields in `TYPE_FIELDS' are
6537      nonzero.  Normally these expressions will reference a field in the
6538      outer object using a `PLACEHOLDER_EXPR'.
6540 `UNKNOWN_TYPE'
6541      This node is used to represent a type the knowledge of which is
6542      insufficient for a sound processing.
6544 `OFFSET_TYPE'
6545      This node is used to represent a pointer-to-data member.  For a
6546      data member `X::m' the `TYPE_OFFSET_BASETYPE' is `X' and the
6547      `TREE_TYPE' is the type of `m'.
6549 `TYPENAME_TYPE'
6550      Used to represent a construct of the form `typename T::A'.  The
6551      `TYPE_CONTEXT' is `T'; the `TYPE_NAME' is an `IDENTIFIER_NODE' for
6552      `A'.  If the type is specified via a template-id, then
6553      `TYPENAME_TYPE_FULLNAME' yields a `TEMPLATE_ID_EXPR'.  The
6554      `TREE_TYPE' is non-`NULL' if the node is implicitly generated in
6555      support for the implicit typename extension; in which case the
6556      `TREE_TYPE' is a type node for the base-class.
6558 `TYPEOF_TYPE'
6559      Used to represent the `__typeof__' extension.  The `TYPE_FIELDS'
6560      is the expression the type of which is being represented.
6562  There are variables whose values represent some of the basic types.
6563 These include:
6564 `void_type_node'
6565      A node for `void'.
6567 `integer_type_node'
6568      A node for `int'.
6570 `unsigned_type_node.'
6571      A node for `unsigned int'.
6573 `char_type_node.'
6574      A node for `char'.
6575  It may sometimes be useful to compare one of these variables with a
6576 type in hand, using `same_type_p'.
6578 \x1f
6579 File: gccint.info,  Node: Scopes,  Next: Functions,  Prev: Types,  Up: Trees
6581 9.4 Scopes
6582 ==========
6584 The root of the entire intermediate representation is the variable
6585 `global_namespace'.  This is the namespace specified with `::' in C++
6586 source code.  All other namespaces, types, variables, functions, and so
6587 forth can be found starting with this namespace.
6589  Besides namespaces, the other high-level scoping construct in C++ is
6590 the class.  (Throughout this manual the term "class" is used to mean the
6591 types referred to in the ANSI/ISO C++ Standard as classes; these include
6592 types defined with the `class', `struct', and `union' keywords.)
6594 * Menu:
6596 * Namespaces::          Member functions, types, etc.
6597 * Classes::             Members, bases, friends, etc.
6599 \x1f
6600 File: gccint.info,  Node: Namespaces,  Next: Classes,  Up: Scopes
6602 9.4.1 Namespaces
6603 ----------------
6605 A namespace is represented by a `NAMESPACE_DECL' node.
6607  However, except for the fact that it is distinguished as the root of
6608 the representation, the global namespace is no different from any other
6609 namespace.  Thus, in what follows, we describe namespaces generally,
6610 rather than the global namespace in particular.
6612  The following macros and functions can be used on a `NAMESPACE_DECL':
6614 `DECL_NAME'
6615      This macro is used to obtain the `IDENTIFIER_NODE' corresponding to
6616      the unqualified name of the name of the namespace (*note
6617      Identifiers::).  The name of the global namespace is `::', even
6618      though in C++ the global namespace is unnamed.  However, you
6619      should use comparison with `global_namespace', rather than
6620      `DECL_NAME' to determine whether or not a namespace is the global
6621      one.  An unnamed namespace will have a `DECL_NAME' equal to
6622      `anonymous_namespace_name'.  Within a single translation unit, all
6623      unnamed namespaces will have the same name.
6625 `DECL_CONTEXT'
6626      This macro returns the enclosing namespace.  The `DECL_CONTEXT' for
6627      the `global_namespace' is `NULL_TREE'.
6629 `DECL_NAMESPACE_ALIAS'
6630      If this declaration is for a namespace alias, then
6631      `DECL_NAMESPACE_ALIAS' is the namespace for which this one is an
6632      alias.
6634      Do not attempt to use `cp_namespace_decls' for a namespace which is
6635      an alias.  Instead, follow `DECL_NAMESPACE_ALIAS' links until you
6636      reach an ordinary, non-alias, namespace, and call
6637      `cp_namespace_decls' there.
6639 `DECL_NAMESPACE_STD_P'
6640      This predicate holds if the namespace is the special `::std'
6641      namespace.
6643 `cp_namespace_decls'
6644      This function will return the declarations contained in the
6645      namespace, including types, overloaded functions, other
6646      namespaces, and so forth.  If there are no declarations, this
6647      function will return `NULL_TREE'.  The declarations are connected
6648      through their `TREE_CHAIN' fields.
6650      Although most entries on this list will be declarations,
6651      `TREE_LIST' nodes may also appear.  In this case, the `TREE_VALUE'
6652      will be an `OVERLOAD'.  The value of the `TREE_PURPOSE' is
6653      unspecified; back ends should ignore this value.  As with the
6654      other kinds of declarations returned by `cp_namespace_decls', the
6655      `TREE_CHAIN' will point to the next declaration in this list.
6657      For more information on the kinds of declarations that can occur
6658      on this list, *Note Declarations::.  Some declarations will not
6659      appear on this list.  In particular, no `FIELD_DECL',
6660      `LABEL_DECL', or `PARM_DECL' nodes will appear here.
6662      This function cannot be used with namespaces that have
6663      `DECL_NAMESPACE_ALIAS' set.
6666 \x1f
6667 File: gccint.info,  Node: Classes,  Prev: Namespaces,  Up: Scopes
6669 9.4.2 Classes
6670 -------------
6672 A class type is represented by either a `RECORD_TYPE' or a
6673 `UNION_TYPE'.  A class declared with the `union' tag is represented by
6674 a `UNION_TYPE', while classes declared with either the `struct' or the
6675 `class' tag are represented by `RECORD_TYPE's.  You can use the
6676 `CLASSTYPE_DECLARED_CLASS' macro to discern whether or not a particular
6677 type is a `class' as opposed to a `struct'.  This macro will be true
6678 only for classes declared with the `class' tag.
6680  Almost all non-function members are available on the `TYPE_FIELDS'
6681 list.  Given one member, the next can be found by following the
6682 `TREE_CHAIN'.  You should not depend in any way on the order in which
6683 fields appear on this list.  All nodes on this list will be `DECL'
6684 nodes.  A `FIELD_DECL' is used to represent a non-static data member, a
6685 `VAR_DECL' is used to represent a static data member, and a `TYPE_DECL'
6686 is used to represent a type.  Note that the `CONST_DECL' for an
6687 enumeration constant will appear on this list, if the enumeration type
6688 was declared in the class.  (Of course, the `TYPE_DECL' for the
6689 enumeration type will appear here as well.)  There are no entries for
6690 base classes on this list.  In particular, there is no `FIELD_DECL' for
6691 the "base-class portion" of an object.
6693  The `TYPE_VFIELD' is a compiler-generated field used to point to
6694 virtual function tables.  It may or may not appear on the `TYPE_FIELDS'
6695 list.  However, back ends should handle the `TYPE_VFIELD' just like all
6696 the entries on the `TYPE_FIELDS' list.
6698  The function members are available on the `TYPE_METHODS' list.  Again,
6699 subsequent members are found by following the `TREE_CHAIN' field.  If a
6700 function is overloaded, each of the overloaded functions appears; no
6701 `OVERLOAD' nodes appear on the `TYPE_METHODS' list.  Implicitly
6702 declared functions (including default constructors, copy constructors,
6703 assignment operators, and destructors) will appear on this list as well.
6705  Every class has an associated "binfo", which can be obtained with
6706 `TYPE_BINFO'.  Binfos are used to represent base-classes.  The binfo
6707 given by `TYPE_BINFO' is the degenerate case, whereby every class is
6708 considered to be its own base-class.  The base binfos for a particular
6709 binfo are held in a vector, whose length is obtained with
6710 `BINFO_N_BASE_BINFOS'.  The base binfos themselves are obtained with
6711 `BINFO_BASE_BINFO' and `BINFO_BASE_ITERATE'.  To add a new binfo, use
6712 `BINFO_BASE_APPEND'.  The vector of base binfos can be obtained with
6713 `BINFO_BASE_BINFOS', but normally you do not need to use that.  The
6714 class type associated with a binfo is given by `BINFO_TYPE'.  It is not
6715 always the case that `BINFO_TYPE (TYPE_BINFO (x))', because of typedefs
6716 and qualified types.  Neither is it the case that `TYPE_BINFO
6717 (BINFO_TYPE (y))' is the same binfo as `y'.  The reason is that if `y'
6718 is a binfo representing a base-class `B' of a derived class `D', then
6719 `BINFO_TYPE (y)' will be `B', and `TYPE_BINFO (BINFO_TYPE (y))' will be
6720 `B' as its own base-class, rather than as a base-class of `D'.
6722  The access to a base type can be found with `BINFO_BASE_ACCESS'.  This
6723 will produce `access_public_node', `access_private_node' or
6724 `access_protected_node'.  If bases are always public,
6725 `BINFO_BASE_ACCESSES' may be `NULL'.
6727  `BINFO_VIRTUAL_P' is used to specify whether the binfo is inherited
6728 virtually or not.  The other flags, `BINFO_MARKED_P' and `BINFO_FLAG_1'
6729 to `BINFO_FLAG_6' can be used for language specific use.
6731  The following macros can be used on a tree node representing a
6732 class-type.
6734 `LOCAL_CLASS_P'
6735      This predicate holds if the class is local class _i.e._ declared
6736      inside a function body.
6738 `TYPE_POLYMORPHIC_P'
6739      This predicate holds if the class has at least one virtual function
6740      (declared or inherited).
6742 `TYPE_HAS_DEFAULT_CONSTRUCTOR'
6743      This predicate holds whenever its argument represents a class-type
6744      with default constructor.
6746 `CLASSTYPE_HAS_MUTABLE'
6747 `TYPE_HAS_MUTABLE_P'
6748      These predicates hold for a class-type having a mutable data
6749      member.
6751 `CLASSTYPE_NON_POD_P'
6752      This predicate holds only for class-types that are not PODs.
6754 `TYPE_HAS_NEW_OPERATOR'
6755      This predicate holds for a class-type that defines `operator new'.
6757 `TYPE_HAS_ARRAY_NEW_OPERATOR'
6758      This predicate holds for a class-type for which `operator new[]'
6759      is defined.
6761 `TYPE_OVERLOADS_CALL_EXPR'
6762      This predicate holds for class-type for which the function call
6763      `operator()' is overloaded.
6765 `TYPE_OVERLOADS_ARRAY_REF'
6766      This predicate holds for a class-type that overloads `operator[]'
6768 `TYPE_OVERLOADS_ARROW'
6769      This predicate holds for a class-type for which `operator->' is
6770      overloaded.
6773 \x1f
6774 File: gccint.info,  Node: Declarations,  Next: Attributes,  Prev: Functions,  Up: Trees
6776 9.5 Declarations
6777 ================
6779 This section covers the various kinds of declarations that appear in the
6780 internal representation, except for declarations of functions
6781 (represented by `FUNCTION_DECL' nodes), which are described in *Note
6782 Functions::.
6784 * Menu:
6786 * Working with declarations::  Macros and functions that work on
6787 declarations.
6788 * Internal structure:: How declaration nodes are represented.
6790 \x1f
6791 File: gccint.info,  Node: Working with declarations,  Next: Internal structure,  Up: Declarations
6793 9.5.1 Working with declarations
6794 -------------------------------
6796 Some macros can be used with any kind of declaration.  These include:
6797 `DECL_NAME'
6798      This macro returns an `IDENTIFIER_NODE' giving the name of the
6799      entity.
6801 `TREE_TYPE'
6802      This macro returns the type of the entity declared.
6804 `TREE_FILENAME'
6805      This macro returns the name of the file in which the entity was
6806      declared, as a `char*'.  For an entity declared implicitly by the
6807      compiler (like `__builtin_memcpy'), this will be the string
6808      `"<internal>"'.
6810 `TREE_LINENO'
6811      This macro returns the line number at which the entity was
6812      declared, as an `int'.
6814 `DECL_ARTIFICIAL'
6815      This predicate holds if the declaration was implicitly generated
6816      by the compiler.  For example, this predicate will hold of an
6817      implicitly declared member function, or of the `TYPE_DECL'
6818      implicitly generated for a class type.  Recall that in C++ code
6819      like:
6820           struct S {};
6821      is roughly equivalent to C code like:
6822           struct S {};
6823           typedef struct S S;
6824      The implicitly generated `typedef' declaration is represented by a
6825      `TYPE_DECL' for which `DECL_ARTIFICIAL' holds.
6827 `DECL_NAMESPACE_SCOPE_P'
6828      This predicate holds if the entity was declared at a namespace
6829      scope.
6831 `DECL_CLASS_SCOPE_P'
6832      This predicate holds if the entity was declared at a class scope.
6834 `DECL_FUNCTION_SCOPE_P'
6835      This predicate holds if the entity was declared inside a function
6836      body.
6839  The various kinds of declarations include:
6840 `LABEL_DECL'
6841      These nodes are used to represent labels in function bodies.  For
6842      more information, see *Note Functions::.  These nodes only appear
6843      in block scopes.
6845 `CONST_DECL'
6846      These nodes are used to represent enumeration constants.  The
6847      value of the constant is given by `DECL_INITIAL' which will be an
6848      `INTEGER_CST' with the same type as the `TREE_TYPE' of the
6849      `CONST_DECL', i.e., an `ENUMERAL_TYPE'.
6851 `RESULT_DECL'
6852      These nodes represent the value returned by a function.  When a
6853      value is assigned to a `RESULT_DECL', that indicates that the
6854      value should be returned, via bitwise copy, by the function.  You
6855      can use `DECL_SIZE' and `DECL_ALIGN' on a `RESULT_DECL', just as
6856      with a `VAR_DECL'.
6858 `TYPE_DECL'
6859      These nodes represent `typedef' declarations.  The `TREE_TYPE' is
6860      the type declared to have the name given by `DECL_NAME'.  In some
6861      cases, there is no associated name.
6863 `VAR_DECL'
6864      These nodes represent variables with namespace or block scope, as
6865      well as static data members.  The `DECL_SIZE' and `DECL_ALIGN' are
6866      analogous to `TYPE_SIZE' and `TYPE_ALIGN'.  For a declaration, you
6867      should always use the `DECL_SIZE' and `DECL_ALIGN' rather than the
6868      `TYPE_SIZE' and `TYPE_ALIGN' given by the `TREE_TYPE', since
6869      special attributes may have been applied to the variable to give
6870      it a particular size and alignment.  You may use the predicates
6871      `DECL_THIS_STATIC' or `DECL_THIS_EXTERN' to test whether the
6872      storage class specifiers `static' or `extern' were used to declare
6873      a variable.
6875      If this variable is initialized (but does not require a
6876      constructor), the `DECL_INITIAL' will be an expression for the
6877      initializer.  The initializer should be evaluated, and a bitwise
6878      copy into the variable performed.  If the `DECL_INITIAL' is the
6879      `error_mark_node', there is an initializer, but it is given by an
6880      explicit statement later in the code; no bitwise copy is required.
6882      GCC provides an extension that allows either automatic variables,
6883      or global variables, to be placed in particular registers.  This
6884      extension is being used for a particular `VAR_DECL' if
6885      `DECL_REGISTER' holds for the `VAR_DECL', and if
6886      `DECL_ASSEMBLER_NAME' is not equal to `DECL_NAME'.  In that case,
6887      `DECL_ASSEMBLER_NAME' is the name of the register into which the
6888      variable will be placed.
6890 `PARM_DECL'
6891      Used to represent a parameter to a function.  Treat these nodes
6892      similarly to `VAR_DECL' nodes.  These nodes only appear in the
6893      `DECL_ARGUMENTS' for a `FUNCTION_DECL'.
6895      The `DECL_ARG_TYPE' for a `PARM_DECL' is the type that will
6896      actually be used when a value is passed to this function.  It may
6897      be a wider type than the `TREE_TYPE' of the parameter; for
6898      example, the ordinary type might be `short' while the
6899      `DECL_ARG_TYPE' is `int'.
6901 `FIELD_DECL'
6902      These nodes represent non-static data members.  The `DECL_SIZE' and
6903      `DECL_ALIGN' behave as for `VAR_DECL' nodes.  The position of the
6904      field within the parent record is specified by a combination of
6905      three attributes.  `DECL_FIELD_OFFSET' is the position, counting
6906      in bytes, of the `DECL_OFFSET_ALIGN'-bit sized word containing the
6907      bit of the field closest to the beginning of the structure.
6908      `DECL_FIELD_BIT_OFFSET' is the bit offset of the first bit of the
6909      field within this word; this may be nonzero even for fields that
6910      are not bit-fields, since `DECL_OFFSET_ALIGN' may be greater than
6911      the natural alignment of the field's type.
6913      If `DECL_C_BIT_FIELD' holds, this field is a bit-field.  In a
6914      bit-field, `DECL_BIT_FIELD_TYPE' also contains the type that was
6915      originally specified for it, while DECL_TYPE may be a modified
6916      type with lesser precision, according to the size of the bit field.
6918 `NAMESPACE_DECL'
6919      *Note Namespaces::.
6921 `TEMPLATE_DECL'
6922      These nodes are used to represent class, function, and variable
6923      (static data member) templates.  The
6924      `DECL_TEMPLATE_SPECIALIZATIONS' are a `TREE_LIST'.  The
6925      `TREE_VALUE' of each node in the list is a `TEMPLATE_DECL's or
6926      `FUNCTION_DECL's representing specializations (including
6927      instantiations) of this template.  Back ends can safely ignore
6928      `TEMPLATE_DECL's, but should examine `FUNCTION_DECL' nodes on the
6929      specializations list just as they would ordinary `FUNCTION_DECL'
6930      nodes.
6932      For a class template, the `DECL_TEMPLATE_INSTANTIATIONS' list
6933      contains the instantiations.  The `TREE_VALUE' of each node is an
6934      instantiation of the class.  The `DECL_TEMPLATE_SPECIALIZATIONS'
6935      contains partial specializations of the class.
6937 `USING_DECL'
6938      Back ends can safely ignore these nodes.
6941 \x1f
6942 File: gccint.info,  Node: Internal structure,  Prev: Working with declarations,  Up: Declarations
6944 9.5.2 Internal structure
6945 ------------------------
6947 `DECL' nodes are represented internally as a hierarchy of structures.
6949 * Menu:
6951 * Current structure hierarchy::  The current DECL node structure
6952 hierarchy.
6953 * Adding new DECL node types:: How to add a new DECL node to a
6954 frontend.
6956 \x1f
6957 File: gccint.info,  Node: Current structure hierarchy,  Next: Adding new DECL node types,  Up: Internal structure
6959 9.5.2.1 Current structure hierarchy
6960 ...................................
6962 `struct tree_decl_minimal'
6963      This is the minimal structure to inherit from in order for common
6964      `DECL' macros to work.  The fields it contains are a unique ID,
6965      source location, context, and name.
6967 `struct tree_decl_common'
6968      This structure inherits from `struct tree_decl_minimal'.  It
6969      contains fields that most `DECL' nodes need, such as a field to
6970      store alignment, machine mode, size, and attributes.
6972 `struct tree_field_decl'
6973      This structure inherits from `struct tree_decl_common'.  It is
6974      used to represent `FIELD_DECL'.
6976 `struct tree_label_decl'
6977      This structure inherits from `struct tree_decl_common'.  It is
6978      used to represent `LABEL_DECL'.
6980 `struct tree_translation_unit_decl'
6981      This structure inherits from `struct tree_decl_common'.  It is
6982      used to represent `TRANSLATION_UNIT_DECL'.
6984 `struct tree_decl_with_rtl'
6985      This structure inherits from `struct tree_decl_common'.  It
6986      contains a field to store the low-level RTL associated with a
6987      `DECL' node.
6989 `struct tree_result_decl'
6990      This structure inherits from `struct tree_decl_with_rtl'.  It is
6991      used to represent `RESULT_DECL'.
6993 `struct tree_const_decl'
6994      This structure inherits from `struct tree_decl_with_rtl'.  It is
6995      used to represent `CONST_DECL'.
6997 `struct tree_parm_decl'
6998      This structure inherits from `struct tree_decl_with_rtl'.  It is
6999      used to represent `PARM_DECL'.
7001 `struct tree_decl_with_vis'
7002      This structure inherits from `struct tree_decl_with_rtl'.  It
7003      contains fields necessary to store visibility information, as well
7004      as a section name and assembler name.
7006 `struct tree_var_decl'
7007      This structure inherits from `struct tree_decl_with_vis'.  It is
7008      used to represent `VAR_DECL'.
7010 `struct tree_function_decl'
7011      This structure inherits from `struct tree_decl_with_vis'.  It is
7012      used to represent `FUNCTION_DECL'.
7015 \x1f
7016 File: gccint.info,  Node: Adding new DECL node types,  Prev: Current structure hierarchy,  Up: Internal structure
7018 9.5.2.2 Adding new DECL node types
7019 ..................................
7021 Adding a new `DECL' tree consists of the following steps
7023 Add a new tree code for the `DECL' node
7024      For language specific `DECL' nodes, there is a `.def' file in each
7025      frontend directory where the tree code should be added.  For
7026      `DECL' nodes that are part of the middle-end, the code should be
7027      added to `tree.def'.
7029 Create a new structure type for the `DECL' node
7030      These structures should inherit from one of the existing
7031      structures in the language hierarchy by using that structure as
7032      the first member.
7034           struct tree_foo_decl
7035           {
7036              struct tree_decl_with_vis common;
7037           }
7039      Would create a structure name `tree_foo_decl' that inherits from
7040      `struct tree_decl_with_vis'.
7042      For language specific `DECL' nodes, this new structure type should
7043      go in the appropriate `.h' file.  For `DECL' nodes that are part
7044      of the middle-end, the structure type should go in `tree.h'.
7046 Add a member to the tree structure enumerator for the node
7047      For garbage collection and dynamic checking purposes, each `DECL'
7048      node structure type is required to have a unique enumerator value
7049      specified with it.  For language specific `DECL' nodes, this new
7050      enumerator value should go in the appropriate `.def' file.  For
7051      `DECL' nodes that are part of the middle-end, the enumerator
7052      values are specified in `treestruct.def'.
7054 Update `union tree_node'
7055      In order to make your new structure type usable, it must be added
7056      to `union tree_node'.  For language specific `DECL' nodes, a new
7057      entry should be added to the appropriate `.h' file of the form
7058             struct tree_foo_decl GTY ((tag ("TS_VAR_DECL"))) foo_decl;
7059      For `DECL' nodes that are part of the middle-end, the additional
7060      member goes directly into `union tree_node' in `tree.h'.
7062 Update dynamic checking info
7063      In order to be able to check whether accessing a named portion of
7064      `union tree_node' is legal, and whether a certain `DECL' node
7065      contains one of the enumerated `DECL' node structures in the
7066      hierarchy, a simple lookup table is used.  This lookup table needs
7067      to be kept up to date with the tree structure hierarchy, or else
7068      checking and containment macros will fail inappropriately.
7070      For language specific `DECL' nodes, their is an `init_ts' function
7071      in an appropriate `.c' file, which initializes the lookup table.
7072      Code setting up the table for new `DECL' nodes should be added
7073      there.  For each `DECL' tree code and enumerator value
7074      representing a member of the inheritance  hierarchy, the table
7075      should contain 1 if that tree code inherits (directly or
7076      indirectly) from that member.  Thus, a `FOO_DECL' node derived
7077      from `struct decl_with_rtl', and enumerator value `TS_FOO_DECL',
7078      would be set up as follows
7079           tree_contains_struct[FOO_DECL][TS_FOO_DECL] = 1;
7080           tree_contains_struct[FOO_DECL][TS_DECL_WRTL] = 1;
7081           tree_contains_struct[FOO_DECL][TS_DECL_COMMON] = 1;
7082           tree_contains_struct[FOO_DECL][TS_DECL_MINIMAL] = 1;
7084      For `DECL' nodes that are part of the middle-end, the setup code
7085      goes into `tree.c'.
7087 Add macros to access any new fields and flags
7088      Each added field or flag should have a macro that is used to access
7089      it, that performs appropriate checking to ensure only the right
7090      type of `DECL' nodes access the field.
7092      These macros generally take the following form
7093           #define FOO_DECL_FIELDNAME(NODE) FOO_DECL_CHECK(NODE)->foo_decl.fieldname
7094      However, if the structure is simply a base class for further
7095      structures, something like the following should be used
7096           #define BASE_STRUCT_CHECK(T) CONTAINS_STRUCT_CHECK(T, TS_BASE_STRUCT)
7097           #define BASE_STRUCT_FIELDNAME(NODE) \
7098              (BASE_STRUCT_CHECK(NODE)->base_struct.fieldname
7101 \x1f
7102 File: gccint.info,  Node: Functions,  Next: Declarations,  Prev: Scopes,  Up: Trees
7104 9.6 Functions
7105 =============
7107 A function is represented by a `FUNCTION_DECL' node.  A set of
7108 overloaded functions is sometimes represented by a `OVERLOAD' node.
7110  An `OVERLOAD' node is not a declaration, so none of the `DECL_' macros
7111 should be used on an `OVERLOAD'.  An `OVERLOAD' node is similar to a
7112 `TREE_LIST'.  Use `OVL_CURRENT' to get the function associated with an
7113 `OVERLOAD' node; use `OVL_NEXT' to get the next `OVERLOAD' node in the
7114 list of overloaded functions.  The macros `OVL_CURRENT' and `OVL_NEXT'
7115 are actually polymorphic; you can use them to work with `FUNCTION_DECL'
7116 nodes as well as with overloads.  In the case of a `FUNCTION_DECL',
7117 `OVL_CURRENT' will always return the function itself, and `OVL_NEXT'
7118 will always be `NULL_TREE'.
7120  To determine the scope of a function, you can use the `DECL_CONTEXT'
7121 macro.  This macro will return the class (either a `RECORD_TYPE' or a
7122 `UNION_TYPE') or namespace (a `NAMESPACE_DECL') of which the function
7123 is a member.  For a virtual function, this macro returns the class in
7124 which the function was actually defined, not the base class in which
7125 the virtual declaration occurred.
7127  If a friend function is defined in a class scope, the
7128 `DECL_FRIEND_CONTEXT' macro can be used to determine the class in which
7129 it was defined.  For example, in
7130      class C { friend void f() {} };
7131  the `DECL_CONTEXT' for `f' will be the `global_namespace', but the
7132 `DECL_FRIEND_CONTEXT' will be the `RECORD_TYPE' for `C'.
7134  In C, the `DECL_CONTEXT' for a function maybe another function.  This
7135 representation indicates that the GNU nested function extension is in
7136 use.  For details on the semantics of nested functions, see the GCC
7137 Manual.  The nested function can refer to local variables in its
7138 containing function.  Such references are not explicitly marked in the
7139 tree structure; back ends must look at the `DECL_CONTEXT' for the
7140 referenced `VAR_DECL'.  If the `DECL_CONTEXT' for the referenced
7141 `VAR_DECL' is not the same as the function currently being processed,
7142 and neither `DECL_EXTERNAL' nor `DECL_STATIC' hold, then the reference
7143 is to a local variable in a containing function, and the back end must
7144 take appropriate action.
7146 * Menu:
7148 * Function Basics::     Function names, linkage, and so forth.
7149 * Function Bodies::     The statements that make up a function body.
7151 \x1f
7152 File: gccint.info,  Node: Function Basics,  Next: Function Bodies,  Up: Functions
7154 9.6.1 Function Basics
7155 ---------------------
7157 The following macros and functions can be used on a `FUNCTION_DECL':
7158 `DECL_MAIN_P'
7159      This predicate holds for a function that is the program entry point
7160      `::code'.
7162 `DECL_NAME'
7163      This macro returns the unqualified name of the function, as an
7164      `IDENTIFIER_NODE'.  For an instantiation of a function template,
7165      the `DECL_NAME' is the unqualified name of the template, not
7166      something like `f<int>'.  The value of `DECL_NAME' is undefined
7167      when used on a constructor, destructor, overloaded operator, or
7168      type-conversion operator, or any function that is implicitly
7169      generated by the compiler.  See below for macros that can be used
7170      to distinguish these cases.
7172 `DECL_ASSEMBLER_NAME'
7173      This macro returns the mangled name of the function, also an
7174      `IDENTIFIER_NODE'.  This name does not contain leading underscores
7175      on systems that prefix all identifiers with underscores.  The
7176      mangled name is computed in the same way on all platforms; if
7177      special processing is required to deal with the object file format
7178      used on a particular platform, it is the responsibility of the
7179      back end to perform those modifications.  (Of course, the back end
7180      should not modify `DECL_ASSEMBLER_NAME' itself.)
7182      Using `DECL_ASSEMBLER_NAME' will cause additional memory to be
7183      allocated (for the mangled name of the entity) so it should be used
7184      only when emitting assembly code.  It should not be used within the
7185      optimizers to determine whether or not two declarations are the
7186      same, even though some of the existing optimizers do use it in
7187      that way.  These uses will be removed over time.
7189 `DECL_EXTERNAL'
7190      This predicate holds if the function is undefined.
7192 `TREE_PUBLIC'
7193      This predicate holds if the function has external linkage.
7195 `DECL_LOCAL_FUNCTION_P'
7196      This predicate holds if the function was declared at block scope,
7197      even though it has a global scope.
7199 `DECL_ANTICIPATED'
7200      This predicate holds if the function is a built-in function but its
7201      prototype is not yet explicitly declared.
7203 `DECL_EXTERN_C_FUNCTION_P'
7204      This predicate holds if the function is declared as an ``extern
7205      "C"'' function.
7207 `DECL_LINKONCE_P'
7208      This macro holds if multiple copies of this function may be
7209      emitted in various translation units.  It is the responsibility of
7210      the linker to merge the various copies.  Template instantiations
7211      are the most common example of functions for which
7212      `DECL_LINKONCE_P' holds; G++ instantiates needed templates in all
7213      translation units which require them, and then relies on the
7214      linker to remove duplicate instantiations.
7216      FIXME: This macro is not yet implemented.
7218 `DECL_FUNCTION_MEMBER_P'
7219      This macro holds if the function is a member of a class, rather
7220      than a member of a namespace.
7222 `DECL_STATIC_FUNCTION_P'
7223      This predicate holds if the function a static member function.
7225 `DECL_NONSTATIC_MEMBER_FUNCTION_P'
7226      This macro holds for a non-static member function.
7228 `DECL_CONST_MEMFUNC_P'
7229      This predicate holds for a `const'-member function.
7231 `DECL_VOLATILE_MEMFUNC_P'
7232      This predicate holds for a `volatile'-member function.
7234 `DECL_CONSTRUCTOR_P'
7235      This macro holds if the function is a constructor.
7237 `DECL_NONCONVERTING_P'
7238      This predicate holds if the constructor is a non-converting
7239      constructor.
7241 `DECL_COMPLETE_CONSTRUCTOR_P'
7242      This predicate holds for a function which is a constructor for an
7243      object of a complete type.
7245 `DECL_BASE_CONSTRUCTOR_P'
7246      This predicate holds for a function which is a constructor for a
7247      base class sub-object.
7249 `DECL_COPY_CONSTRUCTOR_P'
7250      This predicate holds for a function which is a copy-constructor.
7252 `DECL_DESTRUCTOR_P'
7253      This macro holds if the function is a destructor.
7255 `DECL_COMPLETE_DESTRUCTOR_P'
7256      This predicate holds if the function is the destructor for an
7257      object a complete type.
7259 `DECL_OVERLOADED_OPERATOR_P'
7260      This macro holds if the function is an overloaded operator.
7262 `DECL_CONV_FN_P'
7263      This macro holds if the function is a type-conversion operator.
7265 `DECL_GLOBAL_CTOR_P'
7266      This predicate holds if the function is a file-scope initialization
7267      function.
7269 `DECL_GLOBAL_DTOR_P'
7270      This predicate holds if the function is a file-scope finalization
7271      function.
7273 `DECL_THUNK_P'
7274      This predicate holds if the function is a thunk.
7276      These functions represent stub code that adjusts the `this' pointer
7277      and then jumps to another function.  When the jumped-to function
7278      returns, control is transferred directly to the caller, without
7279      returning to the thunk.  The first parameter to the thunk is
7280      always the `this' pointer; the thunk should add `THUNK_DELTA' to
7281      this value.  (The `THUNK_DELTA' is an `int', not an `INTEGER_CST'.)
7283      Then, if `THUNK_VCALL_OFFSET' (an `INTEGER_CST') is nonzero the
7284      adjusted `this' pointer must be adjusted again.  The complete
7285      calculation is given by the following pseudo-code:
7287           this += THUNK_DELTA
7288           if (THUNK_VCALL_OFFSET)
7289             this += (*((ptrdiff_t **) this))[THUNK_VCALL_OFFSET]
7291      Finally, the thunk should jump to the location given by
7292      `DECL_INITIAL'; this will always be an expression for the address
7293      of a function.
7295 `DECL_NON_THUNK_FUNCTION_P'
7296      This predicate holds if the function is _not_ a thunk function.
7298 `GLOBAL_INIT_PRIORITY'
7299      If either `DECL_GLOBAL_CTOR_P' or `DECL_GLOBAL_DTOR_P' holds, then
7300      this gives the initialization priority for the function.  The
7301      linker will arrange that all functions for which
7302      `DECL_GLOBAL_CTOR_P' holds are run in increasing order of priority
7303      before `main' is called.  When the program exits, all functions for
7304      which `DECL_GLOBAL_DTOR_P' holds are run in the reverse order.
7306 `DECL_ARTIFICIAL'
7307      This macro holds if the function was implicitly generated by the
7308      compiler, rather than explicitly declared.  In addition to
7309      implicitly generated class member functions, this macro holds for
7310      the special functions created to implement static initialization
7311      and destruction, to compute run-time type information, and so
7312      forth.
7314 `DECL_ARGUMENTS'
7315      This macro returns the `PARM_DECL' for the first argument to the
7316      function.  Subsequent `PARM_DECL' nodes can be obtained by
7317      following the `TREE_CHAIN' links.
7319 `DECL_RESULT'
7320      This macro returns the `RESULT_DECL' for the function.
7322 `TREE_TYPE'
7323      This macro returns the `FUNCTION_TYPE' or `METHOD_TYPE' for the
7324      function.
7326 `TYPE_RAISES_EXCEPTIONS'
7327      This macro returns the list of exceptions that a (member-)function
7328      can raise.  The returned list, if non `NULL', is comprised of nodes
7329      whose `TREE_VALUE' represents a type.
7331 `TYPE_NOTHROW_P'
7332      This predicate holds when the exception-specification of its
7333      arguments if of the form ``()''.
7335 `DECL_ARRAY_DELETE_OPERATOR_P'
7336      This predicate holds if the function an overloaded `operator
7337      delete[]'.
7340 \x1f
7341 File: gccint.info,  Node: Function Bodies,  Prev: Function Basics,  Up: Functions
7343 9.6.2 Function Bodies
7344 ---------------------
7346 A function that has a definition in the current translation unit will
7347 have a non-`NULL' `DECL_INITIAL'.  However, back ends should not make
7348 use of the particular value given by `DECL_INITIAL'.
7350  The `DECL_SAVED_TREE' macro will give the complete body of the
7351 function.
7353 9.6.2.1 Statements
7354 ..................
7356 There are tree nodes corresponding to all of the source-level statement
7357 constructs, used within the C and C++ frontends.  These are enumerated
7358 here, together with a list of the various macros that can be used to
7359 obtain information about them.  There are a few macros that can be used
7360 with all statements:
7362 `STMT_IS_FULL_EXPR_P'
7363      In C++, statements normally constitute "full expressions";
7364      temporaries created during a statement are destroyed when the
7365      statement is complete.  However, G++ sometimes represents
7366      expressions by statements; these statements will not have
7367      `STMT_IS_FULL_EXPR_P' set.  Temporaries created during such
7368      statements should be destroyed when the innermost enclosing
7369      statement with `STMT_IS_FULL_EXPR_P' set is exited.
7372  Here is the list of the various statement nodes, and the macros used to
7373 access them.  This documentation describes the use of these nodes in
7374 non-template functions (including instantiations of template functions).
7375 In template functions, the same nodes are used, but sometimes in
7376 slightly different ways.
7378  Many of the statements have substatements.  For example, a `while'
7379 loop will have a body, which is itself a statement.  If the substatement
7380 is `NULL_TREE', it is considered equivalent to a statement consisting
7381 of a single `;', i.e., an expression statement in which the expression
7382 has been omitted.  A substatement may in fact be a list of statements,
7383 connected via their `TREE_CHAIN's.  So, you should always process the
7384 statement tree by looping over substatements, like this:
7385      void process_stmt (stmt)
7386           tree stmt;
7387      {
7388        while (stmt)
7389          {
7390            switch (TREE_CODE (stmt))
7391              {
7392              case IF_STMT:
7393                process_stmt (THEN_CLAUSE (stmt));
7394                /* More processing here.  */
7395                break;
7397              ...
7398              }
7400            stmt = TREE_CHAIN (stmt);
7401          }
7402      }
7403  In other words, while the `then' clause of an `if' statement in C++
7404 can be only one statement (although that one statement may be a
7405 compound statement), the intermediate representation will sometimes use
7406 several statements chained together.
7408 `ASM_EXPR'
7409      Used to represent an inline assembly statement.  For an inline
7410      assembly statement like:
7411           asm ("mov x, y");
7412      The `ASM_STRING' macro will return a `STRING_CST' node for `"mov
7413      x, y"'.  If the original statement made use of the
7414      extended-assembly syntax, then `ASM_OUTPUTS', `ASM_INPUTS', and
7415      `ASM_CLOBBERS' will be the outputs, inputs, and clobbers for the
7416      statement, represented as `STRING_CST' nodes.  The
7417      extended-assembly syntax looks like:
7418           asm ("fsinx %1,%0" : "=f" (result) : "f" (angle));
7419      The first string is the `ASM_STRING', containing the instruction
7420      template.  The next two strings are the output and inputs,
7421      respectively; this statement has no clobbers.  As this example
7422      indicates, "plain" assembly statements are merely a special case
7423      of extended assembly statements; they have no cv-qualifiers,
7424      outputs, inputs, or clobbers.  All of the strings will be
7425      `NUL'-terminated, and will contain no embedded `NUL'-characters.
7427      If the assembly statement is declared `volatile', or if the
7428      statement was not an extended assembly statement, and is therefore
7429      implicitly volatile, then the predicate `ASM_VOLATILE_P' will hold
7430      of the `ASM_EXPR'.
7432 `BREAK_STMT'
7433      Used to represent a `break' statement.  There are no additional
7434      fields.
7436 `CASE_LABEL_EXPR'
7437      Use to represent a `case' label, range of `case' labels, or a
7438      `default' label.  If `CASE_LOW' is `NULL_TREE', then this is a
7439      `default' label.  Otherwise, if `CASE_HIGH' is `NULL_TREE', then
7440      this is an ordinary `case' label.  In this case, `CASE_LOW' is an
7441      expression giving the value of the label.  Both `CASE_LOW' and
7442      `CASE_HIGH' are `INTEGER_CST' nodes.  These values will have the
7443      same type as the condition expression in the switch statement.
7445      Otherwise, if both `CASE_LOW' and `CASE_HIGH' are defined, the
7446      statement is a range of case labels.  Such statements originate
7447      with the extension that allows users to write things of the form:
7448           case 2 ... 5:
7449      The first value will be `CASE_LOW', while the second will be
7450      `CASE_HIGH'.
7452 `CLEANUP_STMT'
7453      Used to represent an action that should take place upon exit from
7454      the enclosing scope.  Typically, these actions are calls to
7455      destructors for local objects, but back ends cannot rely on this
7456      fact.  If these nodes are in fact representing such destructors,
7457      `CLEANUP_DECL' will be the `VAR_DECL' destroyed.  Otherwise,
7458      `CLEANUP_DECL' will be `NULL_TREE'.  In any case, the
7459      `CLEANUP_EXPR' is the expression to execute.  The cleanups
7460      executed on exit from a scope should be run in the reverse order
7461      of the order in which the associated `CLEANUP_STMT's were
7462      encountered.
7464 `CONTINUE_STMT'
7465      Used to represent a `continue' statement.  There are no additional
7466      fields.
7468 `CTOR_STMT'
7469      Used to mark the beginning (if `CTOR_BEGIN_P' holds) or end (if
7470      `CTOR_END_P' holds of the main body of a constructor.  See also
7471      `SUBOBJECT' for more information on how to use these nodes.
7473 `DECL_STMT'
7474      Used to represent a local declaration.  The `DECL_STMT_DECL' macro
7475      can be used to obtain the entity declared.  This declaration may
7476      be a `LABEL_DECL', indicating that the label declared is a local
7477      label.  (As an extension, GCC allows the declaration of labels
7478      with scope.)  In C, this declaration may be a `FUNCTION_DECL',
7479      indicating the use of the GCC nested function extension.  For more
7480      information, *note Functions::.
7482 `DO_STMT'
7483      Used to represent a `do' loop.  The body of the loop is given by
7484      `DO_BODY' while the termination condition for the loop is given by
7485      `DO_COND'.  The condition for a `do'-statement is always an
7486      expression.
7488 `EMPTY_CLASS_EXPR'
7489      Used to represent a temporary object of a class with no data whose
7490      address is never taken.  (All such objects are interchangeable.)
7491      The `TREE_TYPE' represents the type of the object.
7493 `EXPR_STMT'
7494      Used to represent an expression statement.  Use `EXPR_STMT_EXPR' to
7495      obtain the expression.
7497 `FOR_STMT'
7498      Used to represent a `for' statement.  The `FOR_INIT_STMT' is the
7499      initialization statement for the loop.  The `FOR_COND' is the
7500      termination condition.  The `FOR_EXPR' is the expression executed
7501      right before the `FOR_COND' on each loop iteration; often, this
7502      expression increments a counter.  The body of the loop is given by
7503      `FOR_BODY'.  Note that `FOR_INIT_STMT' and `FOR_BODY' return
7504      statements, while `FOR_COND' and `FOR_EXPR' return expressions.
7506 `GOTO_EXPR'
7507      Used to represent a `goto' statement.  The `GOTO_DESTINATION' will
7508      usually be a `LABEL_DECL'.  However, if the "computed goto"
7509      extension has been used, the `GOTO_DESTINATION' will be an
7510      arbitrary expression indicating the destination.  This expression
7511      will always have pointer type.
7513 `HANDLER'
7514      Used to represent a C++ `catch' block.  The `HANDLER_TYPE' is the
7515      type of exception that will be caught by this handler; it is equal
7516      (by pointer equality) to `NULL' if this handler is for all types.
7517      `HANDLER_PARMS' is the `DECL_STMT' for the catch parameter, and
7518      `HANDLER_BODY' is the code for the block itself.
7520 `IF_STMT'
7521      Used to represent an `if' statement.  The `IF_COND' is the
7522      expression.
7524      If the condition is a `TREE_LIST', then the `TREE_PURPOSE' is a
7525      statement (usually a `DECL_STMT').  Each time the condition is
7526      evaluated, the statement should be executed.  Then, the
7527      `TREE_VALUE' should be used as the conditional expression itself.
7528      This representation is used to handle C++ code like this:
7530           if (int i = 7) ...
7532      where there is a new local variable (or variables) declared within
7533      the condition.
7535      The `THEN_CLAUSE' represents the statement given by the `then'
7536      condition, while the `ELSE_CLAUSE' represents the statement given
7537      by the `else' condition.
7539 `LABEL_EXPR'
7540      Used to represent a label.  The `LABEL_DECL' declared by this
7541      statement can be obtained with the `LABEL_EXPR_LABEL' macro.  The
7542      `IDENTIFIER_NODE' giving the name of the label can be obtained from
7543      the `LABEL_DECL' with `DECL_NAME'.
7545 `RETURN_STMT'
7546      Used to represent a `return' statement.  The `RETURN_EXPR' is the
7547      expression returned; it will be `NULL_TREE' if the statement was
7548      just
7549           return;
7551 `SUBOBJECT'
7552      In a constructor, these nodes are used to mark the point at which a
7553      subobject of `this' is fully constructed.  If, after this point, an
7554      exception is thrown before a `CTOR_STMT' with `CTOR_END_P' set is
7555      encountered, the `SUBOBJECT_CLEANUP' must be executed.  The
7556      cleanups must be executed in the reverse order in which they
7557      appear.
7559 `SWITCH_STMT'
7560      Used to represent a `switch' statement.  The `SWITCH_STMT_COND' is
7561      the expression on which the switch is occurring.  See the
7562      documentation for an `IF_STMT' for more information on the
7563      representation used for the condition.  The `SWITCH_STMT_BODY' is
7564      the body of the switch statement.   The `SWITCH_STMT_TYPE' is the
7565      original type of switch expression as given in the source, before
7566      any compiler conversions.
7568 `TRY_BLOCK'
7569      Used to represent a `try' block.  The body of the try block is
7570      given by `TRY_STMTS'.  Each of the catch blocks is a `HANDLER'
7571      node.  The first handler is given by `TRY_HANDLERS'.  Subsequent
7572      handlers are obtained by following the `TREE_CHAIN' link from one
7573      handler to the next.  The body of the handler is given by
7574      `HANDLER_BODY'.
7576      If `CLEANUP_P' holds of the `TRY_BLOCK', then the `TRY_HANDLERS'
7577      will not be a `HANDLER' node.  Instead, it will be an expression
7578      that should be executed if an exception is thrown in the try
7579      block.  It must rethrow the exception after executing that code.
7580      And, if an exception is thrown while the expression is executing,
7581      `terminate' must be called.
7583 `USING_STMT'
7584      Used to represent a `using' directive.  The namespace is given by
7585      `USING_STMT_NAMESPACE', which will be a NAMESPACE_DECL.  This node
7586      is needed inside template functions, to implement using directives
7587      during instantiation.
7589 `WHILE_STMT'
7590      Used to represent a `while' loop.  The `WHILE_COND' is the
7591      termination condition for the loop.  See the documentation for an
7592      `IF_STMT' for more information on the representation used for the
7593      condition.
7595      The `WHILE_BODY' is the body of the loop.
7598 \x1f
7599 File: gccint.info,  Node: Attributes,  Next: Expression trees,  Prev: Declarations,  Up: Trees
7601 9.7 Attributes in trees
7602 =======================
7604 Attributes, as specified using the `__attribute__' keyword, are
7605 represented internally as a `TREE_LIST'.  The `TREE_PURPOSE' is the
7606 name of the attribute, as an `IDENTIFIER_NODE'.  The `TREE_VALUE' is a
7607 `TREE_LIST' of the arguments of the attribute, if any, or `NULL_TREE'
7608 if there are no arguments; the arguments are stored as the `TREE_VALUE'
7609 of successive entries in the list, and may be identifiers or
7610 expressions.  The `TREE_CHAIN' of the attribute is the next attribute
7611 in a list of attributes applying to the same declaration or type, or
7612 `NULL_TREE' if there are no further attributes in the list.
7614  Attributes may be attached to declarations and to types; these
7615 attributes may be accessed with the following macros.  All attributes
7616 are stored in this way, and many also cause other changes to the
7617 declaration or type or to other internal compiler data structures.
7619  -- Tree Macro: tree DECL_ATTRIBUTES (tree DECL)
7620      This macro returns the attributes on the declaration DECL.
7622  -- Tree Macro: tree TYPE_ATTRIBUTES (tree TYPE)
7623      This macro returns the attributes on the type TYPE.
7625 \x1f
7626 File: gccint.info,  Node: Expression trees,  Prev: Attributes,  Up: Trees
7628 9.8 Expressions
7629 ===============
7631 The internal representation for expressions is for the most part quite
7632 straightforward.  However, there are a few facts that one must bear in
7633 mind.  In particular, the expression "tree" is actually a directed
7634 acyclic graph.  (For example there may be many references to the integer
7635 constant zero throughout the source program; many of these will be
7636 represented by the same expression node.)  You should not rely on
7637 certain kinds of node being shared, nor should you rely on certain
7638 kinds of nodes being unshared.
7640  The following macros can be used with all expression nodes:
7642 `TREE_TYPE'
7643      Returns the type of the expression.  This value may not be
7644      precisely the same type that would be given the expression in the
7645      original program.
7647  In what follows, some nodes that one might expect to always have type
7648 `bool' are documented to have either integral or boolean type.  At some
7649 point in the future, the C front end may also make use of this same
7650 intermediate representation, and at this point these nodes will
7651 certainly have integral type.  The previous sentence is not meant to
7652 imply that the C++ front end does not or will not give these nodes
7653 integral type.
7655  Below, we list the various kinds of expression nodes.  Except where
7656 noted otherwise, the operands to an expression are accessed using the
7657 `TREE_OPERAND' macro.  For example, to access the first operand to a
7658 binary plus expression `expr', use:
7660      TREE_OPERAND (expr, 0)
7661  As this example indicates, the operands are zero-indexed.
7663  All the expressions starting with `OMP_' represent directives and
7664 clauses used by the OpenMP API `http://www.openmp.org/'.
7666  The table below begins with constants, moves on to unary expressions,
7667 then proceeds to binary expressions, and concludes with various other
7668 kinds of expressions:
7670 `INTEGER_CST'
7671      These nodes represent integer constants.  Note that the type of
7672      these constants is obtained with `TREE_TYPE'; they are not always
7673      of type `int'.  In particular, `char' constants are represented
7674      with `INTEGER_CST' nodes.  The value of the integer constant `e' is
7675      given by
7676           ((TREE_INT_CST_HIGH (e) << HOST_BITS_PER_WIDE_INT)
7677           + TREE_INST_CST_LOW (e))
7678      HOST_BITS_PER_WIDE_INT is at least thirty-two on all platforms.
7679      Both `TREE_INT_CST_HIGH' and `TREE_INT_CST_LOW' return a
7680      `HOST_WIDE_INT'.  The value of an `INTEGER_CST' is interpreted as
7681      a signed or unsigned quantity depending on the type of the
7682      constant.  In general, the expression given above will overflow,
7683      so it should not be used to calculate the value of the constant.
7685      The variable `integer_zero_node' is an integer constant with value
7686      zero.  Similarly, `integer_one_node' is an integer constant with
7687      value one.  The `size_zero_node' and `size_one_node' variables are
7688      analogous, but have type `size_t' rather than `int'.
7690      The function `tree_int_cst_lt' is a predicate which holds if its
7691      first argument is less than its second.  Both constants are
7692      assumed to have the same signedness (i.e., either both should be
7693      signed or both should be unsigned.)  The full width of the
7694      constant is used when doing the comparison; the usual rules about
7695      promotions and conversions are ignored.  Similarly,
7696      `tree_int_cst_equal' holds if the two constants are equal.  The
7697      `tree_int_cst_sgn' function returns the sign of a constant.  The
7698      value is `1', `0', or `-1' according on whether the constant is
7699      greater than, equal to, or less than zero.  Again, the signedness
7700      of the constant's type is taken into account; an unsigned constant
7701      is never less than zero, no matter what its bit-pattern.
7703 `REAL_CST'
7704      FIXME: Talk about how to obtain representations of this constant,
7705      do comparisons, and so forth.
7707 `FIXED_CST'
7708      These nodes represent fixed-point constants.  The type of these
7709      constants is obtained with `TREE_TYPE'.  `TREE_FIXED_CST_PTR'
7710      points to to struct fixed_value;  `TREE_FIXED_CST' returns the
7711      structure itself.  Struct fixed_value contains `data' with the
7712      size of two HOST_BITS_PER_WIDE_INT and `mode' as the associated
7713      fixed-point machine mode for `data'.
7715 `COMPLEX_CST'
7716      These nodes are used to represent complex number constants, that
7717      is a `__complex__' whose parts are constant nodes.  The
7718      `TREE_REALPART' and `TREE_IMAGPART' return the real and the
7719      imaginary parts respectively.
7721 `VECTOR_CST'
7722      These nodes are used to represent vector constants, whose parts are
7723      constant nodes.  Each individual constant node is either an
7724      integer or a double constant node.  The first operand is a
7725      `TREE_LIST' of the constant nodes and is accessed through
7726      `TREE_VECTOR_CST_ELTS'.
7728 `STRING_CST'
7729      These nodes represent string-constants.  The `TREE_STRING_LENGTH'
7730      returns the length of the string, as an `int'.  The
7731      `TREE_STRING_POINTER' is a `char*' containing the string itself.
7732      The string may not be `NUL'-terminated, and it may contain
7733      embedded `NUL' characters.  Therefore, the `TREE_STRING_LENGTH'
7734      includes the trailing `NUL' if it is present.
7736      For wide string constants, the `TREE_STRING_LENGTH' is the number
7737      of bytes in the string, and the `TREE_STRING_POINTER' points to an
7738      array of the bytes of the string, as represented on the target
7739      system (that is, as integers in the target endianness).  Wide and
7740      non-wide string constants are distinguished only by the `TREE_TYPE'
7741      of the `STRING_CST'.
7743      FIXME: The formats of string constants are not well-defined when
7744      the target system bytes are not the same width as host system
7745      bytes.
7747 `PTRMEM_CST'
7748      These nodes are used to represent pointer-to-member constants.  The
7749      `PTRMEM_CST_CLASS' is the class type (either a `RECORD_TYPE' or
7750      `UNION_TYPE' within which the pointer points), and the
7751      `PTRMEM_CST_MEMBER' is the declaration for the pointed to object.
7752      Note that the `DECL_CONTEXT' for the `PTRMEM_CST_MEMBER' is in
7753      general different from the `PTRMEM_CST_CLASS'.  For example, given:
7754           struct B { int i; };
7755           struct D : public B {};
7756           int D::*dp = &D::i;
7757      The `PTRMEM_CST_CLASS' for `&D::i' is `D', even though the
7758      `DECL_CONTEXT' for the `PTRMEM_CST_MEMBER' is `B', since `B::i' is
7759      a member of `B', not `D'.
7761 `VAR_DECL'
7762      These nodes represent variables, including static data members.
7763      For more information, *note Declarations::.
7765 `NEGATE_EXPR'
7766      These nodes represent unary negation of the single operand, for
7767      both integer and floating-point types.  The type of negation can be
7768      determined by looking at the type of the expression.
7770      The behavior of this operation on signed arithmetic overflow is
7771      controlled by the `flag_wrapv' and `flag_trapv' variables.
7773 `ABS_EXPR'
7774      These nodes represent the absolute value of the single operand, for
7775      both integer and floating-point types.  This is typically used to
7776      implement the `abs', `labs' and `llabs' builtins for integer
7777      types, and the `fabs', `fabsf' and `fabsl' builtins for floating
7778      point types.  The type of abs operation can be determined by
7779      looking at the type of the expression.
7781      This node is not used for complex types.  To represent the modulus
7782      or complex abs of a complex value, use the `BUILT_IN_CABS',
7783      `BUILT_IN_CABSF' or `BUILT_IN_CABSL' builtins, as used to
7784      implement the C99 `cabs', `cabsf' and `cabsl' built-in functions.
7786 `BIT_NOT_EXPR'
7787      These nodes represent bitwise complement, and will always have
7788      integral type.  The only operand is the value to be complemented.
7790 `TRUTH_NOT_EXPR'
7791      These nodes represent logical negation, and will always have
7792      integral (or boolean) type.  The operand is the value being
7793      negated.  The type of the operand and that of the result are
7794      always of `BOOLEAN_TYPE' or `INTEGER_TYPE'.
7796 `PREDECREMENT_EXPR'
7797 `PREINCREMENT_EXPR'
7798 `POSTDECREMENT_EXPR'
7799 `POSTINCREMENT_EXPR'
7800      These nodes represent increment and decrement expressions.  The
7801      value of the single operand is computed, and the operand
7802      incremented or decremented.  In the case of `PREDECREMENT_EXPR' and
7803      `PREINCREMENT_EXPR', the value of the expression is the value
7804      resulting after the increment or decrement; in the case of
7805      `POSTDECREMENT_EXPR' and `POSTINCREMENT_EXPR' is the value before
7806      the increment or decrement occurs.  The type of the operand, like
7807      that of the result, will be either integral, boolean, or
7808      floating-point.
7810 `ADDR_EXPR'
7811      These nodes are used to represent the address of an object.  (These
7812      expressions will always have pointer or reference type.)  The
7813      operand may be another expression, or it may be a declaration.
7815      As an extension, GCC allows users to take the address of a label.
7816      In this case, the operand of the `ADDR_EXPR' will be a
7817      `LABEL_DECL'.  The type of such an expression is `void*'.
7819      If the object addressed is not an lvalue, a temporary is created,
7820      and the address of the temporary is used.
7822 `INDIRECT_REF'
7823      These nodes are used to represent the object pointed to by a
7824      pointer.  The operand is the pointer being dereferenced; it will
7825      always have pointer or reference type.
7827 `FIX_TRUNC_EXPR'
7828      These nodes represent conversion of a floating-point value to an
7829      integer.  The single operand will have a floating-point type, while
7830      the complete expression will have an integral (or boolean) type.
7831      The operand is rounded towards zero.
7833 `FLOAT_EXPR'
7834      These nodes represent conversion of an integral (or boolean) value
7835      to a floating-point value.  The single operand will have integral
7836      type, while the complete expression will have a floating-point
7837      type.
7839      FIXME: How is the operand supposed to be rounded?  Is this
7840      dependent on `-mieee'?
7842 `COMPLEX_EXPR'
7843      These nodes are used to represent complex numbers constructed from
7844      two expressions of the same (integer or real) type.  The first
7845      operand is the real part and the second operand is the imaginary
7846      part.
7848 `CONJ_EXPR'
7849      These nodes represent the conjugate of their operand.
7851 `REALPART_EXPR'
7852 `IMAGPART_EXPR'
7853      These nodes represent respectively the real and the imaginary parts
7854      of complex numbers (their sole argument).
7856 `NON_LVALUE_EXPR'
7857      These nodes indicate that their one and only operand is not an
7858      lvalue.  A back end can treat these identically to the single
7859      operand.
7861 `NOP_EXPR'
7862      These nodes are used to represent conversions that do not require
7863      any code-generation.  For example, conversion of a `char*' to an
7864      `int*' does not require any code be generated; such a conversion is
7865      represented by a `NOP_EXPR'.  The single operand is the expression
7866      to be converted.  The conversion from a pointer to a reference is
7867      also represented with a `NOP_EXPR'.
7869 `CONVERT_EXPR'
7870      These nodes are similar to `NOP_EXPR's, but are used in those
7871      situations where code may need to be generated.  For example, if an
7872      `int*' is converted to an `int' code may need to be generated on
7873      some platforms.  These nodes are never used for C++-specific
7874      conversions, like conversions between pointers to different
7875      classes in an inheritance hierarchy.  Any adjustments that need to
7876      be made in such cases are always indicated explicitly.  Similarly,
7877      a user-defined conversion is never represented by a
7878      `CONVERT_EXPR'; instead, the function calls are made explicit.
7880 `FIXED_CONVERT_EXPR'
7881      These nodes are used to represent conversions that involve
7882      fixed-point values.  For example, from a fixed-point value to
7883      another fixed-point value, from an integer to a fixed-point value,
7884      from a fixed-point value to an integer, from a floating-point
7885      value to a fixed-point value, or from a fixed-point value to a
7886      floating-point value.
7888 `THROW_EXPR'
7889      These nodes represent `throw' expressions.  The single operand is
7890      an expression for the code that should be executed to throw the
7891      exception.  However, there is one implicit action not represented
7892      in that expression; namely the call to `__throw'.  This function
7893      takes no arguments.  If `setjmp'/`longjmp' exceptions are used, the
7894      function `__sjthrow' is called instead.  The normal GCC back end
7895      uses the function `emit_throw' to generate this code; you can
7896      examine this function to see what needs to be done.
7898 `LSHIFT_EXPR'
7899 `RSHIFT_EXPR'
7900      These nodes represent left and right shifts, respectively.  The
7901      first operand is the value to shift; it will always be of integral
7902      type.  The second operand is an expression for the number of bits
7903      by which to shift.  Right shift should be treated as arithmetic,
7904      i.e., the high-order bits should be zero-filled when the
7905      expression has unsigned type and filled with the sign bit when the
7906      expression has signed type.  Note that the result is undefined if
7907      the second operand is larger than or equal to the first operand's
7908      type size.
7910 `BIT_IOR_EXPR'
7911 `BIT_XOR_EXPR'
7912 `BIT_AND_EXPR'
7913      These nodes represent bitwise inclusive or, bitwise exclusive or,
7914      and bitwise and, respectively.  Both operands will always have
7915      integral type.
7917 `TRUTH_ANDIF_EXPR'
7918 `TRUTH_ORIF_EXPR'
7919      These nodes represent logical "and" and logical "or", respectively.
7920      These operators are not strict; i.e., the second operand is
7921      evaluated only if the value of the expression is not determined by
7922      evaluation of the first operand.  The type of the operands and
7923      that of the result are always of `BOOLEAN_TYPE' or `INTEGER_TYPE'.
7925 `TRUTH_AND_EXPR'
7926 `TRUTH_OR_EXPR'
7927 `TRUTH_XOR_EXPR'
7928      These nodes represent logical and, logical or, and logical
7929      exclusive or.  They are strict; both arguments are always
7930      evaluated.  There are no corresponding operators in C or C++, but
7931      the front end will sometimes generate these expressions anyhow, if
7932      it can tell that strictness does not matter.  The type of the
7933      operands and that of the result are always of `BOOLEAN_TYPE' or
7934      `INTEGER_TYPE'.
7936 `POINTER_PLUS_EXPR'
7937      This node represents pointer arithmetic.  The first operand is
7938      always a pointer/reference type.  The second operand is always an
7939      unsigned integer type compatible with sizetype.  This is the only
7940      binary arithmetic operand that can operate on pointer types.
7942 `PLUS_EXPR'
7943 `MINUS_EXPR'
7944 `MULT_EXPR'
7945      These nodes represent various binary arithmetic operations.
7946      Respectively, these operations are addition, subtraction (of the
7947      second operand from the first) and multiplication.  Their operands
7948      may have either integral or floating type, but there will never be
7949      case in which one operand is of floating type and the other is of
7950      integral type.
7952      The behavior of these operations on signed arithmetic overflow is
7953      controlled by the `flag_wrapv' and `flag_trapv' variables.
7955 `RDIV_EXPR'
7956      This node represents a floating point division operation.
7958 `TRUNC_DIV_EXPR'
7959 `FLOOR_DIV_EXPR'
7960 `CEIL_DIV_EXPR'
7961 `ROUND_DIV_EXPR'
7962      These nodes represent integer division operations that return an
7963      integer result.  `TRUNC_DIV_EXPR' rounds towards zero,
7964      `FLOOR_DIV_EXPR' rounds towards negative infinity, `CEIL_DIV_EXPR'
7965      rounds towards positive infinity and `ROUND_DIV_EXPR' rounds to
7966      the closest integer.  Integer division in C and C++ is truncating,
7967      i.e. `TRUNC_DIV_EXPR'.
7969      The behavior of these operations on signed arithmetic overflow,
7970      when dividing the minimum signed integer by minus one, is
7971      controlled by the `flag_wrapv' and `flag_trapv' variables.
7973 `TRUNC_MOD_EXPR'
7974 `FLOOR_MOD_EXPR'
7975 `CEIL_MOD_EXPR'
7976 `ROUND_MOD_EXPR'
7977      These nodes represent the integer remainder or modulus operation.
7978      The integer modulus of two operands `a' and `b' is defined as `a -
7979      (a/b)*b' where the division calculated using the corresponding
7980      division operator.  Hence for `TRUNC_MOD_EXPR' this definition
7981      assumes division using truncation towards zero, i.e.
7982      `TRUNC_DIV_EXPR'.  Integer remainder in C and C++ uses truncating
7983      division, i.e. `TRUNC_MOD_EXPR'.
7985 `EXACT_DIV_EXPR'
7986      The `EXACT_DIV_EXPR' code is used to represent integer divisions
7987      where the numerator is known to be an exact multiple of the
7988      denominator.  This allows the backend to choose between the faster
7989      of `TRUNC_DIV_EXPR', `CEIL_DIV_EXPR' and `FLOOR_DIV_EXPR' for the
7990      current target.
7992 `ARRAY_REF'
7993      These nodes represent array accesses.  The first operand is the
7994      array; the second is the index.  To calculate the address of the
7995      memory accessed, you must scale the index by the size of the type
7996      of the array elements.  The type of these expressions must be the
7997      type of a component of the array.  The third and fourth operands
7998      are used after gimplification to represent the lower bound and
7999      component size but should not be used directly; call
8000      `array_ref_low_bound' and `array_ref_element_size' instead.
8002 `ARRAY_RANGE_REF'
8003      These nodes represent access to a range (or "slice") of an array.
8004      The operands are the same as that for `ARRAY_REF' and have the same
8005      meanings.  The type of these expressions must be an array whose
8006      component type is the same as that of the first operand.  The
8007      range of that array type determines the amount of data these
8008      expressions access.
8010 `TARGET_MEM_REF'
8011      These nodes represent memory accesses whose address directly map to
8012      an addressing mode of the target architecture.  The first argument
8013      is `TMR_SYMBOL' and must be a `VAR_DECL' of an object with a fixed
8014      address.  The second argument is `TMR_BASE' and the third one is
8015      `TMR_INDEX'.  The fourth argument is `TMR_STEP' and must be an
8016      `INTEGER_CST'.  The fifth argument is `TMR_OFFSET' and must be an
8017      `INTEGER_CST'.  Any of the arguments may be NULL if the
8018      appropriate component does not appear in the address.  Address of
8019      the `TARGET_MEM_REF' is determined in the following way.
8021           &TMR_SYMBOL + TMR_BASE + TMR_INDEX * TMR_STEP + TMR_OFFSET
8023      The sixth argument is the reference to the original memory access,
8024      which is preserved for the purposes of the RTL alias analysis.
8025      The seventh argument is a tag representing the results of tree
8026      level alias analysis.
8028 `LT_EXPR'
8029 `LE_EXPR'
8030 `GT_EXPR'
8031 `GE_EXPR'
8032 `EQ_EXPR'
8033 `NE_EXPR'
8034      These nodes represent the less than, less than or equal to, greater
8035      than, greater than or equal to, equal, and not equal comparison
8036      operators.  The first and second operand with either be both of
8037      integral type or both of floating type.  The result type of these
8038      expressions will always be of integral or boolean type.  These
8039      operations return the result type's zero value for false, and the
8040      result type's one value for true.
8042      For floating point comparisons, if we honor IEEE NaNs and either
8043      operand is NaN, then `NE_EXPR' always returns true and the
8044      remaining operators always return false.  On some targets,
8045      comparisons against an IEEE NaN, other than equality and
8046      inequality, may generate a floating point exception.
8048 `ORDERED_EXPR'
8049 `UNORDERED_EXPR'
8050      These nodes represent non-trapping ordered and unordered comparison
8051      operators.  These operations take two floating point operands and
8052      determine whether they are ordered or unordered relative to each
8053      other.  If either operand is an IEEE NaN, their comparison is
8054      defined to be unordered, otherwise the comparison is defined to be
8055      ordered.  The result type of these expressions will always be of
8056      integral or boolean type.  These operations return the result
8057      type's zero value for false, and the result type's one value for
8058      true.
8060 `UNLT_EXPR'
8061 `UNLE_EXPR'
8062 `UNGT_EXPR'
8063 `UNGE_EXPR'
8064 `UNEQ_EXPR'
8065 `LTGT_EXPR'
8066      These nodes represent the unordered comparison operators.  These
8067      operations take two floating point operands and determine whether
8068      the operands are unordered or are less than, less than or equal to,
8069      greater than, greater than or equal to, or equal respectively.  For
8070      example, `UNLT_EXPR' returns true if either operand is an IEEE NaN
8071      or the first operand is less than the second.  With the possible
8072      exception of `LTGT_EXPR', all of these operations are guaranteed
8073      not to generate a floating point exception.  The result type of
8074      these expressions will always be of integral or boolean type.
8075      These operations return the result type's zero value for false,
8076      and the result type's one value for true.
8078 `MODIFY_EXPR'
8079      These nodes represent assignment.  The left-hand side is the first
8080      operand; the right-hand side is the second operand.  The left-hand
8081      side will be a `VAR_DECL', `INDIRECT_REF', `COMPONENT_REF', or
8082      other lvalue.
8084      These nodes are used to represent not only assignment with `=' but
8085      also compound assignments (like `+='), by reduction to `='
8086      assignment.  In other words, the representation for `i += 3' looks
8087      just like that for `i = i + 3'.
8089 `INIT_EXPR'
8090      These nodes are just like `MODIFY_EXPR', but are used only when a
8091      variable is initialized, rather than assigned to subsequently.
8092      This means that we can assume that the target of the
8093      initialization is not used in computing its own value; any
8094      reference to the lhs in computing the rhs is undefined.
8096 `COMPONENT_REF'
8097      These nodes represent non-static data member accesses.  The first
8098      operand is the object (rather than a pointer to it); the second
8099      operand is the `FIELD_DECL' for the data member.  The third
8100      operand represents the byte offset of the field, but should not be
8101      used directly; call `component_ref_field_offset' instead.
8103 `COMPOUND_EXPR'
8104      These nodes represent comma-expressions.  The first operand is an
8105      expression whose value is computed and thrown away prior to the
8106      evaluation of the second operand.  The value of the entire
8107      expression is the value of the second operand.
8109 `COND_EXPR'
8110      These nodes represent `?:' expressions.  The first operand is of
8111      boolean or integral type.  If it evaluates to a nonzero value, the
8112      second operand should be evaluated, and returned as the value of
8113      the expression.  Otherwise, the third operand is evaluated, and
8114      returned as the value of the expression.
8116      The second operand must have the same type as the entire
8117      expression, unless it unconditionally throws an exception or calls
8118      a noreturn function, in which case it should have void type.  The
8119      same constraints apply to the third operand.  This allows array
8120      bounds checks to be represented conveniently as `(i >= 0 && i <
8121      10) ? i : abort()'.
8123      As a GNU extension, the C language front-ends allow the second
8124      operand of the `?:' operator may be omitted in the source.  For
8125      example, `x ? : 3' is equivalent to `x ? x : 3', assuming that `x'
8126      is an expression without side-effects.  In the tree
8127      representation, however, the second operand is always present,
8128      possibly protected by `SAVE_EXPR' if the first argument does cause
8129      side-effects.
8131 `CALL_EXPR'
8132      These nodes are used to represent calls to functions, including
8133      non-static member functions.  `CALL_EXPR's are implemented as
8134      expression nodes with a variable number of operands.  Rather than
8135      using `TREE_OPERAND' to extract them, it is preferable to use the
8136      specialized accessor macros and functions that operate
8137      specifically on `CALL_EXPR' nodes.
8139      `CALL_EXPR_FN' returns a pointer to the function to call; it is
8140      always an expression whose type is a `POINTER_TYPE'.
8142      The number of arguments to the call is returned by
8143      `call_expr_nargs', while the arguments themselves can be accessed
8144      with the `CALL_EXPR_ARG' macro.  The arguments are zero-indexed
8145      and numbered left-to-right.  You can iterate over the arguments
8146      using `FOR_EACH_CALL_EXPR_ARG', as in:
8148           tree call, arg;
8149           call_expr_arg_iterator iter;
8150           FOR_EACH_CALL_EXPR_ARG (arg, iter, call)
8151             /* arg is bound to successive arguments of call.  */
8152             ...;
8154      For non-static member functions, there will be an operand
8155      corresponding to the `this' pointer.  There will always be
8156      expressions corresponding to all of the arguments, even if the
8157      function is declared with default arguments and some arguments are
8158      not explicitly provided at the call sites.
8160      `CALL_EXPR's also have a `CALL_EXPR_STATIC_CHAIN' operand that is
8161      used to implement nested functions.  This operand is otherwise
8162      null.
8164 `STMT_EXPR'
8165      These nodes are used to represent GCC's statement-expression
8166      extension.  The statement-expression extension allows code like
8167      this:
8168           int f() { return ({ int j; j = 3; j + 7; }); }
8169      In other words, an sequence of statements may occur where a single
8170      expression would normally appear.  The `STMT_EXPR' node represents
8171      such an expression.  The `STMT_EXPR_STMT' gives the statement
8172      contained in the expression.  The value of the expression is the
8173      value of the last sub-statement in the body.  More precisely, the
8174      value is the value computed by the last statement nested inside
8175      `BIND_EXPR', `TRY_FINALLY_EXPR', or `TRY_CATCH_EXPR'.  For
8176      example, in:
8177           ({ 3; })
8178      the value is `3' while in:
8179           ({ if (x) { 3; } })
8180      there is no value.  If the `STMT_EXPR' does not yield a value,
8181      it's type will be `void'.
8183 `BIND_EXPR'
8184      These nodes represent local blocks.  The first operand is a list of
8185      variables, connected via their `TREE_CHAIN' field.  These will
8186      never require cleanups.  The scope of these variables is just the
8187      body of the `BIND_EXPR'.  The body of the `BIND_EXPR' is the
8188      second operand.
8190 `LOOP_EXPR'
8191      These nodes represent "infinite" loops.  The `LOOP_EXPR_BODY'
8192      represents the body of the loop.  It should be executed forever,
8193      unless an `EXIT_EXPR' is encountered.
8195 `EXIT_EXPR'
8196      These nodes represent conditional exits from the nearest enclosing
8197      `LOOP_EXPR'.  The single operand is the condition; if it is
8198      nonzero, then the loop should be exited.  An `EXIT_EXPR' will only
8199      appear within a `LOOP_EXPR'.
8201 `CLEANUP_POINT_EXPR'
8202      These nodes represent full-expressions.  The single operand is an
8203      expression to evaluate.  Any destructor calls engendered by the
8204      creation of temporaries during the evaluation of that expression
8205      should be performed immediately after the expression is evaluated.
8207 `CONSTRUCTOR'
8208      These nodes represent the brace-enclosed initializers for a
8209      structure or array.  The first operand is reserved for use by the
8210      back end.  The second operand is a `TREE_LIST'.  If the
8211      `TREE_TYPE' of the `CONSTRUCTOR' is a `RECORD_TYPE' or
8212      `UNION_TYPE', then the `TREE_PURPOSE' of each node in the
8213      `TREE_LIST' will be a `FIELD_DECL' and the `TREE_VALUE' of each
8214      node will be the expression used to initialize that field.
8216      If the `TREE_TYPE' of the `CONSTRUCTOR' is an `ARRAY_TYPE', then
8217      the `TREE_PURPOSE' of each element in the `TREE_LIST' will be an
8218      `INTEGER_CST' or a `RANGE_EXPR' of two `INTEGER_CST's.  A single
8219      `INTEGER_CST' indicates which element of the array (indexed from
8220      zero) is being assigned to.  A `RANGE_EXPR' indicates an inclusive
8221      range of elements to initialize.  In both cases the `TREE_VALUE'
8222      is the corresponding initializer.  It is re-evaluated for each
8223      element of a `RANGE_EXPR'.  If the `TREE_PURPOSE' is `NULL_TREE',
8224      then the initializer is for the next available array element.
8226      In the front end, you should not depend on the fields appearing in
8227      any particular order.  However, in the middle end, fields must
8228      appear in declaration order.  You should not assume that all
8229      fields will be represented.  Unrepresented fields will be set to
8230      zero.
8232 `COMPOUND_LITERAL_EXPR'
8233      These nodes represent ISO C99 compound literals.  The
8234      `COMPOUND_LITERAL_EXPR_DECL_STMT' is a `DECL_STMT' containing an
8235      anonymous `VAR_DECL' for the unnamed object represented by the
8236      compound literal; the `DECL_INITIAL' of that `VAR_DECL' is a
8237      `CONSTRUCTOR' representing the brace-enclosed list of initializers
8238      in the compound literal.  That anonymous `VAR_DECL' can also be
8239      accessed directly by the `COMPOUND_LITERAL_EXPR_DECL' macro.
8241 `SAVE_EXPR'
8242      A `SAVE_EXPR' represents an expression (possibly involving
8243      side-effects) that is used more than once.  The side-effects should
8244      occur only the first time the expression is evaluated.  Subsequent
8245      uses should just reuse the computed value.  The first operand to
8246      the `SAVE_EXPR' is the expression to evaluate.  The side-effects
8247      should be executed where the `SAVE_EXPR' is first encountered in a
8248      depth-first preorder traversal of the expression tree.
8250 `TARGET_EXPR'
8251      A `TARGET_EXPR' represents a temporary object.  The first operand
8252      is a `VAR_DECL' for the temporary variable.  The second operand is
8253      the initializer for the temporary.  The initializer is evaluated
8254      and, if non-void, copied (bitwise) into the temporary.  If the
8255      initializer is void, that means that it will perform the
8256      initialization itself.
8258      Often, a `TARGET_EXPR' occurs on the right-hand side of an
8259      assignment, or as the second operand to a comma-expression which is
8260      itself the right-hand side of an assignment, etc.  In this case,
8261      we say that the `TARGET_EXPR' is "normal"; otherwise, we say it is
8262      "orphaned".  For a normal `TARGET_EXPR' the temporary variable
8263      should be treated as an alias for the left-hand side of the
8264      assignment, rather than as a new temporary variable.
8266      The third operand to the `TARGET_EXPR', if present, is a
8267      cleanup-expression (i.e., destructor call) for the temporary.  If
8268      this expression is orphaned, then this expression must be executed
8269      when the statement containing this expression is complete.  These
8270      cleanups must always be executed in the order opposite to that in
8271      which they were encountered.  Note that if a temporary is created
8272      on one branch of a conditional operator (i.e., in the second or
8273      third operand to a `COND_EXPR'), the cleanup must be run only if
8274      that branch is actually executed.
8276      See `STMT_IS_FULL_EXPR_P' for more information about running these
8277      cleanups.
8279 `AGGR_INIT_EXPR'
8280      An `AGGR_INIT_EXPR' represents the initialization as the return
8281      value of a function call, or as the result of a constructor.  An
8282      `AGGR_INIT_EXPR' will only appear as a full-expression, or as the
8283      second operand of a `TARGET_EXPR'.  `AGGR_INIT_EXPR's have a
8284      representation similar to that of `CALL_EXPR's.  You can use the
8285      `AGGR_INIT_EXPR_FN' and `AGGR_INIT_EXPR_ARG' macros to access the
8286      function to call and the arguments to pass.
8288      If `AGGR_INIT_VIA_CTOR_P' holds of the `AGGR_INIT_EXPR', then the
8289      initialization is via a constructor call.  The address of the
8290      `AGGR_INIT_EXPR_SLOT' operand, which is always a `VAR_DECL', is
8291      taken, and this value replaces the first argument in the argument
8292      list.
8294      In either case, the expression is void.
8296 `VA_ARG_EXPR'
8297      This node is used to implement support for the C/C++ variable
8298      argument-list mechanism.  It represents expressions like `va_arg
8299      (ap, type)'.  Its `TREE_TYPE' yields the tree representation for
8300      `type' and its sole argument yields the representation for `ap'.
8302 `CHANGE_DYNAMIC_TYPE_EXPR'
8303      Indicates the special aliasing required by C++ placement new.  It
8304      has two operands: a type and a location.  It means that the
8305      dynamic type of the location is changing to be the specified type.
8306      The alias analysis code takes this into account when doing type
8307      based alias analysis.
8309 `OMP_PARALLEL'
8310      Represents `#pragma omp parallel [clause1 ... clauseN]'. It has
8311      four operands:
8313      Operand `OMP_PARALLEL_BODY' is valid while in GENERIC and High
8314      GIMPLE forms.  It contains the body of code to be executed by all
8315      the threads.  During GIMPLE lowering, this operand becomes `NULL'
8316      and the body is emitted linearly after `OMP_PARALLEL'.
8318      Operand `OMP_PARALLEL_CLAUSES' is the list of clauses associated
8319      with the directive.
8321      Operand `OMP_PARALLEL_FN' is created by `pass_lower_omp', it
8322      contains the `FUNCTION_DECL' for the function that will contain
8323      the body of the parallel region.
8325      Operand `OMP_PARALLEL_DATA_ARG' is also created by
8326      `pass_lower_omp'. If there are shared variables to be communicated
8327      to the children threads, this operand will contain the `VAR_DECL'
8328      that contains all the shared values and variables.
8330 `OMP_FOR'
8331      Represents `#pragma omp for [clause1 ... clauseN]'.  It has 5
8332      operands:
8334      Operand `OMP_FOR_BODY' contains the loop body.
8336      Operand `OMP_FOR_CLAUSES' is the list of clauses associated with
8337      the directive.
8339      Operand `OMP_FOR_INIT' is the loop initialization code of the form
8340      `VAR = N1'.
8342      Operand `OMP_FOR_COND' is the loop conditional expression of the
8343      form `VAR {<,>,<=,>=} N2'.
8345      Operand `OMP_FOR_INCR' is the loop index increment of the form
8346      `VAR {+=,-=} INCR'.
8348      Operand `OMP_FOR_PRE_BODY' contains side-effect code from operands
8349      `OMP_FOR_INIT', `OMP_FOR_COND' and `OMP_FOR_INC'.  These
8350      side-effects are part of the `OMP_FOR' block but must be evaluated
8351      before the start of loop body.
8353      The loop index variable `VAR' must be a signed integer variable,
8354      which is implicitly private to each thread.  Bounds `N1' and `N2'
8355      and the increment expression `INCR' are required to be loop
8356      invariant integer expressions that are evaluated without any
8357      synchronization. The evaluation order, frequency of evaluation and
8358      side-effects are unspecified by the standard.
8360 `OMP_SECTIONS'
8361      Represents `#pragma omp sections [clause1 ... clauseN]'.
8363      Operand `OMP_SECTIONS_BODY' contains the sections body, which in
8364      turn contains a set of `OMP_SECTION' nodes for each of the
8365      concurrent sections delimited by `#pragma omp section'.
8367      Operand `OMP_SECTIONS_CLAUSES' is the list of clauses associated
8368      with the directive.
8370 `OMP_SECTION'
8371      Section delimiter for `OMP_SECTIONS'.
8373 `OMP_SINGLE'
8374      Represents `#pragma omp single'.
8376      Operand `OMP_SINGLE_BODY' contains the body of code to be executed
8377      by a single thread.
8379      Operand `OMP_SINGLE_CLAUSES' is the list of clauses associated
8380      with the directive.
8382 `OMP_MASTER'
8383      Represents `#pragma omp master'.
8385      Operand `OMP_MASTER_BODY' contains the body of code to be executed
8386      by the master thread.
8388 `OMP_ORDERED'
8389      Represents `#pragma omp ordered'.
8391      Operand `OMP_ORDERED_BODY' contains the body of code to be
8392      executed in the sequential order dictated by the loop index
8393      variable.
8395 `OMP_CRITICAL'
8396      Represents `#pragma omp critical [name]'.
8398      Operand `OMP_CRITICAL_BODY' is the critical section.
8400      Operand `OMP_CRITICAL_NAME' is an optional identifier to label the
8401      critical section.
8403 `OMP_RETURN'
8404      This does not represent any OpenMP directive, it is an artificial
8405      marker to indicate the end of the body of an OpenMP. It is used by
8406      the flow graph (`tree-cfg.c') and OpenMP region building code
8407      (`omp-low.c').
8409 `OMP_CONTINUE'
8410      Similarly, this instruction does not represent an OpenMP
8411      directive, it is used by `OMP_FOR' and `OMP_SECTIONS' to mark the
8412      place where the code needs to loop to the next iteration (in the
8413      case of `OMP_FOR') or the next section (in the case of
8414      `OMP_SECTIONS').
8416      In some cases, `OMP_CONTINUE' is placed right before `OMP_RETURN'.
8417      But if there are cleanups that need to occur right after the
8418      looping body, it will be emitted between `OMP_CONTINUE' and
8419      `OMP_RETURN'.
8421 `OMP_ATOMIC'
8422      Represents `#pragma omp atomic'.
8424      Operand 0 is the address at which the atomic operation is to be
8425      performed.
8427      Operand 1 is the expression to evaluate.  The gimplifier tries
8428      three alternative code generation strategies.  Whenever possible,
8429      an atomic update built-in is used.  If that fails, a
8430      compare-and-swap loop is attempted.  If that also fails, a regular
8431      critical section around the expression is used.
8433 `OMP_CLAUSE'
8434      Represents clauses associated with one of the `OMP_' directives.
8435      Clauses are represented by separate sub-codes defined in `tree.h'.
8436      Clauses codes can be one of: `OMP_CLAUSE_PRIVATE',
8437      `OMP_CLAUSE_SHARED', `OMP_CLAUSE_FIRSTPRIVATE',
8438      `OMP_CLAUSE_LASTPRIVATE', `OMP_CLAUSE_COPYIN',
8439      `OMP_CLAUSE_COPYPRIVATE', `OMP_CLAUSE_IF',
8440      `OMP_CLAUSE_NUM_THREADS', `OMP_CLAUSE_SCHEDULE',
8441      `OMP_CLAUSE_NOWAIT', `OMP_CLAUSE_ORDERED', `OMP_CLAUSE_DEFAULT',
8442      and `OMP_CLAUSE_REDUCTION'.  Each code represents the
8443      corresponding OpenMP clause.
8445      Clauses associated with the same directive are chained together
8446      via `OMP_CLAUSE_CHAIN'. Those clauses that accept a list of
8447      variables are restricted to exactly one, accessed with
8448      `OMP_CLAUSE_VAR'.  Therefore, multiple variables under the same
8449      clause `C' need to be represented as multiple `C' clauses chained
8450      together.  This facilitates adding new clauses during compilation.
8452 `VEC_LSHIFT_EXPR'
8454 `VEC_RSHIFT_EXPR'
8455      These nodes represent whole vector left and right shifts,
8456      respectively.  The first operand is the vector to shift; it will
8457      always be of vector type.  The second operand is an expression for
8458      the number of bits by which to shift.  Note that the result is
8459      undefined if the second operand is larger than or equal to the
8460      first operand's type size.
8462 `VEC_WIDEN_MULT_HI_EXPR'
8464 `VEC_WIDEN_MULT_LO_EXPR'
8465      These nodes represent widening vector multiplication of the high
8466      and low parts of the two input vectors, respectively.  Their
8467      operands are vectors that contain the same number of elements
8468      (`N') of the same integral type.  The result is a vector that
8469      contains half as many elements, of an integral type whose size is
8470      twice as wide.  In the case of `VEC_WIDEN_MULT_HI_EXPR' the high
8471      `N/2' elements of the two vector are multiplied to produce the
8472      vector of `N/2' products. In the case of `VEC_WIDEN_MULT_LO_EXPR'
8473      the low `N/2' elements of the two vector are multiplied to produce
8474      the vector of `N/2' products.
8476 `VEC_UNPACK_HI_EXPR'
8478 `VEC_UNPACK_LO_EXPR'
8479      These nodes represent unpacking of the high and low parts of the
8480      input vector, respectively.  The single operand is a vector that
8481      contains `N' elements of the same integral or floating point type.
8482      The result is a vector that contains half as many elements, of an
8483      integral or floating point type whose size is twice as wide.  In
8484      the case of `VEC_UNPACK_HI_EXPR' the high `N/2' elements of the
8485      vector are extracted and widened (promoted).  In the case of
8486      `VEC_UNPACK_LO_EXPR' the low `N/2' elements of the vector are
8487      extracted and widened (promoted).
8489 `VEC_UNPACK_FLOAT_HI_EXPR'
8491 `VEC_UNPACK_FLOAT_LO_EXPR'
8492      These nodes represent unpacking of the high and low parts of the
8493      input vector, where the values are converted from fixed point to
8494      floating point.  The single operand is a vector that contains `N'
8495      elements of the same integral type.  The result is a vector that
8496      contains half as many elements of a floating point type whose size
8497      is twice as wide.  In the case of `VEC_UNPACK_HI_EXPR' the high
8498      `N/2' elements of the vector are extracted, converted and widened.
8499      In the case of `VEC_UNPACK_LO_EXPR' the low `N/2' elements of the
8500      vector are extracted, converted and widened.
8502 `VEC_PACK_TRUNC_EXPR'
8503      This node represents packing of truncated elements of the two
8504      input vectors into the output vector.  Input operands are vectors
8505      that contain the same number of elements of the same integral or
8506      floating point type.  The result is a vector that contains twice
8507      as many elements of an integral or floating point type whose size
8508      is half as wide. The elements of the two vectors are demoted and
8509      merged (concatenated) to form the output vector.
8511 `VEC_PACK_SAT_EXPR'
8512      This node represents packing of elements of the two input vectors
8513      into the output vector using saturation.  Input operands are
8514      vectors that contain the same number of elements of the same
8515      integral type.  The result is a vector that contains twice as many
8516      elements of an integral type whose size is half as wide.  The
8517      elements of the two vectors are demoted and merged (concatenated)
8518      to form the output vector.
8520 `VEC_PACK_FIX_TRUNC_EXPR'
8521      This node represents packing of elements of the two input vectors
8522      into the output vector, where the values are converted from
8523      floating point to fixed point.  Input operands are vectors that
8524      contain the same number of elements of a floating point type.  The
8525      result is a vector that contains twice as many elements of an
8526      integral type whose size is half as wide.  The elements of the two
8527      vectors are merged (concatenated) to form the output vector.
8529 `VEC_EXTRACT_EVEN_EXPR'
8531 `VEC_EXTRACT_ODD_EXPR'
8532      These nodes represent extracting of the even/odd elements of the
8533      two input vectors, respectively. Their operands and result are
8534      vectors that contain the same number of elements of the same type.
8536 `VEC_INTERLEAVE_HIGH_EXPR'
8538 `VEC_INTERLEAVE_LOW_EXPR'
8539      These nodes represent merging and interleaving of the high/low
8540      elements of the two input vectors, respectively. The operands and
8541      the result are vectors that contain the same number of elements
8542      (`N') of the same type.  In the case of
8543      `VEC_INTERLEAVE_HIGH_EXPR', the high `N/2' elements of the first
8544      input vector are interleaved with the high `N/2' elements of the
8545      second input vector. In the case of `VEC_INTERLEAVE_LOW_EXPR', the
8546      low `N/2' elements of the first input vector are interleaved with
8547      the low `N/2' elements of the second input vector.
8550 \x1f
8551 File: gccint.info,  Node: Tree SSA,  Next: Loop Analysis and Representation,  Prev: Control Flow,  Up: Top
8553 10 Analysis and Optimization of GIMPLE Trees
8554 ********************************************
8556 GCC uses three main intermediate languages to represent the program
8557 during compilation: GENERIC, GIMPLE and RTL.  GENERIC is a
8558 language-independent representation generated by each front end.  It is
8559 used to serve as an interface between the parser and optimizer.
8560 GENERIC is a common representation that is able to represent programs
8561 written in all the languages supported by GCC.
8563  GIMPLE and RTL are used to optimize the program.  GIMPLE is used for
8564 target and language independent optimizations (e.g., inlining, constant
8565 propagation, tail call elimination, redundancy elimination, etc).  Much
8566 like GENERIC, GIMPLE is a language independent, tree based
8567 representation.  However, it differs from GENERIC in that the GIMPLE
8568 grammar is more restrictive: expressions contain no more than 3
8569 operands (except function calls), it has no control flow structures and
8570 expressions with side-effects are only allowed on the right hand side
8571 of assignments.  See the chapter describing GENERIC and GIMPLE for more
8572 details.
8574  This chapter describes the data structures and functions used in the
8575 GIMPLE optimizers (also known as "tree optimizers" or "middle end").
8576 In particular, it focuses on all the macros, data structures, functions
8577 and programming constructs needed to implement optimization passes for
8578 GIMPLE.
8580 * Menu:
8582 * GENERIC::             A high-level language-independent representation.
8583 * GIMPLE::              A lower-level factored tree representation.
8584 * Annotations::         Attributes for statements and variables.
8585 * Statement Operands::  Variables referenced by GIMPLE statements.
8586 * SSA::                 Static Single Assignment representation.
8587 * Alias analysis::      Representing aliased loads and stores.
8589 \x1f
8590 File: gccint.info,  Node: GENERIC,  Next: GIMPLE,  Up: Tree SSA
8592 10.1 GENERIC
8593 ============
8595 The purpose of GENERIC is simply to provide a language-independent way
8596 of representing an entire function in trees.  To this end, it was
8597 necessary to add a few new tree codes to the back end, but most
8598 everything was already there.  If you can express it with the codes in
8599 `gcc/tree.def', it's GENERIC.
8601  Early on, there was a great deal of debate about how to think about
8602 statements in a tree IL.  In GENERIC, a statement is defined as any
8603 expression whose value, if any, is ignored.  A statement will always
8604 have `TREE_SIDE_EFFECTS' set (or it will be discarded), but a
8605 non-statement expression may also have side effects.  A `CALL_EXPR',
8606 for instance.
8608  It would be possible for some local optimizations to work on the
8609 GENERIC form of a function; indeed, the adapted tree inliner works fine
8610 on GENERIC, but the current compiler performs inlining after lowering
8611 to GIMPLE (a restricted form described in the next section).  Indeed,
8612 currently the frontends perform this lowering before handing off to
8613 `tree_rest_of_compilation', but this seems inelegant.
8615  If necessary, a front end can use some language-dependent tree codes
8616 in its GENERIC representation, so long as it provides a hook for
8617 converting them to GIMPLE and doesn't expect them to work with any
8618 (hypothetical) optimizers that run before the conversion to GIMPLE.
8619 The intermediate representation used while parsing C and C++ looks very
8620 little like GENERIC, but the C and C++ gimplifier hooks are perfectly
8621 happy to take it as input and spit out GIMPLE.
8623 \x1f
8624 File: gccint.info,  Node: GIMPLE,  Next: Annotations,  Prev: GENERIC,  Up: Tree SSA
8626 10.2 GIMPLE
8627 ===========
8629 GIMPLE is a simplified subset of GENERIC for use in optimization.  The
8630 particular subset chosen (and the name) was heavily influenced by the
8631 SIMPLE IL used by the McCAT compiler project at McGill University,
8632 though we have made some different choices.  For one thing, SIMPLE
8633 doesn't support `goto'; a production compiler can't afford that kind of
8634 restriction.
8636  GIMPLE retains much of the structure of the parse trees: lexical
8637 scopes are represented as containers, rather than markers.  However,
8638 expressions are broken down into a 3-address form, using temporary
8639 variables to hold intermediate values.  Also, control structures are
8640 lowered to gotos.
8642  In GIMPLE no container node is ever used for its value; if a
8643 `COND_EXPR' or `BIND_EXPR' has a value, it is stored into a temporary
8644 within the controlled blocks, and that temporary is used in place of
8645 the container.
8647  The compiler pass which lowers GENERIC to GIMPLE is referred to as the
8648 `gimplifier'.  The gimplifier works recursively, replacing complex
8649 statements with sequences of simple statements.
8651 * Menu:
8653 * Interfaces::
8654 * Temporaries::
8655 * GIMPLE Expressions::
8656 * Statements::
8657 * GIMPLE Example::
8658 * Rough GIMPLE Grammar::
8660 \x1f
8661 File: gccint.info,  Node: Interfaces,  Next: Temporaries,  Up: GIMPLE
8663 10.2.1 Interfaces
8664 -----------------
8666 The tree representation of a function is stored in `DECL_SAVED_TREE'.
8667 It is lowered to GIMPLE by a call to `gimplify_function_tree'.
8669  If a front end wants to include language-specific tree codes in the
8670 tree representation which it provides to the back end, it must provide a
8671 definition of `LANG_HOOKS_GIMPLIFY_EXPR' which knows how to convert the
8672 front end trees to GIMPLE.  Usually such a hook will involve much of
8673 the same code for expanding front end trees to RTL.  This function can
8674 return fully lowered GIMPLE, or it can return GENERIC trees and let the
8675 main gimplifier lower them the rest of the way; this is often simpler.
8676 GIMPLE that is not fully lowered is known as "high GIMPLE" and consists
8677 of the IL before the pass `pass_lower_cf'.  High GIMPLE still contains
8678 lexical scopes and nested expressions, while low GIMPLE exposes all of
8679 the implicit jumps for control expressions like `COND_EXPR'.
8681  The C and C++ front ends currently convert directly from front end
8682 trees to GIMPLE, and hand that off to the back end rather than first
8683 converting to GENERIC.  Their gimplifier hooks know about all the
8684 `_STMT' nodes and how to convert them to GENERIC forms.  There was some
8685 work done on a genericization pass which would run first, but the
8686 existence of `STMT_EXPR' meant that in order to convert all of the C
8687 statements into GENERIC equivalents would involve walking the entire
8688 tree anyway, so it was simpler to lower all the way.  This might change
8689 in the future if someone writes an optimization pass which would work
8690 better with higher-level trees, but currently the optimizers all expect
8691 GIMPLE.
8693  A front end which wants to use the tree optimizers (and already has
8694 some sort of whole-function tree representation) only needs to provide
8695 a definition of `LANG_HOOKS_GIMPLIFY_EXPR', call
8696 `gimplify_function_tree' to lower to GIMPLE, and then hand off to
8697 `tree_rest_of_compilation' to compile and output the function.
8699  You can tell the compiler to dump a C-like representation of the GIMPLE
8700 form with the flag `-fdump-tree-gimple'.
8702 \x1f
8703 File: gccint.info,  Node: Temporaries,  Next: GIMPLE Expressions,  Prev: Interfaces,  Up: GIMPLE
8705 10.2.2 Temporaries
8706 ------------------
8708 When gimplification encounters a subexpression which is too complex, it
8709 creates a new temporary variable to hold the value of the subexpression,
8710 and adds a new statement to initialize it before the current statement.
8711 These special temporaries are known as `expression temporaries', and are
8712 allocated using `get_formal_tmp_var'.  The compiler tries to always
8713 evaluate identical expressions into the same temporary, to simplify
8714 elimination of redundant calculations.
8716  We can only use expression temporaries when we know that it will not be
8717 reevaluated before its value is used, and that it will not be otherwise
8718 modified(1).  Other temporaries can be allocated using
8719 `get_initialized_tmp_var' or `create_tmp_var'.
8721  Currently, an expression like `a = b + 5' is not reduced any further.
8722 We tried converting it to something like
8723        T1 = b + 5;
8724        a = T1;
8725  but this bloated the representation for minimal benefit.  However, a
8726 variable which must live in memory cannot appear in an expression; its
8727 value is explicitly loaded into a temporary first.  Similarly, storing
8728 the value of an expression to a memory variable goes through a
8729 temporary.
8731  ---------- Footnotes ----------
8733  (1) These restrictions are derived from those in Morgan 4.8.
8735 \x1f
8736 File: gccint.info,  Node: GIMPLE Expressions,  Next: Statements,  Prev: Temporaries,  Up: GIMPLE
8738 10.2.3 Expressions
8739 ------------------
8741 In general, expressions in GIMPLE consist of an operation and the
8742 appropriate number of simple operands; these operands must either be a
8743 GIMPLE rvalue (`is_gimple_val'), i.e. a constant or a register
8744 variable.  More complex operands are factored out into temporaries, so
8745 that
8746        a = b + c + d
8747  becomes
8748        T1 = b + c;
8749        a = T1 + d;
8751  The same rule holds for arguments to a `CALL_EXPR'.
8753  The target of an assignment is usually a variable, but can also be an
8754 `INDIRECT_REF' or a compound lvalue as described below.
8756 * Menu:
8758 * Compound Expressions::
8759 * Compound Lvalues::
8760 * Conditional Expressions::
8761 * Logical Operators::
8763 \x1f
8764 File: gccint.info,  Node: Compound Expressions,  Next: Compound Lvalues,  Up: GIMPLE Expressions
8766 10.2.3.1 Compound Expressions
8767 .............................
8769 The left-hand side of a C comma expression is simply moved into a
8770 separate statement.
8772 \x1f
8773 File: gccint.info,  Node: Compound Lvalues,  Next: Conditional Expressions,  Prev: Compound Expressions,  Up: GIMPLE Expressions
8775 10.2.3.2 Compound Lvalues
8776 .........................
8778 Currently compound lvalues involving array and structure field
8779 references are not broken down; an expression like `a.b[2] = 42' is not
8780 reduced any further (though complex array subscripts are).  This
8781 restriction is a workaround for limitations in later optimizers; if we
8782 were to convert this to
8784        T1 = &a.b;
8785        T1[2] = 42;
8787  alias analysis would not remember that the reference to `T1[2]' came
8788 by way of `a.b', so it would think that the assignment could alias
8789 another member of `a'; this broke `struct-alias-1.c'.  Future optimizer
8790 improvements may make this limitation unnecessary.
8792 \x1f
8793 File: gccint.info,  Node: Conditional Expressions,  Next: Logical Operators,  Prev: Compound Lvalues,  Up: GIMPLE Expressions
8795 10.2.3.3 Conditional Expressions
8796 ................................
8798 A C `?:' expression is converted into an `if' statement with each
8799 branch assigning to the same temporary.  So,
8801        a = b ? c : d;
8802  becomes
8803        if (b)
8804          T1 = c;
8805        else
8806          T1 = d;
8807        a = T1;
8809  Tree level if-conversion pass re-introduces `?:' expression, if
8810 appropriate.  It is used to vectorize loops with conditions using
8811 vector conditional operations.
8813  Note that in GIMPLE, `if' statements are also represented using
8814 `COND_EXPR', as described below.
8816 \x1f
8817 File: gccint.info,  Node: Logical Operators,  Prev: Conditional Expressions,  Up: GIMPLE Expressions
8819 10.2.3.4 Logical Operators
8820 ..........................
8822 Except when they appear in the condition operand of a `COND_EXPR',
8823 logical `and' and `or' operators are simplified as follows: `a = b &&
8824 c' becomes
8826        T1 = (bool)b;
8827        if (T1)
8828          T1 = (bool)c;
8829        a = T1;
8831  Note that `T1' in this example cannot be an expression temporary,
8832 because it has two different assignments.
8834 \x1f
8835 File: gccint.info,  Node: Statements,  Next: GIMPLE Example,  Prev: GIMPLE Expressions,  Up: GIMPLE
8837 10.2.4 Statements
8838 -----------------
8840 Most statements will be assignment statements, represented by
8841 `MODIFY_EXPR'.  A `CALL_EXPR' whose value is ignored can also be a
8842 statement.  No other C expressions can appear at statement level; a
8843 reference to a volatile object is converted into a `MODIFY_EXPR'.  In
8844 GIMPLE form, type of `MODIFY_EXPR' is not meaningful.  Instead, use type
8845 of LHS or RHS.
8847  There are also several varieties of complex statements.
8849 * Menu:
8851 * Blocks::
8852 * Statement Sequences::
8853 * Empty Statements::
8854 * Loops::
8855 * Selection Statements::
8856 * Jumps::
8857 * Cleanups::
8858 * GIMPLE Exception Handling::
8860 \x1f
8861 File: gccint.info,  Node: Blocks,  Next: Statement Sequences,  Up: Statements
8863 10.2.4.1 Blocks
8864 ...............
8866 Block scopes and the variables they declare in GENERIC and GIMPLE are
8867 expressed using the `BIND_EXPR' code, which in previous versions of GCC
8868 was primarily used for the C statement-expression extension.
8870  Variables in a block are collected into `BIND_EXPR_VARS' in
8871 declaration order.  Any runtime initialization is moved out of
8872 `DECL_INITIAL' and into a statement in the controlled block.  When
8873 gimplifying from C or C++, this initialization replaces the `DECL_STMT'.
8875  Variable-length arrays (VLAs) complicate this process, as their size
8876 often refers to variables initialized earlier in the block.  To handle
8877 this, we currently split the block at that point, and move the VLA into
8878 a new, inner `BIND_EXPR'.  This strategy may change in the future.
8880  `DECL_SAVED_TREE' for a GIMPLE function will always be a `BIND_EXPR'
8881 which contains declarations for the temporary variables used in the
8882 function.
8884  A C++ program will usually contain more `BIND_EXPR's than there are
8885 syntactic blocks in the source code, since several C++ constructs have
8886 implicit scopes associated with them.  On the other hand, although the
8887 C++ front end uses pseudo-scopes to handle cleanups for objects with
8888 destructors, these don't translate into the GIMPLE form; multiple
8889 declarations at the same level use the same `BIND_EXPR'.
8891 \x1f
8892 File: gccint.info,  Node: Statement Sequences,  Next: Empty Statements,  Prev: Blocks,  Up: Statements
8894 10.2.4.2 Statement Sequences
8895 ............................
8897 Multiple statements at the same nesting level are collected into a
8898 `STATEMENT_LIST'.  Statement lists are modified and traversed using the
8899 interface in `tree-iterator.h'.
8901 \x1f
8902 File: gccint.info,  Node: Empty Statements,  Next: Loops,  Prev: Statement Sequences,  Up: Statements
8904 10.2.4.3 Empty Statements
8905 .........................
8907 Whenever possible, statements with no effect are discarded.  But if they
8908 are nested within another construct which cannot be discarded for some
8909 reason, they are instead replaced with an empty statement, generated by
8910 `build_empty_stmt'.  Initially, all empty statements were shared, after
8911 the pattern of the Java front end, but this caused a lot of trouble in
8912 practice.
8914  An empty statement is represented as `(void)0'.
8916 \x1f
8917 File: gccint.info,  Node: Loops,  Next: Selection Statements,  Prev: Empty Statements,  Up: Statements
8919 10.2.4.4 Loops
8920 ..............
8922 At one time loops were expressed in GIMPLE using `LOOP_EXPR', but now
8923 they are lowered to explicit gotos.
8925 \x1f
8926 File: gccint.info,  Node: Selection Statements,  Next: Jumps,  Prev: Loops,  Up: Statements
8928 10.2.4.5 Selection Statements
8929 .............................
8931 A simple selection statement, such as the C `if' statement, is
8932 expressed in GIMPLE using a void `COND_EXPR'.  If only one branch is
8933 used, the other is filled with an empty statement.
8935  Normally, the condition expression is reduced to a simple comparison.
8936 If it is a shortcut (`&&' or `||') expression, however, we try to break
8937 up the `if' into multiple `if's so that the implied shortcut is taken
8938 directly, much like the transformation done by `do_jump' in the RTL
8939 expander.
8941  A `SWITCH_EXPR' in GIMPLE contains the condition and a `TREE_VEC' of
8942 `CASE_LABEL_EXPR's describing the case values and corresponding
8943 `LABEL_DECL's to jump to.  The body of the `switch' is moved after the
8944 `SWITCH_EXPR'.
8946 \x1f
8947 File: gccint.info,  Node: Jumps,  Next: Cleanups,  Prev: Selection Statements,  Up: Statements
8949 10.2.4.6 Jumps
8950 ..............
8952 Other jumps are expressed by either `GOTO_EXPR' or `RETURN_EXPR'.
8954  The operand of a `GOTO_EXPR' must be either a label or a variable
8955 containing the address to jump to.
8957  The operand of a `RETURN_EXPR' is either `NULL_TREE', `RESULT_DECL',
8958 or a `MODIFY_EXPR' which sets the return value.  It would be nice to
8959 move the `MODIFY_EXPR' into a separate statement, but the special
8960 return semantics in `expand_return' make that difficult.  It may still
8961 happen in the future, perhaps by moving most of that logic into
8962 `expand_assignment'.
8964 \x1f
8965 File: gccint.info,  Node: Cleanups,  Next: GIMPLE Exception Handling,  Prev: Jumps,  Up: Statements
8967 10.2.4.7 Cleanups
8968 .................
8970 Destructors for local C++ objects and similar dynamic cleanups are
8971 represented in GIMPLE by a `TRY_FINALLY_EXPR'.  `TRY_FINALLY_EXPR' has
8972 two operands, both of which are a sequence of statements to execute.
8973 The first sequence is executed.  When it completes the second sequence
8974 is executed.
8976  The first sequence may complete in the following ways:
8978   1. Execute the last statement in the sequence and fall off the end.
8980   2. Execute a goto statement (`GOTO_EXPR') to an ordinary label
8981      outside the sequence.
8983   3. Execute a return statement (`RETURN_EXPR').
8985   4. Throw an exception.  This is currently not explicitly represented
8986      in GIMPLE.
8989  The second sequence is not executed if the first sequence completes by
8990 calling `setjmp' or `exit' or any other function that does not return.
8991 The second sequence is also not executed if the first sequence
8992 completes via a non-local goto or a computed goto (in general the
8993 compiler does not know whether such a goto statement exits the first
8994 sequence or not, so we assume that it doesn't).
8996  After the second sequence is executed, if it completes normally by
8997 falling off the end, execution continues wherever the first sequence
8998 would have continued, by falling off the end, or doing a goto, etc.
9000  `TRY_FINALLY_EXPR' complicates the flow graph, since the cleanup needs
9001 to appear on every edge out of the controlled block; this reduces the
9002 freedom to move code across these edges.  Therefore, the EH lowering
9003 pass which runs before most of the optimization passes eliminates these
9004 expressions by explicitly adding the cleanup to each edge.  Rethrowing
9005 the exception is represented using `RESX_EXPR'.
9007 \x1f
9008 File: gccint.info,  Node: GIMPLE Exception Handling,  Prev: Cleanups,  Up: Statements
9010 10.2.4.8 Exception Handling
9011 ...........................
9013 Other exception handling constructs are represented using
9014 `TRY_CATCH_EXPR'.  `TRY_CATCH_EXPR' has two operands.  The first
9015 operand is a sequence of statements to execute.  If executing these
9016 statements does not throw an exception, then the second operand is
9017 ignored.  Otherwise, if an exception is thrown, then the second operand
9018 of the `TRY_CATCH_EXPR' is checked.  The second operand may have the
9019 following forms:
9021   1. A sequence of statements to execute.  When an exception occurs,
9022      these statements are executed, and then the exception is rethrown.
9024   2. A sequence of `CATCH_EXPR' expressions.  Each `CATCH_EXPR' has a
9025      list of applicable exception types and handler code.  If the
9026      thrown exception matches one of the caught types, the associated
9027      handler code is executed.  If the handler code falls off the
9028      bottom, execution continues after the original `TRY_CATCH_EXPR'.
9030   3. An `EH_FILTER_EXPR' expression.  This has a list of permitted
9031      exception types, and code to handle a match failure.  If the
9032      thrown exception does not match one of the allowed types, the
9033      associated match failure code is executed.  If the thrown exception
9034      does match, it continues unwinding the stack looking for the next
9035      handler.
9038  Currently throwing an exception is not directly represented in GIMPLE,
9039 since it is implemented by calling a function.  At some point in the
9040 future we will want to add some way to express that the call will throw
9041 an exception of a known type.
9043  Just before running the optimizers, the compiler lowers the high-level
9044 EH constructs above into a set of `goto's, magic labels, and EH
9045 regions.  Continuing to unwind at the end of a cleanup is represented
9046 with a `RESX_EXPR'.
9048 \x1f
9049 File: gccint.info,  Node: GIMPLE Example,  Next: Rough GIMPLE Grammar,  Prev: Statements,  Up: GIMPLE
9051 10.2.5 GIMPLE Example
9052 ---------------------
9054      struct A { A(); ~A(); };
9056      int i;
9057      int g();
9058      void f()
9059      {
9060        A a;
9061        int j = (--i, i ? 0 : 1);
9063        for (int x = 42; x > 0; --x)
9064          {
9065            i += g()*4 + 32;
9066          }
9067      }
9069  becomes
9071      void f()
9072      {
9073        int i.0;
9074        int T.1;
9075        int iftmp.2;
9076        int T.3;
9077        int T.4;
9078        int T.5;
9079        int T.6;
9081        {
9082          struct A a;
9083          int j;
9085          __comp_ctor (&a);
9086          try
9087            {
9088              i.0 = i;
9089              T.1 = i.0 - 1;
9090              i = T.1;
9091              i.0 = i;
9092              if (i.0 == 0)
9093                iftmp.2 = 1;
9094              else
9095                iftmp.2 = 0;
9096              j = iftmp.2;
9097              {
9098                int x;
9100                x = 42;
9101                goto test;
9102                loop:;
9104                T.3 = g ();
9105                T.4 = T.3 * 4;
9106                i.0 = i;
9107                T.5 = T.4 + i.0;
9108                T.6 = T.5 + 32;
9109                i = T.6;
9110                x = x - 1;
9112                test:;
9113                if (x > 0)
9114                  goto loop;
9115                else
9116                  goto break_;
9117                break_:;
9118              }
9119            }
9120          finally
9121            {
9122              __comp_dtor (&a);
9123            }
9124        }
9125      }
9127 \x1f
9128 File: gccint.info,  Node: Rough GIMPLE Grammar,  Prev: GIMPLE Example,  Up: GIMPLE
9130 10.2.6 Rough GIMPLE Grammar
9131 ---------------------------
9133         function     : FUNCTION_DECL
9134                              DECL_SAVED_TREE -> compound-stmt
9136         compound-stmt: STATEMENT_LIST
9137                              members -> stmt
9139         stmt         : block
9140                      | if-stmt
9141                      | switch-stmt
9142                      | goto-stmt
9143                      | return-stmt
9144                      | resx-stmt
9145                      | label-stmt
9146                      | try-stmt
9147                      | modify-stmt
9148                      | call-stmt
9150         block        : BIND_EXPR
9151                              BIND_EXPR_VARS -> chain of DECLs
9152                              BIND_EXPR_BLOCK -> BLOCK
9153                              BIND_EXPR_BODY -> compound-stmt
9155         if-stmt      : COND_EXPR
9156                              op0 -> condition
9157                              op1 -> compound-stmt
9158                              op2 -> compound-stmt
9160         switch-stmt  : SWITCH_EXPR
9161                              op0 -> val
9162                              op1 -> NULL
9163                              op2 -> TREE_VEC of CASE_LABEL_EXPRs
9164                                  The CASE_LABEL_EXPRs are sorted by CASE_LOW,
9165                                  and default is last.
9167         goto-stmt    : GOTO_EXPR
9168                              op0 -> LABEL_DECL | val
9170         return-stmt  : RETURN_EXPR
9171                              op0 -> return-value
9173         return-value : NULL
9174                      | RESULT_DECL
9175                      | MODIFY_EXPR
9176                              op0 -> RESULT_DECL
9177                              op1 -> lhs
9179         resx-stmt    : RESX_EXPR
9181         label-stmt   : LABEL_EXPR
9182                              op0 -> LABEL_DECL
9184         try-stmt     : TRY_CATCH_EXPR
9185                              op0 -> compound-stmt
9186                              op1 -> handler
9187                      | TRY_FINALLY_EXPR
9188                              op0 -> compound-stmt
9189                              op1 -> compound-stmt
9191         handler      : catch-seq
9192                      | EH_FILTER_EXPR
9193                      | compound-stmt
9195         catch-seq    : STATEMENT_LIST
9196                              members -> CATCH_EXPR
9198         modify-stmt  : MODIFY_EXPR
9199                              op0 -> lhs
9200                              op1 -> rhs
9202         call-stmt    : CALL_EXPR
9203                              op0 -> val | OBJ_TYPE_REF
9204                              op1 -> call-arg-list
9206         call-arg-list: TREE_LIST
9207                              members -> lhs | CONST
9209         addr-expr-arg: ID
9210                      | compref
9212         addressable  : addr-expr-arg
9213                      | indirectref
9215         with-size-arg: addressable
9216                      | call-stmt
9218         indirectref  : INDIRECT_REF
9219                              op0 -> val
9221         lhs          : addressable
9222                      | bitfieldref
9223                      | WITH_SIZE_EXPR
9224                              op0 -> with-size-arg
9225                              op1 -> val
9227         min-lval     : ID
9228                      | indirectref
9230         bitfieldref  : BIT_FIELD_REF
9231                              op0 -> inner-compref
9232                              op1 -> CONST
9233                              op2 -> val
9235         compref      : inner-compref
9236                      | TARGET_MEM_REF
9237                              op0 -> ID
9238                              op1 -> val
9239                              op2 -> val
9240                              op3 -> CONST
9241                              op4 -> CONST
9242                      | REALPART_EXPR
9243                              op0 -> inner-compref
9244                      | IMAGPART_EXPR
9245                              op0 -> inner-compref
9247         inner-compref: min-lval
9248                      | COMPONENT_REF
9249                              op0 -> inner-compref
9250                              op1 -> FIELD_DECL
9251                              op2 -> val
9252                      | ARRAY_REF
9253                              op0 -> inner-compref
9254                              op1 -> val
9255                              op2 -> val
9256                              op3 -> val
9257                      | ARRAY_RANGE_REF
9258                              op0 -> inner-compref
9259                              op1 -> val
9260                              op2 -> val
9261                              op3 -> val
9262                      | VIEW_CONVERT_EXPR
9263                              op0 -> inner-compref
9265         condition    : val
9266                      | RELOP
9267                              op0 -> val
9268                              op1 -> val
9270         val          : ID
9271                      | invariant ADDR_EXPR
9272                              op0 -> addr-expr-arg
9273                      | CONST
9275         rhs          : lhs
9276                      | CONST
9277                      | call-stmt
9278                      | ADDR_EXPR
9279                              op0 -> addr-expr-arg
9280                      | UNOP
9281                              op0 -> val
9282                      | BINOP
9283                              op0 -> val
9284                              op1 -> val
9285                      | RELOP
9286                              op0 -> val
9287                              op1 -> val
9288                 | COND_EXPR
9289                         op0 -> condition
9290                         op1 -> val
9291                         op2 -> val
9293 \x1f
9294 File: gccint.info,  Node: Annotations,  Next: Statement Operands,  Prev: GIMPLE,  Up: Tree SSA
9296 10.3 Annotations
9297 ================
9299 The optimizers need to associate attributes with statements and
9300 variables during the optimization process.  For instance, we need to
9301 know what basic block a statement belongs to or whether a variable has
9302 aliases.  All these attributes are stored in data structures called
9303 annotations which are then linked to the field `ann' in `struct
9304 tree_common'.
9306  Presently, we define annotations for statements (`stmt_ann_t'),
9307 variables (`var_ann_t') and SSA names (`ssa_name_ann_t').  Annotations
9308 are defined and documented in `tree-flow.h'.
9310 \x1f
9311 File: gccint.info,  Node: Statement Operands,  Next: SSA,  Prev: Annotations,  Up: Tree SSA
9313 10.4 Statement Operands
9314 =======================
9316 Almost every GIMPLE statement will contain a reference to a variable or
9317 memory location.  Since statements come in different shapes and sizes,
9318 their operands are going to be located at various spots inside the
9319 statement's tree.  To facilitate access to the statement's operands,
9320 they are organized into lists associated inside each statement's
9321 annotation.  Each element in an operand list is a pointer to a
9322 `VAR_DECL', `PARM_DECL' or `SSA_NAME' tree node.  This provides a very
9323 convenient way of examining and replacing operands.
9325  Data flow analysis and optimization is done on all tree nodes
9326 representing variables.  Any node for which `SSA_VAR_P' returns nonzero
9327 is considered when scanning statement operands.  However, not all
9328 `SSA_VAR_P' variables are processed in the same way.  For the purposes
9329 of optimization, we need to distinguish between references to local
9330 scalar variables and references to globals, statics, structures,
9331 arrays, aliased variables, etc.  The reason is simple, the compiler can
9332 gather complete data flow information for a local scalar.  On the other
9333 hand, a global variable may be modified by a function call, it may not
9334 be possible to keep track of all the elements of an array or the fields
9335 of a structure, etc.
9337  The operand scanner gathers two kinds of operands: "real" and
9338 "virtual".  An operand for which `is_gimple_reg' returns true is
9339 considered real, otherwise it is a virtual operand.  We also
9340 distinguish between uses and definitions.  An operand is used if its
9341 value is loaded by the statement (e.g., the operand at the RHS of an
9342 assignment).  If the statement assigns a new value to the operand, the
9343 operand is considered a definition (e.g., the operand at the LHS of an
9344 assignment).
9346  Virtual and real operands also have very different data flow
9347 properties.  Real operands are unambiguous references to the full
9348 object that they represent.  For instance, given
9350      {
9351        int a, b;
9352        a = b
9353      }
9355  Since `a' and `b' are non-aliased locals, the statement `a = b' will
9356 have one real definition and one real use because variable `b' is
9357 completely modified with the contents of variable `a'.  Real definition
9358 are also known as "killing definitions".  Similarly, the use of `a'
9359 reads all its bits.
9361  In contrast, virtual operands are used with variables that can have a
9362 partial or ambiguous reference.  This includes structures, arrays,
9363 globals, and aliased variables.  In these cases, we have two types of
9364 definitions.  For globals, structures, and arrays, we can determine from
9365 a statement whether a variable of these types has a killing definition.
9366 If the variable does, then the statement is marked as having a "must
9367 definition" of that variable.  However, if a statement is only defining
9368 a part of the variable (i.e. a field in a structure), or if we know
9369 that a statement might define the variable but we cannot say for sure,
9370 then we mark that statement as having a "may definition".  For
9371 instance, given
9373      {
9374        int a, b, *p;
9376        if (...)
9377          p = &a;
9378        else
9379          p = &b;
9380        *p = 5;
9381        return *p;
9382      }
9384  The assignment `*p = 5' may be a definition of `a' or `b'.  If we
9385 cannot determine statically where `p' is pointing to at the time of the
9386 store operation, we create virtual definitions to mark that statement
9387 as a potential definition site for `a' and `b'.  Memory loads are
9388 similarly marked with virtual use operands.  Virtual operands are shown
9389 in tree dumps right before the statement that contains them.  To
9390 request a tree dump with virtual operands, use the `-vops' option to
9391 `-fdump-tree':
9393      {
9394        int a, b, *p;
9396        if (...)
9397          p = &a;
9398        else
9399          p = &b;
9400        # a = VDEF <a>
9401        # b = VDEF <b>
9402        *p = 5;
9404        # VUSE <a>
9405        # VUSE <b>
9406        return *p;
9407      }
9409  Notice that `VDEF' operands have two copies of the referenced
9410 variable.  This indicates that this is not a killing definition of that
9411 variable.  In this case we refer to it as a "may definition" or
9412 "aliased store".  The presence of the second copy of the variable in
9413 the `VDEF' operand will become important when the function is converted
9414 into SSA form.  This will be used to link all the non-killing
9415 definitions to prevent optimizations from making incorrect assumptions
9416 about them.
9418  Operands are updated as soon as the statement is finished via a call
9419 to `update_stmt'.  If statement elements are changed via `SET_USE' or
9420 `SET_DEF', then no further action is required (i.e., those macros take
9421 care of updating the statement).  If changes are made by manipulating
9422 the statement's tree directly, then a call must be made to
9423 `update_stmt' when complete.  Calling one of the `bsi_insert' routines
9424 or `bsi_replace' performs an implicit call to `update_stmt'.
9426 10.4.1 Operand Iterators And Access Routines
9427 --------------------------------------------
9429 Operands are collected by `tree-ssa-operands.c'.  They are stored
9430 inside each statement's annotation and can be accessed through either
9431 the operand iterators or an access routine.
9433  The following access routines are available for examining operands:
9435   1. `SINGLE_SSA_{USE,DEF,TREE}_OPERAND': These accessors will return
9436      NULL unless there is exactly one operand matching the specified
9437      flags.  If there is exactly one operand, the operand is returned
9438      as either a `tree', `def_operand_p', or `use_operand_p'.
9440           tree t = SINGLE_SSA_TREE_OPERAND (stmt, flags);
9441           use_operand_p u = SINGLE_SSA_USE_OPERAND (stmt, SSA_ALL_VIRTUAL_USES);
9442           def_operand_p d = SINGLE_SSA_DEF_OPERAND (stmt, SSA_OP_ALL_DEFS);
9444   2. `ZERO_SSA_OPERANDS': This macro returns true if there are no
9445      operands matching the specified flags.
9447           if (ZERO_SSA_OPERANDS (stmt, SSA_OP_ALL_VIRTUALS))
9448             return;
9450   3. `NUM_SSA_OPERANDS': This macro Returns the number of operands
9451      matching 'flags'.  This actually executes a loop to perform the
9452      count, so only use this if it is really needed.
9454           int count = NUM_SSA_OPERANDS (stmt, flags)
9456  If you wish to iterate over some or all operands, use the
9457 `FOR_EACH_SSA_{USE,DEF,TREE}_OPERAND' iterator.  For example, to print
9458 all the operands for a statement:
9460      void
9461      print_ops (tree stmt)
9462      {
9463        ssa_op_iter;
9464        tree var;
9466        FOR_EACH_SSA_TREE_OPERAND (var, stmt, iter, SSA_OP_ALL_OPERANDS)
9467          print_generic_expr (stderr, var, TDF_SLIM);
9468      }
9470  How to choose the appropriate iterator:
9472   1. Determine whether you are need to see the operand pointers, or
9473      just the     trees, and choose the appropriate macro:
9475           Need            Macro:
9476           ----            -------
9477           use_operand_p   FOR_EACH_SSA_USE_OPERAND
9478           def_operand_p   FOR_EACH_SSA_DEF_OPERAND
9479           tree            FOR_EACH_SSA_TREE_OPERAND
9481   2. You need to declare a variable of the type you are interested
9482      in, and an ssa_op_iter structure which serves as the loop
9483      controlling variable.
9485   3. Determine which operands you wish to use, and specify the flags of
9486         those you are interested in.  They are documented in
9487      `tree-ssa-operands.h':
9489           #define SSA_OP_USE              0x01    /* Real USE operands.  */
9490           #define SSA_OP_DEF              0x02    /* Real DEF operands.  */
9491           #define SSA_OP_VUSE             0x04    /* VUSE operands.  */
9492           #define SSA_OP_VMAYUSE          0x08    /* USE portion of VDEFS.  */
9493           #define SSA_OP_VDEF             0x10    /* DEF portion of VDEFS.  */
9495           /* These are commonly grouped operand flags.  */
9496           #define SSA_OP_VIRTUAL_USES     (SSA_OP_VUSE | SSA_OP_VMAYUSE)
9497           #define SSA_OP_VIRTUAL_DEFS     (SSA_OP_VDEF)
9498           #define SSA_OP_ALL_USES         (SSA_OP_VIRTUAL_USES | SSA_OP_USE)
9499           #define SSA_OP_ALL_DEFS         (SSA_OP_VIRTUAL_DEFS | SSA_OP_DEF)
9500           #define SSA_OP_ALL_OPERANDS     (SSA_OP_ALL_USES | SSA_OP_ALL_DEFS)
9502  So if you want to look at the use pointers for all the `USE' and
9503 `VUSE' operands, you would do something like:
9505        use_operand_p use_p;
9506        ssa_op_iter iter;
9508        FOR_EACH_SSA_USE_OPERAND (use_p, stmt, iter, (SSA_OP_USE | SSA_OP_VUSE))
9509          {
9510            process_use_ptr (use_p);
9511          }
9513  The `TREE' macro is basically the same as the `USE' and `DEF' macros,
9514 only with the use or def dereferenced via `USE_FROM_PTR (use_p)' and
9515 `DEF_FROM_PTR (def_p)'.  Since we aren't using operand pointers, use
9516 and defs flags can be mixed.
9518        tree var;
9519        ssa_op_iter iter;
9521        FOR_EACH_SSA_TREE_OPERAND (var, stmt, iter, SSA_OP_VUSE)
9522          {
9523             print_generic_expr (stderr, var, TDF_SLIM);
9524          }
9526  `VDEF's are broken into two flags, one for the `DEF' portion
9527 (`SSA_OP_VDEF') and one for the USE portion (`SSA_OP_VMAYUSE').  If all
9528 you want to look at are the `VDEF's together, there is a fourth
9529 iterator macro for this, which returns both a def_operand_p and a
9530 use_operand_p for each `VDEF' in the statement.  Note that you don't
9531 need any flags for this one.
9533        use_operand_p use_p;
9534        def_operand_p def_p;
9535        ssa_op_iter iter;
9537        FOR_EACH_SSA_MAYDEF_OPERAND (def_p, use_p, stmt, iter)
9538          {
9539            my_code;
9540          }
9542  There are many examples in the code as well, as well as the
9543 documentation in `tree-ssa-operands.h'.
9545  There are also a couple of variants on the stmt iterators regarding PHI
9546 nodes.
9548  `FOR_EACH_PHI_ARG' Works exactly like `FOR_EACH_SSA_USE_OPERAND',
9549 except it works over `PHI' arguments instead of statement operands.
9551      /* Look at every virtual PHI use.  */
9552      FOR_EACH_PHI_ARG (use_p, phi_stmt, iter, SSA_OP_VIRTUAL_USES)
9553      {
9554         my_code;
9555      }
9557      /* Look at every real PHI use.  */
9558      FOR_EACH_PHI_ARG (use_p, phi_stmt, iter, SSA_OP_USES)
9559        my_code;
9561      /* Look at every every PHI use.  */
9562      FOR_EACH_PHI_ARG (use_p, phi_stmt, iter, SSA_OP_ALL_USES)
9563        my_code;
9565  `FOR_EACH_PHI_OR_STMT_{USE,DEF}' works exactly like
9566 `FOR_EACH_SSA_{USE,DEF}_OPERAND', except it will function on either a
9567 statement or a `PHI' node.  These should be used when it is appropriate
9568 but they are not quite as efficient as the individual `FOR_EACH_PHI'
9569 and `FOR_EACH_SSA' routines.
9571      FOR_EACH_PHI_OR_STMT_USE (use_operand_p, stmt, iter, flags)
9572        {
9573           my_code;
9574        }
9576      FOR_EACH_PHI_OR_STMT_DEF (def_operand_p, phi, iter, flags)
9577        {
9578           my_code;
9579        }
9581 10.4.2 Immediate Uses
9582 ---------------------
9584 Immediate use information is now always available.  Using the immediate
9585 use iterators, you may examine every use of any `SSA_NAME'. For
9586 instance, to change each use of `ssa_var' to `ssa_var2' and call
9587 fold_stmt on each stmt after that is done:
9589        use_operand_p imm_use_p;
9590        imm_use_iterator iterator;
9591        tree ssa_var, stmt;
9594        FOR_EACH_IMM_USE_STMT (stmt, iterator, ssa_var)
9595          {
9596            FOR_EACH_IMM_USE_ON_STMT (imm_use_p, iterator)
9597              SET_USE (imm_use_p, ssa_var_2);
9598            fold_stmt (stmt);
9599          }
9601  There are 2 iterators which can be used. `FOR_EACH_IMM_USE_FAST' is
9602 used when the immediate uses are not changed, i.e., you are looking at
9603 the uses, but not setting them.
9605  If they do get changed, then care must be taken that things are not
9606 changed under the iterators, so use the `FOR_EACH_IMM_USE_STMT' and
9607 `FOR_EACH_IMM_USE_ON_STMT' iterators.  They attempt to preserve the
9608 sanity of the use list by moving all the uses for a statement into a
9609 controlled position, and then iterating over those uses.  Then the
9610 optimization can manipulate the stmt when all the uses have been
9611 processed.  This is a little slower than the FAST version since it adds
9612 a placeholder element and must sort through the list a bit for each
9613 statement.  This placeholder element must be also be removed if the
9614 loop is terminated early.  The macro `BREAK_FROM_IMM_USE_SAFE' is
9615 provided to do this :
9617        FOR_EACH_IMM_USE_STMT (stmt, iterator, ssa_var)
9618          {
9619            if (stmt == last_stmt)
9620              BREAK_FROM_SAFE_IMM_USE (iter);
9622            FOR_EACH_IMM_USE_ON_STMT (imm_use_p, iterator)
9623              SET_USE (imm_use_p, ssa_var_2);
9624            fold_stmt (stmt);
9625          }
9627  There are checks in `verify_ssa' which verify that the immediate use
9628 list is up to date, as well as checking that an optimization didn't
9629 break from the loop without using this macro.  It is safe to simply
9630 'break'; from a `FOR_EACH_IMM_USE_FAST' traverse.
9632  Some useful functions and macros:
9633   1. `has_zero_uses (ssa_var)' : Returns true if there are no uses of
9634      `ssa_var'.
9636   2. `has_single_use (ssa_var)' : Returns true if there is only a
9637      single use of `ssa_var'.
9639   3. `single_imm_use (ssa_var, use_operand_p *ptr, tree *stmt)' :
9640      Returns true if there is only a single use of `ssa_var', and also
9641      returns the use pointer and statement it occurs in in the second
9642      and third parameters.
9644   4. `num_imm_uses (ssa_var)' : Returns the number of immediate uses of
9645      `ssa_var'. It is better not to use this if possible since it simply
9646      utilizes a loop to count the uses.
9648   5. `PHI_ARG_INDEX_FROM_USE (use_p)' : Given a use within a `PHI'
9649      node, return the index number for the use.  An assert is triggered
9650      if the use isn't located in a `PHI' node.
9652   6. `USE_STMT (use_p)' : Return the statement a use occurs in.
9654  Note that uses are not put into an immediate use list until their
9655 statement is actually inserted into the instruction stream via a
9656 `bsi_*' routine.
9658  It is also still possible to utilize lazy updating of statements, but
9659 this should be used only when absolutely required.  Both alias analysis
9660 and the dominator optimizations currently do this.
9662  When lazy updating is being used, the immediate use information is out
9663 of date and cannot be used reliably.  Lazy updating is achieved by
9664 simply marking statements modified via calls to `mark_stmt_modified'
9665 instead of `update_stmt'.  When lazy updating is no longer required,
9666 all the modified statements must have `update_stmt' called in order to
9667 bring them up to date.  This must be done before the optimization is
9668 finished, or `verify_ssa' will trigger an abort.
9670  This is done with a simple loop over the instruction stream:
9671        block_stmt_iterator bsi;
9672        basic_block bb;
9673        FOR_EACH_BB (bb)
9674          {
9675            for (bsi = bsi_start (bb); !bsi_end_p (bsi); bsi_next (&bsi))
9676              update_stmt_if_modified (bsi_stmt (bsi));
9677          }
9679 \x1f
9680 File: gccint.info,  Node: SSA,  Next: Alias analysis,  Prev: Statement Operands,  Up: Tree SSA
9682 10.5 Static Single Assignment
9683 =============================
9685 Most of the tree optimizers rely on the data flow information provided
9686 by the Static Single Assignment (SSA) form.  We implement the SSA form
9687 as described in `R. Cytron, J. Ferrante, B. Rosen, M. Wegman, and K.
9688 Zadeck.  Efficiently Computing Static Single Assignment Form and the
9689 Control Dependence Graph.  ACM Transactions on Programming Languages
9690 and Systems, 13(4):451-490, October 1991'.
9692  The SSA form is based on the premise that program variables are
9693 assigned in exactly one location in the program.  Multiple assignments
9694 to the same variable create new versions of that variable.  Naturally,
9695 actual programs are seldom in SSA form initially because variables tend
9696 to be assigned multiple times.  The compiler modifies the program
9697 representation so that every time a variable is assigned in the code, a
9698 new version of the variable is created.  Different versions of the same
9699 variable are distinguished by subscripting the variable name with its
9700 version number.  Variables used in the right-hand side of expressions
9701 are renamed so that their version number matches that of the most
9702 recent assignment.
9704  We represent variable versions using `SSA_NAME' nodes.  The renaming
9705 process in `tree-ssa.c' wraps every real and virtual operand with an
9706 `SSA_NAME' node which contains the version number and the statement
9707 that created the `SSA_NAME'.  Only definitions and virtual definitions
9708 may create new `SSA_NAME' nodes.
9710  Sometimes, flow of control makes it impossible to determine the most
9711 recent version of a variable.  In these cases, the compiler inserts an
9712 artificial definition for that variable called "PHI function" or "PHI
9713 node".  This new definition merges all the incoming versions of the
9714 variable to create a new name for it.  For instance,
9716      if (...)
9717        a_1 = 5;
9718      else if (...)
9719        a_2 = 2;
9720      else
9721        a_3 = 13;
9723      # a_4 = PHI <a_1, a_2, a_3>
9724      return a_4;
9726  Since it is not possible to determine which of the three branches will
9727 be taken at runtime, we don't know which of `a_1', `a_2' or `a_3' to
9728 use at the return statement.  So, the SSA renamer creates a new version
9729 `a_4' which is assigned the result of "merging" `a_1', `a_2' and `a_3'.
9730 Hence, PHI nodes mean "one of these operands.  I don't know which".
9732  The following macros can be used to examine PHI nodes
9734  -- Macro: PHI_RESULT (PHI)
9735      Returns the `SSA_NAME' created by PHI node PHI (i.e., PHI's LHS).
9737  -- Macro: PHI_NUM_ARGS (PHI)
9738      Returns the number of arguments in PHI.  This number is exactly
9739      the number of incoming edges to the basic block holding PHI.
9741  -- Macro: PHI_ARG_ELT (PHI, I)
9742      Returns a tuple representing the Ith argument of PHI.  Each
9743      element of this tuple contains an `SSA_NAME' VAR and the incoming
9744      edge through which VAR flows.
9746  -- Macro: PHI_ARG_EDGE (PHI, I)
9747      Returns the incoming edge for the Ith argument of PHI.
9749  -- Macro: PHI_ARG_DEF (PHI, I)
9750      Returns the `SSA_NAME' for the Ith argument of PHI.
9752 10.5.1 Preserving the SSA form
9753 ------------------------------
9755 Some optimization passes make changes to the function that invalidate
9756 the SSA property.  This can happen when a pass has added new symbols or
9757 changed the program so that variables that were previously aliased
9758 aren't anymore.  Whenever something like this happens, the affected
9759 symbols must be renamed into SSA form again.  Transformations that emit
9760 new code or replicate existing statements will also need to update the
9761 SSA form.
9763  Since GCC implements two different SSA forms for register and virtual
9764 variables, keeping the SSA form up to date depends on whether you are
9765 updating register or virtual names.  In both cases, the general idea
9766 behind incremental SSA updates is similar: when new SSA names are
9767 created, they typically are meant to replace other existing names in
9768 the program.
9770  For instance, given the following code:
9772           1     L0:
9773           2     x_1 = PHI (0, x_5)
9774           3     if (x_1 < 10)
9775           4       if (x_1 > 7)
9776           5         y_2 = 0
9777           6       else
9778           7         y_3 = x_1 + x_7
9779           8       endif
9780           9       x_5 = x_1 + 1
9781           10   goto L0;
9782           11    endif
9784  Suppose that we insert new names `x_10' and `x_11' (lines `4' and `8').
9786           1     L0:
9787           2     x_1 = PHI (0, x_5)
9788           3     if (x_1 < 10)
9789           4       x_10 = ...
9790           5       if (x_1 > 7)
9791           6         y_2 = 0
9792           7       else
9793           8         x_11 = ...
9794           9         y_3 = x_1 + x_7
9795           10      endif
9796           11      x_5 = x_1 + 1
9797           12      goto L0;
9798           13    endif
9800  We want to replace all the uses of `x_1' with the new definitions of
9801 `x_10' and `x_11'.  Note that the only uses that should be replaced are
9802 those at lines `5', `9' and `11'.  Also, the use of `x_7' at line `9'
9803 should _not_ be replaced (this is why we cannot just mark symbol `x' for
9804 renaming).
9806  Additionally, we may need to insert a PHI node at line `11' because
9807 that is a merge point for `x_10' and `x_11'.  So the use of `x_1' at
9808 line `11' will be replaced with the new PHI node.  The insertion of PHI
9809 nodes is optional.  They are not strictly necessary to preserve the SSA
9810 form, and depending on what the caller inserted, they may not even be
9811 useful for the optimizers.
9813  Updating the SSA form is a two step process.  First, the pass has to
9814 identify which names need to be updated and/or which symbols need to be
9815 renamed into SSA form for the first time.  When new names are
9816 introduced to replace existing names in the program, the mapping
9817 between the old and the new names are registered by calling
9818 `register_new_name_mapping' (note that if your pass creates new code by
9819 duplicating basic blocks, the call to `tree_duplicate_bb' will set up
9820 the necessary mappings automatically).  On the other hand, if your pass
9821 exposes a new symbol that should be put in SSA form for the first time,
9822 the new symbol should be registered with `mark_sym_for_renaming'.
9824  After the replacement mappings have been registered and new symbols
9825 marked for renaming, a call to `update_ssa' makes the registered
9826 changes.  This can be done with an explicit call or by creating `TODO'
9827 flags in the `tree_opt_pass' structure for your pass.  There are
9828 several `TODO' flags that control the behavior of `update_ssa':
9830    * `TODO_update_ssa'.  Update the SSA form inserting PHI nodes
9831      for newly exposed symbols and virtual names marked for updating.
9832          When updating real names, only insert PHI nodes for a real
9833      name       `O_j' in blocks reached by all the new and old
9834      definitions for       `O_j'.  If the iterated dominance frontier
9835      for `O_j'       is not pruned, we may end up inserting PHI nodes
9836      in blocks that       have one or more edges with no incoming
9837      definition for       `O_j'.  This would lead to uninitialized
9838      warnings for       `O_j''s symbol.
9840    * `TODO_update_ssa_no_phi'.  Update the SSA form without
9841      inserting any new PHI nodes at all.  This is used by passes that
9842         have either inserted all the PHI nodes themselves or passes
9843      that       need only to patch use-def and def-def chains for
9844      virtuals       (e.g., DCE).
9846    * `TODO_update_ssa_full_phi'.  Insert PHI nodes everywhere
9847      they are needed.  No pruning of the IDF is done.  This is used
9848       by passes that need the PHI nodes for `O_j' even if it
9849      means that some arguments will come from the default definition
9850        of `O_j''s symbol (e.g., `pass_linear_transform').
9852      WARNING: If you need to use this flag, chances are that your
9853      pass may be doing something wrong.  Inserting PHI nodes for an
9854       old name where not all edges carry a new replacement may lead to
9855           silent codegen errors or spurious uninitialized warnings.
9857    * `TODO_update_ssa_only_virtuals'.  Passes that update the       SSA
9858      form on their own may want to delegate the updating of
9859      virtual names to the generic updater.  Since FUD chains are
9860      easier to maintain, this simplifies the work they need to do.
9861       NOTE: If this flag is used, any OLD->NEW mappings for real names
9862           are explicitly destroyed and only the symbols marked for
9863       renaming are processed.
9865 10.5.2 Preserving the virtual SSA form
9866 --------------------------------------
9868 The virtual SSA form is harder to preserve than the non-virtual SSA form
9869 mainly because the set of virtual operands for a statement may change at
9870 what some would consider unexpected times.  In general, statement
9871 modifications should be bracketed between calls to `push_stmt_changes'
9872 and `pop_stmt_changes'.  For example,
9874          munge_stmt (tree stmt)
9875          {
9876             push_stmt_changes (&stmt);
9877             ... rewrite STMT ...
9878             pop_stmt_changes (&stmt);
9879          }
9881  The call to `push_stmt_changes' saves the current state of the
9882 statement operands and the call to `pop_stmt_changes' compares the
9883 saved state with the current one and does the appropriate symbol
9884 marking for the SSA renamer.
9886  It is possible to modify several statements at a time, provided that
9887 `push_stmt_changes' and `pop_stmt_changes' are called in LIFO order, as
9888 when processing a stack of statements.
9890  Additionally, if the pass discovers that it did not need to make
9891 changes to the statement after calling `push_stmt_changes', it can
9892 simply discard the topmost change buffer by calling
9893 `discard_stmt_changes'.  This will avoid the expensive operand re-scan
9894 operation and the buffer comparison that determines if symbols need to
9895 be marked for renaming.
9897 10.5.3 Examining `SSA_NAME' nodes
9898 ---------------------------------
9900 The following macros can be used to examine `SSA_NAME' nodes
9902  -- Macro: SSA_NAME_DEF_STMT (VAR)
9903      Returns the statement S that creates the `SSA_NAME' VAR.  If S is
9904      an empty statement (i.e., `IS_EMPTY_STMT (S)' returns `true'), it
9905      means that the first reference to this variable is a USE or a VUSE.
9907  -- Macro: SSA_NAME_VERSION (VAR)
9908      Returns the version number of the `SSA_NAME' object VAR.
9910 10.5.4 Walking use-def chains
9911 -----------------------------
9913  -- Tree SSA function: void walk_use_def_chains (VAR, FN, DATA)
9914      Walks use-def chains starting at the `SSA_NAME' node VAR.  Calls
9915      function FN at each reaching definition found.  Function FN takes
9916      three arguments: VAR, its defining statement (DEF_STMT) and a
9917      generic pointer to whatever state information that FN may want to
9918      maintain (DATA).  Function FN is able to stop the walk by
9919      returning `true', otherwise in order to continue the walk, FN
9920      should return `false'.
9922      Note, that if DEF_STMT is a `PHI' node, the semantics are slightly
9923      different.  For each argument ARG of the PHI node, this function
9924      will:
9926        1. Walk the use-def chains for ARG.
9928        2. Call `FN (ARG, PHI, DATA)'.
9930      Note how the first argument to FN is no longer the original
9931      variable VAR, but the PHI argument currently being examined.  If
9932      FN wants to get at VAR, it should call `PHI_RESULT' (PHI).
9934 10.5.5 Walking the dominator tree
9935 ---------------------------------
9937  -- Tree SSA function: void walk_dominator_tree (WALK_DATA, BB)
9938      This function walks the dominator tree for the current CFG calling
9939      a set of callback functions defined in STRUCT DOM_WALK_DATA in
9940      `domwalk.h'.  The call back functions you need to define give you
9941      hooks to execute custom code at various points during traversal:
9943        1. Once to initialize any local data needed while processing
9944            BB and its children.  This local data is pushed into an
9945            internal stack which is automatically pushed and popped as
9946           the       walker traverses the dominator tree.
9948        2. Once before traversing all the statements in the BB.
9950        3. Once for every statement inside BB.
9952        4. Once after traversing all the statements and before recursing
9953                into BB's dominator children.
9955        5. It then recurses into all the dominator children of BB.
9957        6. After recursing into all the dominator children of BB it
9958           can, optionally, traverse every statement in BB again
9959           (i.e., repeating steps 2 and 3).
9961        7. Once after walking the statements in BB and BB's
9962           dominator children.  At this stage, the block local data stack
9963                is popped.
9965 \x1f
9966 File: gccint.info,  Node: Alias analysis,  Prev: SSA,  Up: Tree SSA
9968 10.6 Alias analysis
9969 ===================
9971 Alias analysis proceeds in 4 main phases:
9973   1. Structural alias analysis.
9975      This phase walks the types for structure variables, and determines
9976      which of the fields can overlap using offset and size of each
9977      field.  For each field, a "subvariable" called a "Structure field
9978      tag" (SFT) is created, which represents that field as a separate
9979      variable.  All accesses that could possibly overlap with a given
9980      field will have virtual operands for the SFT of that field.
9982           struct foo
9983           {
9984             int a;
9985             int b;
9986           }
9987           struct foo temp;
9988           int bar (void)
9989           {
9990             int tmp1, tmp2, tmp3;
9991             SFT.0_2 = VDEF <SFT.0_1>
9992             temp.a = 5;
9993             SFT.1_4 = VDEF <SFT.1_3>
9994             temp.b = 6;
9996             VUSE <SFT.1_4>
9997             tmp1_5 = temp.b;
9998             VUSE <SFT.0_2>
9999             tmp2_6 = temp.a;
10001             tmp3_7 = tmp1_5 + tmp2_6;
10002             return tmp3_7;
10003           }
10005      If you copy the symbol tag for a variable for some reason, you
10006      probably also want to copy the subvariables for that variable.
10008   2. Points-to and escape analysis.
10010      This phase walks the use-def chains in the SSA web looking for
10011      three things:
10016         * Assignments of the form `P_i = &VAR'
10018         * Assignments of the form P_i = malloc()
10020         * Pointers and ADDR_EXPR that escape the current function.
10022      The concept of `escaping' is the same one used in the Java world.
10023      When a pointer or an ADDR_EXPR escapes, it means that it has been
10024      exposed outside of the current function.  So, assignment to global
10025      variables, function arguments and returning a pointer are all
10026      escape sites.
10028      This is where we are currently limited.  Since not everything is
10029      renamed into SSA, we lose track of escape properties when a
10030      pointer is stashed inside a field in a structure, for instance.
10031      In those cases, we are assuming that the pointer does escape.
10033      We use escape analysis to determine whether a variable is
10034      call-clobbered.  Simply put, if an ADDR_EXPR escapes, then the
10035      variable is call-clobbered.  If a pointer P_i escapes, then all
10036      the variables pointed-to by P_i (and its memory tag) also escape.
10038   3. Compute flow-sensitive aliases
10040      We have two classes of memory tags.  Memory tags associated with
10041      the pointed-to data type of the pointers in the program.  These
10042      tags are called "symbol memory tag" (SMT).  The other class are
10043      those associated with SSA_NAMEs, called "name memory tag" (NMT).
10044      The basic idea is that when adding operands for an INDIRECT_REF
10045      *P_i, we will first check whether P_i has a name tag, if it does
10046      we use it, because that will have more precise aliasing
10047      information.  Otherwise, we use the standard symbol tag.
10049      In this phase, we go through all the pointers we found in
10050      points-to analysis and create alias sets for the name memory tags
10051      associated with each pointer P_i.  If P_i escapes, we mark
10052      call-clobbered the variables it points to and its tag.
10054   4. Compute flow-insensitive aliases
10056      This pass will compare the alias set of every symbol memory tag and
10057      every addressable variable found in the program.  Given a symbol
10058      memory tag SMT and an addressable variable V.  If the alias sets
10059      of SMT and V conflict (as computed by may_alias_p), then V is
10060      marked as an alias tag and added to the alias set of SMT.
10062      Every language that wishes to perform language-specific alias
10063      analysis should define a function that computes, given a `tree'
10064      node, an alias set for the node.  Nodes in different alias sets
10065      are not allowed to alias.  For an example, see the C front-end
10066      function `c_get_alias_set'.
10068  For instance, consider the following function:
10070      foo (int i)
10071      {
10072        int *p, *q, a, b;
10074        if (i > 10)
10075          p = &a;
10076        else
10077          q = &b;
10079        *p = 3;
10080        *q = 5;
10081        a = b + 2;
10082        return *p;
10083      }
10085  After aliasing analysis has finished, the symbol memory tag for
10086 pointer `p' will have two aliases, namely variables `a' and `b'.  Every
10087 time pointer `p' is dereferenced, we want to mark the operation as a
10088 potential reference to `a' and `b'.
10090      foo (int i)
10091      {
10092        int *p, a, b;
10094        if (i_2 > 10)
10095          p_4 = &a;
10096        else
10097          p_6 = &b;
10098        # p_1 = PHI <p_4(1), p_6(2)>;
10100        # a_7 = VDEF <a_3>;
10101        # b_8 = VDEF <b_5>;
10102        *p_1 = 3;
10104        # a_9 = VDEF <a_7>
10105        # VUSE <b_8>
10106        a_9 = b_8 + 2;
10108        # VUSE <a_9>;
10109        # VUSE <b_8>;
10110        return *p_1;
10111      }
10113  In certain cases, the list of may aliases for a pointer may grow too
10114 large.  This may cause an explosion in the number of virtual operands
10115 inserted in the code.  Resulting in increased memory consumption and
10116 compilation time.
10118  When the number of virtual operands needed to represent aliased loads
10119 and stores grows too large (configurable with `--param
10120 max-aliased-vops'), alias sets are grouped to avoid severe compile-time
10121 slow downs and memory consumption.  The alias grouping heuristic
10122 proceeds as follows:
10124   1. Sort the list of pointers in decreasing number of contributed
10125      virtual operands.
10127   2. Take the first pointer from the list and reverse the role of the
10128      memory tag and its aliases.  Usually, whenever an aliased variable
10129      Vi is found to alias with a memory tag T, we add Vi to the
10130      may-aliases set for T.  Meaning that after alias analysis, we will
10131      have:
10133           may-aliases(T) = { V1, V2, V3, ..., Vn }
10135      This means that every statement that references T, will get `n'
10136      virtual operands for each of the Vi tags.  But, when alias
10137      grouping is enabled, we make T an alias tag and add it to the
10138      alias set of all the Vi variables:
10140           may-aliases(V1) = { T }
10141           may-aliases(V2) = { T }
10142           ...
10143           may-aliases(Vn) = { T }
10145      This has two effects: (a) statements referencing T will only get a
10146      single virtual operand, and, (b) all the variables Vi will now
10147      appear to alias each other.  So, we lose alias precision to
10148      improve compile time.  But, in theory, a program with such a high
10149      level of aliasing should not be very optimizable in the first
10150      place.
10152   3. Since variables may be in the alias set of more than one memory
10153      tag, the grouping done in step (2) needs to be extended to all the
10154      memory tags that have a non-empty intersection with the
10155      may-aliases set of tag T.  For instance, if we originally had
10156      these may-aliases sets:
10158           may-aliases(T) = { V1, V2, V3 }
10159           may-aliases(R) = { V2, V4 }
10161      In step (2) we would have reverted the aliases for T as:
10163           may-aliases(V1) = { T }
10164           may-aliases(V2) = { T }
10165           may-aliases(V3) = { T }
10167      But note that now V2 is no longer aliased with R.  We could add R
10168      to may-aliases(V2), but we are in the process of grouping aliases
10169      to reduce virtual operands so what we do is add V4 to the grouping
10170      to obtain:
10172           may-aliases(V1) = { T }
10173           may-aliases(V2) = { T }
10174           may-aliases(V3) = { T }
10175           may-aliases(V4) = { T }
10177   4. If the total number of virtual operands due to aliasing is still
10178      above the threshold set by max-alias-vops, go back to (2).
10180 \x1f
10181 File: gccint.info,  Node: Loop Analysis and Representation,  Next: Machine Desc,  Prev: Tree SSA,  Up: Top
10183 11 Analysis and Representation of Loops
10184 ***************************************
10186 GCC provides extensive infrastructure for work with natural loops, i.e.,
10187 strongly connected components of CFG with only one entry block.  This
10188 chapter describes representation of loops in GCC, both on GIMPLE and in
10189 RTL, as well as the interfaces to loop-related analyses (induction
10190 variable analysis and number of iterations analysis).
10192 * Menu:
10194 * Loop representation::         Representation and analysis of loops.
10195 * Loop querying::               Getting information about loops.
10196 * Loop manipulation::           Loop manipulation functions.
10197 * LCSSA::                       Loop-closed SSA form.
10198 * Scalar evolutions::           Induction variables on GIMPLE.
10199 * loop-iv::                     Induction variables on RTL.
10200 * Number of iterations::        Number of iterations analysis.
10201 * Dependency analysis::         Data dependency analysis.
10202 * Lambda::                      Linear loop transformations framework.
10203 * Omega::                       A solver for linear programming problems.
10205 \x1f
10206 File: gccint.info,  Node: Loop representation,  Next: Loop querying,  Up: Loop Analysis and Representation
10208 11.1 Loop representation
10209 ========================
10211 This chapter describes the representation of loops in GCC, and functions
10212 that can be used to build, modify and analyze this representation.  Most
10213 of the interfaces and data structures are declared in `cfgloop.h'.  At
10214 the moment, loop structures are analyzed and this information is
10215 updated only by the optimization passes that deal with loops, but some
10216 efforts are being made to make it available throughout most of the
10217 optimization passes.
10219  In general, a natural loop has one entry block (header) and possibly
10220 several back edges (latches) leading to the header from the inside of
10221 the loop.  Loops with several latches may appear if several loops share
10222 a single header, or if there is a branching in the middle of the loop.
10223 The representation of loops in GCC however allows only loops with a
10224 single latch.  During loop analysis, headers of such loops are split and
10225 forwarder blocks are created in order to disambiguate their structures.
10226 Heuristic based on profile information and structure of the induction
10227 variables in the loops is used to determine whether the latches
10228 correspond to sub-loops or to control flow in a single loop.  This means
10229 that the analysis sometimes changes the CFG, and if you run it in the
10230 middle of an optimization pass, you must be able to deal with the new
10231 blocks.  You may avoid CFG changes by passing
10232 `LOOPS_MAY_HAVE_MULTIPLE_LATCHES' flag to the loop discovery, note
10233 however that most other loop manipulation functions will not work
10234 correctly for loops with multiple latch edges (the functions that only
10235 query membership of blocks to loops and subloop relationships, or
10236 enumerate and test loop exits, can be expected to work).
10238  Body of the loop is the set of blocks that are dominated by its header,
10239 and reachable from its latch against the direction of edges in CFG.  The
10240 loops are organized in a containment hierarchy (tree) such that all the
10241 loops immediately contained inside loop L are the children of L in the
10242 tree.  This tree is represented by the `struct loops' structure.  The
10243 root of this tree is a fake loop that contains all blocks in the
10244 function.  Each of the loops is represented in a `struct loop'
10245 structure.  Each loop is assigned an index (`num' field of the `struct
10246 loop' structure), and the pointer to the loop is stored in the
10247 corresponding field of the `larray' vector in the loops structure.  The
10248 indices do not have to be continuous, there may be empty (`NULL')
10249 entries in the `larray' created by deleting loops.  Also, there is no
10250 guarantee on the relative order of a loop and its subloops in the
10251 numbering.  The index of a loop never changes.
10253  The entries of the `larray' field should not be accessed directly.
10254 The function `get_loop' returns the loop description for a loop with
10255 the given index.  `number_of_loops' function returns number of loops in
10256 the function.  To traverse all loops, use `FOR_EACH_LOOP' macro.  The
10257 `flags' argument of the macro is used to determine the direction of
10258 traversal and the set of loops visited.  Each loop is guaranteed to be
10259 visited exactly once, regardless of the changes to the loop tree, and
10260 the loops may be removed during the traversal.  The newly created loops
10261 are never traversed, if they need to be visited, this must be done
10262 separately after their creation.  The `FOR_EACH_LOOP' macro allocates
10263 temporary variables.  If the `FOR_EACH_LOOP' loop were ended using
10264 break or goto, they would not be released; `FOR_EACH_LOOP_BREAK' macro
10265 must be used instead.
10267  Each basic block contains the reference to the innermost loop it
10268 belongs to (`loop_father').  For this reason, it is only possible to
10269 have one `struct loops' structure initialized at the same time for each
10270 CFG.  The global variable `current_loops' contains the `struct loops'
10271 structure.  Many of the loop manipulation functions assume that
10272 dominance information is up-to-date.
10274  The loops are analyzed through `loop_optimizer_init' function.  The
10275 argument of this function is a set of flags represented in an integer
10276 bitmask.  These flags specify what other properties of the loop
10277 structures should be calculated/enforced and preserved later:
10279    * `LOOPS_MAY_HAVE_MULTIPLE_LATCHES': If this flag is set, no changes
10280      to CFG will be performed in the loop analysis, in particular,
10281      loops with multiple latch edges will not be disambiguated.  If a
10282      loop has multiple latches, its latch block is set to NULL.  Most of
10283      the loop manipulation functions will not work for loops in this
10284      shape.  No other flags that require CFG changes can be passed to
10285      loop_optimizer_init.
10287    * `LOOPS_HAVE_PREHEADERS': Forwarder blocks are created in such a
10288      way that each loop has only one entry edge, and additionally, the
10289      source block of this entry edge has only one successor.  This
10290      creates a natural place where the code can be moved out of the
10291      loop, and ensures that the entry edge of the loop leads from its
10292      immediate super-loop.
10294    * `LOOPS_HAVE_SIMPLE_LATCHES': Forwarder blocks are created to force
10295      the latch block of each loop to have only one successor.  This
10296      ensures that the latch of the loop does not belong to any of its
10297      sub-loops, and makes manipulation with the loops significantly
10298      easier.  Most of the loop manipulation functions assume that the
10299      loops are in this shape.  Note that with this flag, the "normal"
10300      loop without any control flow inside and with one exit consists of
10301      two basic blocks.
10303    * `LOOPS_HAVE_MARKED_IRREDUCIBLE_REGIONS': Basic blocks and edges in
10304      the strongly connected components that are not natural loops (have
10305      more than one entry block) are marked with `BB_IRREDUCIBLE_LOOP'
10306      and `EDGE_IRREDUCIBLE_LOOP' flags.  The flag is not set for blocks
10307      and edges that belong to natural loops that are in such an
10308      irreducible region (but it is set for the entry and exit edges of
10309      such a loop, if they lead to/from this region).
10311    * `LOOPS_HAVE_RECORDED_EXITS': The lists of exits are recorded and
10312      updated for each loop.  This makes some functions (e.g.,
10313      `get_loop_exit_edges') more efficient.  Some functions (e.g.,
10314      `single_exit') can be used only if the lists of exits are recorded.
10316  These properties may also be computed/enforced later, using functions
10317 `create_preheaders', `force_single_succ_latches',
10318 `mark_irreducible_loops' and `record_loop_exits'.
10320  The memory occupied by the loops structures should be freed with
10321 `loop_optimizer_finalize' function.
10323  The CFG manipulation functions in general do not update loop
10324 structures.  Specialized versions that additionally do so are provided
10325 for the most common tasks.  On GIMPLE, `cleanup_tree_cfg_loop' function
10326 can be used to cleanup CFG while updating the loops structures if
10327 `current_loops' is set.
10329 \x1f
10330 File: gccint.info,  Node: Loop querying,  Next: Loop manipulation,  Prev: Loop representation,  Up: Loop Analysis and Representation
10332 11.2 Loop querying
10333 ==================
10335 The functions to query the information about loops are declared in
10336 `cfgloop.h'.  Some of the information can be taken directly from the
10337 structures.  `loop_father' field of each basic block contains the
10338 innermost loop to that the block belongs.  The most useful fields of
10339 loop structure (that are kept up-to-date at all times) are:
10341    * `header', `latch': Header and latch basic blocks of the loop.
10343    * `num_nodes': Number of basic blocks in the loop (including the
10344      basic blocks of the sub-loops).
10346    * `depth': The depth of the loop in the loops tree, i.e., the number
10347      of super-loops of the loop.
10349    * `outer', `inner', `next': The super-loop, the first sub-loop, and
10350      the sibling of the loop in the loops tree.
10352  There are other fields in the loop structures, many of them used only
10353 by some of the passes, or not updated during CFG changes; in general,
10354 they should not be accessed directly.
10356  The most important functions to query loop structures are:
10358    * `flow_loops_dump': Dumps the information about loops to a file.
10360    * `verify_loop_structure': Checks consistency of the loop structures.
10362    * `loop_latch_edge': Returns the latch edge of a loop.
10364    * `loop_preheader_edge': If loops have preheaders, returns the
10365      preheader edge of a loop.
10367    * `flow_loop_nested_p': Tests whether loop is a sub-loop of another
10368      loop.
10370    * `flow_bb_inside_loop_p': Tests whether a basic block belongs to a
10371      loop (including its sub-loops).
10373    * `find_common_loop': Finds the common super-loop of two loops.
10375    * `superloop_at_depth': Returns the super-loop of a loop with the
10376      given depth.
10378    * `tree_num_loop_insns', `num_loop_insns': Estimates the number of
10379      insns in the loop, on GIMPLE and on RTL.
10381    * `loop_exit_edge_p': Tests whether edge is an exit from a loop.
10383    * `mark_loop_exit_edges': Marks all exit edges of all loops with
10384      `EDGE_LOOP_EXIT' flag.
10386    * `get_loop_body', `get_loop_body_in_dom_order',
10387      `get_loop_body_in_bfs_order': Enumerates the basic blocks in the
10388      loop in depth-first search order in reversed CFG, ordered by
10389      dominance relation, and breath-first search order, respectively.
10391    * `single_exit': Returns the single exit edge of the loop, or `NULL'
10392      if the loop has more than one exit.  You can only use this
10393      function if LOOPS_HAVE_MARKED_SINGLE_EXITS property is used.
10395    * `get_loop_exit_edges': Enumerates the exit edges of a loop.
10397    * `just_once_each_iteration_p': Returns true if the basic block is
10398      executed exactly once during each iteration of a loop (that is, it
10399      does not belong to a sub-loop, and it dominates the latch of the
10400      loop).
10402 \x1f
10403 File: gccint.info,  Node: Loop manipulation,  Next: LCSSA,  Prev: Loop querying,  Up: Loop Analysis and Representation
10405 11.3 Loop manipulation
10406 ======================
10408 The loops tree can be manipulated using the following functions:
10410    * `flow_loop_tree_node_add': Adds a node to the tree.
10412    * `flow_loop_tree_node_remove': Removes a node from the tree.
10414    * `add_bb_to_loop': Adds a basic block to a loop.
10416    * `remove_bb_from_loops': Removes a basic block from loops.
10418  Most low-level CFG functions update loops automatically.  The following
10419 functions handle some more complicated cases of CFG manipulations:
10421    * `remove_path': Removes an edge and all blocks it dominates.
10423    * `split_loop_exit_edge': Splits exit edge of the loop, ensuring
10424      that PHI node arguments remain in the loop (this ensures that
10425      loop-closed SSA form is preserved).  Only useful on GIMPLE.
10427  Finally, there are some higher-level loop transformations implemented.
10428 While some of them are written so that they should work on non-innermost
10429 loops, they are mostly untested in that case, and at the moment, they
10430 are only reliable for the innermost loops:
10432    * `create_iv': Creates a new induction variable.  Only works on
10433      GIMPLE.  `standard_iv_increment_position' can be used to find a
10434      suitable place for the iv increment.
10436    * `duplicate_loop_to_header_edge',
10437      `tree_duplicate_loop_to_header_edge': These functions (on RTL and
10438      on GIMPLE) duplicate the body of the loop prescribed number of
10439      times on one of the edges entering loop header, thus performing
10440      either loop unrolling or loop peeling.  `can_duplicate_loop_p'
10441      (`can_unroll_loop_p' on GIMPLE) must be true for the duplicated
10442      loop.
10444    * `loop_version', `tree_ssa_loop_version': These function create a
10445      copy of a loop, and a branch before them that selects one of them
10446      depending on the prescribed condition.  This is useful for
10447      optimizations that need to verify some assumptions in runtime (one
10448      of the copies of the loop is usually left unchanged, while the
10449      other one is transformed in some way).
10451    * `tree_unroll_loop': Unrolls the loop, including peeling the extra
10452      iterations to make the number of iterations divisible by unroll
10453      factor, updating the exit condition, and removing the exits that
10454      now cannot be taken.  Works only on GIMPLE.
10456 \x1f
10457 File: gccint.info,  Node: LCSSA,  Next: Scalar evolutions,  Prev: Loop manipulation,  Up: Loop Analysis and Representation
10459 11.4 Loop-closed SSA form
10460 =========================
10462 Throughout the loop optimizations on tree level, one extra condition is
10463 enforced on the SSA form:  No SSA name is used outside of the loop in
10464 that it is defined.  The SSA form satisfying this condition is called
10465 "loop-closed SSA form" - LCSSA.  To enforce LCSSA, PHI nodes must be
10466 created at the exits of the loops for the SSA names that are used
10467 outside of them.  Only the real operands (not virtual SSA names) are
10468 held in LCSSA, in order to save memory.
10470  There are various benefits of LCSSA:
10472    * Many optimizations (value range analysis, final value replacement)
10473      are interested in the values that are defined in the loop and used
10474      outside of it, i.e., exactly those for that we create new PHI
10475      nodes.
10477    * In induction variable analysis, it is not necessary to specify the
10478      loop in that the analysis should be performed - the scalar
10479      evolution analysis always returns the results with respect to the
10480      loop in that the SSA name is defined.
10482    * It makes updating of SSA form during loop transformations simpler.
10483      Without LCSSA, operations like loop unrolling may force creation
10484      of PHI nodes arbitrarily far from the loop, while in LCSSA, the
10485      SSA form can be updated locally.  However, since we only keep real
10486      operands in LCSSA, we cannot use this advantage (we could have
10487      local updating of real operands, but it is not much more efficient
10488      than to use generic SSA form updating for it as well; the amount
10489      of changes to SSA is the same).
10491  However, it also means LCSSA must be updated.  This is usually
10492 straightforward, unless you create a new value in loop and use it
10493 outside, or unless you manipulate loop exit edges (functions are
10494 provided to make these manipulations simple).
10495 `rewrite_into_loop_closed_ssa' is used to rewrite SSA form to LCSSA,
10496 and `verify_loop_closed_ssa' to check that the invariant of LCSSA is
10497 preserved.
10499 \x1f
10500 File: gccint.info,  Node: Scalar evolutions,  Next: loop-iv,  Prev: LCSSA,  Up: Loop Analysis and Representation
10502 11.5 Scalar evolutions
10503 ======================
10505 Scalar evolutions (SCEV) are used to represent results of induction
10506 variable analysis on GIMPLE.  They enable us to represent variables with
10507 complicated behavior in a simple and consistent way (we only use it to
10508 express values of polynomial induction variables, but it is possible to
10509 extend it).  The interfaces to SCEV analysis are declared in
10510 `tree-scalar-evolution.h'.  To use scalar evolutions analysis,
10511 `scev_initialize' must be used.  To stop using SCEV, `scev_finalize'
10512 should be used.  SCEV analysis caches results in order to save time and
10513 memory.  This cache however is made invalid by most of the loop
10514 transformations, including removal of code.  If such a transformation
10515 is performed, `scev_reset' must be called to clean the caches.
10517  Given an SSA name, its behavior in loops can be analyzed using the
10518 `analyze_scalar_evolution' function.  The returned SCEV however does
10519 not have to be fully analyzed and it may contain references to other
10520 SSA names defined in the loop.  To resolve these (potentially
10521 recursive) references, `instantiate_parameters' or `resolve_mixers'
10522 functions must be used.  `instantiate_parameters' is useful when you
10523 use the results of SCEV only for some analysis, and when you work with
10524 whole nest of loops at once.  It will try replacing all SSA names by
10525 their SCEV in all loops, including the super-loops of the current loop,
10526 thus providing a complete information about the behavior of the
10527 variable in the loop nest.  `resolve_mixers' is useful if you work with
10528 only one loop at a time, and if you possibly need to create code based
10529 on the value of the induction variable.  It will only resolve the SSA
10530 names defined in the current loop, leaving the SSA names defined
10531 outside unchanged, even if their evolution in the outer loops is known.
10533  The SCEV is a normal tree expression, except for the fact that it may
10534 contain several special tree nodes.  One of them is `SCEV_NOT_KNOWN',
10535 used for SSA names whose value cannot be expressed.  The other one is
10536 `POLYNOMIAL_CHREC'.  Polynomial chrec has three arguments - base, step
10537 and loop (both base and step may contain further polynomial chrecs).
10538 Type of the expression and of base and step must be the same.  A
10539 variable has evolution `POLYNOMIAL_CHREC(base, step, loop)' if it is
10540 (in the specified loop) equivalent to `x_1' in the following example
10542      while (...)
10543        {
10544          x_1 = phi (base, x_2);
10545          x_2 = x_1 + step;
10546        }
10548  Note that this includes the language restrictions on the operations.
10549 For example, if we compile C code and `x' has signed type, then the
10550 overflow in addition would cause undefined behavior, and we may assume
10551 that this does not happen.  Hence, the value with this SCEV cannot
10552 overflow (which restricts the number of iterations of such a loop).
10554  In many cases, one wants to restrict the attention just to affine
10555 induction variables.  In this case, the extra expressive power of SCEV
10556 is not useful, and may complicate the optimizations.  In this case,
10557 `simple_iv' function may be used to analyze a value - the result is a
10558 loop-invariant base and step.
10560 \x1f
10561 File: gccint.info,  Node: loop-iv,  Next: Number of iterations,  Prev: Scalar evolutions,  Up: Loop Analysis and Representation
10563 11.6 IV analysis on RTL
10564 =======================
10566 The induction variable on RTL is simple and only allows analysis of
10567 affine induction variables, and only in one loop at once.  The interface
10568 is declared in `cfgloop.h'.  Before analyzing induction variables in a
10569 loop L, `iv_analysis_loop_init' function must be called on L.  After
10570 the analysis (possibly calling `iv_analysis_loop_init' for several
10571 loops) is finished, `iv_analysis_done' should be called.  The following
10572 functions can be used to access the results of the analysis:
10574    * `iv_analyze': Analyzes a single register used in the given insn.
10575      If no use of the register in this insn is found, the following
10576      insns are scanned, so that this function can be called on the insn
10577      returned by get_condition.
10579    * `iv_analyze_result': Analyzes result of the assignment in the
10580      given insn.
10582    * `iv_analyze_expr': Analyzes a more complicated expression.  All
10583      its operands are analyzed by `iv_analyze', and hence they must be
10584      used in the specified insn or one of the following insns.
10586  The description of the induction variable is provided in `struct
10587 rtx_iv'.  In order to handle subregs, the representation is a bit
10588 complicated; if the value of the `extend' field is not `UNKNOWN', the
10589 value of the induction variable in the i-th iteration is
10591      delta + mult * extend_{extend_mode} (subreg_{mode} (base + i * step)),
10593  with the following exception:  if `first_special' is true, then the
10594 value in the first iteration (when `i' is zero) is `delta + mult *
10595 base'.  However, if `extend' is equal to `UNKNOWN', then
10596 `first_special' must be false, `delta' 0, `mult' 1 and the value in the
10597 i-th iteration is
10599      subreg_{mode} (base + i * step)
10601  The function `get_iv_value' can be used to perform these calculations.
10603 \x1f
10604 File: gccint.info,  Node: Number of iterations,  Next: Dependency analysis,  Prev: loop-iv,  Up: Loop Analysis and Representation
10606 11.7 Number of iterations analysis
10607 ==================================
10609 Both on GIMPLE and on RTL, there are functions available to determine
10610 the number of iterations of a loop, with a similar interface.  The
10611 number of iterations of a loop in GCC is defined as the number of
10612 executions of the loop latch.  In many cases, it is not possible to
10613 determine the number of iterations unconditionally - the determined
10614 number is correct only if some assumptions are satisfied.  The analysis
10615 tries to verify these conditions using the information contained in the
10616 program; if it fails, the conditions are returned together with the
10617 result.  The following information and conditions are provided by the
10618 analysis:
10620    * `assumptions': If this condition is false, the rest of the
10621      information is invalid.
10623    * `noloop_assumptions' on RTL, `may_be_zero' on GIMPLE: If this
10624      condition is true, the loop exits in the first iteration.
10626    * `infinite': If this condition is true, the loop is infinite.  This
10627      condition is only available on RTL.  On GIMPLE, conditions for
10628      finiteness of the loop are included in `assumptions'.
10630    * `niter_expr' on RTL, `niter' on GIMPLE: The expression that gives
10631      number of iterations.  The number of iterations is defined as the
10632      number of executions of the loop latch.
10634  Both on GIMPLE and on RTL, it necessary for the induction variable
10635 analysis framework to be initialized (SCEV on GIMPLE, loop-iv on RTL).
10636 On GIMPLE, the results are stored to `struct tree_niter_desc'
10637 structure.  Number of iterations before the loop is exited through a
10638 given exit can be determined using `number_of_iterations_exit'
10639 function.  On RTL, the results are returned in `struct niter_desc'
10640 structure.  The corresponding function is named `check_simple_exit'.
10641 There are also functions that pass through all the exits of a loop and
10642 try to find one with easy to determine number of iterations -
10643 `find_loop_niter' on GIMPLE and `find_simple_exit' on RTL.  Finally,
10644 there are functions that provide the same information, but additionally
10645 cache it, so that repeated calls to number of iterations are not so
10646 costly - `number_of_latch_executions' on GIMPLE and
10647 `get_simple_loop_desc' on RTL.
10649  Note that some of these functions may behave slightly differently than
10650 others - some of them return only the expression for the number of
10651 iterations, and fail if there are some assumptions.  The function
10652 `number_of_latch_executions' works only for single-exit loops.  The
10653 function `number_of_cond_exit_executions' can be used to determine
10654 number of executions of the exit condition of a single-exit loop (i.e.,
10655 the `number_of_latch_executions' increased by one).
10657 \x1f
10658 File: gccint.info,  Node: Dependency analysis,  Next: Lambda,  Prev: Number of iterations,  Up: Loop Analysis and Representation
10660 11.8 Data Dependency Analysis
10661 =============================
10663 The code for the data dependence analysis can be found in
10664 `tree-data-ref.c' and its interface and data structures are described
10665 in `tree-data-ref.h'.  The function that computes the data dependences
10666 for all the array and pointer references for a given loop is
10667 `compute_data_dependences_for_loop'.  This function is currently used
10668 by the linear loop transform and the vectorization passes.  Before
10669 calling this function, one has to allocate two vectors: a first vector
10670 will contain the set of data references that are contained in the
10671 analyzed loop body, and the second vector will contain the dependence
10672 relations between the data references.  Thus if the vector of data
10673 references is of size `n', the vector containing the dependence
10674 relations will contain `n*n' elements.  However if the analyzed loop
10675 contains side effects, such as calls that potentially can interfere
10676 with the data references in the current analyzed loop, the analysis
10677 stops while scanning the loop body for data references, and inserts a
10678 single `chrec_dont_know' in the dependence relation array.
10680  The data references are discovered in a particular order during the
10681 scanning of the loop body: the loop body is analyzed in execution order,
10682 and the data references of each statement are pushed at the end of the
10683 data reference array.  Two data references syntactically occur in the
10684 program in the same order as in the array of data references.  This
10685 syntactic order is important in some classical data dependence tests,
10686 and mapping this order to the elements of this array avoids costly
10687 queries to the loop body representation.
10689  Three types of data references are currently handled: ARRAY_REF,
10690 INDIRECT_REF and COMPONENT_REF. The data structure for the data
10691 reference is `data_reference', where `data_reference_p' is a name of a
10692 pointer to the data reference structure. The structure contains the
10693 following elements:
10695    * `base_object_info': Provides information about the base object of
10696      the data reference and its access functions. These access functions
10697      represent the evolution of the data reference in the loop relative
10698      to its base, in keeping with the classical meaning of the data
10699      reference access function for the support of arrays. For example,
10700      for a reference `a.b[i][j]', the base object is `a.b' and the
10701      access functions, one for each array subscript, are: `{i_init, +
10702      i_step}_1, {j_init, +, j_step}_2'.
10704    * `first_location_in_loop': Provides information about the first
10705      location accessed by the data reference in the loop and about the
10706      access function used to represent evolution relative to this
10707      location. This data is used to support pointers, and is not used
10708      for arrays (for which we have base objects). Pointer accesses are
10709      represented as a one-dimensional access that starts from the first
10710      location accessed in the loop. For example:
10712                 for1 i
10713                    for2 j
10714                     *((int *)p + i + j) = a[i][j];
10716      The access function of the pointer access is `{0, + 4B}_for2'
10717      relative to `p + i'. The access functions of the array are
10718      `{i_init, + i_step}_for1' and `{j_init, +, j_step}_for2' relative
10719      to `a'.
10721      Usually, the object the pointer refers to is either unknown, or we
10722      can't prove that the access is confined to the boundaries of a
10723      certain object.
10725      Two data references can be compared only if at least one of these
10726      two representations has all its fields filled for both data
10727      references.
10729      The current strategy for data dependence tests is as follows: If
10730      both `a' and `b' are represented as arrays, compare
10731      `a.base_object' and `b.base_object'; if they are equal, apply
10732      dependence tests (use access functions based on base_objects).
10733      Else if both `a' and `b' are represented as pointers, compare
10734      `a.first_location' and `b.first_location'; if they are equal,
10735      apply dependence tests (use access functions based on first
10736      location).  However, if `a' and `b' are represented differently,
10737      only try to prove that the bases are definitely different.
10739    * Aliasing information.
10741    * Alignment information.
10743  The structure describing the relation between two data references is
10744 `data_dependence_relation' and the shorter name for a pointer to such a
10745 structure is `ddr_p'.  This structure contains:
10747    * a pointer to each data reference,
10749    * a tree node `are_dependent' that is set to `chrec_known' if the
10750      analysis has proved that there is no dependence between these two
10751      data references, `chrec_dont_know' if the analysis was not able to
10752      determine any useful result and potentially there could exist a
10753      dependence between these data references, and `are_dependent' is
10754      set to `NULL_TREE' if there exist a dependence relation between the
10755      data references, and the description of this dependence relation is
10756      given in the `subscripts', `dir_vects', and `dist_vects' arrays,
10758    * a boolean that determines whether the dependence relation can be
10759      represented by a classical distance vector,
10761    * an array `subscripts' that contains a description of each
10762      subscript of the data references.  Given two array accesses a
10763      subscript is the tuple composed of the access functions for a given
10764      dimension.  For example, given `A[f1][f2][f3]' and
10765      `B[g1][g2][g3]', there are three subscripts: `(f1, g1), (f2, g2),
10766      (f3, g3)'.
10768    * two arrays `dir_vects' and `dist_vects' that contain classical
10769      representations of the data dependences under the form of
10770      direction and distance dependence vectors,
10772    * an array of loops `loop_nest' that contains the loops to which the
10773      distance and direction vectors refer to.
10775  Several functions for pretty printing the information extracted by the
10776 data dependence analysis are available: `dump_ddrs' prints with a
10777 maximum verbosity the details of a data dependence relations array,
10778 `dump_dist_dir_vectors' prints only the classical distance and
10779 direction vectors for a data dependence relations array, and
10780 `dump_data_references' prints the details of the data references
10781 contained in a data reference array.
10783 \x1f
10784 File: gccint.info,  Node: Lambda,  Next: Omega,  Prev: Dependency analysis,  Up: Loop Analysis and Representation
10786 11.9 Linear loop transformations framework
10787 ==========================================
10789 Lambda is a framework that allows transformations of loops using
10790 non-singular matrix based transformations of the iteration space and
10791 loop bounds. This allows compositions of skewing, scaling, interchange,
10792 and reversal transformations.  These transformations are often used to
10793 improve cache behavior or remove inner loop dependencies to allow
10794 parallelization and vectorization to take place.
10796  To perform these transformations, Lambda requires that the loopnest be
10797 converted into a internal form that can be matrix transformed easily.
10798 To do this conversion, the function `gcc_loopnest_to_lambda_loopnest'
10799 is provided.  If the loop cannot be transformed using lambda, this
10800 function will return NULL.
10802  Once a `lambda_loopnest' is obtained from the conversion function, it
10803 can be transformed by using `lambda_loopnest_transform', which takes a
10804 transformation matrix to apply.  Note that it is up to the caller to
10805 verify that the transformation matrix is legal to apply to the loop
10806 (dependence respecting, etc).  Lambda simply applies whatever matrix it
10807 is told to provide.  It can be extended to make legal matrices out of
10808 any non-singular matrix, but this is not currently implemented.
10809 Legality of a matrix for a given loopnest can be verified using
10810 `lambda_transform_legal_p'.
10812  Given a transformed loopnest, conversion back into gcc IR is done by
10813 `lambda_loopnest_to_gcc_loopnest'.  This function will modify the loops
10814 so that they match the transformed loopnest.
10816 \x1f
10817 File: gccint.info,  Node: Omega,  Prev: Lambda,  Up: Loop Analysis and Representation
10819 11.10 Omega a solver for linear programming problems
10820 ====================================================
10822 The data dependence analysis contains several solvers triggered
10823 sequentially from the less complex ones to the more sophisticated.  For
10824 ensuring the consistency of the results of these solvers, a data
10825 dependence check pass has been implemented based on two different
10826 solvers.  The second method that has been integrated to GCC is based on
10827 the Omega dependence solver, written in the 1990's by William Pugh and
10828 David Wonnacott.  Data dependence tests can be formulated using a
10829 subset of the Presburger arithmetics that can be translated to linear
10830 constraint systems.  These linear constraint systems can then be solved
10831 using the Omega solver.
10833  The Omega solver is using Fourier-Motzkin's algorithm for variable
10834 elimination: a linear constraint system containing `n' variables is
10835 reduced to a linear constraint system with `n-1' variables.  The Omega
10836 solver can also be used for solving other problems that can be
10837 expressed under the form of a system of linear equalities and
10838 inequalities.  The Omega solver is known to have an exponential worst
10839 case, also known under the name of "omega nightmare" in the literature,
10840 but in practice, the omega test is known to be efficient for the common
10841 data dependence tests.
10843  The interface used by the Omega solver for describing the linear
10844 programming problems is described in `omega.h', and the solver is
10845 `omega_solve_problem'.
10847 \x1f
10848 File: gccint.info,  Node: RTL,  Next: Control Flow,  Prev: Trees,  Up: Top
10850 12 RTL Representation
10851 *********************
10853 Most of the work of the compiler is done on an intermediate
10854 representation called register transfer language.  In this language,
10855 the instructions to be output are described, pretty much one by one, in
10856 an algebraic form that describes what the instruction does.
10858  RTL is inspired by Lisp lists.  It has both an internal form, made up
10859 of structures that point at other structures, and a textual form that
10860 is used in the machine description and in printed debugging dumps.  The
10861 textual form uses nested parentheses to indicate the pointers in the
10862 internal form.
10864 * Menu:
10866 * RTL Objects::       Expressions vs vectors vs strings vs integers.
10867 * RTL Classes::       Categories of RTL expression objects, and their structure.
10868 * Accessors::         Macros to access expression operands or vector elts.
10869 * Special Accessors:: Macros to access specific annotations on RTL.
10870 * Flags::             Other flags in an RTL expression.
10871 * Machine Modes::     Describing the size and format of a datum.
10872 * Constants::         Expressions with constant values.
10873 * Regs and Memory::   Expressions representing register contents or memory.
10874 * Arithmetic::        Expressions representing arithmetic on other expressions.
10875 * Comparisons::       Expressions representing comparison of expressions.
10876 * Bit-Fields::        Expressions representing bit-fields in memory or reg.
10877 * Vector Operations:: Expressions involving vector datatypes.
10878 * Conversions::       Extending, truncating, floating or fixing.
10879 * RTL Declarations::  Declaring volatility, constancy, etc.
10880 * Side Effects::      Expressions for storing in registers, etc.
10881 * Incdec::            Embedded side-effects for autoincrement addressing.
10882 * Assembler::         Representing `asm' with operands.
10883 * Insns::             Expression types for entire insns.
10884 * Calls::             RTL representation of function call insns.
10885 * Sharing::           Some expressions are unique; others *must* be copied.
10886 * Reading RTL::       Reading textual RTL from a file.
10888 \x1f
10889 File: gccint.info,  Node: RTL Objects,  Next: RTL Classes,  Up: RTL
10891 12.1 RTL Object Types
10892 =====================
10894 RTL uses five kinds of objects: expressions, integers, wide integers,
10895 strings and vectors.  Expressions are the most important ones.  An RTL
10896 expression ("RTX", for short) is a C structure, but it is usually
10897 referred to with a pointer; a type that is given the typedef name `rtx'.
10899  An integer is simply an `int'; their written form uses decimal digits.
10900 A wide integer is an integral object whose type is `HOST_WIDE_INT';
10901 their written form uses decimal digits.
10903  A string is a sequence of characters.  In core it is represented as a
10904 `char *' in usual C fashion, and it is written in C syntax as well.
10905 However, strings in RTL may never be null.  If you write an empty
10906 string in a machine description, it is represented in core as a null
10907 pointer rather than as a pointer to a null character.  In certain
10908 contexts, these null pointers instead of strings are valid.  Within RTL
10909 code, strings are most commonly found inside `symbol_ref' expressions,
10910 but they appear in other contexts in the RTL expressions that make up
10911 machine descriptions.
10913  In a machine description, strings are normally written with double
10914 quotes, as you would in C.  However, strings in machine descriptions may
10915 extend over many lines, which is invalid C, and adjacent string
10916 constants are not concatenated as they are in C.  Any string constant
10917 may be surrounded with a single set of parentheses.  Sometimes this
10918 makes the machine description easier to read.
10920  There is also a special syntax for strings, which can be useful when C
10921 code is embedded in a machine description.  Wherever a string can
10922 appear, it is also valid to write a C-style brace block.  The entire
10923 brace block, including the outermost pair of braces, is considered to be
10924 the string constant.  Double quote characters inside the braces are not
10925 special.  Therefore, if you write string constants in the C code, you
10926 need not escape each quote character with a backslash.
10928  A vector contains an arbitrary number of pointers to expressions.  The
10929 number of elements in the vector is explicitly present in the vector.
10930 The written form of a vector consists of square brackets (`[...]')
10931 surrounding the elements, in sequence and with whitespace separating
10932 them.  Vectors of length zero are not created; null pointers are used
10933 instead.
10935  Expressions are classified by "expression codes" (also called RTX
10936 codes).  The expression code is a name defined in `rtl.def', which is
10937 also (in uppercase) a C enumeration constant.  The possible expression
10938 codes and their meanings are machine-independent.  The code of an RTX
10939 can be extracted with the macro `GET_CODE (X)' and altered with
10940 `PUT_CODE (X, NEWCODE)'.
10942  The expression code determines how many operands the expression
10943 contains, and what kinds of objects they are.  In RTL, unlike Lisp, you
10944 cannot tell by looking at an operand what kind of object it is.
10945 Instead, you must know from its context--from the expression code of
10946 the containing expression.  For example, in an expression of code
10947 `subreg', the first operand is to be regarded as an expression and the
10948 second operand as an integer.  In an expression of code `plus', there
10949 are two operands, both of which are to be regarded as expressions.  In
10950 a `symbol_ref' expression, there is one operand, which is to be
10951 regarded as a string.
10953  Expressions are written as parentheses containing the name of the
10954 expression type, its flags and machine mode if any, and then the
10955 operands of the expression (separated by spaces).
10957  Expression code names in the `md' file are written in lowercase, but
10958 when they appear in C code they are written in uppercase.  In this
10959 manual, they are shown as follows: `const_int'.
10961  In a few contexts a null pointer is valid where an expression is
10962 normally wanted.  The written form of this is `(nil)'.
10964 \x1f
10965 File: gccint.info,  Node: RTL Classes,  Next: Accessors,  Prev: RTL Objects,  Up: RTL
10967 12.2 RTL Classes and Formats
10968 ============================
10970 The various expression codes are divided into several "classes", which
10971 are represented by single characters.  You can determine the class of
10972 an RTX code with the macro `GET_RTX_CLASS (CODE)'.  Currently,
10973 `rtl.def' defines these classes:
10975 `RTX_OBJ'
10976      An RTX code that represents an actual object, such as a register
10977      (`REG') or a memory location (`MEM', `SYMBOL_REF').  `LO_SUM') is
10978      also included; instead, `SUBREG' and `STRICT_LOW_PART' are not in
10979      this class, but in class `x'.
10981 `RTX_CONST_OBJ'
10982      An RTX code that represents a constant object.  `HIGH' is also
10983      included in this class.
10985 `RTX_COMPARE'
10986      An RTX code for a non-symmetric comparison, such as `GEU' or `LT'.
10988 `RTX_COMM_COMPARE'
10989      An RTX code for a symmetric (commutative) comparison, such as `EQ'
10990      or `ORDERED'.
10992 `RTX_UNARY'
10993      An RTX code for a unary arithmetic operation, such as `NEG',
10994      `NOT', or `ABS'.  This category also includes value extension
10995      (sign or zero) and conversions between integer and floating point.
10997 `RTX_COMM_ARITH'
10998      An RTX code for a commutative binary operation, such as `PLUS' or
10999      `AND'.  `NE' and `EQ' are comparisons, so they have class `<'.
11001 `RTX_BIN_ARITH'
11002      An RTX code for a non-commutative binary operation, such as
11003      `MINUS', `DIV', or `ASHIFTRT'.
11005 `RTX_BITFIELD_OPS'
11006      An RTX code for a bit-field operation.  Currently only
11007      `ZERO_EXTRACT' and `SIGN_EXTRACT'.  These have three inputs and
11008      are lvalues (so they can be used for insertion as well).  *Note
11009      Bit-Fields::.
11011 `RTX_TERNARY'
11012      An RTX code for other three input operations.  Currently only
11013      `IF_THEN_ELSE' and `VEC_MERGE'.
11015 `RTX_INSN'
11016      An RTX code for an entire instruction:  `INSN', `JUMP_INSN', and
11017      `CALL_INSN'.  *Note Insns::.
11019 `RTX_MATCH'
11020      An RTX code for something that matches in insns, such as
11021      `MATCH_DUP'.  These only occur in machine descriptions.
11023 `RTX_AUTOINC'
11024      An RTX code for an auto-increment addressing mode, such as
11025      `POST_INC'.
11027 `RTX_EXTRA'
11028      All other RTX codes.  This category includes the remaining codes
11029      used only in machine descriptions (`DEFINE_*', etc.).  It also
11030      includes all the codes describing side effects (`SET', `USE',
11031      `CLOBBER', etc.) and the non-insns that may appear on an insn
11032      chain, such as `NOTE', `BARRIER', and `CODE_LABEL'.  `SUBREG' is
11033      also part of this class.
11035  For each expression code, `rtl.def' specifies the number of contained
11036 objects and their kinds using a sequence of characters called the
11037 "format" of the expression code.  For example, the format of `subreg'
11038 is `ei'.
11040  These are the most commonly used format characters:
11043      An expression (actually a pointer to an expression).
11046      An integer.
11049      A wide integer.
11052      A string.
11055      A vector of expressions.
11057  A few other format characters are used occasionally:
11060      `u' is equivalent to `e' except that it is printed differently in
11061      debugging dumps.  It is used for pointers to insns.
11064      `n' is equivalent to `i' except that it is printed differently in
11065      debugging dumps.  It is used for the line number or code number of
11066      a `note' insn.
11069      `S' indicates a string which is optional.  In the RTL objects in
11070      core, `S' is equivalent to `s', but when the object is read, from
11071      an `md' file, the string value of this operand may be omitted.  An
11072      omitted string is taken to be the null string.
11075      `V' indicates a vector which is optional.  In the RTL objects in
11076      core, `V' is equivalent to `E', but when the object is read from
11077      an `md' file, the vector value of this operand may be omitted.  An
11078      omitted vector is effectively the same as a vector of no elements.
11081      `B' indicates a pointer to basic block structure.
11084      `0' means a slot whose contents do not fit any normal category.
11085      `0' slots are not printed at all in dumps, and are often used in
11086      special ways by small parts of the compiler.
11088  There are macros to get the number of operands and the format of an
11089 expression code:
11091 `GET_RTX_LENGTH (CODE)'
11092      Number of operands of an RTX of code CODE.
11094 `GET_RTX_FORMAT (CODE)'
11095      The format of an RTX of code CODE, as a C string.
11097  Some classes of RTX codes always have the same format.  For example, it
11098 is safe to assume that all comparison operations have format `ee'.
11101      All codes of this class have format `e'.
11106      All codes of these classes have format `ee'.
11110      All codes of these classes have format `eee'.
11113      All codes of this class have formats that begin with `iuueiee'.
11114      *Note Insns::.  Note that not all RTL objects linked onto an insn
11115      chain are of class `i'.
11120      You can make no assumptions about the format of these codes.
11122 \x1f
11123 File: gccint.info,  Node: Accessors,  Next: Special Accessors,  Prev: RTL Classes,  Up: RTL
11125 12.3 Access to Operands
11126 =======================
11128 Operands of expressions are accessed using the macros `XEXP', `XINT',
11129 `XWINT' and `XSTR'.  Each of these macros takes two arguments: an
11130 expression-pointer (RTX) and an operand number (counting from zero).
11131 Thus,
11133      XEXP (X, 2)
11135 accesses operand 2 of expression X, as an expression.
11137      XINT (X, 2)
11139 accesses the same operand as an integer.  `XSTR', used in the same
11140 fashion, would access it as a string.
11142  Any operand can be accessed as an integer, as an expression or as a
11143 string.  You must choose the correct method of access for the kind of
11144 value actually stored in the operand.  You would do this based on the
11145 expression code of the containing expression.  That is also how you
11146 would know how many operands there are.
11148  For example, if X is a `subreg' expression, you know that it has two
11149 operands which can be correctly accessed as `XEXP (X, 0)' and `XINT (X,
11150 1)'.  If you did `XINT (X, 0)', you would get the address of the
11151 expression operand but cast as an integer; that might occasionally be
11152 useful, but it would be cleaner to write `(int) XEXP (X, 0)'.  `XEXP
11153 (X, 1)' would also compile without error, and would return the second,
11154 integer operand cast as an expression pointer, which would probably
11155 result in a crash when accessed.  Nothing stops you from writing `XEXP
11156 (X, 28)' either, but this will access memory past the end of the
11157 expression with unpredictable results.
11159  Access to operands which are vectors is more complicated.  You can use
11160 the macro `XVEC' to get the vector-pointer itself, or the macros
11161 `XVECEXP' and `XVECLEN' to access the elements and length of a vector.
11163 `XVEC (EXP, IDX)'
11164      Access the vector-pointer which is operand number IDX in EXP.
11166 `XVECLEN (EXP, IDX)'
11167      Access the length (number of elements) in the vector which is in
11168      operand number IDX in EXP.  This value is an `int'.
11170 `XVECEXP (EXP, IDX, ELTNUM)'
11171      Access element number ELTNUM in the vector which is in operand
11172      number IDX in EXP.  This value is an RTX.
11174      It is up to you to make sure that ELTNUM is not negative and is
11175      less than `XVECLEN (EXP, IDX)'.
11177  All the macros defined in this section expand into lvalues and
11178 therefore can be used to assign the operands, lengths and vector
11179 elements as well as to access them.
11181 \x1f
11182 File: gccint.info,  Node: Special Accessors,  Next: Flags,  Prev: Accessors,  Up: RTL
11184 12.4 Access to Special Operands
11185 ===============================
11187 Some RTL nodes have special annotations associated with them.
11189 `MEM'
11191     `MEM_ALIAS_SET (X)'
11192           If 0, X is not in any alias set, and may alias anything.
11193           Otherwise, X can only alias `MEM's in a conflicting alias
11194           set.  This value is set in a language-dependent manner in the
11195           front-end, and should not be altered in the back-end.  In
11196           some front-ends, these numbers may correspond in some way to
11197           types, or other language-level entities, but they need not,
11198           and the back-end makes no such assumptions.  These set
11199           numbers are tested with `alias_sets_conflict_p'.
11201     `MEM_EXPR (X)'
11202           If this register is known to hold the value of some user-level
11203           declaration, this is that tree node.  It may also be a
11204           `COMPONENT_REF', in which case this is some field reference,
11205           and `TREE_OPERAND (X, 0)' contains the declaration, or
11206           another `COMPONENT_REF', or null if there is no compile-time
11207           object associated with the reference.
11209     `MEM_OFFSET (X)'
11210           The offset from the start of `MEM_EXPR' as a `CONST_INT' rtx.
11212     `MEM_SIZE (X)'
11213           The size in bytes of the memory reference as a `CONST_INT'
11214           rtx.  This is mostly relevant for `BLKmode' references as
11215           otherwise the size is implied by the mode.
11217     `MEM_ALIGN (X)'
11218           The known alignment in bits of the memory reference.
11220 `REG'
11222     `ORIGINAL_REGNO (X)'
11223           This field holds the number the register "originally" had;
11224           for a pseudo register turned into a hard reg this will hold
11225           the old pseudo register number.
11227     `REG_EXPR (X)'
11228           If this register is known to hold the value of some user-level
11229           declaration, this is that tree node.
11231     `REG_OFFSET (X)'
11232           If this register is known to hold the value of some user-level
11233           declaration, this is the offset into that logical storage.
11235 `SYMBOL_REF'
11237     `SYMBOL_REF_DECL (X)'
11238           If the `symbol_ref' X was created for a `VAR_DECL' or a
11239           `FUNCTION_DECL', that tree is recorded here.  If this value is
11240           null, then X was created by back end code generation routines,
11241           and there is no associated front end symbol table entry.
11243           `SYMBOL_REF_DECL' may also point to a tree of class `'c'',
11244           that is, some sort of constant.  In this case, the
11245           `symbol_ref' is an entry in the per-file constant pool;
11246           again, there is no associated front end symbol table entry.
11248     `SYMBOL_REF_CONSTANT (X)'
11249           If `CONSTANT_POOL_ADDRESS_P (X)' is true, this is the constant
11250           pool entry for X.  It is null otherwise.
11252     `SYMBOL_REF_DATA (X)'
11253           A field of opaque type used to store `SYMBOL_REF_DECL' or
11254           `SYMBOL_REF_CONSTANT'.
11256     `SYMBOL_REF_FLAGS (X)'
11257           In a `symbol_ref', this is used to communicate various
11258           predicates about the symbol.  Some of these are common enough
11259           to be computed by common code, some are specific to the
11260           target.  The common bits are:
11262          `SYMBOL_FLAG_FUNCTION'
11263                Set if the symbol refers to a function.
11265          `SYMBOL_FLAG_LOCAL'
11266                Set if the symbol is local to this "module".  See
11267                `TARGET_BINDS_LOCAL_P'.
11269          `SYMBOL_FLAG_EXTERNAL'
11270                Set if this symbol is not defined in this translation
11271                unit.  Note that this is not the inverse of
11272                `SYMBOL_FLAG_LOCAL'.
11274          `SYMBOL_FLAG_SMALL'
11275                Set if the symbol is located in the small data section.
11276                See `TARGET_IN_SMALL_DATA_P'.
11278          `SYMBOL_REF_TLS_MODEL (X)'
11279                This is a multi-bit field accessor that returns the
11280                `tls_model' to be used for a thread-local storage
11281                symbol.  It returns zero for non-thread-local symbols.
11283          `SYMBOL_FLAG_HAS_BLOCK_INFO'
11284                Set if the symbol has `SYMBOL_REF_BLOCK' and
11285                `SYMBOL_REF_BLOCK_OFFSET' fields.
11287          `SYMBOL_FLAG_ANCHOR'
11288                Set if the symbol is used as a section anchor.  "Section
11289                anchors" are symbols that have a known position within
11290                an `object_block' and that can be used to access nearby
11291                members of that block.  They are used to implement
11292                `-fsection-anchors'.
11294                If this flag is set, then `SYMBOL_FLAG_HAS_BLOCK_INFO'
11295                will be too.
11297           Bits beginning with `SYMBOL_FLAG_MACH_DEP' are available for
11298           the target's use.
11300 `SYMBOL_REF_BLOCK (X)'
11301      If `SYMBOL_REF_HAS_BLOCK_INFO_P (X)', this is the `object_block'
11302      structure to which the symbol belongs, or `NULL' if it has not
11303      been assigned a block.
11305 `SYMBOL_REF_BLOCK_OFFSET (X)'
11306      If `SYMBOL_REF_HAS_BLOCK_INFO_P (X)', this is the offset of X from
11307      the first object in `SYMBOL_REF_BLOCK (X)'.  The value is negative
11308      if X has not yet been assigned to a block, or it has not been
11309      given an offset within that block.
11311 \x1f
11312 File: gccint.info,  Node: Flags,  Next: Machine Modes,  Prev: Special Accessors,  Up: RTL
11314 12.5 Flags in an RTL Expression
11315 ===============================
11317 RTL expressions contain several flags (one-bit bit-fields) that are
11318 used in certain types of expression.  Most often they are accessed with
11319 the following macros, which expand into lvalues.
11321 `CONSTANT_POOL_ADDRESS_P (X)'
11322      Nonzero in a `symbol_ref' if it refers to part of the current
11323      function's constant pool.  For most targets these addresses are in
11324      a `.rodata' section entirely separate from the function, but for
11325      some targets the addresses are close to the beginning of the
11326      function.  In either case GCC assumes these addresses can be
11327      addressed directly, perhaps with the help of base registers.
11328      Stored in the `unchanging' field and printed as `/u'.
11330 `CONST_OR_PURE_CALL_P (X)'
11331      In a `call_insn', `note', or an `expr_list' for notes, indicates
11332      that the insn represents a call to a const or pure function.
11333      Stored in the `unchanging' field and printed as `/u'.
11335 `INSN_ANNULLED_BRANCH_P (X)'
11336      In a `jump_insn', `call_insn', or `insn' indicates that the branch
11337      is an annulling one.  See the discussion under `sequence' below.
11338      Stored in the `unchanging' field and printed as `/u'.
11340 `INSN_DELETED_P (X)'
11341      In an `insn', `call_insn', `jump_insn', `code_label', `barrier',
11342      or `note', nonzero if the insn has been deleted.  Stored in the
11343      `volatil' field and printed as `/v'.
11345 `INSN_FROM_TARGET_P (X)'
11346      In an `insn' or `jump_insn' or `call_insn' in a delay slot of a
11347      branch, indicates that the insn is from the target of the branch.
11348      If the branch insn has `INSN_ANNULLED_BRANCH_P' set, this insn
11349      will only be executed if the branch is taken.  For annulled
11350      branches with `INSN_FROM_TARGET_P' clear, the insn will be
11351      executed only if the branch is not taken.  When
11352      `INSN_ANNULLED_BRANCH_P' is not set, this insn will always be
11353      executed.  Stored in the `in_struct' field and printed as `/s'.
11355 `LABEL_PRESERVE_P (X)'
11356      In a `code_label' or `note', indicates that the label is
11357      referenced by code or data not visible to the RTL of a given
11358      function.  Labels referenced by a non-local goto will have this
11359      bit set.  Stored in the `in_struct' field and printed as `/s'.
11361 `LABEL_REF_NONLOCAL_P (X)'
11362      In `label_ref' and `reg_label' expressions, nonzero if this is a
11363      reference to a non-local label.  Stored in the `volatil' field and
11364      printed as `/v'.
11366 `MEM_IN_STRUCT_P (X)'
11367      In `mem' expressions, nonzero for reference to an entire structure,
11368      union or array, or to a component of one.  Zero for references to a
11369      scalar variable or through a pointer to a scalar.  If both this
11370      flag and `MEM_SCALAR_P' are clear, then we don't know whether this
11371      `mem' is in a structure or not.  Both flags should never be
11372      simultaneously set.  Stored in the `in_struct' field and printed
11373      as `/s'.
11375 `MEM_KEEP_ALIAS_SET_P (X)'
11376      In `mem' expressions, 1 if we should keep the alias set for this
11377      mem unchanged when we access a component.  Set to 1, for example,
11378      when we are already in a non-addressable component of an aggregate.
11379      Stored in the `jump' field and printed as `/j'.
11381 `MEM_SCALAR_P (X)'
11382      In `mem' expressions, nonzero for reference to a scalar known not
11383      to be a member of a structure, union, or array.  Zero for such
11384      references and for indirections through pointers, even pointers
11385      pointing to scalar types.  If both this flag and `MEM_IN_STRUCT_P'
11386      are clear, then we don't know whether this `mem' is in a structure
11387      or not.  Both flags should never be simultaneously set.  Stored in
11388      the `return_val' field and printed as `/i'.
11390 `MEM_VOLATILE_P (X)'
11391      In `mem', `asm_operands', and `asm_input' expressions, nonzero for
11392      volatile memory references.  Stored in the `volatil' field and
11393      printed as `/v'.
11395 `MEM_NOTRAP_P (X)'
11396      In `mem', nonzero for memory references that will not trap.
11397      Stored in the `call' field and printed as `/c'.
11399 `MEM_POINTER (X)'
11400      Nonzero in a `mem' if the memory reference holds a pointer.
11401      Stored in the `frame_related' field and printed as `/f'.
11403 `REG_FUNCTION_VALUE_P (X)'
11404      Nonzero in a `reg' if it is the place in which this function's
11405      value is going to be returned.  (This happens only in a hard
11406      register.)  Stored in the `return_val' field and printed as `/i'.
11408 `REG_POINTER (X)'
11409      Nonzero in a `reg' if the register holds a pointer.  Stored in the
11410      `frame_related' field and printed as `/f'.
11412 `REG_USERVAR_P (X)'
11413      In a `reg', nonzero if it corresponds to a variable present in the
11414      user's source code.  Zero for temporaries generated internally by
11415      the compiler.  Stored in the `volatil' field and printed as `/v'.
11417      The same hard register may be used also for collecting the values
11418      of functions called by this one, but `REG_FUNCTION_VALUE_P' is zero
11419      in this kind of use.
11421 `RTX_FRAME_RELATED_P (X)'
11422      Nonzero in an `insn', `call_insn', `jump_insn', `barrier', or
11423      `set' which is part of a function prologue and sets the stack
11424      pointer, sets the frame pointer, or saves a register.  This flag
11425      should also be set on an instruction that sets up a temporary
11426      register to use in place of the frame pointer.  Stored in the
11427      `frame_related' field and printed as `/f'.
11429      In particular, on RISC targets where there are limits on the sizes
11430      of immediate constants, it is sometimes impossible to reach the
11431      register save area directly from the stack pointer.  In that case,
11432      a temporary register is used that is near enough to the register
11433      save area, and the Canonical Frame Address, i.e., DWARF2's logical
11434      frame pointer, register must (temporarily) be changed to be this
11435      temporary register.  So, the instruction that sets this temporary
11436      register must be marked as `RTX_FRAME_RELATED_P'.
11438      If the marked instruction is overly complex (defined in terms of
11439      what `dwarf2out_frame_debug_expr' can handle), you will also have
11440      to create a `REG_FRAME_RELATED_EXPR' note and attach it to the
11441      instruction.  This note should contain a simple expression of the
11442      computation performed by this instruction, i.e., one that
11443      `dwarf2out_frame_debug_expr' can handle.
11445      This flag is required for exception handling support on targets
11446      with RTL prologues.
11448 `MEM_READONLY_P (X)'
11449      Nonzero in a `mem', if the memory is statically allocated and
11450      read-only.
11452      Read-only in this context means never modified during the lifetime
11453      of the program, not necessarily in ROM or in write-disabled pages.
11454      A common example of the later is a shared library's global offset
11455      table.  This table is initialized by the runtime loader, so the
11456      memory is technically writable, but after control is transfered
11457      from the runtime loader to the application, this memory will never
11458      be subsequently modified.
11460      Stored in the `unchanging' field and printed as `/u'.
11462 `SCHED_GROUP_P (X)'
11463      During instruction scheduling, in an `insn', `call_insn' or
11464      `jump_insn', indicates that the previous insn must be scheduled
11465      together with this insn.  This is used to ensure that certain
11466      groups of instructions will not be split up by the instruction
11467      scheduling pass, for example, `use' insns before a `call_insn' may
11468      not be separated from the `call_insn'.  Stored in the `in_struct'
11469      field and printed as `/s'.
11471 `SET_IS_RETURN_P (X)'
11472      For a `set', nonzero if it is for a return.  Stored in the `jump'
11473      field and printed as `/j'.
11475 `SIBLING_CALL_P (X)'
11476      For a `call_insn', nonzero if the insn is a sibling call.  Stored
11477      in the `jump' field and printed as `/j'.
11479 `STRING_POOL_ADDRESS_P (X)'
11480      For a `symbol_ref' expression, nonzero if it addresses this
11481      function's string constant pool.  Stored in the `frame_related'
11482      field and printed as `/f'.
11484 `SUBREG_PROMOTED_UNSIGNED_P (X)'
11485      Returns a value greater then zero for a `subreg' that has
11486      `SUBREG_PROMOTED_VAR_P' nonzero if the object being referenced is
11487      kept zero-extended, zero if it is kept sign-extended, and less
11488      then zero if it is extended some other way via the `ptr_extend'
11489      instruction.  Stored in the `unchanging' field and `volatil'
11490      field, printed as `/u' and `/v'.  This macro may only be used to
11491      get the value it may not be used to change the value.  Use
11492      `SUBREG_PROMOTED_UNSIGNED_SET' to change the value.
11494 `SUBREG_PROMOTED_UNSIGNED_SET (X)'
11495      Set the `unchanging' and `volatil' fields in a `subreg' to reflect
11496      zero, sign, or other extension.  If `volatil' is zero, then
11497      `unchanging' as nonzero means zero extension and as zero means
11498      sign extension.  If `volatil' is nonzero then some other type of
11499      extension was done via the `ptr_extend' instruction.
11501 `SUBREG_PROMOTED_VAR_P (X)'
11502      Nonzero in a `subreg' if it was made when accessing an object that
11503      was promoted to a wider mode in accord with the `PROMOTED_MODE'
11504      machine description macro (*note Storage Layout::).  In this case,
11505      the mode of the `subreg' is the declared mode of the object and
11506      the mode of `SUBREG_REG' is the mode of the register that holds
11507      the object.  Promoted variables are always either sign- or
11508      zero-extended to the wider mode on every assignment.  Stored in
11509      the `in_struct' field and printed as `/s'.
11511 `SYMBOL_REF_USED (X)'
11512      In a `symbol_ref', indicates that X has been used.  This is
11513      normally only used to ensure that X is only declared external
11514      once.  Stored in the `used' field.
11516 `SYMBOL_REF_WEAK (X)'
11517      In a `symbol_ref', indicates that X has been declared weak.
11518      Stored in the `return_val' field and printed as `/i'.
11520 `SYMBOL_REF_FLAG (X)'
11521      In a `symbol_ref', this is used as a flag for machine-specific
11522      purposes.  Stored in the `volatil' field and printed as `/v'.
11524      Most uses of `SYMBOL_REF_FLAG' are historic and may be subsumed by
11525      `SYMBOL_REF_FLAGS'.  Certainly use of `SYMBOL_REF_FLAGS' is
11526      mandatory if the target requires more than one bit of storage.
11528  These are the fields to which the above macros refer:
11530 `call'
11531      In a `mem', 1 means that the memory reference will not trap.
11533      In an RTL dump, this flag is represented as `/c'.
11535 `frame_related'
11536      In an `insn' or `set' expression, 1 means that it is part of a
11537      function prologue and sets the stack pointer, sets the frame
11538      pointer, saves a register, or sets up a temporary register to use
11539      in place of the frame pointer.
11541      In `reg' expressions, 1 means that the register holds a pointer.
11543      In `mem' expressions, 1 means that the memory reference holds a
11544      pointer.
11546      In `symbol_ref' expressions, 1 means that the reference addresses
11547      this function's string constant pool.
11549      In an RTL dump, this flag is represented as `/f'.
11551 `in_struct'
11552      In `mem' expressions, it is 1 if the memory datum referred to is
11553      all or part of a structure or array; 0 if it is (or might be) a
11554      scalar variable.  A reference through a C pointer has 0 because
11555      the pointer might point to a scalar variable.  This information
11556      allows the compiler to determine something about possible cases of
11557      aliasing.
11559      In `reg' expressions, it is 1 if the register has its entire life
11560      contained within the test expression of some loop.
11562      In `subreg' expressions, 1 means that the `subreg' is accessing an
11563      object that has had its mode promoted from a wider mode.
11565      In `label_ref' expressions, 1 means that the referenced label is
11566      outside the innermost loop containing the insn in which the
11567      `label_ref' was found.
11569      In `code_label' expressions, it is 1 if the label may never be
11570      deleted.  This is used for labels which are the target of
11571      non-local gotos.  Such a label that would have been deleted is
11572      replaced with a `note' of type `NOTE_INSN_DELETED_LABEL'.
11574      In an `insn' during dead-code elimination, 1 means that the insn is
11575      dead code.
11577      In an `insn' or `jump_insn' during reorg for an insn in the delay
11578      slot of a branch, 1 means that this insn is from the target of the
11579      branch.
11581      In an `insn' during instruction scheduling, 1 means that this insn
11582      must be scheduled as part of a group together with the previous
11583      insn.
11585      In an RTL dump, this flag is represented as `/s'.
11587 `return_val'
11588      In `reg' expressions, 1 means the register contains the value to
11589      be returned by the current function.  On machines that pass
11590      parameters in registers, the same register number may be used for
11591      parameters as well, but this flag is not set on such uses.
11593      In `mem' expressions, 1 means the memory reference is to a scalar
11594      known not to be a member of a structure, union, or array.
11596      In `symbol_ref' expressions, 1 means the referenced symbol is weak.
11598      In an RTL dump, this flag is represented as `/i'.
11600 `jump'
11601      In a `mem' expression, 1 means we should keep the alias set for
11602      this mem unchanged when we access a component.
11604      In a `set', 1 means it is for a return.
11606      In a `call_insn', 1 means it is a sibling call.
11608      In an RTL dump, this flag is represented as `/j'.
11610 `unchanging'
11611      In `reg' and `mem' expressions, 1 means that the value of the
11612      expression never changes.
11614      In `subreg' expressions, it is 1 if the `subreg' references an
11615      unsigned object whose mode has been promoted to a wider mode.
11617      In an `insn' or `jump_insn' in the delay slot of a branch
11618      instruction, 1 means an annulling branch should be used.
11620      In a `symbol_ref' expression, 1 means that this symbol addresses
11621      something in the per-function constant pool.
11623      In a `call_insn', `note', or an `expr_list' of notes, 1 means that
11624      this instruction is a call to a const or pure function.
11626      In an RTL dump, this flag is represented as `/u'.
11628 `used'
11629      This flag is used directly (without an access macro) at the end of
11630      RTL generation for a function, to count the number of times an
11631      expression appears in insns.  Expressions that appear more than
11632      once are copied, according to the rules for shared structure
11633      (*note Sharing::).
11635      For a `reg', it is used directly (without an access macro) by the
11636      leaf register renumbering code to ensure that each register is only
11637      renumbered once.
11639      In a `symbol_ref', it indicates that an external declaration for
11640      the symbol has already been written.
11642 `volatil'
11643      In a `mem', `asm_operands', or `asm_input' expression, it is 1 if
11644      the memory reference is volatile.  Volatile memory references may
11645      not be deleted, reordered or combined.
11647      In a `symbol_ref' expression, it is used for machine-specific
11648      purposes.
11650      In a `reg' expression, it is 1 if the value is a user-level
11651      variable.  0 indicates an internal compiler temporary.
11653      In an `insn', 1 means the insn has been deleted.
11655      In `label_ref' and `reg_label' expressions, 1 means a reference to
11656      a non-local label.
11658      In an RTL dump, this flag is represented as `/v'.
11660 \x1f
11661 File: gccint.info,  Node: Machine Modes,  Next: Constants,  Prev: Flags,  Up: RTL
11663 12.6 Machine Modes
11664 ==================
11666 A machine mode describes a size of data object and the representation
11667 used for it.  In the C code, machine modes are represented by an
11668 enumeration type, `enum machine_mode', defined in `machmode.def'.  Each
11669 RTL expression has room for a machine mode and so do certain kinds of
11670 tree expressions (declarations and types, to be precise).
11672  In debugging dumps and machine descriptions, the machine mode of an RTL
11673 expression is written after the expression code with a colon to separate
11674 them.  The letters `mode' which appear at the end of each machine mode
11675 name are omitted.  For example, `(reg:SI 38)' is a `reg' expression
11676 with machine mode `SImode'.  If the mode is `VOIDmode', it is not
11677 written at all.
11679  Here is a table of machine modes.  The term "byte" below refers to an
11680 object of `BITS_PER_UNIT' bits (*note Storage Layout::).
11682 `BImode'
11683      "Bit" mode represents a single bit, for predicate registers.
11685 `QImode'
11686      "Quarter-Integer" mode represents a single byte treated as an
11687      integer.
11689 `HImode'
11690      "Half-Integer" mode represents a two-byte integer.
11692 `PSImode'
11693      "Partial Single Integer" mode represents an integer which occupies
11694      four bytes but which doesn't really use all four.  On some
11695      machines, this is the right mode to use for pointers.
11697 `SImode'
11698      "Single Integer" mode represents a four-byte integer.
11700 `PDImode'
11701      "Partial Double Integer" mode represents an integer which occupies
11702      eight bytes but which doesn't really use all eight.  On some
11703      machines, this is the right mode to use for certain pointers.
11705 `DImode'
11706      "Double Integer" mode represents an eight-byte integer.
11708 `TImode'
11709      "Tetra Integer" (?) mode represents a sixteen-byte integer.
11711 `OImode'
11712      "Octa Integer" (?) mode represents a thirty-two-byte integer.
11714 `QFmode'
11715      "Quarter-Floating" mode represents a quarter-precision (single
11716      byte) floating point number.
11718 `HFmode'
11719      "Half-Floating" mode represents a half-precision (two byte)
11720      floating point number.
11722 `TQFmode'
11723      "Three-Quarter-Floating" (?) mode represents a
11724      three-quarter-precision (three byte) floating point number.
11726 `SFmode'
11727      "Single Floating" mode represents a four byte floating point
11728      number.  In the common case, of a processor with IEEE arithmetic
11729      and 8-bit bytes, this is a single-precision IEEE floating point
11730      number; it can also be used for double-precision (on processors
11731      with 16-bit bytes) and single-precision VAX and IBM types.
11733 `DFmode'
11734      "Double Floating" mode represents an eight byte floating point
11735      number.  In the common case, of a processor with IEEE arithmetic
11736      and 8-bit bytes, this is a double-precision IEEE floating point
11737      number.
11739 `XFmode'
11740      "Extended Floating" mode represents an IEEE extended floating point
11741      number.  This mode only has 80 meaningful bits (ten bytes).  Some
11742      processors require such numbers to be padded to twelve bytes,
11743      others to sixteen; this mode is used for either.
11745 `SDmode'
11746      "Single Decimal Floating" mode represents a four byte decimal
11747      floating point number (as distinct from conventional binary
11748      floating point).
11750 `DDmode'
11751      "Double Decimal Floating" mode represents an eight byte decimal
11752      floating point number.
11754 `TDmode'
11755      "Tetra Decimal Floating" mode represents a sixteen byte decimal
11756      floating point number all 128 of whose bits are meaningful.
11758 `TFmode'
11759      "Tetra Floating" mode represents a sixteen byte floating point
11760      number all 128 of whose bits are meaningful.  One common use is the
11761      IEEE quad-precision format.
11763 `QQmode'
11764      "Quarter-Fractional" mode represents a single byte treated as a
11765      signed fractional number.  The default format is "s.7".
11767 `HQmode'
11768      "Half-Fractional" mode represents a two-byte signed fractional
11769      number.  The default format is "s.15".
11771 `SQmode'
11772      "Single Fractional" mode represents a four-byte signed fractional
11773      number.  The default format is "s.31".
11775 `DQmode'
11776      "Double Fractional" mode represents an eight-byte signed
11777      fractional number.  The default format is "s.63".
11779 `TQmode'
11780      "Tetra Fractional" mode represents a sixteen-byte signed
11781      fractional number.  The default format is "s.127".
11783 `UQQmode'
11784      "Unsigned Quarter-Fractional" mode represents a single byte
11785      treated as an unsigned fractional number.  The default format is
11786      ".8".
11788 `UHQmode'
11789      "Unsigned Half-Fractional" mode represents a two-byte unsigned
11790      fractional number.  The default format is ".16".
11792 `USQmode'
11793      "Unsigned Single Fractional" mode represents a four-byte unsigned
11794      fractional number.  The default format is ".32".
11796 `UDQmode'
11797      "Unsigned Double Fractional" mode represents an eight-byte unsigned
11798      fractional number.  The default format is ".64".
11800 `UTQmode'
11801      "Unsigned Tetra Fractional" mode represents a sixteen-byte unsigned
11802      fractional number.  The default format is ".128".
11804 `HAmode'
11805      "Half-Accumulator" mode represents a two-byte signed accumulator.
11806      The default format is "s8.7".
11808 `SAmode'
11809      "Single Accumulator" mode represents a four-byte signed
11810      accumulator.  The default format is "s16.15".
11812 `DAmode'
11813      "Double Accumulator" mode represents an eight-byte signed
11814      accumulator.  The default format is "s32.31".
11816 `TAmode'
11817      "Tetra Accumulator" mode represents a sixteen-byte signed
11818      accumulator.  The default format is "s64.63".
11820 `UHAmode'
11821      "Unsigned Half-Accumulator" mode represents a two-byte unsigned
11822      accumulator.  The default format is "8.8".
11824 `USAmode'
11825      "Unsigned Single Accumulator" mode represents a four-byte unsigned
11826      accumulator.  The default format is "16.16".
11828 `UDAmode'
11829      "Unsigned Double Accumulator" mode represents an eight-byte
11830      unsigned accumulator.  The default format is "32.32".
11832 `UTAmode'
11833      "Unsigned Tetra Accumulator" mode represents a sixteen-byte
11834      unsigned accumulator.  The default format is "64.64".
11836 `CCmode'
11837      "Condition Code" mode represents the value of a condition code,
11838      which is a machine-specific set of bits used to represent the
11839      result of a comparison operation.  Other machine-specific modes
11840      may also be used for the condition code.  These modes are not used
11841      on machines that use `cc0' (see *note Condition Code::).
11843 `BLKmode'
11844      "Block" mode represents values that are aggregates to which none of
11845      the other modes apply.  In RTL, only memory references can have
11846      this mode, and only if they appear in string-move or vector
11847      instructions.  On machines which have no such instructions,
11848      `BLKmode' will not appear in RTL.
11850 `VOIDmode'
11851      Void mode means the absence of a mode or an unspecified mode.  For
11852      example, RTL expressions of code `const_int' have mode `VOIDmode'
11853      because they can be taken to have whatever mode the context
11854      requires.  In debugging dumps of RTL, `VOIDmode' is expressed by
11855      the absence of any mode.
11857 `QCmode, HCmode, SCmode, DCmode, XCmode, TCmode'
11858      These modes stand for a complex number represented as a pair of
11859      floating point values.  The floating point values are in `QFmode',
11860      `HFmode', `SFmode', `DFmode', `XFmode', and `TFmode', respectively.
11862 `CQImode, CHImode, CSImode, CDImode, CTImode, COImode'
11863      These modes stand for a complex number represented as a pair of
11864      integer values.  The integer values are in `QImode', `HImode',
11865      `SImode', `DImode', `TImode', and `OImode', respectively.
11867  The machine description defines `Pmode' as a C macro which expands
11868 into the machine mode used for addresses.  Normally this is the mode
11869 whose size is `BITS_PER_WORD', `SImode' on 32-bit machines.
11871  The only modes which a machine description must support are `QImode',
11872 and the modes corresponding to `BITS_PER_WORD', `FLOAT_TYPE_SIZE' and
11873 `DOUBLE_TYPE_SIZE'.  The compiler will attempt to use `DImode' for
11874 8-byte structures and unions, but this can be prevented by overriding
11875 the definition of `MAX_FIXED_MODE_SIZE'.  Alternatively, you can have
11876 the compiler use `TImode' for 16-byte structures and unions.  Likewise,
11877 you can arrange for the C type `short int' to avoid using `HImode'.
11879  Very few explicit references to machine modes remain in the compiler
11880 and these few references will soon be removed.  Instead, the machine
11881 modes are divided into mode classes.  These are represented by the
11882 enumeration type `enum mode_class' defined in `machmode.h'.  The
11883 possible mode classes are:
11885 `MODE_INT'
11886      Integer modes.  By default these are `BImode', `QImode', `HImode',
11887      `SImode', `DImode', `TImode', and `OImode'.
11889 `MODE_PARTIAL_INT'
11890      The "partial integer" modes, `PQImode', `PHImode', `PSImode' and
11891      `PDImode'.
11893 `MODE_FLOAT'
11894      Floating point modes.  By default these are `QFmode', `HFmode',
11895      `TQFmode', `SFmode', `DFmode', `XFmode' and `TFmode'.
11897 `MODE_DECIMAL_FLOAT'
11898      Decimal floating point modes.  By default these are `SDmode',
11899      `DDmode' and `TDmode'.
11901 `MODE_FRACT'
11902      Signed fractional modes.  By default these are `QQmode', `HQmode',
11903      `SQmode', `DQmode' and `TQmode'.
11905 `MODE_UFRACT'
11906      Unsigned fractional modes.  By default these are `UQQmode',
11907      `UHQmode', `USQmode', `UDQmode' and `UTQmode'.
11909 `MODE_ACCUM'
11910      Signed accumulator modes.  By default these are `HAmode',
11911      `SAmode', `DAmode' and `TAmode'.
11913 `MODE_UACCUM'
11914      Unsigned accumulator modes.  By default these are `UHAmode',
11915      `USAmode', `UDAmode' and `UTAmode'.
11917 `MODE_COMPLEX_INT'
11918      Complex integer modes.  (These are not currently implemented).
11920 `MODE_COMPLEX_FLOAT'
11921      Complex floating point modes.  By default these are `QCmode',
11922      `HCmode', `SCmode', `DCmode', `XCmode', and `TCmode'.
11924 `MODE_FUNCTION'
11925      Algol or Pascal function variables including a static chain.
11926      (These are not currently implemented).
11928 `MODE_CC'
11929      Modes representing condition code values.  These are `CCmode' plus
11930      any `CC_MODE' modes listed in the `MACHINE-modes.def'.  *Note Jump
11931      Patterns::, also see *Note Condition Code::.
11933 `MODE_RANDOM'
11934      This is a catchall mode class for modes which don't fit into the
11935      above classes.  Currently `VOIDmode' and `BLKmode' are in
11936      `MODE_RANDOM'.
11938  Here are some C macros that relate to machine modes:
11940 `GET_MODE (X)'
11941      Returns the machine mode of the RTX X.
11943 `PUT_MODE (X, NEWMODE)'
11944      Alters the machine mode of the RTX X to be NEWMODE.
11946 `NUM_MACHINE_MODES'
11947      Stands for the number of machine modes available on the target
11948      machine.  This is one greater than the largest numeric value of any
11949      machine mode.
11951 `GET_MODE_NAME (M)'
11952      Returns the name of mode M as a string.
11954 `GET_MODE_CLASS (M)'
11955      Returns the mode class of mode M.
11957 `GET_MODE_WIDER_MODE (M)'
11958      Returns the next wider natural mode.  For example, the expression
11959      `GET_MODE_WIDER_MODE (QImode)' returns `HImode'.
11961 `GET_MODE_SIZE (M)'
11962      Returns the size in bytes of a datum of mode M.
11964 `GET_MODE_BITSIZE (M)'
11965      Returns the size in bits of a datum of mode M.
11967 `GET_MODE_IBIT (M)'
11968      Returns the number of integral bits of a datum of fixed-point mode
11969      M.
11971 `GET_MODE_FBIT (M)'
11972      Returns the number of fractional bits of a datum of fixed-point
11973      mode M.
11975 `GET_MODE_MASK (M)'
11976      Returns a bitmask containing 1 for all bits in a word that fit
11977      within mode M.  This macro can only be used for modes whose
11978      bitsize is less than or equal to `HOST_BITS_PER_INT'.
11980 `GET_MODE_ALIGNMENT (M)'
11981      Return the required alignment, in bits, for an object of mode M.
11983 `GET_MODE_UNIT_SIZE (M)'
11984      Returns the size in bytes of the subunits of a datum of mode M.
11985      This is the same as `GET_MODE_SIZE' except in the case of complex
11986      modes.  For them, the unit size is the size of the real or
11987      imaginary part.
11989 `GET_MODE_NUNITS (M)'
11990      Returns the number of units contained in a mode, i.e.,
11991      `GET_MODE_SIZE' divided by `GET_MODE_UNIT_SIZE'.
11993 `GET_CLASS_NARROWEST_MODE (C)'
11994      Returns the narrowest mode in mode class C.
11996  The global variables `byte_mode' and `word_mode' contain modes whose
11997 classes are `MODE_INT' and whose bitsizes are either `BITS_PER_UNIT' or
11998 `BITS_PER_WORD', respectively.  On 32-bit machines, these are `QImode'
11999 and `SImode', respectively.
12001 \x1f
12002 File: gccint.info,  Node: Constants,  Next: Regs and Memory,  Prev: Machine Modes,  Up: RTL
12004 12.7 Constant Expression Types
12005 ==============================
12007 The simplest RTL expressions are those that represent constant values.
12009 `(const_int I)'
12010      This type of expression represents the integer value I.  I is
12011      customarily accessed with the macro `INTVAL' as in `INTVAL (EXP)',
12012      which is equivalent to `XWINT (EXP, 0)'.
12014      Constants generated for modes with fewer bits than `HOST_WIDE_INT'
12015      must be sign extended to full width (e.g., with `gen_int_mode').
12017      There is only one expression object for the integer value zero; it
12018      is the value of the variable `const0_rtx'.  Likewise, the only
12019      expression for integer value one is found in `const1_rtx', the only
12020      expression for integer value two is found in `const2_rtx', and the
12021      only expression for integer value negative one is found in
12022      `constm1_rtx'.  Any attempt to create an expression of code
12023      `const_int' and value zero, one, two or negative one will return
12024      `const0_rtx', `const1_rtx', `const2_rtx' or `constm1_rtx' as
12025      appropriate.
12027      Similarly, there is only one object for the integer whose value is
12028      `STORE_FLAG_VALUE'.  It is found in `const_true_rtx'.  If
12029      `STORE_FLAG_VALUE' is one, `const_true_rtx' and `const1_rtx' will
12030      point to the same object.  If `STORE_FLAG_VALUE' is -1,
12031      `const_true_rtx' and `constm1_rtx' will point to the same object.
12033 `(const_double:M ADDR I0 I1 ...)'
12034      Represents either a floating-point constant of mode M or an
12035      integer constant too large to fit into `HOST_BITS_PER_WIDE_INT'
12036      bits but small enough to fit within twice that number of bits (GCC
12037      does not provide a mechanism to represent even larger constants).
12038      In the latter case, M will be `VOIDmode'.
12040 `(const_fixed:M ADDR)'
12041      Represents a fixed-point constant of mode M.  The data structure,
12042      which contains data with the size of two `HOST_BITS_PER_WIDE_INT'
12043      and the associated fixed-point mode, is access with the macro
12044      `CONST_FIXED_VALUE'.  The high part of data is accessed with
12045      `CONST_FIXED_VALUE_HIGH'; the low part is accessed with
12046      `CONST_FIXED_VALUE_LOW'.
12048 `(const_vector:M [X0 X1 ...])'
12049      Represents a vector constant.  The square brackets stand for the
12050      vector containing the constant elements.  X0, X1 and so on are the
12051      `const_int' or `const_double' elements.
12053      The number of units in a `const_vector' is obtained with the macro
12054      `CONST_VECTOR_NUNITS' as in `CONST_VECTOR_NUNITS (V)'.
12056      Individual elements in a vector constant are accessed with the
12057      macro `CONST_VECTOR_ELT' as in `CONST_VECTOR_ELT (V, N)' where V
12058      is the vector constant and N is the element desired.
12060      ADDR is used to contain the `mem' expression that corresponds to
12061      the location in memory that at which the constant can be found.  If
12062      it has not been allocated a memory location, but is on the chain
12063      of all `const_double' expressions in this compilation (maintained
12064      using an undisplayed field), ADDR contains `const0_rtx'.  If it is
12065      not on the chain, ADDR contains `cc0_rtx'.  ADDR is customarily
12066      accessed with the macro `CONST_DOUBLE_MEM' and the chain field via
12067      `CONST_DOUBLE_CHAIN'.
12069      If M is `VOIDmode', the bits of the value are stored in I0 and I1.
12070      I0 is customarily accessed with the macro `CONST_DOUBLE_LOW' and
12071      I1 with `CONST_DOUBLE_HIGH'.
12073      If the constant is floating point (regardless of its precision),
12074      then the number of integers used to store the value depends on the
12075      size of `REAL_VALUE_TYPE' (*note Floating Point::).  The integers
12076      represent a floating point number, but not precisely in the target
12077      machine's or host machine's floating point format.  To convert
12078      them to the precise bit pattern used by the target machine, use
12079      the macro `REAL_VALUE_TO_TARGET_DOUBLE' and friends (*note Data
12080      Output::).
12082      The macro `CONST0_RTX (MODE)' refers to an expression with value 0
12083      in mode MODE.  If mode MODE is of mode class `MODE_INT', it
12084      returns `const0_rtx'.  If mode MODE is of mode class `MODE_FLOAT',
12085      it returns a `CONST_DOUBLE' expression in mode MODE.  Otherwise,
12086      it returns a `CONST_VECTOR' expression in mode MODE.  Similarly,
12087      the macro `CONST1_RTX (MODE)' refers to an expression with value 1
12088      in mode MODE and similarly for `CONST2_RTX'.  The `CONST1_RTX' and
12089      `CONST2_RTX' macros are undefined for vector modes.
12091 `(const_string STR)'
12092      Represents a constant string with value STR.  Currently this is
12093      used only for insn attributes (*note Insn Attributes::) since
12094      constant strings in C are placed in memory.
12096 `(symbol_ref:MODE SYMBOL)'
12097      Represents the value of an assembler label for data.  SYMBOL is a
12098      string that describes the name of the assembler label.  If it
12099      starts with a `*', the label is the rest of SYMBOL not including
12100      the `*'.  Otherwise, the label is SYMBOL, usually prefixed with
12101      `_'.
12103      The `symbol_ref' contains a mode, which is usually `Pmode'.
12104      Usually that is the only mode for which a symbol is directly valid.
12106 `(label_ref:MODE LABEL)'
12107      Represents the value of an assembler label for code.  It contains
12108      one operand, an expression, which must be a `code_label' or a
12109      `note' of type `NOTE_INSN_DELETED_LABEL' that appears in the
12110      instruction sequence to identify the place where the label should
12111      go.
12113      The reason for using a distinct expression type for code label
12114      references is so that jump optimization can distinguish them.
12116      The `label_ref' contains a mode, which is usually `Pmode'.
12117      Usually that is the only mode for which a label is directly valid.
12119 `(const:M EXP)'
12120      Represents a constant that is the result of an assembly-time
12121      arithmetic computation.  The operand, EXP, is an expression that
12122      contains only constants (`const_int', `symbol_ref' and `label_ref'
12123      expressions) combined with `plus' and `minus'.  However, not all
12124      combinations are valid, since the assembler cannot do arbitrary
12125      arithmetic on relocatable symbols.
12127      M should be `Pmode'.
12129 `(high:M EXP)'
12130      Represents the high-order bits of EXP, usually a `symbol_ref'.
12131      The number of bits is machine-dependent and is normally the number
12132      of bits specified in an instruction that initializes the high
12133      order bits of a register.  It is used with `lo_sum' to represent
12134      the typical two-instruction sequence used in RISC machines to
12135      reference a global memory location.
12137      M should be `Pmode'.
12139 \x1f
12140 File: gccint.info,  Node: Regs and Memory,  Next: Arithmetic,  Prev: Constants,  Up: RTL
12142 12.8 Registers and Memory
12143 =========================
12145 Here are the RTL expression types for describing access to machine
12146 registers and to main memory.
12148 `(reg:M N)'
12149      For small values of the integer N (those that are less than
12150      `FIRST_PSEUDO_REGISTER'), this stands for a reference to machine
12151      register number N: a "hard register".  For larger values of N, it
12152      stands for a temporary value or "pseudo register".  The compiler's
12153      strategy is to generate code assuming an unlimited number of such
12154      pseudo registers, and later convert them into hard registers or
12155      into memory references.
12157      M is the machine mode of the reference.  It is necessary because
12158      machines can generally refer to each register in more than one
12159      mode.  For example, a register may contain a full word but there
12160      may be instructions to refer to it as a half word or as a single
12161      byte, as well as instructions to refer to it as a floating point
12162      number of various precisions.
12164      Even for a register that the machine can access in only one mode,
12165      the mode must always be specified.
12167      The symbol `FIRST_PSEUDO_REGISTER' is defined by the machine
12168      description, since the number of hard registers on the machine is
12169      an invariant characteristic of the machine.  Note, however, that
12170      not all of the machine registers must be general registers.  All
12171      the machine registers that can be used for storage of data are
12172      given hard register numbers, even those that can be used only in
12173      certain instructions or can hold only certain types of data.
12175      A hard register may be accessed in various modes throughout one
12176      function, but each pseudo register is given a natural mode and is
12177      accessed only in that mode.  When it is necessary to describe an
12178      access to a pseudo register using a nonnatural mode, a `subreg'
12179      expression is used.
12181      A `reg' expression with a machine mode that specifies more than
12182      one word of data may actually stand for several consecutive
12183      registers.  If in addition the register number specifies a
12184      hardware register, then it actually represents several consecutive
12185      hardware registers starting with the specified one.
12187      Each pseudo register number used in a function's RTL code is
12188      represented by a unique `reg' expression.
12190      Some pseudo register numbers, those within the range of
12191      `FIRST_VIRTUAL_REGISTER' to `LAST_VIRTUAL_REGISTER' only appear
12192      during the RTL generation phase and are eliminated before the
12193      optimization phases.  These represent locations in the stack frame
12194      that cannot be determined until RTL generation for the function
12195      has been completed.  The following virtual register numbers are
12196      defined:
12198     `VIRTUAL_INCOMING_ARGS_REGNUM'
12199           This points to the first word of the incoming arguments
12200           passed on the stack.  Normally these arguments are placed
12201           there by the caller, but the callee may have pushed some
12202           arguments that were previously passed in registers.
12204           When RTL generation is complete, this virtual register is
12205           replaced by the sum of the register given by
12206           `ARG_POINTER_REGNUM' and the value of `FIRST_PARM_OFFSET'.
12208     `VIRTUAL_STACK_VARS_REGNUM'
12209           If `FRAME_GROWS_DOWNWARD' is defined to a nonzero value, this
12210           points to immediately above the first variable on the stack.
12211           Otherwise, it points to the first variable on the stack.
12213           `VIRTUAL_STACK_VARS_REGNUM' is replaced with the sum of the
12214           register given by `FRAME_POINTER_REGNUM' and the value
12215           `STARTING_FRAME_OFFSET'.
12217     `VIRTUAL_STACK_DYNAMIC_REGNUM'
12218           This points to the location of dynamically allocated memory
12219           on the stack immediately after the stack pointer has been
12220           adjusted by the amount of memory desired.
12222           This virtual register is replaced by the sum of the register
12223           given by `STACK_POINTER_REGNUM' and the value
12224           `STACK_DYNAMIC_OFFSET'.
12226     `VIRTUAL_OUTGOING_ARGS_REGNUM'
12227           This points to the location in the stack at which outgoing
12228           arguments should be written when the stack is pre-pushed
12229           (arguments pushed using push insns should always use
12230           `STACK_POINTER_REGNUM').
12232           This virtual register is replaced by the sum of the register
12233           given by `STACK_POINTER_REGNUM' and the value
12234           `STACK_POINTER_OFFSET'.
12236 `(subreg:M REG BYTENUM)'
12237      `subreg' expressions are used to refer to a register in a machine
12238      mode other than its natural one, or to refer to one register of a
12239      multi-part `reg' that actually refers to several registers.
12241      Each pseudo-register has a natural mode.  If it is necessary to
12242      operate on it in a different mode--for example, to perform a
12243      fullword move instruction on a pseudo-register that contains a
12244      single byte--the pseudo-register must be enclosed in a `subreg'.
12245      In such a case, BYTENUM is zero.
12247      Usually M is at least as narrow as the mode of REG, in which case
12248      it is restricting consideration to only the bits of REG that are
12249      in M.
12251      Sometimes M is wider than the mode of REG.  These `subreg'
12252      expressions are often called "paradoxical".  They are used in
12253      cases where we want to refer to an object in a wider mode but do
12254      not care what value the additional bits have.  The reload pass
12255      ensures that paradoxical references are only made to hard
12256      registers.
12258      The other use of `subreg' is to extract the individual registers of
12259      a multi-register value.  Machine modes such as `DImode' and
12260      `TImode' can indicate values longer than a word, values which
12261      usually require two or more consecutive registers.  To access one
12262      of the registers, use a `subreg' with mode `SImode' and a BYTENUM
12263      offset that says which register.
12265      Storing in a non-paradoxical `subreg' has undefined results for
12266      bits belonging to the same word as the `subreg'.  This laxity makes
12267      it easier to generate efficient code for such instructions.  To
12268      represent an instruction that preserves all the bits outside of
12269      those in the `subreg', use `strict_low_part' around the `subreg'.
12271      The compilation parameter `WORDS_BIG_ENDIAN', if set to 1, says
12272      that byte number zero is part of the most significant word;
12273      otherwise, it is part of the least significant word.
12275      The compilation parameter `BYTES_BIG_ENDIAN', if set to 1, says
12276      that byte number zero is the most significant byte within a word;
12277      otherwise, it is the least significant byte within a word.
12279      On a few targets, `FLOAT_WORDS_BIG_ENDIAN' disagrees with
12280      `WORDS_BIG_ENDIAN'.  However, most parts of the compiler treat
12281      floating point values as if they had the same endianness as
12282      integer values.  This works because they handle them solely as a
12283      collection of integer values, with no particular numerical value.
12284      Only real.c and the runtime libraries care about
12285      `FLOAT_WORDS_BIG_ENDIAN'.
12287      Between the combiner pass and the reload pass, it is possible to
12288      have a paradoxical `subreg' which contains a `mem' instead of a
12289      `reg' as its first operand.  After the reload pass, it is also
12290      possible to have a non-paradoxical `subreg' which contains a
12291      `mem'; this usually occurs when the `mem' is a stack slot which
12292      replaced a pseudo register.
12294      Note that it is not valid to access a `DFmode' value in `SFmode'
12295      using a `subreg'.  On some machines the most significant part of a
12296      `DFmode' value does not have the same format as a single-precision
12297      floating value.
12299      It is also not valid to access a single word of a multi-word value
12300      in a hard register when less registers can hold the value than
12301      would be expected from its size.  For example, some 32-bit
12302      machines have floating-point registers that can hold an entire
12303      `DFmode' value.  If register 10 were such a register `(subreg:SI
12304      (reg:DF 10) 4)' would be invalid because there is no way to
12305      convert that reference to a single machine register.  The reload
12306      pass prevents `subreg' expressions such as these from being formed.
12308      The first operand of a `subreg' expression is customarily accessed
12309      with the `SUBREG_REG' macro and the second operand is customarily
12310      accessed with the `SUBREG_BYTE' macro.
12312 `(scratch:M)'
12313      This represents a scratch register that will be required for the
12314      execution of a single instruction and not used subsequently.  It is
12315      converted into a `reg' by either the local register allocator or
12316      the reload pass.
12318      `scratch' is usually present inside a `clobber' operation (*note
12319      Side Effects::).
12321 `(cc0)'
12322      This refers to the machine's condition code register.  It has no
12323      operands and may not have a machine mode.  There are two ways to
12324      use it:
12326         * To stand for a complete set of condition code flags.  This is
12327           best on most machines, where each comparison sets the entire
12328           series of flags.
12330           With this technique, `(cc0)' may be validly used in only two
12331           contexts: as the destination of an assignment (in test and
12332           compare instructions) and in comparison operators comparing
12333           against zero (`const_int' with value zero; that is to say,
12334           `const0_rtx').
12336         * To stand for a single flag that is the result of a single
12337           condition.  This is useful on machines that have only a
12338           single flag bit, and in which comparison instructions must
12339           specify the condition to test.
12341           With this technique, `(cc0)' may be validly used in only two
12342           contexts: as the destination of an assignment (in test and
12343           compare instructions) where the source is a comparison
12344           operator, and as the first operand of `if_then_else' (in a
12345           conditional branch).
12347      There is only one expression object of code `cc0'; it is the value
12348      of the variable `cc0_rtx'.  Any attempt to create an expression of
12349      code `cc0' will return `cc0_rtx'.
12351      Instructions can set the condition code implicitly.  On many
12352      machines, nearly all instructions set the condition code based on
12353      the value that they compute or store.  It is not necessary to
12354      record these actions explicitly in the RTL because the machine
12355      description includes a prescription for recognizing the
12356      instructions that do so (by means of the macro
12357      `NOTICE_UPDATE_CC').  *Note Condition Code::.  Only instructions
12358      whose sole purpose is to set the condition code, and instructions
12359      that use the condition code, need mention `(cc0)'.
12361      On some machines, the condition code register is given a register
12362      number and a `reg' is used instead of `(cc0)'.  This is usually the
12363      preferable approach if only a small subset of instructions modify
12364      the condition code.  Other machines store condition codes in
12365      general registers; in such cases a pseudo register should be used.
12367      Some machines, such as the SPARC and RS/6000, have two sets of
12368      arithmetic instructions, one that sets and one that does not set
12369      the condition code.  This is best handled by normally generating
12370      the instruction that does not set the condition code, and making a
12371      pattern that both performs the arithmetic and sets the condition
12372      code register (which would not be `(cc0)' in this case).  For
12373      examples, search for `addcc' and `andcc' in `sparc.md'.
12375 `(pc)'
12376      This represents the machine's program counter.  It has no operands
12377      and may not have a machine mode.  `(pc)' may be validly used only
12378      in certain specific contexts in jump instructions.
12380      There is only one expression object of code `pc'; it is the value
12381      of the variable `pc_rtx'.  Any attempt to create an expression of
12382      code `pc' will return `pc_rtx'.
12384      All instructions that do not jump alter the program counter
12385      implicitly by incrementing it, but there is no need to mention
12386      this in the RTL.
12388 `(mem:M ADDR ALIAS)'
12389      This RTX represents a reference to main memory at an address
12390      represented by the expression ADDR.  M specifies how large a unit
12391      of memory is accessed.  ALIAS specifies an alias set for the
12392      reference.  In general two items are in different alias sets if
12393      they cannot reference the same memory address.
12395      The construct `(mem:BLK (scratch))' is considered to alias all
12396      other memories.  Thus it may be used as a memory barrier in
12397      epilogue stack deallocation patterns.
12399 `(addressof:M REG)'
12400      This RTX represents a request for the address of register REG.
12401      Its mode is always `Pmode'.  If there are any `addressof'
12402      expressions left in the function after CSE, REG is forced into the
12403      stack and the `addressof' expression is replaced with a `plus'
12404      expression for the address of its stack slot.
12406 `(concatM RTX RTX)'
12407      This RTX represents the concatenation of two other RTXs.  This is
12408      used for complex values.  It should only appear in the RTL
12409      attached to declarations and during RTL generation.  It should not
12410      appear in the ordinary insn chain.
12412 `(concatnM [RTX ...])'
12413      This RTX represents the concatenation of all the RTX to make a
12414      single value.  Like `concat', this should only appear in
12415      declarations, and not in the insn chain.
12417 \x1f
12418 File: gccint.info,  Node: Arithmetic,  Next: Comparisons,  Prev: Regs and Memory,  Up: RTL
12420 12.9 RTL Expressions for Arithmetic
12421 ===================================
12423 Unless otherwise specified, all the operands of arithmetic expressions
12424 must be valid for mode M.  An operand is valid for mode M if it has
12425 mode M, or if it is a `const_int' or `const_double' and M is a mode of
12426 class `MODE_INT'.
12428  For commutative binary operations, constants should be placed in the
12429 second operand.
12431 `(plus:M X Y)'
12432 `(ss_plus:M X Y)'
12433 `(us_plus:M X Y)'
12434      These three expressions all represent the sum of the values
12435      represented by X and Y carried out in machine mode M.  They differ
12436      in their behavior on overflow of integer modes.  `plus' wraps
12437      round modulo the width of M; `ss_plus' saturates at the maximum
12438      signed value representable in M; `us_plus' saturates at the
12439      maximum unsigned value.
12441 `(lo_sum:M X Y)'
12442      This expression represents the sum of X and the low-order bits of
12443      Y.  It is used with `high' (*note Constants::) to represent the
12444      typical two-instruction sequence used in RISC machines to
12445      reference a global memory location.
12447      The number of low order bits is machine-dependent but is normally
12448      the number of bits in a `Pmode' item minus the number of bits set
12449      by `high'.
12451      M should be `Pmode'.
12453 `(minus:M X Y)'
12454 `(ss_minus:M X Y)'
12455 `(us_minus:M X Y)'
12456      These three expressions represent the result of subtracting Y from
12457      X, carried out in mode M.  Behavior on overflow is the same as for
12458      the three variants of `plus' (see above).
12460 `(compare:M X Y)'
12461      Represents the result of subtracting Y from X for purposes of
12462      comparison.  The result is computed without overflow, as if with
12463      infinite precision.
12465      Of course, machines can't really subtract with infinite precision.
12466      However, they can pretend to do so when only the sign of the
12467      result will be used, which is the case when the result is stored
12468      in the condition code.  And that is the _only_ way this kind of
12469      expression may validly be used: as a value to be stored in the
12470      condition codes, either `(cc0)' or a register.  *Note
12471      Comparisons::.
12473      The mode M is not related to the modes of X and Y, but instead is
12474      the mode of the condition code value.  If `(cc0)' is used, it is
12475      `VOIDmode'.  Otherwise it is some mode in class `MODE_CC', often
12476      `CCmode'.  *Note Condition Code::.  If M is `VOIDmode' or
12477      `CCmode', the operation returns sufficient information (in an
12478      unspecified format) so that any comparison operator can be applied
12479      to the result of the `COMPARE' operation.  For other modes in
12480      class `MODE_CC', the operation only returns a subset of this
12481      information.
12483      Normally, X and Y must have the same mode.  Otherwise, `compare'
12484      is valid only if the mode of X is in class `MODE_INT' and Y is a
12485      `const_int' or `const_double' with mode `VOIDmode'.  The mode of X
12486      determines what mode the comparison is to be done in; thus it must
12487      not be `VOIDmode'.
12489      If one of the operands is a constant, it should be placed in the
12490      second operand and the comparison code adjusted as appropriate.
12492      A `compare' specifying two `VOIDmode' constants is not valid since
12493      there is no way to know in what mode the comparison is to be
12494      performed; the comparison must either be folded during the
12495      compilation or the first operand must be loaded into a register
12496      while its mode is still known.
12498 `(neg:M X)'
12499 `(ss_neg:M X)'
12500 `(us_neg:M X)'
12501      These two expressions represent the negation (subtraction from
12502      zero) of the value represented by X, carried out in mode M.  They
12503      differ in the behavior on overflow of integer modes.  In the case
12504      of `neg', the negation of the operand may be a number not
12505      representable in mode M, in which case it is truncated to M.
12506      `ss_neg' and `us_neg' ensure that an out-of-bounds result
12507      saturates to the maximum or minimum signed or unsigned value.
12509 `(mult:M X Y)'
12510 `(ss_mult:M X Y)'
12511 `(us_mult:M X Y)'
12512      Represents the signed product of the values represented by X and Y
12513      carried out in machine mode M.  `ss_mult' and `us_mult' ensure
12514      that an out-of-bounds result saturates to the maximum or minimum
12515      signed or unsigned value.
12517      Some machines support a multiplication that generates a product
12518      wider than the operands.  Write the pattern for this as
12520           (mult:M (sign_extend:M X) (sign_extend:M Y))
12522      where M is wider than the modes of X and Y, which need not be the
12523      same.
12525      For unsigned widening multiplication, use the same idiom, but with
12526      `zero_extend' instead of `sign_extend'.
12528 `(div:M X Y)'
12529 `(ss_div:M X Y)'
12530      Represents the quotient in signed division of X by Y, carried out
12531      in machine mode M.  If M is a floating point mode, it represents
12532      the exact quotient; otherwise, the integerized quotient.  `ss_div'
12533      ensures that an out-of-bounds result saturates to the maximum or
12534      minimum signed value.
12536      Some machines have division instructions in which the operands and
12537      quotient widths are not all the same; you should represent such
12538      instructions using `truncate' and `sign_extend' as in,
12540           (truncate:M1 (div:M2 X (sign_extend:M2 Y)))
12542 `(udiv:M X Y)'
12543 `(us_div:M X Y)'
12544      Like `div' but represents unsigned division.  `us_div' ensures
12545      that an out-of-bounds result saturates to the maximum or minimum
12546      unsigned value.
12548 `(mod:M X Y)'
12549 `(umod:M X Y)'
12550      Like `div' and `udiv' but represent the remainder instead of the
12551      quotient.
12553 `(smin:M X Y)'
12554 `(smax:M X Y)'
12555      Represents the smaller (for `smin') or larger (for `smax') of X
12556      and Y, interpreted as signed values in mode M.  When used with
12557      floating point, if both operands are zeros, or if either operand
12558      is `NaN', then it is unspecified which of the two operands is
12559      returned as the result.
12561 `(umin:M X Y)'
12562 `(umax:M X Y)'
12563      Like `smin' and `smax', but the values are interpreted as unsigned
12564      integers.
12566 `(not:M X)'
12567      Represents the bitwise complement of the value represented by X,
12568      carried out in mode M, which must be a fixed-point machine mode.
12570 `(and:M X Y)'
12571      Represents the bitwise logical-and of the values represented by X
12572      and Y, carried out in machine mode M, which must be a fixed-point
12573      machine mode.
12575 `(ior:M X Y)'
12576      Represents the bitwise inclusive-or of the values represented by X
12577      and Y, carried out in machine mode M, which must be a fixed-point
12578      mode.
12580 `(xor:M X Y)'
12581      Represents the bitwise exclusive-or of the values represented by X
12582      and Y, carried out in machine mode M, which must be a fixed-point
12583      mode.
12585 `(ashift:M X C)'
12586 `(ss_ashift:M X C)'
12587 `(us_ashift:M X C)'
12588      These three expressions represent the result of arithmetically
12589      shifting X left by C places.  They differ in their behavior on
12590      overflow of integer modes.  An `ashift' operation is a plain shift
12591      with no special behavior in case of a change in the sign bit;
12592      `ss_ashift' and `us_ashift' saturates to the minimum or maximum
12593      representable value if any of the bits shifted out differs from
12594      the final sign bit.
12596      X have mode M, a fixed-point machine mode.  C be a fixed-point
12597      mode or be a constant with mode `VOIDmode'; which mode is
12598      determined by the mode called for in the machine description entry
12599      for the left-shift instruction.  For example, on the VAX, the mode
12600      of C is `QImode' regardless of M.
12602 `(lshiftrt:M X C)'
12603 `(ashiftrt:M X C)'
12604      Like `ashift' but for right shift.  Unlike the case for left shift,
12605      these two operations are distinct.
12607 `(rotate:M X C)'
12608 `(rotatert:M X C)'
12609      Similar but represent left and right rotate.  If C is a constant,
12610      use `rotate'.
12612 `(abs:M X)'
12613      Represents the absolute value of X, computed in mode M.
12615 `(sqrt:M X)'
12616      Represents the square root of X, computed in mode M.  Most often M
12617      will be a floating point mode.
12619 `(ffs:M X)'
12620      Represents one plus the index of the least significant 1-bit in X,
12621      represented as an integer of mode M.  (The value is zero if X is
12622      zero.)  The mode of X need not be M; depending on the target
12623      machine, various mode combinations may be valid.
12625 `(clz:M X)'
12626      Represents the number of leading 0-bits in X, represented as an
12627      integer of mode M, starting at the most significant bit position.
12628      If X is zero, the value is determined by
12629      `CLZ_DEFINED_VALUE_AT_ZERO' (*note Misc::).  Note that this is one
12630      of the few expressions that is not invariant under widening.  The
12631      mode of X will usually be an integer mode.
12633 `(ctz:M X)'
12634      Represents the number of trailing 0-bits in X, represented as an
12635      integer of mode M, starting at the least significant bit position.
12636      If X is zero, the value is determined by
12637      `CTZ_DEFINED_VALUE_AT_ZERO' (*note Misc::).  Except for this case,
12638      `ctz(x)' is equivalent to `ffs(X) - 1'.  The mode of X will
12639      usually be an integer mode.
12641 `(popcount:M X)'
12642      Represents the number of 1-bits in X, represented as an integer of
12643      mode M.  The mode of X will usually be an integer mode.
12645 `(parity:M X)'
12646      Represents the number of 1-bits modulo 2 in X, represented as an
12647      integer of mode M.  The mode of X will usually be an integer mode.
12649 `(bswap:M X)'
12650      Represents the value X with the order of bytes reversed, carried
12651      out in mode M, which must be a fixed-point machine mode.
12653 \x1f
12654 File: gccint.info,  Node: Comparisons,  Next: Bit-Fields,  Prev: Arithmetic,  Up: RTL
12656 12.10 Comparison Operations
12657 ===========================
12659 Comparison operators test a relation on two operands and are considered
12660 to represent a machine-dependent nonzero value described by, but not
12661 necessarily equal to, `STORE_FLAG_VALUE' (*note Misc::) if the relation
12662 holds, or zero if it does not, for comparison operators whose results
12663 have a `MODE_INT' mode, `FLOAT_STORE_FLAG_VALUE' (*note Misc::) if the
12664 relation holds, or zero if it does not, for comparison operators that
12665 return floating-point values, and a vector of either
12666 `VECTOR_STORE_FLAG_VALUE' (*note Misc::) if the relation holds, or of
12667 zeros if it does not, for comparison operators that return vector
12668 results.  The mode of the comparison operation is independent of the
12669 mode of the data being compared.  If the comparison operation is being
12670 tested (e.g., the first operand of an `if_then_else'), the mode must be
12671 `VOIDmode'.
12673  There are two ways that comparison operations may be used.  The
12674 comparison operators may be used to compare the condition codes `(cc0)'
12675 against zero, as in `(eq (cc0) (const_int 0))'.  Such a construct
12676 actually refers to the result of the preceding instruction in which the
12677 condition codes were set.  The instruction setting the condition code
12678 must be adjacent to the instruction using the condition code; only
12679 `note' insns may separate them.
12681  Alternatively, a comparison operation may directly compare two data
12682 objects.  The mode of the comparison is determined by the operands; they
12683 must both be valid for a common machine mode.  A comparison with both
12684 operands constant would be invalid as the machine mode could not be
12685 deduced from it, but such a comparison should never exist in RTL due to
12686 constant folding.
12688  In the example above, if `(cc0)' were last set to `(compare X Y)', the
12689 comparison operation is identical to `(eq X Y)'.  Usually only one style
12690 of comparisons is supported on a particular machine, but the combine
12691 pass will try to merge the operations to produce the `eq' shown in case
12692 it exists in the context of the particular insn involved.
12694  Inequality comparisons come in two flavors, signed and unsigned.  Thus,
12695 there are distinct expression codes `gt' and `gtu' for signed and
12696 unsigned greater-than.  These can produce different results for the same
12697 pair of integer values: for example, 1 is signed greater-than -1 but not
12698 unsigned greater-than, because -1 when regarded as unsigned is actually
12699 `0xffffffff' which is greater than 1.
12701  The signed comparisons are also used for floating point values.
12702 Floating point comparisons are distinguished by the machine modes of
12703 the operands.
12705 `(eq:M X Y)'
12706      `STORE_FLAG_VALUE' if the values represented by X and Y are equal,
12707      otherwise 0.
12709 `(ne:M X Y)'
12710      `STORE_FLAG_VALUE' if the values represented by X and Y are not
12711      equal, otherwise 0.
12713 `(gt:M X Y)'
12714      `STORE_FLAG_VALUE' if the X is greater than Y.  If they are
12715      fixed-point, the comparison is done in a signed sense.
12717 `(gtu:M X Y)'
12718      Like `gt' but does unsigned comparison, on fixed-point numbers
12719      only.
12721 `(lt:M X Y)'
12722 `(ltu:M X Y)'
12723      Like `gt' and `gtu' but test for "less than".
12725 `(ge:M X Y)'
12726 `(geu:M X Y)'
12727      Like `gt' and `gtu' but test for "greater than or equal".
12729 `(le:M X Y)'
12730 `(leu:M X Y)'
12731      Like `gt' and `gtu' but test for "less than or equal".
12733 `(if_then_else COND THEN ELSE)'
12734      This is not a comparison operation but is listed here because it is
12735      always used in conjunction with a comparison operation.  To be
12736      precise, COND is a comparison expression.  This expression
12737      represents a choice, according to COND, between the value
12738      represented by THEN and the one represented by ELSE.
12740      On most machines, `if_then_else' expressions are valid only to
12741      express conditional jumps.
12743 `(cond [TEST1 VALUE1 TEST2 VALUE2 ...] DEFAULT)'
12744      Similar to `if_then_else', but more general.  Each of TEST1,
12745      TEST2, ... is performed in turn.  The result of this expression is
12746      the VALUE corresponding to the first nonzero test, or DEFAULT if
12747      none of the tests are nonzero expressions.
12749      This is currently not valid for instruction patterns and is
12750      supported only for insn attributes.  *Note Insn Attributes::.
12752 \x1f
12753 File: gccint.info,  Node: Bit-Fields,  Next: Vector Operations,  Prev: Comparisons,  Up: RTL
12755 12.11 Bit-Fields
12756 ================
12758 Special expression codes exist to represent bit-field instructions.
12760 `(sign_extract:M LOC SIZE POS)'
12761      This represents a reference to a sign-extended bit-field contained
12762      or starting in LOC (a memory or register reference).  The bit-field
12763      is SIZE bits wide and starts at bit POS.  The compilation option
12764      `BITS_BIG_ENDIAN' says which end of the memory unit POS counts
12765      from.
12767      If LOC is in memory, its mode must be a single-byte integer mode.
12768      If LOC is in a register, the mode to use is specified by the
12769      operand of the `insv' or `extv' pattern (*note Standard Names::)
12770      and is usually a full-word integer mode, which is the default if
12771      none is specified.
12773      The mode of POS is machine-specific and is also specified in the
12774      `insv' or `extv' pattern.
12776      The mode M is the same as the mode that would be used for LOC if
12777      it were a register.
12779      A `sign_extract' can not appear as an lvalue, or part thereof, in
12780      RTL.
12782 `(zero_extract:M LOC SIZE POS)'
12783      Like `sign_extract' but refers to an unsigned or zero-extended
12784      bit-field.  The same sequence of bits are extracted, but they are
12785      filled to an entire word with zeros instead of by sign-extension.
12787      Unlike `sign_extract', this type of expressions can be lvalues in
12788      RTL; they may appear on the left side of an assignment, indicating
12789      insertion of a value into the specified bit-field.
12791 \x1f
12792 File: gccint.info,  Node: Vector Operations,  Next: Conversions,  Prev: Bit-Fields,  Up: RTL
12794 12.12 Vector Operations
12795 =======================
12797 All normal RTL expressions can be used with vector modes; they are
12798 interpreted as operating on each part of the vector independently.
12799 Additionally, there are a few new expressions to describe specific
12800 vector operations.
12802 `(vec_merge:M VEC1 VEC2 ITEMS)'
12803      This describes a merge operation between two vectors.  The result
12804      is a vector of mode M; its elements are selected from either VEC1
12805      or VEC2.  Which elements are selected is described by ITEMS, which
12806      is a bit mask represented by a `const_int'; a zero bit indicates
12807      the corresponding element in the result vector is taken from VEC2
12808      while a set bit indicates it is taken from VEC1.
12810 `(vec_select:M VEC1 SELECTION)'
12811      This describes an operation that selects parts of a vector.  VEC1
12812      is the source vector, SELECTION is a `parallel' that contains a
12813      `const_int' for each of the subparts of the result vector, giving
12814      the number of the source subpart that should be stored into it.
12816 `(vec_concat:M VEC1 VEC2)'
12817      Describes a vector concat operation.  The result is a
12818      concatenation of the vectors VEC1 and VEC2; its length is the sum
12819      of the lengths of the two inputs.
12821 `(vec_duplicate:M VEC)'
12822      This operation converts a small vector into a larger one by
12823      duplicating the input values.  The output vector mode must have
12824      the same submodes as the input vector mode, and the number of
12825      output parts must be an integer multiple of the number of input
12826      parts.
12829 \x1f
12830 File: gccint.info,  Node: Conversions,  Next: RTL Declarations,  Prev: Vector Operations,  Up: RTL
12832 12.13 Conversions
12833 =================
12835 All conversions between machine modes must be represented by explicit
12836 conversion operations.  For example, an expression which is the sum of
12837 a byte and a full word cannot be written as `(plus:SI (reg:QI 34)
12838 (reg:SI 80))' because the `plus' operation requires two operands of the
12839 same machine mode.  Therefore, the byte-sized operand is enclosed in a
12840 conversion operation, as in
12842      (plus:SI (sign_extend:SI (reg:QI 34)) (reg:SI 80))
12844  The conversion operation is not a mere placeholder, because there may
12845 be more than one way of converting from a given starting mode to the
12846 desired final mode.  The conversion operation code says how to do it.
12848  For all conversion operations, X must not be `VOIDmode' because the
12849 mode in which to do the conversion would not be known.  The conversion
12850 must either be done at compile-time or X must be placed into a register.
12852 `(sign_extend:M X)'
12853      Represents the result of sign-extending the value X to machine
12854      mode M.  M must be a fixed-point mode and X a fixed-point value of
12855      a mode narrower than M.
12857 `(zero_extend:M X)'
12858      Represents the result of zero-extending the value X to machine
12859      mode M.  M must be a fixed-point mode and X a fixed-point value of
12860      a mode narrower than M.
12862 `(float_extend:M X)'
12863      Represents the result of extending the value X to machine mode M.
12864      M must be a floating point mode and X a floating point value of a
12865      mode narrower than M.
12867 `(truncate:M X)'
12868      Represents the result of truncating the value X to machine mode M.
12869      M must be a fixed-point mode and X a fixed-point value of a mode
12870      wider than M.
12872 `(ss_truncate:M X)'
12873      Represents the result of truncating the value X to machine mode M,
12874      using signed saturation in the case of overflow.  Both M and the
12875      mode of X must be fixed-point modes.
12877 `(us_truncate:M X)'
12878      Represents the result of truncating the value X to machine mode M,
12879      using unsigned saturation in the case of overflow.  Both M and the
12880      mode of X must be fixed-point modes.
12882 `(float_truncate:M X)'
12883      Represents the result of truncating the value X to machine mode M.
12884      M must be a floating point mode and X a floating point value of a
12885      mode wider than M.
12887 `(float:M X)'
12888      Represents the result of converting fixed point value X, regarded
12889      as signed, to floating point mode M.
12891 `(unsigned_float:M X)'
12892      Represents the result of converting fixed point value X, regarded
12893      as unsigned, to floating point mode M.
12895 `(fix:M X)'
12896      When M is a fixed point mode, represents the result of converting
12897      floating point value X to mode M, regarded as signed.  How
12898      rounding is done is not specified, so this operation may be used
12899      validly in compiling C code only for integer-valued operands.
12901 `(unsigned_fix:M X)'
12902      Represents the result of converting floating point value X to
12903      fixed point mode M, regarded as unsigned.  How rounding is done is
12904      not specified.
12906 `(fix:M X)'
12907      When M is a floating point mode, represents the result of
12908      converting floating point value X (valid for mode M) to an
12909      integer, still represented in floating point mode M, by rounding
12910      towards zero.
12912 `(fract_convert:M X)'
12913      Represents the result of converting fixed-point value X to
12914      fixed-point mode M, signed integer value X to fixed-point mode M,
12915      floating-point value X to fixed-point mode M, fixed-point value X
12916      to integer mode M regarded as signed, or fixed-point value X to
12917      floating-point mode M.  When overflows or underflows happen, the
12918      results are undefined.
12920 `(sat_fract:M X)'
12921      Represents the result of converting fixed-point value X to
12922      fixed-point mode M, signed integer value X to fixed-point mode M,
12923      or floating-point value X to fixed-point mode M.  When overflows
12924      or underflows happen, the results are saturated to the maximum or
12925      the minimum.
12927 `(unsigned_fract_convert:M X)'
12928      Represents the result of converting fixed-point value X to integer
12929      mode M regarded as unsigned, or unsigned integer value X to
12930      fixed-point mode M.  When overflows or underflows happen, the
12931      results are undefined.
12933 `(unsigned_sat_fract:M X)'
12934      Represents the result of converting unsigned integer value X to
12935      fixed-point mode M.  When overflows or underflows happen, the
12936      results are saturated to the maximum or the minimum.
12938 \x1f
12939 File: gccint.info,  Node: RTL Declarations,  Next: Side Effects,  Prev: Conversions,  Up: RTL
12941 12.14 Declarations
12942 ==================
12944 Declaration expression codes do not represent arithmetic operations but
12945 rather state assertions about their operands.
12947 `(strict_low_part (subreg:M (reg:N R) 0))'
12948      This expression code is used in only one context: as the
12949      destination operand of a `set' expression.  In addition, the
12950      operand of this expression must be a non-paradoxical `subreg'
12951      expression.
12953      The presence of `strict_low_part' says that the part of the
12954      register which is meaningful in mode N, but is not part of mode M,
12955      is not to be altered.  Normally, an assignment to such a subreg is
12956      allowed to have undefined effects on the rest of the register when
12957      M is less than a word.
12959 \x1f
12960 File: gccint.info,  Node: Side Effects,  Next: Incdec,  Prev: RTL Declarations,  Up: RTL
12962 12.15 Side Effect Expressions
12963 =============================
12965 The expression codes described so far represent values, not actions.
12966 But machine instructions never produce values; they are meaningful only
12967 for their side effects on the state of the machine.  Special expression
12968 codes are used to represent side effects.
12970  The body of an instruction is always one of these side effect codes;
12971 the codes described above, which represent values, appear only as the
12972 operands of these.
12974 `(set LVAL X)'
12975      Represents the action of storing the value of X into the place
12976      represented by LVAL.  LVAL must be an expression representing a
12977      place that can be stored in: `reg' (or `subreg', `strict_low_part'
12978      or `zero_extract'), `mem', `pc', `parallel', or `cc0'.
12980      If LVAL is a `reg', `subreg' or `mem', it has a machine mode; then
12981      X must be valid for that mode.
12983      If LVAL is a `reg' whose machine mode is less than the full width
12984      of the register, then it means that the part of the register
12985      specified by the machine mode is given the specified value and the
12986      rest of the register receives an undefined value.  Likewise, if
12987      LVAL is a `subreg' whose machine mode is narrower than the mode of
12988      the register, the rest of the register can be changed in an
12989      undefined way.
12991      If LVAL is a `strict_low_part' of a subreg, then the part of the
12992      register specified by the machine mode of the `subreg' is given
12993      the value X and the rest of the register is not changed.
12995      If LVAL is a `zero_extract', then the referenced part of the
12996      bit-field (a memory or register reference) specified by the
12997      `zero_extract' is given the value X and the rest of the bit-field
12998      is not changed.  Note that `sign_extract' can not appear in LVAL.
13000      If LVAL is `(cc0)', it has no machine mode, and X may be either a
13001      `compare' expression or a value that may have any mode.  The
13002      latter case represents a "test" instruction.  The expression `(set
13003      (cc0) (reg:M N))' is equivalent to `(set (cc0) (compare (reg:M N)
13004      (const_int 0)))'.  Use the former expression to save space during
13005      the compilation.
13007      If LVAL is a `parallel', it is used to represent the case of a
13008      function returning a structure in multiple registers.  Each element
13009      of the `parallel' is an `expr_list' whose first operand is a `reg'
13010      and whose second operand is a `const_int' representing the offset
13011      (in bytes) into the structure at which the data in that register
13012      corresponds.  The first element may be null to indicate that the
13013      structure is also passed partly in memory.
13015      If LVAL is `(pc)', we have a jump instruction, and the
13016      possibilities for X are very limited.  It may be a `label_ref'
13017      expression (unconditional jump).  It may be an `if_then_else'
13018      (conditional jump), in which case either the second or the third
13019      operand must be `(pc)' (for the case which does not jump) and the
13020      other of the two must be a `label_ref' (for the case which does
13021      jump).  X may also be a `mem' or `(plus:SI (pc) Y)', where Y may
13022      be a `reg' or a `mem'; these unusual patterns are used to
13023      represent jumps through branch tables.
13025      If LVAL is neither `(cc0)' nor `(pc)', the mode of LVAL must not
13026      be `VOIDmode' and the mode of X must be valid for the mode of LVAL.
13028      LVAL is customarily accessed with the `SET_DEST' macro and X with
13029      the `SET_SRC' macro.
13031 `(return)'
13032      As the sole expression in a pattern, represents a return from the
13033      current function, on machines where this can be done with one
13034      instruction, such as VAXen.  On machines where a multi-instruction
13035      "epilogue" must be executed in order to return from the function,
13036      returning is done by jumping to a label which precedes the
13037      epilogue, and the `return' expression code is never used.
13039      Inside an `if_then_else' expression, represents the value to be
13040      placed in `pc' to return to the caller.
13042      Note that an insn pattern of `(return)' is logically equivalent to
13043      `(set (pc) (return))', but the latter form is never used.
13045 `(call FUNCTION NARGS)'
13046      Represents a function call.  FUNCTION is a `mem' expression whose
13047      address is the address of the function to be called.  NARGS is an
13048      expression which can be used for two purposes: on some machines it
13049      represents the number of bytes of stack argument; on others, it
13050      represents the number of argument registers.
13052      Each machine has a standard machine mode which FUNCTION must have.
13053      The machine description defines macro `FUNCTION_MODE' to expand
13054      into the requisite mode name.  The purpose of this mode is to
13055      specify what kind of addressing is allowed, on machines where the
13056      allowed kinds of addressing depend on the machine mode being
13057      addressed.
13059 `(clobber X)'
13060      Represents the storing or possible storing of an unpredictable,
13061      undescribed value into X, which must be a `reg', `scratch',
13062      `parallel' or `mem' expression.
13064      One place this is used is in string instructions that store
13065      standard values into particular hard registers.  It may not be
13066      worth the trouble to describe the values that are stored, but it
13067      is essential to inform the compiler that the registers will be
13068      altered, lest it attempt to keep data in them across the string
13069      instruction.
13071      If X is `(mem:BLK (const_int 0))' or `(mem:BLK (scratch))', it
13072      means that all memory locations must be presumed clobbered.  If X
13073      is a `parallel', it has the same meaning as a `parallel' in a
13074      `set' expression.
13076      Note that the machine description classifies certain hard
13077      registers as "call-clobbered".  All function call instructions are
13078      assumed by default to clobber these registers, so there is no need
13079      to use `clobber' expressions to indicate this fact.  Also, each
13080      function call is assumed to have the potential to alter any memory
13081      location, unless the function is declared `const'.
13083      If the last group of expressions in a `parallel' are each a
13084      `clobber' expression whose arguments are `reg' or `match_scratch'
13085      (*note RTL Template::) expressions, the combiner phase can add the
13086      appropriate `clobber' expressions to an insn it has constructed
13087      when doing so will cause a pattern to be matched.
13089      This feature can be used, for example, on a machine that whose
13090      multiply and add instructions don't use an MQ register but which
13091      has an add-accumulate instruction that does clobber the MQ
13092      register.  Similarly, a combined instruction might require a
13093      temporary register while the constituent instructions might not.
13095      When a `clobber' expression for a register appears inside a
13096      `parallel' with other side effects, the register allocator
13097      guarantees that the register is unoccupied both before and after
13098      that insn.  However, the reload phase may allocate a register used
13099      for one of the inputs unless the `&' constraint is specified for
13100      the selected alternative (*note Modifiers::).  You can clobber
13101      either a specific hard register, a pseudo register, or a `scratch'
13102      expression; in the latter two cases, GCC will allocate a hard
13103      register that is available there for use as a temporary.
13105      For instructions that require a temporary register, you should use
13106      `scratch' instead of a pseudo-register because this will allow the
13107      combiner phase to add the `clobber' when required.  You do this by
13108      coding (`clobber' (`match_scratch' ...)).  If you do clobber a
13109      pseudo register, use one which appears nowhere else--generate a
13110      new one each time.  Otherwise, you may confuse CSE.
13112      There is one other known use for clobbering a pseudo register in a
13113      `parallel': when one of the input operands of the insn is also
13114      clobbered by the insn.  In this case, using the same pseudo
13115      register in the clobber and elsewhere in the insn produces the
13116      expected results.
13118 `(use X)'
13119      Represents the use of the value of X.  It indicates that the value
13120      in X at this point in the program is needed, even though it may
13121      not be apparent why this is so.  Therefore, the compiler will not
13122      attempt to delete previous instructions whose only effect is to
13123      store a value in X.  X must be a `reg' expression.
13125      In some situations, it may be tempting to add a `use' of a
13126      register in a `parallel' to describe a situation where the value
13127      of a special register will modify the behavior of the instruction.
13128      An hypothetical example might be a pattern for an addition that can
13129      either wrap around or use saturating addition depending on the
13130      value of a special control register:
13132           (parallel [(set (reg:SI 2) (unspec:SI [(reg:SI 3)
13133                                                  (reg:SI 4)] 0))
13134                      (use (reg:SI 1))])
13136      This will not work, several of the optimizers only look at
13137      expressions locally; it is very likely that if you have multiple
13138      insns with identical inputs to the `unspec', they will be
13139      optimized away even if register 1 changes in between.
13141      This means that `use' can _only_ be used to describe that the
13142      register is live.  You should think twice before adding `use'
13143      statements, more often you will want to use `unspec' instead.  The
13144      `use' RTX is most commonly useful to describe that a fixed
13145      register is implicitly used in an insn.  It is also safe to use in
13146      patterns where the compiler knows for other reasons that the result
13147      of the whole pattern is variable, such as `movmemM' or `call'
13148      patterns.
13150      During the reload phase, an insn that has a `use' as pattern can
13151      carry a reg_equal note.  These `use' insns will be deleted before
13152      the reload phase exits.
13154      During the delayed branch scheduling phase, X may be an insn.
13155      This indicates that X previously was located at this place in the
13156      code and its data dependencies need to be taken into account.
13157      These `use' insns will be deleted before the delayed branch
13158      scheduling phase exits.
13160 `(parallel [X0 X1 ...])'
13161      Represents several side effects performed in parallel.  The square
13162      brackets stand for a vector; the operand of `parallel' is a vector
13163      of expressions.  X0, X1 and so on are individual side effect
13164      expressions--expressions of code `set', `call', `return',
13165      `clobber' or `use'.
13167      "In parallel" means that first all the values used in the
13168      individual side-effects are computed, and second all the actual
13169      side-effects are performed.  For example,
13171           (parallel [(set (reg:SI 1) (mem:SI (reg:SI 1)))
13172                      (set (mem:SI (reg:SI 1)) (reg:SI 1))])
13174      says unambiguously that the values of hard register 1 and the
13175      memory location addressed by it are interchanged.  In both places
13176      where `(reg:SI 1)' appears as a memory address it refers to the
13177      value in register 1 _before_ the execution of the insn.
13179      It follows that it is _incorrect_ to use `parallel' and expect the
13180      result of one `set' to be available for the next one.  For
13181      example, people sometimes attempt to represent a jump-if-zero
13182      instruction this way:
13184           (parallel [(set (cc0) (reg:SI 34))
13185                      (set (pc) (if_then_else
13186                                   (eq (cc0) (const_int 0))
13187                                   (label_ref ...)
13188                                   (pc)))])
13190      But this is incorrect, because it says that the jump condition
13191      depends on the condition code value _before_ this instruction, not
13192      on the new value that is set by this instruction.
13194      Peephole optimization, which takes place together with final
13195      assembly code output, can produce insns whose patterns consist of
13196      a `parallel' whose elements are the operands needed to output the
13197      resulting assembler code--often `reg', `mem' or constant
13198      expressions.  This would not be well-formed RTL at any other stage
13199      in compilation, but it is ok then because no further optimization
13200      remains to be done.  However, the definition of the macro
13201      `NOTICE_UPDATE_CC', if any, must deal with such insns if you
13202      define any peephole optimizations.
13204 `(cond_exec [COND EXPR])'
13205      Represents a conditionally executed expression.  The EXPR is
13206      executed only if the COND is nonzero.  The COND expression must
13207      not have side-effects, but the EXPR may very well have
13208      side-effects.
13210 `(sequence [INSNS ...])'
13211      Represents a sequence of insns.  Each of the INSNS that appears in
13212      the vector is suitable for appearing in the chain of insns, so it
13213      must be an `insn', `jump_insn', `call_insn', `code_label',
13214      `barrier' or `note'.
13216      A `sequence' RTX is never placed in an actual insn during RTL
13217      generation.  It represents the sequence of insns that result from a
13218      `define_expand' _before_ those insns are passed to `emit_insn' to
13219      insert them in the chain of insns.  When actually inserted, the
13220      individual sub-insns are separated out and the `sequence' is
13221      forgotten.
13223      After delay-slot scheduling is completed, an insn and all the
13224      insns that reside in its delay slots are grouped together into a
13225      `sequence'.  The insn requiring the delay slot is the first insn
13226      in the vector; subsequent insns are to be placed in the delay slot.
13228      `INSN_ANNULLED_BRANCH_P' is set on an insn in a delay slot to
13229      indicate that a branch insn should be used that will conditionally
13230      annul the effect of the insns in the delay slots.  In such a case,
13231      `INSN_FROM_TARGET_P' indicates that the insn is from the target of
13232      the branch and should be executed only if the branch is taken;
13233      otherwise the insn should be executed only if the branch is not
13234      taken.  *Note Delay Slots::.
13236  These expression codes appear in place of a side effect, as the body of
13237 an insn, though strictly speaking they do not always describe side
13238 effects as such:
13240 `(asm_input S)'
13241      Represents literal assembler code as described by the string S.
13243 `(unspec [OPERANDS ...] INDEX)'
13244 `(unspec_volatile [OPERANDS ...] INDEX)'
13245      Represents a machine-specific operation on OPERANDS.  INDEX
13246      selects between multiple machine-specific operations.
13247      `unspec_volatile' is used for volatile operations and operations
13248      that may trap; `unspec' is used for other operations.
13250      These codes may appear inside a `pattern' of an insn, inside a
13251      `parallel', or inside an expression.
13253 `(addr_vec:M [LR0 LR1 ...])'
13254      Represents a table of jump addresses.  The vector elements LR0,
13255      etc., are `label_ref' expressions.  The mode M specifies how much
13256      space is given to each address; normally M would be `Pmode'.
13258 `(addr_diff_vec:M BASE [LR0 LR1 ...] MIN MAX FLAGS)'
13259      Represents a table of jump addresses expressed as offsets from
13260      BASE.  The vector elements LR0, etc., are `label_ref' expressions
13261      and so is BASE.  The mode M specifies how much space is given to
13262      each address-difference.  MIN and MAX are set up by branch
13263      shortening and hold a label with a minimum and a maximum address,
13264      respectively.  FLAGS indicates the relative position of BASE, MIN
13265      and MAX to the containing insn and of MIN and MAX to BASE.  See
13266      rtl.def for details.
13268 `(prefetch:M ADDR RW LOCALITY)'
13269      Represents prefetch of memory at address ADDR.  Operand RW is 1 if
13270      the prefetch is for data to be written, 0 otherwise; targets that
13271      do not support write prefetches should treat this as a normal
13272      prefetch.  Operand LOCALITY specifies the amount of temporal
13273      locality; 0 if there is none or 1, 2, or 3 for increasing levels
13274      of temporal locality; targets that do not support locality hints
13275      should ignore this.
13277      This insn is used to minimize cache-miss latency by moving data
13278      into a cache before it is accessed.  It should use only
13279      non-faulting data prefetch instructions.
13281 \x1f
13282 File: gccint.info,  Node: Incdec,  Next: Assembler,  Prev: Side Effects,  Up: RTL
13284 12.16 Embedded Side-Effects on Addresses
13285 ========================================
13287 Six special side-effect expression codes appear as memory addresses.
13289 `(pre_dec:M X)'
13290      Represents the side effect of decrementing X by a standard amount
13291      and represents also the value that X has after being decremented.
13292      X must be a `reg' or `mem', but most machines allow only a `reg'.
13293      M must be the machine mode for pointers on the machine in use.
13294      The amount X is decremented by is the length in bytes of the
13295      machine mode of the containing memory reference of which this
13296      expression serves as the address.  Here is an example of its use:
13298           (mem:DF (pre_dec:SI (reg:SI 39)))
13300      This says to decrement pseudo register 39 by the length of a
13301      `DFmode' value and use the result to address a `DFmode' value.
13303 `(pre_inc:M X)'
13304      Similar, but specifies incrementing X instead of decrementing it.
13306 `(post_dec:M X)'
13307      Represents the same side effect as `pre_dec' but a different
13308      value.  The value represented here is the value X has before being
13309      decremented.
13311 `(post_inc:M X)'
13312      Similar, but specifies incrementing X instead of decrementing it.
13314 `(post_modify:M X Y)'
13315      Represents the side effect of setting X to Y and represents X
13316      before X is modified.  X must be a `reg' or `mem', but most
13317      machines allow only a `reg'.  M must be the machine mode for
13318      pointers on the machine in use.
13320      The expression Y must be one of three forms:
13321           `(plus:M X Z)', `(minus:M X Z)', or `(plus:M X I)',
13322      where Z is an index register and I is a constant.
13324      Here is an example of its use:
13326           (mem:SF (post_modify:SI (reg:SI 42) (plus (reg:SI 42)
13327                                                     (reg:SI 48))))
13329      This says to modify pseudo register 42 by adding the contents of
13330      pseudo register 48 to it, after the use of what ever 42 points to.
13332 `(pre_modify:M X EXPR)'
13333      Similar except side effects happen before the use.
13335  These embedded side effect expressions must be used with care.
13336 Instruction patterns may not use them.  Until the `flow' pass of the
13337 compiler, they may occur only to represent pushes onto the stack.  The
13338 `flow' pass finds cases where registers are incremented or decremented
13339 in one instruction and used as an address shortly before or after;
13340 these cases are then transformed to use pre- or post-increment or
13341 -decrement.
13343  If a register used as the operand of these expressions is used in
13344 another address in an insn, the original value of the register is used.
13345 Uses of the register outside of an address are not permitted within the
13346 same insn as a use in an embedded side effect expression because such
13347 insns behave differently on different machines and hence must be treated
13348 as ambiguous and disallowed.
13350  An instruction that can be represented with an embedded side effect
13351 could also be represented using `parallel' containing an additional
13352 `set' to describe how the address register is altered.  This is not
13353 done because machines that allow these operations at all typically
13354 allow them wherever a memory address is called for.  Describing them as
13355 additional parallel stores would require doubling the number of entries
13356 in the machine description.
13358 \x1f
13359 File: gccint.info,  Node: Assembler,  Next: Insns,  Prev: Incdec,  Up: RTL
13361 12.17 Assembler Instructions as Expressions
13362 ===========================================
13364 The RTX code `asm_operands' represents a value produced by a
13365 user-specified assembler instruction.  It is used to represent an `asm'
13366 statement with arguments.  An `asm' statement with a single output
13367 operand, like this:
13369      asm ("foo %1,%2,%0" : "=a" (outputvar) : "g" (x + y), "di" (*z));
13371 is represented using a single `asm_operands' RTX which represents the
13372 value that is stored in `outputvar':
13374      (set RTX-FOR-OUTPUTVAR
13375           (asm_operands "foo %1,%2,%0" "a" 0
13376                         [RTX-FOR-ADDITION-RESULT RTX-FOR-*Z]
13377                         [(asm_input:M1 "g")
13378                          (asm_input:M2 "di")]))
13380 Here the operands of the `asm_operands' RTX are the assembler template
13381 string, the output-operand's constraint, the index-number of the output
13382 operand among the output operands specified, a vector of input operand
13383 RTX's, and a vector of input-operand modes and constraints.  The mode
13384 M1 is the mode of the sum `x+y'; M2 is that of `*z'.
13386  When an `asm' statement has multiple output values, its insn has
13387 several such `set' RTX's inside of a `parallel'.  Each `set' contains a
13388 `asm_operands'; all of these share the same assembler template and
13389 vectors, but each contains the constraint for the respective output
13390 operand.  They are also distinguished by the output-operand index
13391 number, which is 0, 1, ... for successive output operands.
13393 \x1f
13394 File: gccint.info,  Node: Insns,  Next: Calls,  Prev: Assembler,  Up: RTL
13396 12.18 Insns
13397 ===========
13399 The RTL representation of the code for a function is a doubly-linked
13400 chain of objects called "insns".  Insns are expressions with special
13401 codes that are used for no other purpose.  Some insns are actual
13402 instructions; others represent dispatch tables for `switch' statements;
13403 others represent labels to jump to or various sorts of declarative
13404 information.
13406  In addition to its own specific data, each insn must have a unique
13407 id-number that distinguishes it from all other insns in the current
13408 function (after delayed branch scheduling, copies of an insn with the
13409 same id-number may be present in multiple places in a function, but
13410 these copies will always be identical and will only appear inside a
13411 `sequence'), and chain pointers to the preceding and following insns.
13412 These three fields occupy the same position in every insn, independent
13413 of the expression code of the insn.  They could be accessed with `XEXP'
13414 and `XINT', but instead three special macros are always used:
13416 `INSN_UID (I)'
13417      Accesses the unique id of insn I.
13419 `PREV_INSN (I)'
13420      Accesses the chain pointer to the insn preceding I.  If I is the
13421      first insn, this is a null pointer.
13423 `NEXT_INSN (I)'
13424      Accesses the chain pointer to the insn following I.  If I is the
13425      last insn, this is a null pointer.
13427  The first insn in the chain is obtained by calling `get_insns'; the
13428 last insn is the result of calling `get_last_insn'.  Within the chain
13429 delimited by these insns, the `NEXT_INSN' and `PREV_INSN' pointers must
13430 always correspond: if INSN is not the first insn,
13432      NEXT_INSN (PREV_INSN (INSN)) == INSN
13434 is always true and if INSN is not the last insn,
13436      PREV_INSN (NEXT_INSN (INSN)) == INSN
13438 is always true.
13440  After delay slot scheduling, some of the insns in the chain might be
13441 `sequence' expressions, which contain a vector of insns.  The value of
13442 `NEXT_INSN' in all but the last of these insns is the next insn in the
13443 vector; the value of `NEXT_INSN' of the last insn in the vector is the
13444 same as the value of `NEXT_INSN' for the `sequence' in which it is
13445 contained.  Similar rules apply for `PREV_INSN'.
13447  This means that the above invariants are not necessarily true for insns
13448 inside `sequence' expressions.  Specifically, if INSN is the first insn
13449 in a `sequence', `NEXT_INSN (PREV_INSN (INSN))' is the insn containing
13450 the `sequence' expression, as is the value of `PREV_INSN (NEXT_INSN
13451 (INSN))' if INSN is the last insn in the `sequence' expression.  You
13452 can use these expressions to find the containing `sequence' expression.
13454  Every insn has one of the following six expression codes:
13456 `insn'
13457      The expression code `insn' is used for instructions that do not
13458      jump and do not do function calls.  `sequence' expressions are
13459      always contained in insns with code `insn' even if one of those
13460      insns should jump or do function calls.
13462      Insns with code `insn' have four additional fields beyond the three
13463      mandatory ones listed above.  These four are described in a table
13464      below.
13466 `jump_insn'
13467      The expression code `jump_insn' is used for instructions that may
13468      jump (or, more generally, may contain `label_ref' expressions to
13469      which `pc' can be set in that instruction).  If there is an
13470      instruction to return from the current function, it is recorded as
13471      a `jump_insn'.
13473      `jump_insn' insns have the same extra fields as `insn' insns,
13474      accessed in the same way and in addition contain a field
13475      `JUMP_LABEL' which is defined once jump optimization has completed.
13477      For simple conditional and unconditional jumps, this field contains
13478      the `code_label' to which this insn will (possibly conditionally)
13479      branch.  In a more complex jump, `JUMP_LABEL' records one of the
13480      labels that the insn refers to; other jump target labels are
13481      recorded as `REG_LABEL_TARGET' notes.  The exception is `addr_vec'
13482      and `addr_diff_vec', where `JUMP_LABEL' is `NULL_RTX' and the only
13483      way to find the labels is to scan the entire body of the insn.
13485      Return insns count as jumps, but since they do not refer to any
13486      labels, their `JUMP_LABEL' is `NULL_RTX'.
13488 `call_insn'
13489      The expression code `call_insn' is used for instructions that may
13490      do function calls.  It is important to distinguish these
13491      instructions because they imply that certain registers and memory
13492      locations may be altered unpredictably.
13494      `call_insn' insns have the same extra fields as `insn' insns,
13495      accessed in the same way and in addition contain a field
13496      `CALL_INSN_FUNCTION_USAGE', which contains a list (chain of
13497      `expr_list' expressions) containing `use' and `clobber'
13498      expressions that denote hard registers and `MEM's used or
13499      clobbered by the called function.
13501      A `MEM' generally points to a stack slots in which arguments passed
13502      to the libcall by reference (*note TARGET_PASS_BY_REFERENCE:
13503      Register Arguments.) are stored.  If the argument is caller-copied
13504      (*note TARGET_CALLEE_COPIES: Register Arguments.), the stack slot
13505      will be mentioned in `CLOBBER' and `USE' entries; if it's
13506      callee-copied, only a `USE' will appear, and the `MEM' may point
13507      to addresses that are not stack slots.
13509      `CLOBBER'ed registers in this list augment registers specified in
13510      `CALL_USED_REGISTERS' (*note Register Basics::).
13512 `code_label'
13513      A `code_label' insn represents a label that a jump insn can jump
13514      to.  It contains two special fields of data in addition to the
13515      three standard ones.  `CODE_LABEL_NUMBER' is used to hold the
13516      "label number", a number that identifies this label uniquely among
13517      all the labels in the compilation (not just in the current
13518      function).  Ultimately, the label is represented in the assembler
13519      output as an assembler label, usually of the form `LN' where N is
13520      the label number.
13522      When a `code_label' appears in an RTL expression, it normally
13523      appears within a `label_ref' which represents the address of the
13524      label, as a number.
13526      Besides as a `code_label', a label can also be represented as a
13527      `note' of type `NOTE_INSN_DELETED_LABEL'.
13529      The field `LABEL_NUSES' is only defined once the jump optimization
13530      phase is completed.  It contains the number of times this label is
13531      referenced in the current function.
13533      The field `LABEL_KIND' differentiates four different types of
13534      labels: `LABEL_NORMAL', `LABEL_STATIC_ENTRY',
13535      `LABEL_GLOBAL_ENTRY', and `LABEL_WEAK_ENTRY'.  The only labels
13536      that do not have type `LABEL_NORMAL' are "alternate entry points"
13537      to the current function.  These may be static (visible only in the
13538      containing translation unit), global (exposed to all translation
13539      units), or weak (global, but can be overridden by another symbol
13540      with the same name).
13542      Much of the compiler treats all four kinds of label identically.
13543      Some of it needs to know whether or not a label is an alternate
13544      entry point; for this purpose, the macro `LABEL_ALT_ENTRY_P' is
13545      provided.  It is equivalent to testing whether `LABEL_KIND (label)
13546      == LABEL_NORMAL'.  The only place that cares about the distinction
13547      between static, global, and weak alternate entry points, besides
13548      the front-end code that creates them, is the function
13549      `output_alternate_entry_point', in `final.c'.
13551      To set the kind of a label, use the `SET_LABEL_KIND' macro.
13553 `barrier'
13554      Barriers are placed in the instruction stream when control cannot
13555      flow past them.  They are placed after unconditional jump
13556      instructions to indicate that the jumps are unconditional and
13557      after calls to `volatile' functions, which do not return (e.g.,
13558      `exit').  They contain no information beyond the three standard
13559      fields.
13561 `note'
13562      `note' insns are used to represent additional debugging and
13563      declarative information.  They contain two nonstandard fields, an
13564      integer which is accessed with the macro `NOTE_LINE_NUMBER' and a
13565      string accessed with `NOTE_SOURCE_FILE'.
13567      If `NOTE_LINE_NUMBER' is positive, the note represents the
13568      position of a source line and `NOTE_SOURCE_FILE' is the source
13569      file name that the line came from.  These notes control generation
13570      of line number data in the assembler output.
13572      Otherwise, `NOTE_LINE_NUMBER' is not really a line number but a
13573      code with one of the following values (and `NOTE_SOURCE_FILE' must
13574      contain a null pointer):
13576     `NOTE_INSN_DELETED'
13577           Such a note is completely ignorable.  Some passes of the
13578           compiler delete insns by altering them into notes of this
13579           kind.
13581     `NOTE_INSN_DELETED_LABEL'
13582           This marks what used to be a `code_label', but was not used
13583           for other purposes than taking its address and was
13584           transformed to mark that no code jumps to it.
13586     `NOTE_INSN_BLOCK_BEG'
13587     `NOTE_INSN_BLOCK_END'
13588           These types of notes indicate the position of the beginning
13589           and end of a level of scoping of variable names.  They
13590           control the output of debugging information.
13592     `NOTE_INSN_EH_REGION_BEG'
13593     `NOTE_INSN_EH_REGION_END'
13594           These types of notes indicate the position of the beginning
13595           and end of a level of scoping for exception handling.
13596           `NOTE_BLOCK_NUMBER' identifies which `CODE_LABEL' or `note'
13597           of type `NOTE_INSN_DELETED_LABEL' is associated with the
13598           given region.
13600     `NOTE_INSN_LOOP_BEG'
13601     `NOTE_INSN_LOOP_END'
13602           These types of notes indicate the position of the beginning
13603           and end of a `while' or `for' loop.  They enable the loop
13604           optimizer to find loops quickly.
13606     `NOTE_INSN_LOOP_CONT'
13607           Appears at the place in a loop that `continue' statements
13608           jump to.
13610     `NOTE_INSN_LOOP_VTOP'
13611           This note indicates the place in a loop where the exit test
13612           begins for those loops in which the exit test has been
13613           duplicated.  This position becomes another virtual start of
13614           the loop when considering loop invariants.
13616     `NOTE_INSN_FUNCTION_BEG'
13617           Appears at the start of the function body, after the function
13618           prologue.
13621      These codes are printed symbolically when they appear in debugging
13622      dumps.
13624  The machine mode of an insn is normally `VOIDmode', but some phases
13625 use the mode for various purposes.
13627  The common subexpression elimination pass sets the mode of an insn to
13628 `QImode' when it is the first insn in a block that has already been
13629 processed.
13631  The second Haifa scheduling pass, for targets that can multiple issue,
13632 sets the mode of an insn to `TImode' when it is believed that the
13633 instruction begins an issue group.  That is, when the instruction
13634 cannot issue simultaneously with the previous.  This may be relied on
13635 by later passes, in particular machine-dependent reorg.
13637  Here is a table of the extra fields of `insn', `jump_insn' and
13638 `call_insn' insns:
13640 `PATTERN (I)'
13641      An expression for the side effect performed by this insn.  This
13642      must be one of the following codes: `set', `call', `use',
13643      `clobber', `return', `asm_input', `asm_output', `addr_vec',
13644      `addr_diff_vec', `trap_if', `unspec', `unspec_volatile',
13645      `parallel', `cond_exec', or `sequence'.  If it is a `parallel',
13646      each element of the `parallel' must be one these codes, except that
13647      `parallel' expressions cannot be nested and `addr_vec' and
13648      `addr_diff_vec' are not permitted inside a `parallel' expression.
13650 `INSN_CODE (I)'
13651      An integer that says which pattern in the machine description
13652      matches this insn, or -1 if the matching has not yet been
13653      attempted.
13655      Such matching is never attempted and this field remains -1 on an
13656      insn whose pattern consists of a single `use', `clobber',
13657      `asm_input', `addr_vec' or `addr_diff_vec' expression.
13659      Matching is also never attempted on insns that result from an `asm'
13660      statement.  These contain at least one `asm_operands' expression.
13661      The function `asm_noperands' returns a non-negative value for such
13662      insns.
13664      In the debugging output, this field is printed as a number
13665      followed by a symbolic representation that locates the pattern in
13666      the `md' file as some small positive or negative offset from a
13667      named pattern.
13669 `LOG_LINKS (I)'
13670      A list (chain of `insn_list' expressions) giving information about
13671      dependencies between instructions within a basic block.  Neither a
13672      jump nor a label may come between the related insns.  These are
13673      only used by the schedulers and by combine.  This is a deprecated
13674      data structure.  Def-use and use-def chains are now preferred.
13676 `REG_NOTES (I)'
13677      A list (chain of `expr_list' and `insn_list' expressions) giving
13678      miscellaneous information about the insn.  It is often information
13679      pertaining to the registers used in this insn.
13681  The `LOG_LINKS' field of an insn is a chain of `insn_list'
13682 expressions.  Each of these has two operands: the first is an insn, and
13683 the second is another `insn_list' expression (the next one in the
13684 chain).  The last `insn_list' in the chain has a null pointer as second
13685 operand.  The significant thing about the chain is which insns appear
13686 in it (as first operands of `insn_list' expressions).  Their order is
13687 not significant.
13689  This list is originally set up by the flow analysis pass; it is a null
13690 pointer until then.  Flow only adds links for those data dependencies
13691 which can be used for instruction combination.  For each insn, the flow
13692 analysis pass adds a link to insns which store into registers values
13693 that are used for the first time in this insn.
13695  The `REG_NOTES' field of an insn is a chain similar to the `LOG_LINKS'
13696 field but it includes `expr_list' expressions in addition to
13697 `insn_list' expressions.  There are several kinds of register notes,
13698 which are distinguished by the machine mode, which in a register note
13699 is really understood as being an `enum reg_note'.  The first operand OP
13700 of the note is data whose meaning depends on the kind of note.
13702  The macro `REG_NOTE_KIND (X)' returns the kind of register note.  Its
13703 counterpart, the macro `PUT_REG_NOTE_KIND (X, NEWKIND)' sets the
13704 register note type of X to be NEWKIND.
13706  Register notes are of three classes: They may say something about an
13707 input to an insn, they may say something about an output of an insn, or
13708 they may create a linkage between two insns.  There are also a set of
13709 values that are only used in `LOG_LINKS'.
13711  These register notes annotate inputs to an insn:
13713 `REG_DEAD'
13714      The value in OP dies in this insn; that is to say, altering the
13715      value immediately after this insn would not affect the future
13716      behavior of the program.
13718      It does not follow that the register OP has no useful value after
13719      this insn since OP is not necessarily modified by this insn.
13720      Rather, no subsequent instruction uses the contents of OP.
13722 `REG_UNUSED'
13723      The register OP being set by this insn will not be used in a
13724      subsequent insn.  This differs from a `REG_DEAD' note, which
13725      indicates that the value in an input will not be used subsequently.
13726      These two notes are independent; both may be present for the same
13727      register.
13729 `REG_INC'
13730      The register OP is incremented (or decremented; at this level
13731      there is no distinction) by an embedded side effect inside this
13732      insn.  This means it appears in a `post_inc', `pre_inc',
13733      `post_dec' or `pre_dec' expression.
13735 `REG_NONNEG'
13736      The register OP is known to have a nonnegative value when this
13737      insn is reached.  This is used so that decrement and branch until
13738      zero instructions, such as the m68k dbra, can be matched.
13740      The `REG_NONNEG' note is added to insns only if the machine
13741      description has a `decrement_and_branch_until_zero' pattern.
13743 `REG_NO_CONFLICT'
13744      This insn does not cause a conflict between OP and the item being
13745      set by this insn even though it might appear that it does.  In
13746      other words, if the destination register and OP could otherwise be
13747      assigned the same register, this insn does not prevent that
13748      assignment.
13750      Insns with this note are usually part of a block that begins with a
13751      `clobber' insn specifying a multi-word pseudo register (which will
13752      be the output of the block), a group of insns that each set one
13753      word of the value and have the `REG_NO_CONFLICT' note attached,
13754      and a final insn that copies the output to itself with an attached
13755      `REG_EQUAL' note giving the expression being computed.  This block
13756      is encapsulated with `REG_LIBCALL' and `REG_RETVAL' notes on the
13757      first and last insns, respectively.
13759 `REG_LABEL_OPERAND'
13760      This insn uses OP, a `code_label' or a `note' of type
13761      `NOTE_INSN_DELETED_LABEL', but is not a `jump_insn', or it is a
13762      `jump_insn' that refers to the operand as an ordinary operand.
13763      The label may still eventually be a jump target, but if so in an
13764      indirect jump in a subsequent insn.  The presence of this note
13765      allows jump optimization to be aware that OP is, in fact, being
13766      used, and flow optimization to build an accurate flow graph.
13768 `REG_LABEL_TARGET'
13769      This insn is a `jump_insn' but not a `addr_vec' or
13770      `addr_diff_vec'.  It uses OP, a `code_label' as a direct or
13771      indirect jump target.  Its purpose is similar to that of
13772      `REG_LABEL_OPERAND'.  This note is only present if the insn has
13773      multiple targets; the last label in the insn (in the highest
13774      numbered insn-field) goes into the `JUMP_LABEL' field and does not
13775      have a `REG_LABEL_TARGET' note.  *Note JUMP_LABEL: Insns.
13777 `REG_CROSSING_JUMP'
13778      This insn is an branching instruction (either an unconditional
13779      jump or an indirect jump) which crosses between hot and cold
13780      sections, which could potentially be very far apart in the
13781      executable.  The presence of this note indicates to other
13782      optimizations that this this branching instruction should not be
13783      "collapsed" into a simpler branching construct.  It is used when
13784      the optimization to partition basic blocks into hot and cold
13785      sections is turned on.
13787 `REG_SETJMP'
13788      Appears attached to each `CALL_INSN' to `setjmp' or a related
13789      function.
13791  The following notes describe attributes of outputs of an insn:
13793 `REG_EQUIV'
13794 `REG_EQUAL'
13795      This note is only valid on an insn that sets only one register and
13796      indicates that that register will be equal to OP at run time; the
13797      scope of this equivalence differs between the two types of notes.
13798      The value which the insn explicitly copies into the register may
13799      look different from OP, but they will be equal at run time.  If the
13800      output of the single `set' is a `strict_low_part' expression, the
13801      note refers to the register that is contained in `SUBREG_REG' of
13802      the `subreg' expression.
13804      For `REG_EQUIV', the register is equivalent to OP throughout the
13805      entire function, and could validly be replaced in all its
13806      occurrences by OP.  ("Validly" here refers to the data flow of the
13807      program; simple replacement may make some insns invalid.)  For
13808      example, when a constant is loaded into a register that is never
13809      assigned any other value, this kind of note is used.
13811      When a parameter is copied into a pseudo-register at entry to a
13812      function, a note of this kind records that the register is
13813      equivalent to the stack slot where the parameter was passed.
13814      Although in this case the register may be set by other insns, it
13815      is still valid to replace the register by the stack slot
13816      throughout the function.
13818      A `REG_EQUIV' note is also used on an instruction which copies a
13819      register parameter into a pseudo-register at entry to a function,
13820      if there is a stack slot where that parameter could be stored.
13821      Although other insns may set the pseudo-register, it is valid for
13822      the compiler to replace the pseudo-register by stack slot
13823      throughout the function, provided the compiler ensures that the
13824      stack slot is properly initialized by making the replacement in
13825      the initial copy instruction as well.  This is used on machines
13826      for which the calling convention allocates stack space for
13827      register parameters.  See `REG_PARM_STACK_SPACE' in *Note Stack
13828      Arguments::.
13830      In the case of `REG_EQUAL', the register that is set by this insn
13831      will be equal to OP at run time at the end of this insn but not
13832      necessarily elsewhere in the function.  In this case, OP is
13833      typically an arithmetic expression.  For example, when a sequence
13834      of insns such as a library call is used to perform an arithmetic
13835      operation, this kind of note is attached to the insn that produces
13836      or copies the final value.
13838      These two notes are used in different ways by the compiler passes.
13839      `REG_EQUAL' is used by passes prior to register allocation (such as
13840      common subexpression elimination and loop optimization) to tell
13841      them how to think of that value.  `REG_EQUIV' notes are used by
13842      register allocation to indicate that there is an available
13843      substitute expression (either a constant or a `mem' expression for
13844      the location of a parameter on the stack) that may be used in
13845      place of a register if insufficient registers are available.
13847      Except for stack homes for parameters, which are indicated by a
13848      `REG_EQUIV' note and are not useful to the early optimization
13849      passes and pseudo registers that are equivalent to a memory
13850      location throughout their entire life, which is not detected until
13851      later in the compilation, all equivalences are initially indicated
13852      by an attached `REG_EQUAL' note.  In the early stages of register
13853      allocation, a `REG_EQUAL' note is changed into a `REG_EQUIV' note
13854      if OP is a constant and the insn represents the only set of its
13855      destination register.
13857      Thus, compiler passes prior to register allocation need only check
13858      for `REG_EQUAL' notes and passes subsequent to register allocation
13859      need only check for `REG_EQUIV' notes.
13861  These notes describe linkages between insns.  They occur in pairs: one
13862 insn has one of a pair of notes that points to a second insn, which has
13863 the inverse note pointing back to the first insn.
13865 `REG_RETVAL'
13866      This insn copies the value of a multi-insn sequence (for example, a
13867      library call), and OP is the first insn of the sequence (for a
13868      library call, the first insn that was generated to set up the
13869      arguments for the library call).
13871      Loop optimization uses this note to treat such a sequence as a
13872      single operation for code motion purposes and flow analysis uses
13873      this note to delete such sequences whose results are dead.
13875      A `REG_EQUAL' note will also usually be attached to this insn to
13876      provide the expression being computed by the sequence.
13878      These notes will be deleted after reload, since they are no longer
13879      accurate or useful.
13881 `REG_LIBCALL'
13882      This is the inverse of `REG_RETVAL': it is placed on the first
13883      insn of a multi-insn sequence, and it points to the last one.
13885      These notes are deleted after reload, since they are no longer
13886      useful or accurate.
13888 `REG_CC_SETTER'
13889 `REG_CC_USER'
13890      On machines that use `cc0', the insns which set and use `cc0' set
13891      and use `cc0' are adjacent.  However, when branch delay slot
13892      filling is done, this may no longer be true.  In this case a
13893      `REG_CC_USER' note will be placed on the insn setting `cc0' to
13894      point to the insn using `cc0' and a `REG_CC_SETTER' note will be
13895      placed on the insn using `cc0' to point to the insn setting `cc0'.
13897  These values are only used in the `LOG_LINKS' field, and indicate the
13898 type of dependency that each link represents.  Links which indicate a
13899 data dependence (a read after write dependence) do not use any code,
13900 they simply have mode `VOIDmode', and are printed without any
13901 descriptive text.
13903 `REG_DEP_TRUE'
13904      This indicates a true dependence (a read after write dependence).
13906 `REG_DEP_OUTPUT'
13907      This indicates an output dependence (a write after write
13908      dependence).
13910 `REG_DEP_ANTI'
13911      This indicates an anti dependence (a write after read dependence).
13914  These notes describe information gathered from gcov profile data.  They
13915 are stored in the `REG_NOTES' field of an insn as an `expr_list'.
13917 `REG_BR_PROB'
13918      This is used to specify the ratio of branches to non-branches of a
13919      branch insn according to the profile data.  The value is stored as
13920      a value between 0 and REG_BR_PROB_BASE; larger values indicate a
13921      higher probability that the branch will be taken.
13923 `REG_BR_PRED'
13924      These notes are found in JUMP insns after delayed branch scheduling
13925      has taken place.  They indicate both the direction and the
13926      likelihood of the JUMP.  The format is a bitmask of ATTR_FLAG_*
13927      values.
13929 `REG_FRAME_RELATED_EXPR'
13930      This is used on an RTX_FRAME_RELATED_P insn wherein the attached
13931      expression is used in place of the actual insn pattern.  This is
13932      done in cases where the pattern is either complex or misleading.
13934 `REG_LIBCALL_ID'
13935      This is used to specify that an insn is part of a libcall.  Each
13936      libcall in a function has a unique id, and all the insns that are
13937      part of that libcall will have a REG_LIBCALL_ID note attached with
13938      the same ID.
13940  For convenience, the machine mode in an `insn_list' or `expr_list' is
13941 printed using these symbolic codes in debugging dumps.
13943  The only difference between the expression codes `insn_list' and
13944 `expr_list' is that the first operand of an `insn_list' is assumed to
13945 be an insn and is printed in debugging dumps as the insn's unique id;
13946 the first operand of an `expr_list' is printed in the ordinary way as
13947 an expression.
13949 \x1f
13950 File: gccint.info,  Node: Calls,  Next: Sharing,  Prev: Insns,  Up: RTL
13952 12.19 RTL Representation of Function-Call Insns
13953 ===============================================
13955 Insns that call subroutines have the RTL expression code `call_insn'.
13956 These insns must satisfy special rules, and their bodies must use a
13957 special RTL expression code, `call'.
13959  A `call' expression has two operands, as follows:
13961      (call (mem:FM ADDR) NBYTES)
13963 Here NBYTES is an operand that represents the number of bytes of
13964 argument data being passed to the subroutine, FM is a machine mode
13965 (which must equal as the definition of the `FUNCTION_MODE' macro in the
13966 machine description) and ADDR represents the address of the subroutine.
13968  For a subroutine that returns no value, the `call' expression as shown
13969 above is the entire body of the insn, except that the insn might also
13970 contain `use' or `clobber' expressions.
13972  For a subroutine that returns a value whose mode is not `BLKmode', the
13973 value is returned in a hard register.  If this register's number is R,
13974 then the body of the call insn looks like this:
13976      (set (reg:M R)
13977           (call (mem:FM ADDR) NBYTES))
13979 This RTL expression makes it clear (to the optimizer passes) that the
13980 appropriate register receives a useful value in this insn.
13982  When a subroutine returns a `BLKmode' value, it is handled by passing
13983 to the subroutine the address of a place to store the value.  So the
13984 call insn itself does not "return" any value, and it has the same RTL
13985 form as a call that returns nothing.
13987  On some machines, the call instruction itself clobbers some register,
13988 for example to contain the return address.  `call_insn' insns on these
13989 machines should have a body which is a `parallel' that contains both
13990 the `call' expression and `clobber' expressions that indicate which
13991 registers are destroyed.  Similarly, if the call instruction requires
13992 some register other than the stack pointer that is not explicitly
13993 mentioned in its RTL, a `use' subexpression should mention that
13994 register.
13996  Functions that are called are assumed to modify all registers listed in
13997 the configuration macro `CALL_USED_REGISTERS' (*note Register Basics::)
13998 and, with the exception of `const' functions and library calls, to
13999 modify all of memory.
14001  Insns containing just `use' expressions directly precede the
14002 `call_insn' insn to indicate which registers contain inputs to the
14003 function.  Similarly, if registers other than those in
14004 `CALL_USED_REGISTERS' are clobbered by the called function, insns
14005 containing a single `clobber' follow immediately after the call to
14006 indicate which registers.
14008 \x1f
14009 File: gccint.info,  Node: Sharing,  Next: Reading RTL,  Prev: Calls,  Up: RTL
14011 12.20 Structure Sharing Assumptions
14012 ===================================
14014 The compiler assumes that certain kinds of RTL expressions are unique;
14015 there do not exist two distinct objects representing the same value.
14016 In other cases, it makes an opposite assumption: that no RTL expression
14017 object of a certain kind appears in more than one place in the
14018 containing structure.
14020  These assumptions refer to a single function; except for the RTL
14021 objects that describe global variables and external functions, and a
14022 few standard objects such as small integer constants, no RTL objects
14023 are common to two functions.
14025    * Each pseudo-register has only a single `reg' object to represent
14026      it, and therefore only a single machine mode.
14028    * For any symbolic label, there is only one `symbol_ref' object
14029      referring to it.
14031    * All `const_int' expressions with equal values are shared.
14033    * There is only one `pc' expression.
14035    * There is only one `cc0' expression.
14037    * There is only one `const_double' expression with value 0 for each
14038      floating point mode.  Likewise for values 1 and 2.
14040    * There is only one `const_vector' expression with value 0 for each
14041      vector mode, be it an integer or a double constant vector.
14043    * No `label_ref' or `scratch' appears in more than one place in the
14044      RTL structure; in other words, it is safe to do a tree-walk of all
14045      the insns in the function and assume that each time a `label_ref'
14046      or `scratch' is seen it is distinct from all others that are seen.
14048    * Only one `mem' object is normally created for each static variable
14049      or stack slot, so these objects are frequently shared in all the
14050      places they appear.  However, separate but equal objects for these
14051      variables are occasionally made.
14053    * When a single `asm' statement has multiple output operands, a
14054      distinct `asm_operands' expression is made for each output operand.
14055      However, these all share the vector which contains the sequence of
14056      input operands.  This sharing is used later on to test whether two
14057      `asm_operands' expressions come from the same statement, so all
14058      optimizations must carefully preserve the sharing if they copy the
14059      vector at all.
14061    * No RTL object appears in more than one place in the RTL structure
14062      except as described above.  Many passes of the compiler rely on
14063      this by assuming that they can modify RTL objects in place without
14064      unwanted side-effects on other insns.
14066    * During initial RTL generation, shared structure is freely
14067      introduced.  After all the RTL for a function has been generated,
14068      all shared structure is copied by `unshare_all_rtl' in
14069      `emit-rtl.c', after which the above rules are guaranteed to be
14070      followed.
14072    * During the combiner pass, shared structure within an insn can exist
14073      temporarily.  However, the shared structure is copied before the
14074      combiner is finished with the insn.  This is done by calling
14075      `copy_rtx_if_shared', which is a subroutine of `unshare_all_rtl'.
14077 \x1f
14078 File: gccint.info,  Node: Reading RTL,  Prev: Sharing,  Up: RTL
14080 12.21 Reading RTL
14081 =================
14083 To read an RTL object from a file, call `read_rtx'.  It takes one
14084 argument, a stdio stream, and returns a single RTL object.  This routine
14085 is defined in `read-rtl.c'.  It is not available in the compiler
14086 itself, only the various programs that generate the compiler back end
14087 from the machine description.
14089  People frequently have the idea of using RTL stored as text in a file
14090 as an interface between a language front end and the bulk of GCC.  This
14091 idea is not feasible.
14093  GCC was designed to use RTL internally only.  Correct RTL for a given
14094 program is very dependent on the particular target machine.  And the RTL
14095 does not contain all the information about the program.
14097  The proper way to interface GCC to a new language front end is with
14098 the "tree" data structure, described in the files `tree.h' and
14099 `tree.def'.  The documentation for this structure (*note Trees::) is
14100 incomplete.
14102 \x1f
14103 File: gccint.info,  Node: Control Flow,  Next: Tree SSA,  Prev: RTL,  Up: Top
14105 13 Control Flow Graph
14106 *********************
14108 A control flow graph (CFG) is a data structure built on top of the
14109 intermediate code representation (the RTL or `tree' instruction stream)
14110 abstracting the control flow behavior of a function that is being
14111 compiled.  The CFG is a directed graph where the vertices represent
14112 basic blocks and edges represent possible transfer of control flow from
14113 one basic block to another.  The data structures used to represent the
14114 control flow graph are defined in `basic-block.h'.
14116 * Menu:
14118 * Basic Blocks::           The definition and representation of basic blocks.
14119 * Edges::                  Types of edges and their representation.
14120 * Profile information::    Representation of frequencies and probabilities.
14121 * Maintaining the CFG::    Keeping the control flow graph and up to date.
14122 * Liveness information::   Using and maintaining liveness information.
14124 \x1f
14125 File: gccint.info,  Node: Basic Blocks,  Next: Edges,  Up: Control Flow
14127 13.1 Basic Blocks
14128 =================
14130 A basic block is a straight-line sequence of code with only one entry
14131 point and only one exit.  In GCC, basic blocks are represented using
14132 the `basic_block' data type.
14134  Two pointer members of the `basic_block' structure are the pointers
14135 `next_bb' and `prev_bb'.  These are used to keep doubly linked chain of
14136 basic blocks in the same order as the underlying instruction stream.
14137 The chain of basic blocks is updated transparently by the provided API
14138 for manipulating the CFG.  The macro `FOR_EACH_BB' can be used to visit
14139 all the basic blocks in lexicographical order.  Dominator traversals
14140 are also possible using `walk_dominator_tree'.  Given two basic blocks
14141 A and B, block A dominates block B if A is _always_ executed before B.
14143  The `BASIC_BLOCK' array contains all basic blocks in an unspecified
14144 order.  Each `basic_block' structure has a field that holds a unique
14145 integer identifier `index' that is the index of the block in the
14146 `BASIC_BLOCK' array.  The total number of basic blocks in the function
14147 is `n_basic_blocks'.  Both the basic block indices and the total number
14148 of basic blocks may vary during the compilation process, as passes
14149 reorder, create, duplicate, and destroy basic blocks.  The index for
14150 any block should never be greater than `last_basic_block'.
14152  Special basic blocks represent possible entry and exit points of a
14153 function.  These blocks are called `ENTRY_BLOCK_PTR' and
14154 `EXIT_BLOCK_PTR'.  These blocks do not contain any code, and are not
14155 elements of the `BASIC_BLOCK' array.  Therefore they have been assigned
14156 unique, negative index numbers.
14158  Each `basic_block' also contains pointers to the first instruction
14159 (the "head") and the last instruction (the "tail") or "end" of the
14160 instruction stream contained in a basic block.  In fact, since the
14161 `basic_block' data type is used to represent blocks in both major
14162 intermediate representations of GCC (`tree' and RTL), there are
14163 pointers to the head and end of a basic block for both representations.
14165  For RTL, these pointers are `rtx head, end'.  In the RTL function
14166 representation, the head pointer always points either to a
14167 `NOTE_INSN_BASIC_BLOCK' or to a `CODE_LABEL', if present.  In the RTL
14168 representation of a function, the instruction stream contains not only
14169 the "real" instructions, but also "notes".  Any function that moves or
14170 duplicates the basic blocks needs to take care of updating of these
14171 notes.  Many of these notes expect that the instruction stream consists
14172 of linear regions, making such updates difficult.   The
14173 `NOTE_INSN_BASIC_BLOCK' note is the only kind of note that may appear
14174 in the instruction stream contained in a basic block.  The instruction
14175 stream of a basic block always follows a `NOTE_INSN_BASIC_BLOCK',  but
14176 zero or more `CODE_LABEL' nodes can precede the block note.   A basic
14177 block ends by control flow instruction or last instruction before
14178 following `CODE_LABEL' or `NOTE_INSN_BASIC_BLOCK'.  A `CODE_LABEL'
14179 cannot appear in the instruction stream of a basic block.
14181  In addition to notes, the jump table vectors are also represented as
14182 "pseudo-instructions" inside the insn stream.  These vectors never
14183 appear in the basic block and should always be placed just after the
14184 table jump instructions referencing them.  After removing the
14185 table-jump it is often difficult to eliminate the code computing the
14186 address and referencing the vector, so cleaning up these vectors is
14187 postponed until after liveness analysis.   Thus the jump table vectors
14188 may appear in the insn stream unreferenced and without any purpose.
14189 Before any edge is made "fall-thru", the existence of such construct in
14190 the way needs to be checked by calling `can_fallthru' function.
14192  For the `tree' representation, the head and end of the basic block are
14193 being pointed to by the `stmt_list' field, but this special `tree'
14194 should never be referenced directly.  Instead, at the tree level
14195 abstract containers and iterators are used to access statements and
14196 expressions in basic blocks.  These iterators are called "block
14197 statement iterators" (BSIs).  Grep for `^bsi' in the various `tree-*'
14198 files.  The following snippet will pretty-print all the statements of
14199 the program in the GIMPLE representation.
14201      FOR_EACH_BB (bb)
14202        {
14203           block_stmt_iterator si;
14205           for (si = bsi_start (bb); !bsi_end_p (si); bsi_next (&si))
14206             {
14207                tree stmt = bsi_stmt (si);
14208                print_generic_stmt (stderr, stmt, 0);
14209             }
14210        }
14212 \x1f
14213 File: gccint.info,  Node: Edges,  Next: Profile information,  Prev: Basic Blocks,  Up: Control Flow
14215 13.2 Edges
14216 ==========
14218 Edges represent possible control flow transfers from the end of some
14219 basic block A to the head of another basic block B.  We say that A is a
14220 predecessor of B, and B is a successor of A.  Edges are represented in
14221 GCC with the `edge' data type.  Each `edge' acts as a link between two
14222 basic blocks: the `src' member of an edge points to the predecessor
14223 basic block of the `dest' basic block.  The members `preds' and `succs'
14224 of the `basic_block' data type point to type-safe vectors of edges to
14225 the predecessors and successors of the block.
14227  When walking the edges in an edge vector, "edge iterators" should be
14228 used.  Edge iterators are constructed using the `edge_iterator' data
14229 structure and several methods are available to operate on them:
14231 `ei_start'
14232      This function initializes an `edge_iterator' that points to the
14233      first edge in a vector of edges.
14235 `ei_last'
14236      This function initializes an `edge_iterator' that points to the
14237      last edge in a vector of edges.
14239 `ei_end_p'
14240      This predicate is `true' if an `edge_iterator' represents the last
14241      edge in an edge vector.
14243 `ei_one_before_end_p'
14244      This predicate is `true' if an `edge_iterator' represents the
14245      second last edge in an edge vector.
14247 `ei_next'
14248      This function takes a pointer to an `edge_iterator' and makes it
14249      point to the next edge in the sequence.
14251 `ei_prev'
14252      This function takes a pointer to an `edge_iterator' and makes it
14253      point to the previous edge in the sequence.
14255 `ei_edge'
14256      This function returns the `edge' currently pointed to by an
14257      `edge_iterator'.
14259 `ei_safe_safe'
14260      This function returns the `edge' currently pointed to by an
14261      `edge_iterator', but returns `NULL' if the iterator is pointing at
14262      the end of the sequence.  This function has been provided for
14263      existing code makes the assumption that a `NULL' edge indicates
14264      the end of the sequence.
14267  The convenience macro `FOR_EACH_EDGE' can be used to visit all of the
14268 edges in a sequence of predecessor or successor edges.  It must not be
14269 used when an element might be removed during the traversal, otherwise
14270 elements will be missed.  Here is an example of how to use the macro:
14272      edge e;
14273      edge_iterator ei;
14275      FOR_EACH_EDGE (e, ei, bb->succs)
14276        {
14277           if (e->flags & EDGE_FALLTHRU)
14278             break;
14279        }
14281  There are various reasons why control flow may transfer from one block
14282 to another.  One possibility is that some instruction, for example a
14283 `CODE_LABEL', in a linearized instruction stream just always starts a
14284 new basic block.  In this case a "fall-thru" edge links the basic block
14285 to the first following basic block.  But there are several other
14286 reasons why edges may be created.  The `flags' field of the `edge' data
14287 type is used to store information about the type of edge we are dealing
14288 with.  Each edge is of one of the following types:
14290 _jump_
14291      No type flags are set for edges corresponding to jump instructions.
14292      These edges are used for unconditional or conditional jumps and in
14293      RTL also for table jumps.  They are the easiest to manipulate as
14294      they may be freely redirected when the flow graph is not in SSA
14295      form.
14297 _fall-thru_
14298      Fall-thru edges are present in case where the basic block may
14299      continue execution to the following one without branching.  These
14300      edges have the `EDGE_FALLTHRU' flag set.  Unlike other types of
14301      edges, these edges must come into the basic block immediately
14302      following in the instruction stream.  The function
14303      `force_nonfallthru' is available to insert an unconditional jump
14304      in the case that redirection is needed.  Note that this may
14305      require creation of a new basic block.
14307 _exception handling_
14308      Exception handling edges represent possible control transfers from
14309      a trapping instruction to an exception handler.  The definition of
14310      "trapping" varies.  In C++, only function calls can throw, but for
14311      Java, exceptions like division by zero or segmentation fault are
14312      defined and thus each instruction possibly throwing this kind of
14313      exception needs to be handled as control flow instruction.
14314      Exception edges have the `EDGE_ABNORMAL' and `EDGE_EH' flags set.
14316      When updating the instruction stream it is easy to change possibly
14317      trapping instruction to non-trapping, by simply removing the
14318      exception edge.  The opposite conversion is difficult, but should
14319      not happen anyway.  The edges can be eliminated via
14320      `purge_dead_edges' call.
14322      In the RTL representation, the destination of an exception edge is
14323      specified by `REG_EH_REGION' note attached to the insn.  In case
14324      of a trapping call the `EDGE_ABNORMAL_CALL' flag is set too.  In
14325      the `tree' representation, this extra flag is not set.
14327      In the RTL representation, the predicate `may_trap_p' may be used
14328      to check whether instruction still may trap or not.  For the tree
14329      representation, the `tree_could_trap_p' predicate is available,
14330      but this predicate only checks for possible memory traps, as in
14331      dereferencing an invalid pointer location.
14333 _sibling calls_
14334      Sibling calls or tail calls terminate the function in a
14335      non-standard way and thus an edge to the exit must be present.
14336      `EDGE_SIBCALL' and `EDGE_ABNORMAL' are set in such case.  These
14337      edges only exist in the RTL representation.
14339 _computed jumps_
14340      Computed jumps contain edges to all labels in the function
14341      referenced from the code.  All those edges have `EDGE_ABNORMAL'
14342      flag set.  The edges used to represent computed jumps often cause
14343      compile time performance problems, since functions consisting of
14344      many taken labels and many computed jumps may have _very_ dense
14345      flow graphs, so these edges need to be handled with special care.
14346      During the earlier stages of the compilation process, GCC tries to
14347      avoid such dense flow graphs by factoring computed jumps.  For
14348      example, given the following series of jumps,
14350             goto *x;
14351             [ ... ]
14353             goto *x;
14354             [ ... ]
14356             goto *x;
14357             [ ... ]
14359      factoring the computed jumps results in the following code sequence
14360      which has a much simpler flow graph:
14362             goto y;
14363             [ ... ]
14365             goto y;
14366             [ ... ]
14368             goto y;
14369             [ ... ]
14371           y:
14372             goto *x;
14374      However, the classic problem with this transformation is that it
14375      has a runtime cost in there resulting code: An extra jump.
14376      Therefore, the computed jumps are un-factored in the later passes
14377      of the compiler.  Be aware of that when you work on passes in that
14378      area.  There have been numerous examples already where the compile
14379      time for code with unfactored computed jumps caused some serious
14380      headaches.
14382 _nonlocal goto handlers_
14383      GCC allows nested functions to return into caller using a `goto'
14384      to a label passed to as an argument to the callee.  The labels
14385      passed to nested functions contain special code to cleanup after
14386      function call.  Such sections of code are referred to as "nonlocal
14387      goto receivers".  If a function contains such nonlocal goto
14388      receivers, an edge from the call to the label is created with the
14389      `EDGE_ABNORMAL' and `EDGE_ABNORMAL_CALL' flags set.
14391 _function entry points_
14392      By definition, execution of function starts at basic block 0, so
14393      there is always an edge from the `ENTRY_BLOCK_PTR' to basic block
14394      0.  There is no `tree' representation for alternate entry points at
14395      this moment.  In RTL, alternate entry points are specified by
14396      `CODE_LABEL' with `LABEL_ALTERNATE_NAME' defined.  This feature is
14397      currently used for multiple entry point prologues and is limited
14398      to post-reload passes only.  This can be used by back-ends to emit
14399      alternate prologues for functions called from different contexts.
14400      In future full support for multiple entry functions defined by
14401      Fortran 90 needs to be implemented.
14403 _function exits_
14404      In the pre-reload representation a function terminates after the
14405      last instruction in the insn chain and no explicit return
14406      instructions are used.  This corresponds to the fall-thru edge
14407      into exit block.  After reload, optimal RTL epilogues are used
14408      that use explicit (conditional) return instructions that are
14409      represented by edges with no flags set.
14412 \x1f
14413 File: gccint.info,  Node: Profile information,  Next: Maintaining the CFG,  Prev: Edges,  Up: Control Flow
14415 13.3 Profile information
14416 ========================
14418 In many cases a compiler must make a choice whether to trade speed in
14419 one part of code for speed in another, or to trade code size for code
14420 speed.  In such cases it is useful to know information about how often
14421 some given block will be executed.  That is the purpose for maintaining
14422 profile within the flow graph.  GCC can handle profile information
14423 obtained through "profile feedback", but it can also  estimate branch
14424 probabilities based on statics and heuristics.
14426  The feedback based profile is produced by compiling the program with
14427 instrumentation, executing it on a train run and reading the numbers of
14428 executions of basic blocks and edges back to the compiler while
14429 re-compiling the program to produce the final executable.  This method
14430 provides very accurate information about where a program spends most of
14431 its time on the train run.  Whether it matches the average run of
14432 course depends on the choice of train data set, but several studies
14433 have shown that the behavior of a program usually changes just
14434 marginally over different data sets.
14436  When profile feedback is not available, the compiler may be asked to
14437 attempt to predict the behavior of each branch in the program using a
14438 set of heuristics (see `predict.def' for details) and compute estimated
14439 frequencies of each basic block by propagating the probabilities over
14440 the graph.
14442  Each `basic_block' contains two integer fields to represent profile
14443 information: `frequency' and `count'.  The `frequency' is an estimation
14444 how often is basic block executed within a function.  It is represented
14445 as an integer scaled in the range from 0 to `BB_FREQ_BASE'.  The most
14446 frequently executed basic block in function is initially set to
14447 `BB_FREQ_BASE' and the rest of frequencies are scaled accordingly.
14448 During optimization, the frequency of the most frequent basic block can
14449 both decrease (for instance by loop unrolling) or grow (for instance by
14450 cross-jumping optimization), so scaling sometimes has to be performed
14451 multiple times.
14453  The `count' contains hard-counted numbers of execution measured during
14454 training runs and is nonzero only when profile feedback is available.
14455 This value is represented as the host's widest integer (typically a 64
14456 bit integer) of the special type `gcov_type'.
14458  Most optimization passes can use only the frequency information of a
14459 basic block, but a few passes may want to know hard execution counts.
14460 The frequencies should always match the counts after scaling, however
14461 during updating of the profile information numerical error may
14462 accumulate into quite large errors.
14464  Each edge also contains a branch probability field: an integer in the
14465 range from 0 to `REG_BR_PROB_BASE'.  It represents probability of
14466 passing control from the end of the `src' basic block to the `dest'
14467 basic block, i.e. the probability that control will flow along this
14468 edge.   The `EDGE_FREQUENCY' macro is available to compute how
14469 frequently a given edge is taken.  There is a `count' field for each
14470 edge as well, representing same information as for a basic block.
14472  The basic block frequencies are not represented in the instruction
14473 stream, but in the RTL representation the edge frequencies are
14474 represented for conditional jumps (via the `REG_BR_PROB' macro) since
14475 they are used when instructions are output to the assembly file and the
14476 flow graph is no longer maintained.
14478  The probability that control flow arrives via a given edge to its
14479 destination basic block is called "reverse probability" and is not
14480 directly represented, but it may be easily computed from frequencies of
14481 basic blocks.
14483  Updating profile information is a delicate task that can unfortunately
14484 not be easily integrated with the CFG manipulation API.  Many of the
14485 functions and hooks to modify the CFG, such as
14486 `redirect_edge_and_branch', do not have enough information to easily
14487 update the profile, so updating it is in the majority of cases left up
14488 to the caller.  It is difficult to uncover bugs in the profile updating
14489 code, because they manifest themselves only by producing worse code,
14490 and checking profile consistency is not possible because of numeric
14491 error accumulation.  Hence special attention needs to be given to this
14492 issue in each pass that modifies the CFG.
14494  It is important to point out that `REG_BR_PROB_BASE' and
14495 `BB_FREQ_BASE' are both set low enough to be possible to compute second
14496 power of any frequency or probability in the flow graph, it is not
14497 possible to even square the `count' field, as modern CPUs are fast
14498 enough to execute $2^32$ operations quickly.
14500 \x1f
14501 File: gccint.info,  Node: Maintaining the CFG,  Next: Liveness information,  Prev: Profile information,  Up: Control Flow
14503 13.4 Maintaining the CFG
14504 ========================
14506 An important task of each compiler pass is to keep both the control
14507 flow graph and all profile information up-to-date.  Reconstruction of
14508 the control flow graph after each pass is not an option, since it may be
14509 very expensive and lost profile information cannot be reconstructed at
14510 all.
14512  GCC has two major intermediate representations, and both use the
14513 `basic_block' and `edge' data types to represent control flow.  Both
14514 representations share as much of the CFG maintenance code as possible.
14515 For each representation, a set of "hooks" is defined so that each
14516 representation can provide its own implementation of CFG manipulation
14517 routines when necessary.  These hooks are defined in `cfghooks.h'.
14518 There are hooks for almost all common CFG manipulations, including
14519 block splitting and merging, edge redirection and creating and deleting
14520 basic blocks.  These hooks should provide everything you need to
14521 maintain and manipulate the CFG in both the RTL and `tree'
14522 representation.
14524  At the moment, the basic block boundaries are maintained transparently
14525 when modifying instructions, so there rarely is a need to move them
14526 manually (such as in case someone wants to output instruction outside
14527 basic block explicitly).  Often the CFG may be better viewed as
14528 integral part of instruction chain, than structure built on the top of
14529 it.  However, in principle the control flow graph for the `tree'
14530 representation is _not_ an integral part of the representation, in that
14531 a function tree may be expanded without first building a  flow graph
14532 for the `tree' representation at all.  This happens when compiling
14533 without any `tree' optimization enabled.  When the `tree' optimizations
14534 are enabled and the instruction stream is rewritten in SSA form, the
14535 CFG is very tightly coupled with the instruction stream.  In
14536 particular, statement insertion and removal has to be done with care.
14537 In fact, the whole `tree' representation can not be easily used or
14538 maintained without proper maintenance of the CFG simultaneously.
14540  In the RTL representation, each instruction has a `BLOCK_FOR_INSN'
14541 value that represents pointer to the basic block that contains the
14542 instruction.  In the `tree' representation, the function `bb_for_stmt'
14543 returns a pointer to the basic block containing the queried statement.
14545  When changes need to be applied to a function in its `tree'
14546 representation, "block statement iterators" should be used.  These
14547 iterators provide an integrated abstraction of the flow graph and the
14548 instruction stream.  Block statement iterators iterators are
14549 constructed using the `block_stmt_iterator' data structure and several
14550 modifier are available, including the following:
14552 `bsi_start'
14553      This function initializes a `block_stmt_iterator' that points to
14554      the first non-empty statement in a basic block.
14556 `bsi_last'
14557      This function initializes a `block_stmt_iterator' that points to
14558      the last statement in a basic block.
14560 `bsi_end_p'
14561      This predicate is `true' if a `block_stmt_iterator' represents the
14562      end of a basic block.
14564 `bsi_next'
14565      This function takes a `block_stmt_iterator' and makes it point to
14566      its successor.
14568 `bsi_prev'
14569      This function takes a `block_stmt_iterator' and makes it point to
14570      its predecessor.
14572 `bsi_insert_after'
14573      This function inserts a statement after the `block_stmt_iterator'
14574      passed in.  The final parameter determines whether the statement
14575      iterator is updated to point to the newly inserted statement, or
14576      left pointing to the original statement.
14578 `bsi_insert_before'
14579      This function inserts a statement before the `block_stmt_iterator'
14580      passed in.  The final parameter determines whether the statement
14581      iterator is updated to point to the newly inserted statement, or
14582      left pointing to the original  statement.
14584 `bsi_remove'
14585      This function removes the `block_stmt_iterator' passed in and
14586      rechains the remaining statements in a basic block, if any.
14588  In the RTL representation, the macros `BB_HEAD' and `BB_END' may be
14589 used to get the head and end `rtx' of a basic block.  No abstract
14590 iterators are defined for traversing the insn chain, but you can just
14591 use `NEXT_INSN' and `PREV_INSN' instead.  See *Note Insns::.
14593  Usually a code manipulating pass simplifies the instruction stream and
14594 the flow of control, possibly eliminating some edges.  This may for
14595 example happen when a conditional jump is replaced with an
14596 unconditional jump, but also when simplifying possibly trapping
14597 instruction to non-trapping while compiling Java.  Updating of edges is
14598 not transparent and each optimization pass is required to do so
14599 manually.  However only few cases occur in practice.  The pass may call
14600 `purge_dead_edges' on a given basic block to remove superfluous edges,
14601 if any.
14603  Another common scenario is redirection of branch instructions, but
14604 this is best modeled as redirection of edges in the control flow graph
14605 and thus use of `redirect_edge_and_branch' is preferred over more low
14606 level functions, such as `redirect_jump' that operate on RTL chain
14607 only.  The CFG hooks defined in `cfghooks.h' should provide the
14608 complete API required for manipulating and maintaining the CFG.
14610  It is also possible that a pass has to insert control flow instruction
14611 into the middle of a basic block, thus creating an entry point in the
14612 middle of the basic block, which is impossible by definition: The block
14613 must be split to make sure it only has one entry point, i.e. the head
14614 of the basic block.  The CFG hook `split_block' may be used when an
14615 instruction in the middle of a basic block has to become the target of
14616 a jump or branch instruction.
14618  For a global optimizer, a common operation is to split edges in the
14619 flow graph and insert instructions on them.  In the RTL representation,
14620 this can be easily done using the `insert_insn_on_edge' function that
14621 emits an instruction "on the edge", caching it for a later
14622 `commit_edge_insertions' call that will take care of moving the
14623 inserted instructions off the edge into the instruction stream
14624 contained in a basic block.  This includes the creation of new basic
14625 blocks where needed.  In the `tree' representation, the equivalent
14626 functions are `bsi_insert_on_edge' which inserts a block statement
14627 iterator on an edge, and `bsi_commit_edge_inserts' which flushes the
14628 instruction to actual instruction stream.
14630  While debugging the optimization pass, an `verify_flow_info' function
14631 may be useful to find bugs in the control flow graph updating code.
14633  Note that at present, the representation of control flow in the `tree'
14634 representation is discarded before expanding to RTL.  Long term the CFG
14635 should be maintained and "expanded" to the RTL representation along
14636 with the function `tree' itself.
14638 \x1f
14639 File: gccint.info,  Node: Liveness information,  Prev: Maintaining the CFG,  Up: Control Flow
14641 13.5 Liveness information
14642 =========================
14644 Liveness information is useful to determine whether some register is
14645 "live" at given point of program, i.e. that it contains a value that
14646 may be used at a later point in the program.  This information is used,
14647 for instance, during register allocation, as the pseudo registers only
14648 need to be assigned to a unique hard register or to a stack slot if
14649 they are live.  The hard registers and stack slots may be freely reused
14650 for other values when a register is dead.
14652  Liveness information is available in the back end starting with
14653 `pass_df_initialize' and ending with `pass_df_finish'.  Three flavors
14654 of live analysis are available: With `LR', it is possible to determine
14655 at any point `P' in the function if the register may be used on some
14656 path from `P' to the end of the function.  With `UR', it is possible to
14657 determine if there is a path from the beginning of the function to `P'
14658 that defines the variable.  `LIVE' is the intersection of the `LR' and
14659 `UR' and a variable is live at `P' if there is both an assignment that
14660 reaches it from the beginning of the function and a uses that can be
14661 reached on some path from `P' to the end of the function.
14663  In general `LIVE' is the most useful of the three.  The macros
14664 `DF_[LR,UR,LIVE]_[IN,OUT]' can be used to access this information.  The
14665 macros take a basic block number and return a bitmap that is indexed by
14666 the register number.  This information is only guaranteed to be up to
14667 date after calls are made to `df_analyze'.  See the file `df-core.c'
14668 for details on using the dataflow.
14670  The liveness information is stored partly in the RTL instruction stream
14671 and partly in the flow graph.  Local information is stored in the
14672 instruction stream: Each instruction may contain `REG_DEAD' notes
14673 representing that the value of a given register is no longer needed, or
14674 `REG_UNUSED' notes representing that the value computed by the
14675 instruction is never used.  The second is useful for instructions
14676 computing multiple values at once.
14678 \x1f
14679 File: gccint.info,  Node: Machine Desc,  Next: Target Macros,  Prev: Loop Analysis and Representation,  Up: Top
14681 14 Machine Descriptions
14682 ***********************
14684 A machine description has two parts: a file of instruction patterns
14685 (`.md' file) and a C header file of macro definitions.
14687  The `.md' file for a target machine contains a pattern for each
14688 instruction that the target machine supports (or at least each
14689 instruction that is worth telling the compiler about).  It may also
14690 contain comments.  A semicolon causes the rest of the line to be a
14691 comment, unless the semicolon is inside a quoted string.
14693  See the next chapter for information on the C header file.
14695 * Menu:
14697 * Overview::            How the machine description is used.
14698 * Patterns::            How to write instruction patterns.
14699 * Example::             An explained example of a `define_insn' pattern.
14700 * RTL Template::        The RTL template defines what insns match a pattern.
14701 * Output Template::     The output template says how to make assembler code
14702                           from such an insn.
14703 * Output Statement::    For more generality, write C code to output
14704                           the assembler code.
14705 * Predicates::          Controlling what kinds of operands can be used
14706                           for an insn.
14707 * Constraints::         Fine-tuning operand selection.
14708 * Standard Names::      Names mark patterns to use for code generation.
14709 * Pattern Ordering::    When the order of patterns makes a difference.
14710 * Dependent Patterns::  Having one pattern may make you need another.
14711 * Jump Patterns::       Special considerations for patterns for jump insns.
14712 * Looping Patterns::    How to define patterns for special looping insns.
14713 * Insn Canonicalizations::Canonicalization of Instructions
14714 * Expander Definitions::Generating a sequence of several RTL insns
14715                           for a standard operation.
14716 * Insn Splitting::      Splitting Instructions into Multiple Instructions.
14717 * Including Patterns::      Including Patterns in Machine Descriptions.
14718 * Peephole Definitions::Defining machine-specific peephole optimizations.
14719 * Insn Attributes::     Specifying the value of attributes for generated insns.
14720 * Conditional Execution::Generating `define_insn' patterns for
14721                            predication.
14722 * Constant Definitions::Defining symbolic constants that can be used in the
14723                         md file.
14724 * Iterators::           Using iterators to generate patterns from a template.
14726 \x1f
14727 File: gccint.info,  Node: Overview,  Next: Patterns,  Up: Machine Desc
14729 14.1 Overview of How the Machine Description is Used
14730 ====================================================
14732 There are three main conversions that happen in the compiler:
14734   1. The front end reads the source code and builds a parse tree.
14736   2. The parse tree is used to generate an RTL insn list based on named
14737      instruction patterns.
14739   3. The insn list is matched against the RTL templates to produce
14740      assembler code.
14743  For the generate pass, only the names of the insns matter, from either
14744 a named `define_insn' or a `define_expand'.  The compiler will choose
14745 the pattern with the right name and apply the operands according to the
14746 documentation later in this chapter, without regard for the RTL
14747 template or operand constraints.  Note that the names the compiler looks
14748 for are hard-coded in the compiler--it will ignore unnamed patterns and
14749 patterns with names it doesn't know about, but if you don't provide a
14750 named pattern it needs, it will abort.
14752  If a `define_insn' is used, the template given is inserted into the
14753 insn list.  If a `define_expand' is used, one of three things happens,
14754 based on the condition logic.  The condition logic may manually create
14755 new insns for the insn list, say via `emit_insn()', and invoke `DONE'.
14756 For certain named patterns, it may invoke `FAIL' to tell the compiler
14757 to use an alternate way of performing that task.  If it invokes neither
14758 `DONE' nor `FAIL', the template given in the pattern is inserted, as if
14759 the `define_expand' were a `define_insn'.
14761  Once the insn list is generated, various optimization passes convert,
14762 replace, and rearrange the insns in the insn list.  This is where the
14763 `define_split' and `define_peephole' patterns get used, for example.
14765  Finally, the insn list's RTL is matched up with the RTL templates in
14766 the `define_insn' patterns, and those patterns are used to emit the
14767 final assembly code.  For this purpose, each named `define_insn' acts
14768 like it's unnamed, since the names are ignored.
14770 \x1f
14771 File: gccint.info,  Node: Patterns,  Next: Example,  Prev: Overview,  Up: Machine Desc
14773 14.2 Everything about Instruction Patterns
14774 ==========================================
14776 Each instruction pattern contains an incomplete RTL expression, with
14777 pieces to be filled in later, operand constraints that restrict how the
14778 pieces can be filled in, and an output pattern or C code to generate
14779 the assembler output, all wrapped up in a `define_insn' expression.
14781  A `define_insn' is an RTL expression containing four or five operands:
14783   1. An optional name.  The presence of a name indicate that this
14784      instruction pattern can perform a certain standard job for the
14785      RTL-generation pass of the compiler.  This pass knows certain
14786      names and will use the instruction patterns with those names, if
14787      the names are defined in the machine description.
14789      The absence of a name is indicated by writing an empty string
14790      where the name should go.  Nameless instruction patterns are never
14791      used for generating RTL code, but they may permit several simpler
14792      insns to be combined later on.
14794      Names that are not thus known and used in RTL-generation have no
14795      effect; they are equivalent to no name at all.
14797      For the purpose of debugging the compiler, you may also specify a
14798      name beginning with the `*' character.  Such a name is used only
14799      for identifying the instruction in RTL dumps; it is entirely
14800      equivalent to having a nameless pattern for all other purposes.
14802   2. The "RTL template" (*note RTL Template::) is a vector of incomplete
14803      RTL expressions which show what the instruction should look like.
14804      It is incomplete because it may contain `match_operand',
14805      `match_operator', and `match_dup' expressions that stand for
14806      operands of the instruction.
14808      If the vector has only one element, that element is the template
14809      for the instruction pattern.  If the vector has multiple elements,
14810      then the instruction pattern is a `parallel' expression containing
14811      the elements described.
14813   3. A condition.  This is a string which contains a C expression that
14814      is the final test to decide whether an insn body matches this
14815      pattern.
14817      For a named pattern, the condition (if present) may not depend on
14818      the data in the insn being matched, but only the
14819      target-machine-type flags.  The compiler needs to test these
14820      conditions during initialization in order to learn exactly which
14821      named instructions are available in a particular run.
14823      For nameless patterns, the condition is applied only when matching
14824      an individual insn, and only after the insn has matched the
14825      pattern's recognition template.  The insn's operands may be found
14826      in the vector `operands'.  For an insn where the condition has
14827      once matched, it can't be used to control register allocation, for
14828      example by excluding certain hard registers or hard register
14829      combinations.
14831   4. The "output template": a string that says how to output matching
14832      insns as assembler code.  `%' in this string specifies where to
14833      substitute the value of an operand.  *Note Output Template::.
14835      When simple substitution isn't general enough, you can specify a
14836      piece of C code to compute the output.  *Note Output Statement::.
14838   5. Optionally, a vector containing the values of attributes for insns
14839      matching this pattern.  *Note Insn Attributes::.
14841 \x1f
14842 File: gccint.info,  Node: Example,  Next: RTL Template,  Prev: Patterns,  Up: Machine Desc
14844 14.3 Example of `define_insn'
14845 =============================
14847 Here is an actual example of an instruction pattern, for the
14848 68000/68020.
14850      (define_insn "tstsi"
14851        [(set (cc0)
14852              (match_operand:SI 0 "general_operand" "rm"))]
14853        ""
14854        "*
14855      {
14856        if (TARGET_68020 || ! ADDRESS_REG_P (operands[0]))
14857          return \"tstl %0\";
14858        return \"cmpl #0,%0\";
14859      }")
14861 This can also be written using braced strings:
14863      (define_insn "tstsi"
14864        [(set (cc0)
14865              (match_operand:SI 0 "general_operand" "rm"))]
14866        ""
14867      {
14868        if (TARGET_68020 || ! ADDRESS_REG_P (operands[0]))
14869          return "tstl %0";
14870        return "cmpl #0,%0";
14871      })
14873  This is an instruction that sets the condition codes based on the
14874 value of a general operand.  It has no condition, so any insn whose RTL
14875 description has the form shown may be handled according to this
14876 pattern.  The name `tstsi' means "test a `SImode' value" and tells the
14877 RTL generation pass that, when it is necessary to test such a value, an
14878 insn to do so can be constructed using this pattern.
14880  The output control string is a piece of C code which chooses which
14881 output template to return based on the kind of operand and the specific
14882 type of CPU for which code is being generated.
14884  `"rm"' is an operand constraint.  Its meaning is explained below.
14886 \x1f
14887 File: gccint.info,  Node: RTL Template,  Next: Output Template,  Prev: Example,  Up: Machine Desc
14889 14.4 RTL Template
14890 =================
14892 The RTL template is used to define which insns match the particular
14893 pattern and how to find their operands.  For named patterns, the RTL
14894 template also says how to construct an insn from specified operands.
14896  Construction involves substituting specified operands into a copy of
14897 the template.  Matching involves determining the values that serve as
14898 the operands in the insn being matched.  Both of these activities are
14899 controlled by special expression types that direct matching and
14900 substitution of the operands.
14902 `(match_operand:M N PREDICATE CONSTRAINT)'
14903      This expression is a placeholder for operand number N of the insn.
14904      When constructing an insn, operand number N will be substituted
14905      at this point.  When matching an insn, whatever appears at this
14906      position in the insn will be taken as operand number N; but it
14907      must satisfy PREDICATE or this instruction pattern will not match
14908      at all.
14910      Operand numbers must be chosen consecutively counting from zero in
14911      each instruction pattern.  There may be only one `match_operand'
14912      expression in the pattern for each operand number.  Usually
14913      operands are numbered in the order of appearance in `match_operand'
14914      expressions.  In the case of a `define_expand', any operand numbers
14915      used only in `match_dup' expressions have higher values than all
14916      other operand numbers.
14918      PREDICATE is a string that is the name of a function that accepts
14919      two arguments, an expression and a machine mode.  *Note
14920      Predicates::.  During matching, the function will be called with
14921      the putative operand as the expression and M as the mode argument
14922      (if M is not specified, `VOIDmode' will be used, which normally
14923      causes PREDICATE to accept any mode).  If it returns zero, this
14924      instruction pattern fails to match.  PREDICATE may be an empty
14925      string; then it means no test is to be done on the operand, so
14926      anything which occurs in this position is valid.
14928      Most of the time, PREDICATE will reject modes other than M--but
14929      not always.  For example, the predicate `address_operand' uses M
14930      as the mode of memory ref that the address should be valid for.
14931      Many predicates accept `const_int' nodes even though their mode is
14932      `VOIDmode'.
14934      CONSTRAINT controls reloading and the choice of the best register
14935      class to use for a value, as explained later (*note Constraints::).
14936      If the constraint would be an empty string, it can be omitted.
14938      People are often unclear on the difference between the constraint
14939      and the predicate.  The predicate helps decide whether a given
14940      insn matches the pattern.  The constraint plays no role in this
14941      decision; instead, it controls various decisions in the case of an
14942      insn which does match.
14944 `(match_scratch:M N CONSTRAINT)'
14945      This expression is also a placeholder for operand number N and
14946      indicates that operand must be a `scratch' or `reg' expression.
14948      When matching patterns, this is equivalent to
14950           (match_operand:M N "scratch_operand" PRED)
14952      but, when generating RTL, it produces a (`scratch':M) expression.
14954      If the last few expressions in a `parallel' are `clobber'
14955      expressions whose operands are either a hard register or
14956      `match_scratch', the combiner can add or delete them when
14957      necessary.  *Note Side Effects::.
14959 `(match_dup N)'
14960      This expression is also a placeholder for operand number N.  It is
14961      used when the operand needs to appear more than once in the insn.
14963      In construction, `match_dup' acts just like `match_operand': the
14964      operand is substituted into the insn being constructed.  But in
14965      matching, `match_dup' behaves differently.  It assumes that operand
14966      number N has already been determined by a `match_operand'
14967      appearing earlier in the recognition template, and it matches only
14968      an identical-looking expression.
14970      Note that `match_dup' should not be used to tell the compiler that
14971      a particular register is being used for two operands (example:
14972      `add' that adds one register to another; the second register is
14973      both an input operand and the output operand).  Use a matching
14974      constraint (*note Simple Constraints::) for those.  `match_dup' is
14975      for the cases where one operand is used in two places in the
14976      template, such as an instruction that computes both a quotient and
14977      a remainder, where the opcode takes two input operands but the RTL
14978      template has to refer to each of those twice; once for the
14979      quotient pattern and once for the remainder pattern.
14981 `(match_operator:M N PREDICATE [OPERANDS...])'
14982      This pattern is a kind of placeholder for a variable RTL expression
14983      code.
14985      When constructing an insn, it stands for an RTL expression whose
14986      expression code is taken from that of operand N, and whose
14987      operands are constructed from the patterns OPERANDS.
14989      When matching an expression, it matches an expression if the
14990      function PREDICATE returns nonzero on that expression _and_ the
14991      patterns OPERANDS match the operands of the expression.
14993      Suppose that the function `commutative_operator' is defined as
14994      follows, to match any expression whose operator is one of the
14995      commutative arithmetic operators of RTL and whose mode is MODE:
14997           int
14998           commutative_integer_operator (x, mode)
14999                rtx x;
15000                enum machine_mode mode;
15001           {
15002             enum rtx_code code = GET_CODE (x);
15003             if (GET_MODE (x) != mode)
15004               return 0;
15005             return (GET_RTX_CLASS (code) == RTX_COMM_ARITH
15006                     || code == EQ || code == NE);
15007           }
15009      Then the following pattern will match any RTL expression consisting
15010      of a commutative operator applied to two general operands:
15012           (match_operator:SI 3 "commutative_operator"
15013             [(match_operand:SI 1 "general_operand" "g")
15014              (match_operand:SI 2 "general_operand" "g")])
15016      Here the vector `[OPERANDS...]' contains two patterns because the
15017      expressions to be matched all contain two operands.
15019      When this pattern does match, the two operands of the commutative
15020      operator are recorded as operands 1 and 2 of the insn.  (This is
15021      done by the two instances of `match_operand'.)  Operand 3 of the
15022      insn will be the entire commutative expression: use `GET_CODE
15023      (operands[3])' to see which commutative operator was used.
15025      The machine mode M of `match_operator' works like that of
15026      `match_operand': it is passed as the second argument to the
15027      predicate function, and that function is solely responsible for
15028      deciding whether the expression to be matched "has" that mode.
15030      When constructing an insn, argument 3 of the gen-function will
15031      specify the operation (i.e. the expression code) for the
15032      expression to be made.  It should be an RTL expression, whose
15033      expression code is copied into a new expression whose operands are
15034      arguments 1 and 2 of the gen-function.  The subexpressions of
15035      argument 3 are not used; only its expression code matters.
15037      When `match_operator' is used in a pattern for matching an insn,
15038      it usually best if the operand number of the `match_operator' is
15039      higher than that of the actual operands of the insn.  This improves
15040      register allocation because the register allocator often looks at
15041      operands 1 and 2 of insns to see if it can do register tying.
15043      There is no way to specify constraints in `match_operator'.  The
15044      operand of the insn which corresponds to the `match_operator'
15045      never has any constraints because it is never reloaded as a whole.
15046      However, if parts of its OPERANDS are matched by `match_operand'
15047      patterns, those parts may have constraints of their own.
15049 `(match_op_dup:M N[OPERANDS...])'
15050      Like `match_dup', except that it applies to operators instead of
15051      operands.  When constructing an insn, operand number N will be
15052      substituted at this point.  But in matching, `match_op_dup' behaves
15053      differently.  It assumes that operand number N has already been
15054      determined by a `match_operator' appearing earlier in the
15055      recognition template, and it matches only an identical-looking
15056      expression.
15058 `(match_parallel N PREDICATE [SUBPAT...])'
15059      This pattern is a placeholder for an insn that consists of a
15060      `parallel' expression with a variable number of elements.  This
15061      expression should only appear at the top level of an insn pattern.
15063      When constructing an insn, operand number N will be substituted at
15064      this point.  When matching an insn, it matches if the body of the
15065      insn is a `parallel' expression with at least as many elements as
15066      the vector of SUBPAT expressions in the `match_parallel', if each
15067      SUBPAT matches the corresponding element of the `parallel', _and_
15068      the function PREDICATE returns nonzero on the `parallel' that is
15069      the body of the insn.  It is the responsibility of the predicate
15070      to validate elements of the `parallel' beyond those listed in the
15071      `match_parallel'.
15073      A typical use of `match_parallel' is to match load and store
15074      multiple expressions, which can contain a variable number of
15075      elements in a `parallel'.  For example,
15077           (define_insn ""
15078             [(match_parallel 0 "load_multiple_operation"
15079                [(set (match_operand:SI 1 "gpc_reg_operand" "=r")
15080                      (match_operand:SI 2 "memory_operand" "m"))
15081                 (use (reg:SI 179))
15082                 (clobber (reg:SI 179))])]
15083             ""
15084             "loadm 0,0,%1,%2")
15086      This example comes from `a29k.md'.  The function
15087      `load_multiple_operation' is defined in `a29k.c' and checks that
15088      subsequent elements in the `parallel' are the same as the `set' in
15089      the pattern, except that they are referencing subsequent registers
15090      and memory locations.
15092      An insn that matches this pattern might look like:
15094           (parallel
15095            [(set (reg:SI 20) (mem:SI (reg:SI 100)))
15096             (use (reg:SI 179))
15097             (clobber (reg:SI 179))
15098             (set (reg:SI 21)
15099                  (mem:SI (plus:SI (reg:SI 100)
15100                                   (const_int 4))))
15101             (set (reg:SI 22)
15102                  (mem:SI (plus:SI (reg:SI 100)
15103                                   (const_int 8))))])
15105 `(match_par_dup N [SUBPAT...])'
15106      Like `match_op_dup', but for `match_parallel' instead of
15107      `match_operator'.
15110 \x1f
15111 File: gccint.info,  Node: Output Template,  Next: Output Statement,  Prev: RTL Template,  Up: Machine Desc
15113 14.5 Output Templates and Operand Substitution
15114 ==============================================
15116 The "output template" is a string which specifies how to output the
15117 assembler code for an instruction pattern.  Most of the template is a
15118 fixed string which is output literally.  The character `%' is used to
15119 specify where to substitute an operand; it can also be used to identify
15120 places where different variants of the assembler require different
15121 syntax.
15123  In the simplest case, a `%' followed by a digit N says to output
15124 operand N at that point in the string.
15126  `%' followed by a letter and a digit says to output an operand in an
15127 alternate fashion.  Four letters have standard, built-in meanings
15128 described below.  The machine description macro `PRINT_OPERAND' can
15129 define additional letters with nonstandard meanings.
15131  `%cDIGIT' can be used to substitute an operand that is a constant
15132 value without the syntax that normally indicates an immediate operand.
15134  `%nDIGIT' is like `%cDIGIT' except that the value of the constant is
15135 negated before printing.
15137  `%aDIGIT' can be used to substitute an operand as if it were a memory
15138 reference, with the actual operand treated as the address.  This may be
15139 useful when outputting a "load address" instruction, because often the
15140 assembler syntax for such an instruction requires you to write the
15141 operand as if it were a memory reference.
15143  `%lDIGIT' is used to substitute a `label_ref' into a jump instruction.
15145  `%=' outputs a number which is unique to each instruction in the
15146 entire compilation.  This is useful for making local labels to be
15147 referred to more than once in a single template that generates multiple
15148 assembler instructions.
15150  `%' followed by a punctuation character specifies a substitution that
15151 does not use an operand.  Only one case is standard: `%%' outputs a `%'
15152 into the assembler code.  Other nonstandard cases can be defined in the
15153 `PRINT_OPERAND' macro.  You must also define which punctuation
15154 characters are valid with the `PRINT_OPERAND_PUNCT_VALID_P' macro.
15156  The template may generate multiple assembler instructions.  Write the
15157 text for the instructions, with `\;' between them.
15159  When the RTL contains two operands which are required by constraint to
15160 match each other, the output template must refer only to the
15161 lower-numbered operand.  Matching operands are not always identical,
15162 and the rest of the compiler arranges to put the proper RTL expression
15163 for printing into the lower-numbered operand.
15165  One use of nonstandard letters or punctuation following `%' is to
15166 distinguish between different assembler languages for the same machine;
15167 for example, Motorola syntax versus MIT syntax for the 68000.  Motorola
15168 syntax requires periods in most opcode names, while MIT syntax does
15169 not.  For example, the opcode `movel' in MIT syntax is `move.l' in
15170 Motorola syntax.  The same file of patterns is used for both kinds of
15171 output syntax, but the character sequence `%.' is used in each place
15172 where Motorola syntax wants a period.  The `PRINT_OPERAND' macro for
15173 Motorola syntax defines the sequence to output a period; the macro for
15174 MIT syntax defines it to do nothing.
15176  As a special case, a template consisting of the single character `#'
15177 instructs the compiler to first split the insn, and then output the
15178 resulting instructions separately.  This helps eliminate redundancy in
15179 the output templates.   If you have a `define_insn' that needs to emit
15180 multiple assembler instructions, and there is an matching `define_split'
15181 already defined, then you can simply use `#' as the output template
15182 instead of writing an output template that emits the multiple assembler
15183 instructions.
15185  If the macro `ASSEMBLER_DIALECT' is defined, you can use construct of
15186 the form `{option0|option1|option2}' in the templates.  These describe
15187 multiple variants of assembler language syntax.  *Note Instruction
15188 Output::.
15190 \x1f
15191 File: gccint.info,  Node: Output Statement,  Next: Predicates,  Prev: Output Template,  Up: Machine Desc
15193 14.6 C Statements for Assembler Output
15194 ======================================
15196 Often a single fixed template string cannot produce correct and
15197 efficient assembler code for all the cases that are recognized by a
15198 single instruction pattern.  For example, the opcodes may depend on the
15199 kinds of operands; or some unfortunate combinations of operands may
15200 require extra machine instructions.
15202  If the output control string starts with a `@', then it is actually a
15203 series of templates, each on a separate line.  (Blank lines and leading
15204 spaces and tabs are ignored.)  The templates correspond to the
15205 pattern's constraint alternatives (*note Multi-Alternative::).  For
15206 example, if a target machine has a two-address add instruction `addr'
15207 to add into a register and another `addm' to add a register to memory,
15208 you might write this pattern:
15210      (define_insn "addsi3"
15211        [(set (match_operand:SI 0 "general_operand" "=r,m")
15212              (plus:SI (match_operand:SI 1 "general_operand" "0,0")
15213                       (match_operand:SI 2 "general_operand" "g,r")))]
15214        ""
15215        "@
15216         addr %2,%0
15217         addm %2,%0")
15219  If the output control string starts with a `*', then it is not an
15220 output template but rather a piece of C program that should compute a
15221 template.  It should execute a `return' statement to return the
15222 template-string you want.  Most such templates use C string literals,
15223 which require doublequote characters to delimit them.  To include these
15224 doublequote characters in the string, prefix each one with `\'.
15226  If the output control string is written as a brace block instead of a
15227 double-quoted string, it is automatically assumed to be C code.  In that
15228 case, it is not necessary to put in a leading asterisk, or to escape the
15229 doublequotes surrounding C string literals.
15231  The operands may be found in the array `operands', whose C data type
15232 is `rtx []'.
15234  It is very common to select different ways of generating assembler code
15235 based on whether an immediate operand is within a certain range.  Be
15236 careful when doing this, because the result of `INTVAL' is an integer
15237 on the host machine.  If the host machine has more bits in an `int'
15238 than the target machine has in the mode in which the constant will be
15239 used, then some of the bits you get from `INTVAL' will be superfluous.
15240 For proper results, you must carefully disregard the values of those
15241 bits.
15243  It is possible to output an assembler instruction and then go on to
15244 output or compute more of them, using the subroutine `output_asm_insn'.
15245 This receives two arguments: a template-string and a vector of
15246 operands.  The vector may be `operands', or it may be another array of
15247 `rtx' that you declare locally and initialize yourself.
15249  When an insn pattern has multiple alternatives in its constraints,
15250 often the appearance of the assembler code is determined mostly by
15251 which alternative was matched.  When this is so, the C code can test
15252 the variable `which_alternative', which is the ordinal number of the
15253 alternative that was actually satisfied (0 for the first, 1 for the
15254 second alternative, etc.).
15256  For example, suppose there are two opcodes for storing zero, `clrreg'
15257 for registers and `clrmem' for memory locations.  Here is how a pattern
15258 could use `which_alternative' to choose between them:
15260      (define_insn ""
15261        [(set (match_operand:SI 0 "general_operand" "=r,m")
15262              (const_int 0))]
15263        ""
15264        {
15265        return (which_alternative == 0
15266                ? "clrreg %0" : "clrmem %0");
15267        })
15269  The example above, where the assembler code to generate was _solely_
15270 determined by the alternative, could also have been specified as
15271 follows, having the output control string start with a `@':
15273      (define_insn ""
15274        [(set (match_operand:SI 0 "general_operand" "=r,m")
15275              (const_int 0))]
15276        ""
15277        "@
15278         clrreg %0
15279         clrmem %0")
15281 \x1f
15282 File: gccint.info,  Node: Predicates,  Next: Constraints,  Prev: Output Statement,  Up: Machine Desc
15284 14.7 Predicates
15285 ===============
15287 A predicate determines whether a `match_operand' or `match_operator'
15288 expression matches, and therefore whether the surrounding instruction
15289 pattern will be used for that combination of operands.  GCC has a
15290 number of machine-independent predicates, and you can define
15291 machine-specific predicates as needed.  By convention, predicates used
15292 with `match_operand' have names that end in `_operand', and those used
15293 with `match_operator' have names that end in `_operator'.
15295  All predicates are Boolean functions (in the mathematical sense) of
15296 two arguments: the RTL expression that is being considered at that
15297 position in the instruction pattern, and the machine mode that the
15298 `match_operand' or `match_operator' specifies.  In this section, the
15299 first argument is called OP and the second argument MODE.  Predicates
15300 can be called from C as ordinary two-argument functions; this can be
15301 useful in output templates or other machine-specific code.
15303  Operand predicates can allow operands that are not actually acceptable
15304 to the hardware, as long as the constraints give reload the ability to
15305 fix them up (*note Constraints::).  However, GCC will usually generate
15306 better code if the predicates specify the requirements of the machine
15307 instructions as closely as possible.  Reload cannot fix up operands
15308 that must be constants ("immediate operands"); you must use a predicate
15309 that allows only constants, or else enforce the requirement in the
15310 extra condition.
15312  Most predicates handle their MODE argument in a uniform manner.  If
15313 MODE is `VOIDmode' (unspecified), then OP can have any mode.  If MODE
15314 is anything else, then OP must have the same mode, unless OP is a
15315 `CONST_INT' or integer `CONST_DOUBLE'.  These RTL expressions always
15316 have `VOIDmode', so it would be counterproductive to check that their
15317 mode matches.  Instead, predicates that accept `CONST_INT' and/or
15318 integer `CONST_DOUBLE' check that the value stored in the constant will
15319 fit in the requested mode.
15321  Predicates with this behavior are called "normal".  `genrecog' can
15322 optimize the instruction recognizer based on knowledge of how normal
15323 predicates treat modes.  It can also diagnose certain kinds of common
15324 errors in the use of normal predicates; for instance, it is almost
15325 always an error to use a normal predicate without specifying a mode.
15327  Predicates that do something different with their MODE argument are
15328 called "special".  The generic predicates `address_operand' and
15329 `pmode_register_operand' are special predicates.  `genrecog' does not
15330 do any optimizations or diagnosis when special predicates are used.
15332 * Menu:
15334 * Machine-Independent Predicates::  Predicates available to all back ends.
15335 * Defining Predicates::             How to write machine-specific predicate
15336                                     functions.
15338 \x1f
15339 File: gccint.info,  Node: Machine-Independent Predicates,  Next: Defining Predicates,  Up: Predicates
15341 14.7.1 Machine-Independent Predicates
15342 -------------------------------------
15344 These are the generic predicates available to all back ends.  They are
15345 defined in `recog.c'.  The first category of predicates allow only
15346 constant, or "immediate", operands.
15348  -- Function: immediate_operand
15349      This predicate allows any sort of constant that fits in MODE.  It
15350      is an appropriate choice for instructions that take operands that
15351      must be constant.
15353  -- Function: const_int_operand
15354      This predicate allows any `CONST_INT' expression that fits in
15355      MODE.  It is an appropriate choice for an immediate operand that
15356      does not allow a symbol or label.
15358  -- Function: const_double_operand
15359      This predicate accepts any `CONST_DOUBLE' expression that has
15360      exactly MODE.  If MODE is `VOIDmode', it will also accept
15361      `CONST_INT'.  It is intended for immediate floating point
15362      constants.
15364 The second category of predicates allow only some kind of machine
15365 register.
15367  -- Function: register_operand
15368      This predicate allows any `REG' or `SUBREG' expression that is
15369      valid for MODE.  It is often suitable for arithmetic instruction
15370      operands on a RISC machine.
15372  -- Function: pmode_register_operand
15373      This is a slight variant on `register_operand' which works around
15374      a limitation in the machine-description reader.
15376           (match_operand N "pmode_register_operand" CONSTRAINT)
15378      means exactly what
15380           (match_operand:P N "register_operand" CONSTRAINT)
15382      would mean, if the machine-description reader accepted `:P' mode
15383      suffixes.  Unfortunately, it cannot, because `Pmode' is an alias
15384      for some other mode, and might vary with machine-specific options.
15385      *Note Misc::.
15387  -- Function: scratch_operand
15388      This predicate allows hard registers and `SCRATCH' expressions,
15389      but not pseudo-registers.  It is used internally by
15390      `match_scratch'; it should not be used directly.
15392 The third category of predicates allow only some kind of memory
15393 reference.
15395  -- Function: memory_operand
15396      This predicate allows any valid reference to a quantity of mode
15397      MODE in memory, as determined by the weak form of
15398      `GO_IF_LEGITIMATE_ADDRESS' (*note Addressing Modes::).
15400  -- Function: address_operand
15401      This predicate is a little unusual; it allows any operand that is a
15402      valid expression for the _address_ of a quantity of mode MODE,
15403      again determined by the weak form of `GO_IF_LEGITIMATE_ADDRESS'.
15404      To first order, if `(mem:MODE (EXP))' is acceptable to
15405      `memory_operand', then EXP is acceptable to `address_operand'.
15406      Note that EXP does not necessarily have the mode MODE.
15408  -- Function: indirect_operand
15409      This is a stricter form of `memory_operand' which allows only
15410      memory references with a `general_operand' as the address
15411      expression.  New uses of this predicate are discouraged, because
15412      `general_operand' is very permissive, so it's hard to tell what an
15413      `indirect_operand' does or does not allow.  If a target has
15414      different requirements for memory operands for different
15415      instructions, it is better to define target-specific predicates
15416      which enforce the hardware's requirements explicitly.
15418  -- Function: push_operand
15419      This predicate allows a memory reference suitable for pushing a
15420      value onto the stack.  This will be a `MEM' which refers to
15421      `stack_pointer_rtx', with a side-effect in its address expression
15422      (*note Incdec::); which one is determined by the `STACK_PUSH_CODE'
15423      macro (*note Frame Layout::).
15425  -- Function: pop_operand
15426      This predicate allows a memory reference suitable for popping a
15427      value off the stack.  Again, this will be a `MEM' referring to
15428      `stack_pointer_rtx', with a side-effect in its address expression.
15429      However, this time `STACK_POP_CODE' is expected.
15431 The fourth category of predicates allow some combination of the above
15432 operands.
15434  -- Function: nonmemory_operand
15435      This predicate allows any immediate or register operand valid for
15436      MODE.
15438  -- Function: nonimmediate_operand
15439      This predicate allows any register or memory operand valid for
15440      MODE.
15442  -- Function: general_operand
15443      This predicate allows any immediate, register, or memory operand
15444      valid for MODE.
15446 Finally, there is one generic operator predicate.
15448  -- Function: comparison_operator
15449      This predicate matches any expression which performs an arithmetic
15450      comparison in MODE; that is, `COMPARISON_P' is true for the
15451      expression code.
15453 \x1f
15454 File: gccint.info,  Node: Defining Predicates,  Prev: Machine-Independent Predicates,  Up: Predicates
15456 14.7.2 Defining Machine-Specific Predicates
15457 -------------------------------------------
15459 Many machines have requirements for their operands that cannot be
15460 expressed precisely using the generic predicates.  You can define
15461 additional predicates using `define_predicate' and
15462 `define_special_predicate' expressions.  These expressions have three
15463 operands:
15465    * The name of the predicate, as it will be referred to in
15466      `match_operand' or `match_operator' expressions.
15468    * An RTL expression which evaluates to true if the predicate allows
15469      the operand OP, false if it does not.  This expression can only use
15470      the following RTL codes:
15472     `MATCH_OPERAND'
15473           When written inside a predicate expression, a `MATCH_OPERAND'
15474           expression evaluates to true if the predicate it names would
15475           allow OP.  The operand number and constraint are ignored.
15476           Due to limitations in `genrecog', you can only refer to
15477           generic predicates and predicates that have already been
15478           defined.
15480     `MATCH_CODE'
15481           This expression evaluates to true if OP or a specified
15482           subexpression of OP has one of a given list of RTX codes.
15484           The first operand of this expression is a string constant
15485           containing a comma-separated list of RTX code names (in lower
15486           case).  These are the codes for which the `MATCH_CODE' will
15487           be true.
15489           The second operand is a string constant which indicates what
15490           subexpression of OP to examine.  If it is absent or the empty
15491           string, OP itself is examined.  Otherwise, the string constant
15492           must be a sequence of digits and/or lowercase letters.  Each
15493           character indicates a subexpression to extract from the
15494           current expression; for the first character this is OP, for
15495           the second and subsequent characters it is the result of the
15496           previous character.  A digit N extracts `XEXP (E, N)'; a
15497           letter L extracts `XVECEXP (E, 0, N)' where N is the
15498           alphabetic ordinal of L (0 for `a', 1 for 'b', and so on).
15499           The `MATCH_CODE' then examines the RTX code of the
15500           subexpression extracted by the complete string.  It is not
15501           possible to extract components of an `rtvec' that is not at
15502           position 0 within its RTX object.
15504     `MATCH_TEST'
15505           This expression has one operand, a string constant containing
15506           a C expression.  The predicate's arguments, OP and MODE, are
15507           available with those names in the C expression.  The
15508           `MATCH_TEST' evaluates to true if the C expression evaluates
15509           to a nonzero value.  `MATCH_TEST' expressions must not have
15510           side effects.
15512     `AND'
15513     `IOR'
15514     `NOT'
15515     `IF_THEN_ELSE'
15516           The basic `MATCH_' expressions can be combined using these
15517           logical operators, which have the semantics of the C operators
15518           `&&', `||', `!', and `? :' respectively.  As in Common Lisp,
15519           you may give an `AND' or `IOR' expression an arbitrary number
15520           of arguments; this has exactly the same effect as writing a
15521           chain of two-argument `AND' or `IOR' expressions.
15523    * An optional block of C code, which should execute `return true' if
15524      the predicate is found to match and `return false' if it does not.
15525      It must not have any side effects.  The predicate arguments, OP
15526      and MODE, are available with those names.
15528      If a code block is present in a predicate definition, then the RTL
15529      expression must evaluate to true _and_ the code block must execute
15530      `return true' for the predicate to allow the operand.  The RTL
15531      expression is evaluated first; do not re-check anything in the
15532      code block that was checked in the RTL expression.
15534  The program `genrecog' scans `define_predicate' and
15535 `define_special_predicate' expressions to determine which RTX codes are
15536 possibly allowed.  You should always make this explicit in the RTL
15537 predicate expression, using `MATCH_OPERAND' and `MATCH_CODE'.
15539  Here is an example of a simple predicate definition, from the IA64
15540 machine description:
15542      ;; True if OP is a `SYMBOL_REF' which refers to the sdata section.
15543      (define_predicate "small_addr_symbolic_operand"
15544        (and (match_code "symbol_ref")
15545             (match_test "SYMBOL_REF_SMALL_ADDR_P (op)")))
15547 And here is another, showing the use of the C block.
15549      ;; True if OP is a register operand that is (or could be) a GR reg.
15550      (define_predicate "gr_register_operand"
15551        (match_operand 0 "register_operand")
15552      {
15553        unsigned int regno;
15554        if (GET_CODE (op) == SUBREG)
15555          op = SUBREG_REG (op);
15557        regno = REGNO (op);
15558        return (regno >= FIRST_PSEUDO_REGISTER || GENERAL_REGNO_P (regno));
15559      })
15561  Predicates written with `define_predicate' automatically include a
15562 test that MODE is `VOIDmode', or OP has the same mode as MODE, or OP is
15563 a `CONST_INT' or `CONST_DOUBLE'.  They do _not_ check specifically for
15564 integer `CONST_DOUBLE', nor do they test that the value of either kind
15565 of constant fits in the requested mode.  This is because
15566 target-specific predicates that take constants usually have to do more
15567 stringent value checks anyway.  If you need the exact same treatment of
15568 `CONST_INT' or `CONST_DOUBLE' that the generic predicates provide, use
15569 a `MATCH_OPERAND' subexpression to call `const_int_operand',
15570 `const_double_operand', or `immediate_operand'.
15572  Predicates written with `define_special_predicate' do not get any
15573 automatic mode checks, and are treated as having special mode handling
15574 by `genrecog'.
15576  The program `genpreds' is responsible for generating code to test
15577 predicates.  It also writes a header file containing function
15578 declarations for all machine-specific predicates.  It is not necessary
15579 to declare these predicates in `CPU-protos.h'.
15581 \x1f
15582 File: gccint.info,  Node: Constraints,  Next: Standard Names,  Prev: Predicates,  Up: Machine Desc
15584 14.8 Operand Constraints
15585 ========================
15587 Each `match_operand' in an instruction pattern can specify constraints
15588 for the operands allowed.  The constraints allow you to fine-tune
15589 matching within the set of operands allowed by the predicate.
15591  Constraints can say whether an operand may be in a register, and which
15592 kinds of register; whether the operand can be a memory reference, and
15593 which kinds of address; whether the operand may be an immediate
15594 constant, and which possible values it may have.  Constraints can also
15595 require two operands to match.
15597 * Menu:
15599 * Simple Constraints::  Basic use of constraints.
15600 * Multi-Alternative::   When an insn has two alternative constraint-patterns.
15601 * Class Preferences::   Constraints guide which hard register to put things in.
15602 * Modifiers::           More precise control over effects of constraints.
15603 * Machine Constraints:: Existing constraints for some particular machines.
15604 * Define Constraints::  How to define machine-specific constraints.
15605 * C Constraint Interface:: How to test constraints from C code.
15607 \x1f
15608 File: gccint.info,  Node: Simple Constraints,  Next: Multi-Alternative,  Up: Constraints
15610 14.8.1 Simple Constraints
15611 -------------------------
15613 The simplest kind of constraint is a string full of letters, each of
15614 which describes one kind of operand that is permitted.  Here are the
15615 letters that are allowed:
15617 whitespace
15618      Whitespace characters are ignored and can be inserted at any
15619      position except the first.  This enables each alternative for
15620      different operands to be visually aligned in the machine
15621      description even if they have different number of constraints and
15622      modifiers.
15625      A memory operand is allowed, with any kind of address that the
15626      machine supports in general.
15629      A memory operand is allowed, but only if the address is
15630      "offsettable".  This means that adding a small integer (actually,
15631      the width in bytes of the operand, as determined by its machine
15632      mode) may be added to the address and the result is also a valid
15633      memory address.
15635      For example, an address which is constant is offsettable; so is an
15636      address that is the sum of a register and a constant (as long as a
15637      slightly larger constant is also within the range of
15638      address-offsets supported by the machine); but an autoincrement or
15639      autodecrement address is not offsettable.  More complicated
15640      indirect/indexed addresses may or may not be offsettable depending
15641      on the other addressing modes that the machine supports.
15643      Note that in an output operand which can be matched by another
15644      operand, the constraint letter `o' is valid only when accompanied
15645      by both `<' (if the target machine has predecrement addressing)
15646      and `>' (if the target machine has preincrement addressing).
15649      A memory operand that is not offsettable.  In other words,
15650      anything that would fit the `m' constraint but not the `o'
15651      constraint.
15654      A memory operand with autodecrement addressing (either
15655      predecrement or postdecrement) is allowed.
15658      A memory operand with autoincrement addressing (either
15659      preincrement or postincrement) is allowed.
15662      A register operand is allowed provided that it is in a general
15663      register.
15666      An immediate integer operand (one with constant value) is allowed.
15667      This includes symbolic constants whose values will be known only at
15668      assembly time or later.
15671      An immediate integer operand with a known numeric value is allowed.
15672      Many systems cannot support assembly-time constants for operands
15673      less than a word wide.  Constraints for these operands should use
15674      `n' rather than `i'.
15676 `I', `J', `K', ... `P'
15677      Other letters in the range `I' through `P' may be defined in a
15678      machine-dependent fashion to permit immediate integer operands with
15679      explicit integer values in specified ranges.  For example, on the
15680      68000, `I' is defined to stand for the range of values 1 to 8.
15681      This is the range permitted as a shift count in the shift
15682      instructions.
15685      An immediate floating operand (expression code `const_double') is
15686      allowed, but only if the target floating point format is the same
15687      as that of the host machine (on which the compiler is running).
15690      An immediate floating operand (expression code `const_double' or
15691      `const_vector') is allowed.
15693 `G', `H'
15694      `G' and `H' may be defined in a machine-dependent fashion to
15695      permit immediate floating operands in particular ranges of values.
15698      An immediate integer operand whose value is not an explicit
15699      integer is allowed.
15701      This might appear strange; if an insn allows a constant operand
15702      with a value not known at compile time, it certainly must allow
15703      any known value.  So why use `s' instead of `i'?  Sometimes it
15704      allows better code to be generated.
15706      For example, on the 68000 in a fullword instruction it is possible
15707      to use an immediate operand; but if the immediate value is between
15708      -128 and 127, better code results from loading the value into a
15709      register and using the register.  This is because the load into
15710      the register can be done with a `moveq' instruction.  We arrange
15711      for this to happen by defining the letter `K' to mean "any integer
15712      outside the range -128 to 127", and then specifying `Ks' in the
15713      operand constraints.
15716      Any register, memory or immediate integer operand is allowed,
15717      except for registers that are not general registers.
15720      Any operand whatsoever is allowed, even if it does not satisfy
15721      `general_operand'.  This is normally used in the constraint of a
15722      `match_scratch' when certain alternatives will not actually
15723      require a scratch register.
15725 `0', `1', `2', ... `9'
15726      An operand that matches the specified operand number is allowed.
15727      If a digit is used together with letters within the same
15728      alternative, the digit should come last.
15730      This number is allowed to be more than a single digit.  If multiple
15731      digits are encountered consecutively, they are interpreted as a
15732      single decimal integer.  There is scant chance for ambiguity,
15733      since to-date it has never been desirable that `10' be interpreted
15734      as matching either operand 1 _or_ operand 0.  Should this be
15735      desired, one can use multiple alternatives instead.
15737      This is called a "matching constraint" and what it really means is
15738      that the assembler has only a single operand that fills two roles
15739      considered separate in the RTL insn.  For example, an add insn has
15740      two input operands and one output operand in the RTL, but on most
15741      CISC machines an add instruction really has only two operands, one
15742      of them an input-output operand:
15744           addl #35,r12
15746      Matching constraints are used in these circumstances.  More
15747      precisely, the two operands that match must include one input-only
15748      operand and one output-only operand.  Moreover, the digit must be a
15749      smaller number than the number of the operand that uses it in the
15750      constraint.
15752      For operands to match in a particular case usually means that they
15753      are identical-looking RTL expressions.  But in a few special cases
15754      specific kinds of dissimilarity are allowed.  For example, `*x' as
15755      an input operand will match `*x++' as an output operand.  For
15756      proper results in such cases, the output template should always
15757      use the output-operand's number when printing the operand.
15760      An operand that is a valid memory address is allowed.  This is for
15761      "load address" and "push address" instructions.
15763      `p' in the constraint must be accompanied by `address_operand' as
15764      the predicate in the `match_operand'.  This predicate interprets
15765      the mode specified in the `match_operand' as the mode of the memory
15766      reference for which the address would be valid.
15768 OTHER-LETTERS
15769      Other letters can be defined in machine-dependent fashion to stand
15770      for particular classes of registers or other arbitrary operand
15771      types.  `d', `a' and `f' are defined on the 68000/68020 to stand
15772      for data, address and floating point registers.
15774  In order to have valid assembler code, each operand must satisfy its
15775 constraint.  But a failure to do so does not prevent the pattern from
15776 applying to an insn.  Instead, it directs the compiler to modify the
15777 code so that the constraint will be satisfied.  Usually this is done by
15778 copying an operand into a register.
15780  Contrast, therefore, the two instruction patterns that follow:
15782      (define_insn ""
15783        [(set (match_operand:SI 0 "general_operand" "=r")
15784              (plus:SI (match_dup 0)
15785                       (match_operand:SI 1 "general_operand" "r")))]
15786        ""
15787        "...")
15789 which has two operands, one of which must appear in two places, and
15791      (define_insn ""
15792        [(set (match_operand:SI 0 "general_operand" "=r")
15793              (plus:SI (match_operand:SI 1 "general_operand" "0")
15794                       (match_operand:SI 2 "general_operand" "r")))]
15795        ""
15796        "...")
15798 which has three operands, two of which are required by a constraint to
15799 be identical.  If we are considering an insn of the form
15801      (insn N PREV NEXT
15802        (set (reg:SI 3)
15803             (plus:SI (reg:SI 6) (reg:SI 109)))
15804        ...)
15806 the first pattern would not apply at all, because this insn does not
15807 contain two identical subexpressions in the right place.  The pattern
15808 would say, "That does not look like an add instruction; try other
15809 patterns".  The second pattern would say, "Yes, that's an add
15810 instruction, but there is something wrong with it".  It would direct
15811 the reload pass of the compiler to generate additional insns to make
15812 the constraint true.  The results might look like this:
15814      (insn N2 PREV N
15815        (set (reg:SI 3) (reg:SI 6))
15816        ...)
15818      (insn N N2 NEXT
15819        (set (reg:SI 3)
15820             (plus:SI (reg:SI 3) (reg:SI 109)))
15821        ...)
15823  It is up to you to make sure that each operand, in each pattern, has
15824 constraints that can handle any RTL expression that could be present for
15825 that operand.  (When multiple alternatives are in use, each pattern
15826 must, for each possible combination of operand expressions, have at
15827 least one alternative which can handle that combination of operands.)
15828 The constraints don't need to _allow_ any possible operand--when this is
15829 the case, they do not constrain--but they must at least point the way to
15830 reloading any possible operand so that it will fit.
15832    * If the constraint accepts whatever operands the predicate permits,
15833      there is no problem: reloading is never necessary for this operand.
15835      For example, an operand whose constraints permit everything except
15836      registers is safe provided its predicate rejects registers.
15838      An operand whose predicate accepts only constant values is safe
15839      provided its constraints include the letter `i'.  If any possible
15840      constant value is accepted, then nothing less than `i' will do; if
15841      the predicate is more selective, then the constraints may also be
15842      more selective.
15844    * Any operand expression can be reloaded by copying it into a
15845      register.  So if an operand's constraints allow some kind of
15846      register, it is certain to be safe.  It need not permit all
15847      classes of registers; the compiler knows how to copy a register
15848      into another register of the proper class in order to make an
15849      instruction valid.
15851    * A nonoffsettable memory reference can be reloaded by copying the
15852      address into a register.  So if the constraint uses the letter
15853      `o', all memory references are taken care of.
15855    * A constant operand can be reloaded by allocating space in memory to
15856      hold it as preinitialized data.  Then the memory reference can be
15857      used in place of the constant.  So if the constraint uses the
15858      letters `o' or `m', constant operands are not a problem.
15860    * If the constraint permits a constant and a pseudo register used in
15861      an insn was not allocated to a hard register and is equivalent to
15862      a constant, the register will be replaced with the constant.  If
15863      the predicate does not permit a constant and the insn is
15864      re-recognized for some reason, the compiler will crash.  Thus the
15865      predicate must always recognize any objects allowed by the
15866      constraint.
15868  If the operand's predicate can recognize registers, but the constraint
15869 does not permit them, it can make the compiler crash.  When this
15870 operand happens to be a register, the reload pass will be stymied,
15871 because it does not know how to copy a register temporarily into memory.
15873  If the predicate accepts a unary operator, the constraint applies to
15874 the operand.  For example, the MIPS processor at ISA level 3 supports an
15875 instruction which adds two registers in `SImode' to produce a `DImode'
15876 result, but only if the registers are correctly sign extended.  This
15877 predicate for the input operands accepts a `sign_extend' of an `SImode'
15878 register.  Write the constraint to indicate the type of register that
15879 is required for the operand of the `sign_extend'.
15881 \x1f
15882 File: gccint.info,  Node: Multi-Alternative,  Next: Class Preferences,  Prev: Simple Constraints,  Up: Constraints
15884 14.8.2 Multiple Alternative Constraints
15885 ---------------------------------------
15887 Sometimes a single instruction has multiple alternative sets of possible
15888 operands.  For example, on the 68000, a logical-or instruction can
15889 combine register or an immediate value into memory, or it can combine
15890 any kind of operand into a register; but it cannot combine one memory
15891 location into another.
15893  These constraints are represented as multiple alternatives.  An
15894 alternative can be described by a series of letters for each operand.
15895 The overall constraint for an operand is made from the letters for this
15896 operand from the first alternative, a comma, the letters for this
15897 operand from the second alternative, a comma, and so on until the last
15898 alternative.  Here is how it is done for fullword logical-or on the
15899 68000:
15901      (define_insn "iorsi3"
15902        [(set (match_operand:SI 0 "general_operand" "=m,d")
15903              (ior:SI (match_operand:SI 1 "general_operand" "%0,0")
15904                      (match_operand:SI 2 "general_operand" "dKs,dmKs")))]
15905        ...)
15907  The first alternative has `m' (memory) for operand 0, `0' for operand
15908 1 (meaning it must match operand 0), and `dKs' for operand 2.  The
15909 second alternative has `d' (data register) for operand 0, `0' for
15910 operand 1, and `dmKs' for operand 2.  The `=' and `%' in the
15911 constraints apply to all the alternatives; their meaning is explained
15912 in the next section (*note Class Preferences::).
15914  If all the operands fit any one alternative, the instruction is valid.
15915 Otherwise, for each alternative, the compiler counts how many
15916 instructions must be added to copy the operands so that that
15917 alternative applies.  The alternative requiring the least copying is
15918 chosen.  If two alternatives need the same amount of copying, the one
15919 that comes first is chosen.  These choices can be altered with the `?'
15920 and `!' characters:
15923      Disparage slightly the alternative that the `?' appears in, as a
15924      choice when no alternative applies exactly.  The compiler regards
15925      this alternative as one unit more costly for each `?' that appears
15926      in it.
15929      Disparage severely the alternative that the `!' appears in.  This
15930      alternative can still be used if it fits without reloading, but if
15931      reloading is needed, some other alternative will be used.
15933  When an insn pattern has multiple alternatives in its constraints,
15934 often the appearance of the assembler code is determined mostly by which
15935 alternative was matched.  When this is so, the C code for writing the
15936 assembler code can use the variable `which_alternative', which is the
15937 ordinal number of the alternative that was actually satisfied (0 for
15938 the first, 1 for the second alternative, etc.).  *Note Output
15939 Statement::.
15941 \x1f
15942 File: gccint.info,  Node: Class Preferences,  Next: Modifiers,  Prev: Multi-Alternative,  Up: Constraints
15944 14.8.3 Register Class Preferences
15945 ---------------------------------
15947 The operand constraints have another function: they enable the compiler
15948 to decide which kind of hardware register a pseudo register is best
15949 allocated to.  The compiler examines the constraints that apply to the
15950 insns that use the pseudo register, looking for the machine-dependent
15951 letters such as `d' and `a' that specify classes of registers.  The
15952 pseudo register is put in whichever class gets the most "votes".  The
15953 constraint letters `g' and `r' also vote: they vote in favor of a
15954 general register.  The machine description says which registers are
15955 considered general.
15957  Of course, on some machines all registers are equivalent, and no
15958 register classes are defined.  Then none of this complexity is relevant.
15960 \x1f
15961 File: gccint.info,  Node: Modifiers,  Next: Machine Constraints,  Prev: Class Preferences,  Up: Constraints
15963 14.8.4 Constraint Modifier Characters
15964 -------------------------------------
15966 Here are constraint modifier characters.
15969      Means that this operand is write-only for this instruction: the
15970      previous value is discarded and replaced by output data.
15973      Means that this operand is both read and written by the
15974      instruction.
15976      When the compiler fixes up the operands to satisfy the constraints,
15977      it needs to know which operands are inputs to the instruction and
15978      which are outputs from it.  `=' identifies an output; `+'
15979      identifies an operand that is both input and output; all other
15980      operands are assumed to be input only.
15982      If you specify `=' or `+' in a constraint, you put it in the first
15983      character of the constraint string.
15986      Means (in a particular alternative) that this operand is an
15987      "earlyclobber" operand, which is modified before the instruction is
15988      finished using the input operands.  Therefore, this operand may
15989      not lie in a register that is used as an input operand or as part
15990      of any memory address.
15992      `&' applies only to the alternative in which it is written.  In
15993      constraints with multiple alternatives, sometimes one alternative
15994      requires `&' while others do not.  See, for example, the `movdf'
15995      insn of the 68000.
15997      An input operand can be tied to an earlyclobber operand if its only
15998      use as an input occurs before the early result is written.  Adding
15999      alternatives of this form often allows GCC to produce better code
16000      when only some of the inputs can be affected by the earlyclobber.
16001      See, for example, the `mulsi3' insn of the ARM.
16003      `&' does not obviate the need to write `='.
16006      Declares the instruction to be commutative for this operand and the
16007      following operand.  This means that the compiler may interchange
16008      the two operands if that is the cheapest way to make all operands
16009      fit the constraints.  This is often used in patterns for addition
16010      instructions that really have only two operands: the result must
16011      go in one of the arguments.  Here for example, is how the 68000
16012      halfword-add instruction is defined:
16014           (define_insn "addhi3"
16015             [(set (match_operand:HI 0 "general_operand" "=m,r")
16016                (plus:HI (match_operand:HI 1 "general_operand" "%0,0")
16017                         (match_operand:HI 2 "general_operand" "di,g")))]
16018             ...)
16019      GCC can only handle one commutative pair in an asm; if you use
16020      more, the compiler may fail.  Note that you need not use the
16021      modifier if the two alternatives are strictly identical; this
16022      would only waste time in the reload pass.  The modifier is not
16023      operational after register allocation, so the result of
16024      `define_peephole2' and `define_split's performed after reload
16025      cannot rely on `%' to make the intended insn match.
16028      Says that all following characters, up to the next comma, are to be
16029      ignored as a constraint.  They are significant only for choosing
16030      register preferences.
16033      Says that the following character should be ignored when choosing
16034      register preferences.  `*' has no effect on the meaning of the
16035      constraint as a constraint, and no effect on reloading.
16037      Here is an example: the 68000 has an instruction to sign-extend a
16038      halfword in a data register, and can also sign-extend a value by
16039      copying it into an address register.  While either kind of
16040      register is acceptable, the constraints on an address-register
16041      destination are less strict, so it is best if register allocation
16042      makes an address register its goal.  Therefore, `*' is used so
16043      that the `d' constraint letter (for data register) is ignored when
16044      computing register preferences.
16046           (define_insn "extendhisi2"
16047             [(set (match_operand:SI 0 "general_operand" "=*d,a")
16048                   (sign_extend:SI
16049                    (match_operand:HI 1 "general_operand" "0,g")))]
16050             ...)
16052 \x1f
16053 File: gccint.info,  Node: Machine Constraints,  Next: Define Constraints,  Prev: Modifiers,  Up: Constraints
16055 14.8.5 Constraints for Particular Machines
16056 ------------------------------------------
16058 Whenever possible, you should use the general-purpose constraint letters
16059 in `asm' arguments, since they will convey meaning more readily to
16060 people reading your code.  Failing that, use the constraint letters
16061 that usually have very similar meanings across architectures.  The most
16062 commonly used constraints are `m' and `r' (for memory and
16063 general-purpose registers respectively; *note Simple Constraints::), and
16064 `I', usually the letter indicating the most common immediate-constant
16065 format.
16067  Each architecture defines additional constraints.  These constraints
16068 are used by the compiler itself for instruction generation, as well as
16069 for `asm' statements; therefore, some of the constraints are not
16070 particularly useful for `asm'.  Here is a summary of some of the
16071 machine-dependent constraints available on some particular machines; it
16072 includes both constraints that are useful for `asm' and constraints
16073 that aren't.  The compiler source file mentioned in the table heading
16074 for each architecture is the definitive reference for the meanings of
16075 that architecture's constraints.
16077 _ARM family--`config/arm/arm.h'_
16079     `f'
16080           Floating-point register
16082     `w'
16083           VFP floating-point register
16085     `F'
16086           One of the floating-point constants 0.0, 0.5, 1.0, 2.0, 3.0,
16087           4.0, 5.0 or 10.0
16089     `G'
16090           Floating-point constant that would satisfy the constraint `F'
16091           if it were negated
16093     `I'
16094           Integer that is valid as an immediate operand in a data
16095           processing instruction.  That is, an integer in the range 0
16096           to 255 rotated by a multiple of 2
16098     `J'
16099           Integer in the range -4095 to 4095
16101     `K'
16102           Integer that satisfies constraint `I' when inverted (ones
16103           complement)
16105     `L'
16106           Integer that satisfies constraint `I' when negated (twos
16107           complement)
16109     `M'
16110           Integer in the range 0 to 32
16112     `Q'
16113           A memory reference where the exact address is in a single
16114           register (``m'' is preferable for `asm' statements)
16116     `R'
16117           An item in the constant pool
16119     `S'
16120           A symbol in the text segment of the current file
16122     `Uv'
16123           A memory reference suitable for VFP load/store insns
16124           (reg+constant offset)
16126     `Uy'
16127           A memory reference suitable for iWMMXt load/store
16128           instructions.
16130     `Uq'
16131           A memory reference suitable for the ARMv4 ldrsb instruction.
16133 _AVR family--`config/avr/constraints.md'_
16135     `l'
16136           Registers from r0 to r15
16138     `a'
16139           Registers from r16 to r23
16141     `d'
16142           Registers from r16 to r31
16144     `w'
16145           Registers from r24 to r31.  These registers can be used in
16146           `adiw' command
16148     `e'
16149           Pointer register (r26-r31)
16151     `b'
16152           Base pointer register (r28-r31)
16154     `q'
16155           Stack pointer register (SPH:SPL)
16157     `t'
16158           Temporary register r0
16160     `x'
16161           Register pair X (r27:r26)
16163     `y'
16164           Register pair Y (r29:r28)
16166     `z'
16167           Register pair Z (r31:r30)
16169     `I'
16170           Constant greater than -1, less than 64
16172     `J'
16173           Constant greater than -64, less than 1
16175     `K'
16176           Constant integer 2
16178     `L'
16179           Constant integer 0
16181     `M'
16182           Constant that fits in 8 bits
16184     `N'
16185           Constant integer -1
16187     `O'
16188           Constant integer 8, 16, or 24
16190     `P'
16191           Constant integer 1
16193     `G'
16194           A floating point constant 0.0
16196     `R'
16197           Integer constant in the range -6 ... 5.
16199     `Q'
16200           A memory address based on Y or Z pointer with displacement.
16202 _CRX Architecture--`config/crx/crx.h'_
16204     `b'
16205           Registers from r0 to r14 (registers without stack pointer)
16207     `l'
16208           Register r16 (64-bit accumulator lo register)
16210     `h'
16211           Register r17 (64-bit accumulator hi register)
16213     `k'
16214           Register pair r16-r17. (64-bit accumulator lo-hi pair)
16216     `I'
16217           Constant that fits in 3 bits
16219     `J'
16220           Constant that fits in 4 bits
16222     `K'
16223           Constant that fits in 5 bits
16225     `L'
16226           Constant that is one of -1, 4, -4, 7, 8, 12, 16, 20, 32, 48
16228     `G'
16229           Floating point constant that is legal for store immediate
16231 _Hewlett-Packard PA-RISC--`config/pa/pa.h'_
16233     `a'
16234           General register 1
16236     `f'
16237           Floating point register
16239     `q'
16240           Shift amount register
16242     `x'
16243           Floating point register (deprecated)
16245     `y'
16246           Upper floating point register (32-bit), floating point
16247           register (64-bit)
16249     `Z'
16250           Any register
16252     `I'
16253           Signed 11-bit integer constant
16255     `J'
16256           Signed 14-bit integer constant
16258     `K'
16259           Integer constant that can be deposited with a `zdepi'
16260           instruction
16262     `L'
16263           Signed 5-bit integer constant
16265     `M'
16266           Integer constant 0
16268     `N'
16269           Integer constant that can be loaded with a `ldil' instruction
16271     `O'
16272           Integer constant whose value plus one is a power of 2
16274     `P'
16275           Integer constant that can be used for `and' operations in
16276           `depi' and `extru' instructions
16278     `S'
16279           Integer constant 31
16281     `U'
16282           Integer constant 63
16284     `G'
16285           Floating-point constant 0.0
16287     `A'
16288           A `lo_sum' data-linkage-table memory operand
16290     `Q'
16291           A memory operand that can be used as the destination operand
16292           of an integer store instruction
16294     `R'
16295           A scaled or unscaled indexed memory operand
16297     `T'
16298           A memory operand for floating-point loads and stores
16300     `W'
16301           A register indirect memory operand
16303 _PowerPC and IBM RS6000--`config/rs6000/rs6000.h'_
16305     `b'
16306           Address base register
16308     `f'
16309           Floating point register
16311     `v'
16312           Vector register
16314     `h'
16315           `MQ', `CTR', or `LINK' register
16317     `q'
16318           `MQ' register
16320     `c'
16321           `CTR' register
16323     `l'
16324           `LINK' register
16326     `x'
16327           `CR' register (condition register) number 0
16329     `y'
16330           `CR' register (condition register)
16332     `z'
16333           `FPMEM' stack memory for FPR-GPR transfers
16335     `I'
16336           Signed 16-bit constant
16338     `J'
16339           Unsigned 16-bit constant shifted left 16 bits (use `L'
16340           instead for `SImode' constants)
16342     `K'
16343           Unsigned 16-bit constant
16345     `L'
16346           Signed 16-bit constant shifted left 16 bits
16348     `M'
16349           Constant larger than 31
16351     `N'
16352           Exact power of 2
16354     `O'
16355           Zero
16357     `P'
16358           Constant whose negation is a signed 16-bit constant
16360     `G'
16361           Floating point constant that can be loaded into a register
16362           with one instruction per word
16364     `H'
16365           Integer/Floating point constant that can be loaded into a
16366           register using three instructions
16368     `Q'
16369           Memory operand that is an offset from a register (`m' is
16370           preferable for `asm' statements)
16372     `Z'
16373           Memory operand that is an indexed or indirect from a register
16374           (`m' is preferable for `asm' statements)
16376     `R'
16377           AIX TOC entry
16379     `a'
16380           Address operand that is an indexed or indirect from a
16381           register (`p' is preferable for `asm' statements)
16383     `S'
16384           Constant suitable as a 64-bit mask operand
16386     `T'
16387           Constant suitable as a 32-bit mask operand
16389     `U'
16390           System V Release 4 small data area reference
16392     `t'
16393           AND masks that can be performed by two rldic{l, r}
16394           instructions
16396     `W'
16397           Vector constant that does not require memory
16400 _MorphoTech family--`config/mt/mt.h'_
16402     `I'
16403           Constant for an arithmetic insn (16-bit signed integer).
16405     `J'
16406           The constant 0.
16408     `K'
16409           Constant for a logical insn (16-bit zero-extended integer).
16411     `L'
16412           A constant that can be loaded with `lui' (i.e. the bottom 16
16413           bits are zero).
16415     `M'
16416           A constant that takes two words to load (i.e. not matched by
16417           `I', `K', or `L').
16419     `N'
16420           Negative 16-bit constants other than -65536.
16422     `O'
16423           A 15-bit signed integer constant.
16425     `P'
16426           A positive 16-bit constant.
16428 _Intel 386--`config/i386/constraints.md'_
16430     `R'
16431           Legacy register--the eight integer registers available on all
16432           i386 processors (`a', `b', `c', `d', `si', `di', `bp', `sp').
16434     `q'
16435           Any register accessible as `Rl'.  In 32-bit mode, `a', `b',
16436           `c', and `d'; in 64-bit mode, any integer register.
16438     `Q'
16439           Any register accessible as `Rh': `a', `b', `c', and `d'.
16441     `l'
16442           Any register that can be used as the index in a base+index
16443           memory access: that is, any general register except the stack
16444           pointer.
16446     `a'
16447           The `a' register.
16449     `b'
16450           The `b' register.
16452     `c'
16453           The `c' register.
16455     `d'
16456           The `d' register.
16458     `S'
16459           The `si' register.
16461     `D'
16462           The `di' register.
16464     `A'
16465           The `a' and `d' registers, as a pair (for instructions that
16466           return half the result in one and half in the other).
16468     `f'
16469           Any 80387 floating-point (stack) register.
16471     `t'
16472           Top of 80387 floating-point stack (`%st(0)').
16474     `u'
16475           Second from top of 80387 floating-point stack (`%st(1)').
16477     `y'
16478           Any MMX register.
16480     `x'
16481           Any SSE register.
16483     `Yz'
16484           First SSE register (`%xmm0').
16486     `Y2'
16487           Any SSE register, when SSE2 is enabled.
16489     `Yi'
16490           Any SSE register, when SSE2 and inter-unit moves are enabled.
16492     `Ym'
16493           Any MMX register, when inter-unit moves are enabled.
16495     `I'
16496           Integer constant in the range 0 ... 31, for 32-bit shifts.
16498     `J'
16499           Integer constant in the range 0 ... 63, for 64-bit shifts.
16501     `K'
16502           Signed 8-bit integer constant.
16504     `L'
16505           `0xFF' or `0xFFFF', for andsi as a zero-extending move.
16507     `M'
16508           0, 1, 2, or 3 (shifts for the `lea' instruction).
16510     `N'
16511           Unsigned 8-bit integer constant (for `in' and `out'
16512           instructions).
16514     `O'
16515           Integer constant in the range 0 ... 127, for 128-bit shifts.
16517     `G'
16518           Standard 80387 floating point constant.
16520     `C'
16521           Standard SSE floating point constant.
16523     `e'
16524           32-bit signed integer constant, or a symbolic reference known
16525           to fit that range (for immediate operands in sign-extending
16526           x86-64 instructions).
16528     `Z'
16529           32-bit unsigned integer constant, or a symbolic reference
16530           known to fit that range (for immediate operands in
16531           zero-extending x86-64 instructions).
16534 _Intel IA-64--`config/ia64/ia64.h'_
16536     `a'
16537           General register `r0' to `r3' for `addl' instruction
16539     `b'
16540           Branch register
16542     `c'
16543           Predicate register (`c' as in "conditional")
16545     `d'
16546           Application register residing in M-unit
16548     `e'
16549           Application register residing in I-unit
16551     `f'
16552           Floating-point register
16554     `m'
16555           Memory operand.  Remember that `m' allows postincrement and
16556           postdecrement which require printing with `%Pn' on IA-64.
16557           Use `S' to disallow postincrement and postdecrement.
16559     `G'
16560           Floating-point constant 0.0 or 1.0
16562     `I'
16563           14-bit signed integer constant
16565     `J'
16566           22-bit signed integer constant
16568     `K'
16569           8-bit signed integer constant for logical instructions
16571     `L'
16572           8-bit adjusted signed integer constant for compare pseudo-ops
16574     `M'
16575           6-bit unsigned integer constant for shift counts
16577     `N'
16578           9-bit signed integer constant for load and store
16579           postincrements
16581     `O'
16582           The constant zero
16584     `P'
16585           0 or -1 for `dep' instruction
16587     `Q'
16588           Non-volatile memory for floating-point loads and stores
16590     `R'
16591           Integer constant in the range 1 to 4 for `shladd' instruction
16593     `S'
16594           Memory operand except postincrement and postdecrement
16596 _FRV--`config/frv/frv.h'_
16598     `a'
16599           Register in the class `ACC_REGS' (`acc0' to `acc7').
16601     `b'
16602           Register in the class `EVEN_ACC_REGS' (`acc0' to `acc7').
16604     `c'
16605           Register in the class `CC_REGS' (`fcc0' to `fcc3' and `icc0'
16606           to `icc3').
16608     `d'
16609           Register in the class `GPR_REGS' (`gr0' to `gr63').
16611     `e'
16612           Register in the class `EVEN_REGS' (`gr0' to `gr63').  Odd
16613           registers are excluded not in the class but through the use
16614           of a machine mode larger than 4 bytes.
16616     `f'
16617           Register in the class `FPR_REGS' (`fr0' to `fr63').
16619     `h'
16620           Register in the class `FEVEN_REGS' (`fr0' to `fr63').  Odd
16621           registers are excluded not in the class but through the use
16622           of a machine mode larger than 4 bytes.
16624     `l'
16625           Register in the class `LR_REG' (the `lr' register).
16627     `q'
16628           Register in the class `QUAD_REGS' (`gr2' to `gr63').
16629           Register numbers not divisible by 4 are excluded not in the
16630           class but through the use of a machine mode larger than 8
16631           bytes.
16633     `t'
16634           Register in the class `ICC_REGS' (`icc0' to `icc3').
16636     `u'
16637           Register in the class `FCC_REGS' (`fcc0' to `fcc3').
16639     `v'
16640           Register in the class `ICR_REGS' (`cc4' to `cc7').
16642     `w'
16643           Register in the class `FCR_REGS' (`cc0' to `cc3').
16645     `x'
16646           Register in the class `QUAD_FPR_REGS' (`fr0' to `fr63').
16647           Register numbers not divisible by 4 are excluded not in the
16648           class but through the use of a machine mode larger than 8
16649           bytes.
16651     `z'
16652           Register in the class `SPR_REGS' (`lcr' and `lr').
16654     `A'
16655           Register in the class `QUAD_ACC_REGS' (`acc0' to `acc7').
16657     `B'
16658           Register in the class `ACCG_REGS' (`accg0' to `accg7').
16660     `C'
16661           Register in the class `CR_REGS' (`cc0' to `cc7').
16663     `G'
16664           Floating point constant zero
16666     `I'
16667           6-bit signed integer constant
16669     `J'
16670           10-bit signed integer constant
16672     `L'
16673           16-bit signed integer constant
16675     `M'
16676           16-bit unsigned integer constant
16678     `N'
16679           12-bit signed integer constant that is negative--i.e. in the
16680           range of -2048 to -1
16682     `O'
16683           Constant zero
16685     `P'
16686           12-bit signed integer constant that is greater than
16687           zero--i.e. in the range of 1 to 2047.
16690 _Blackfin family--`config/bfin/bfin.h'_
16692     `a'
16693           P register
16695     `d'
16696           D register
16698     `z'
16699           A call clobbered P register.
16701     `qN'
16702           A single register.  If N is in the range 0 to 7, the
16703           corresponding D register.  If it is `A', then the register P0.
16705     `D'
16706           Even-numbered D register
16708     `W'
16709           Odd-numbered D register
16711     `e'
16712           Accumulator register.
16714     `A'
16715           Even-numbered accumulator register.
16717     `B'
16718           Odd-numbered accumulator register.
16720     `b'
16721           I register
16723     `v'
16724           B register
16726     `f'
16727           M register
16729     `c'
16730           Registers used for circular buffering, i.e. I, B, or L
16731           registers.
16733     `C'
16734           The CC register.
16736     `t'
16737           LT0 or LT1.
16739     `k'
16740           LC0 or LC1.
16742     `u'
16743           LB0 or LB1.
16745     `x'
16746           Any D, P, B, M, I or L register.
16748     `y'
16749           Additional registers typically used only in prologues and
16750           epilogues: RETS, RETN, RETI, RETX, RETE, ASTAT, SEQSTAT and
16751           USP.
16753     `w'
16754           Any register except accumulators or CC.
16756     `Ksh'
16757           Signed 16 bit integer (in the range -32768 to 32767)
16759     `Kuh'
16760           Unsigned 16 bit integer (in the range 0 to 65535)
16762     `Ks7'
16763           Signed 7 bit integer (in the range -64 to 63)
16765     `Ku7'
16766           Unsigned 7 bit integer (in the range 0 to 127)
16768     `Ku5'
16769           Unsigned 5 bit integer (in the range 0 to 31)
16771     `Ks4'
16772           Signed 4 bit integer (in the range -8 to 7)
16774     `Ks3'
16775           Signed 3 bit integer (in the range -3 to 4)
16777     `Ku3'
16778           Unsigned 3 bit integer (in the range 0 to 7)
16780     `PN'
16781           Constant N, where N is a single-digit constant in the range 0
16782           to 4.
16784     `PA'
16785           An integer equal to one of the MACFLAG_XXX constants that is
16786           suitable for use with either accumulator.
16788     `PB'
16789           An integer equal to one of the MACFLAG_XXX constants that is
16790           suitable for use only with accumulator A1.
16792     `M1'
16793           Constant 255.
16795     `M2'
16796           Constant 65535.
16798     `J'
16799           An integer constant with exactly a single bit set.
16801     `L'
16802           An integer constant with all bits set except exactly one.
16804     `H'
16806     `Q'
16807           Any SYMBOL_REF.
16809 _M32C--`config/m32c/m32c.c'_
16811     `Rsp'
16812     `Rfb'
16813     `Rsb'
16814           `$sp', `$fb', `$sb'.
16816     `Rcr'
16817           Any control register, when they're 16 bits wide (nothing if
16818           control registers are 24 bits wide)
16820     `Rcl'
16821           Any control register, when they're 24 bits wide.
16823     `R0w'
16824     `R1w'
16825     `R2w'
16826     `R3w'
16827           $r0, $r1, $r2, $r3.
16829     `R02'
16830           $r0 or $r2, or $r2r0 for 32 bit values.
16832     `R13'
16833           $r1 or $r3, or $r3r1 for 32 bit values.
16835     `Rdi'
16836           A register that can hold a 64 bit value.
16838     `Rhl'
16839           $r0 or $r1 (registers with addressable high/low bytes)
16841     `R23'
16842           $r2 or $r3
16844     `Raa'
16845           Address registers
16847     `Raw'
16848           Address registers when they're 16 bits wide.
16850     `Ral'
16851           Address registers when they're 24 bits wide.
16853     `Rqi'
16854           Registers that can hold QI values.
16856     `Rad'
16857           Registers that can be used with displacements ($a0, $a1, $sb).
16859     `Rsi'
16860           Registers that can hold 32 bit values.
16862     `Rhi'
16863           Registers that can hold 16 bit values.
16865     `Rhc'
16866           Registers chat can hold 16 bit values, including all control
16867           registers.
16869     `Rra'
16870           $r0 through R1, plus $a0 and $a1.
16872     `Rfl'
16873           The flags register.
16875     `Rmm'
16876           The memory-based pseudo-registers $mem0 through $mem15.
16878     `Rpi'
16879           Registers that can hold pointers (16 bit registers for r8c,
16880           m16c; 24 bit registers for m32cm, m32c).
16882     `Rpa'
16883           Matches multiple registers in a PARALLEL to form a larger
16884           register.  Used to match function return values.
16886     `Is3'
16887           -8 ... 7
16889     `IS1'
16890           -128 ... 127
16892     `IS2'
16893           -32768 ... 32767
16895     `IU2'
16896           0 ... 65535
16898     `In4'
16899           -8 ... -1 or 1 ... 8
16901     `In5'
16902           -16 ... -1 or 1 ... 16
16904     `In6'
16905           -32 ... -1 or 1 ... 32
16907     `IM2'
16908           -65536 ... -1
16910     `Ilb'
16911           An 8 bit value with exactly one bit set.
16913     `Ilw'
16914           A 16 bit value with exactly one bit set.
16916     `Sd'
16917           The common src/dest memory addressing modes.
16919     `Sa'
16920           Memory addressed using $a0 or $a1.
16922     `Si'
16923           Memory addressed with immediate addresses.
16925     `Ss'
16926           Memory addressed using the stack pointer ($sp).
16928     `Sf'
16929           Memory addressed using the frame base register ($fb).
16931     `Ss'
16932           Memory addressed using the small base register ($sb).
16934     `S1'
16935           $r1h
16937 _MIPS--`config/mips/constraints.md'_
16939     `d'
16940           An address register.  This is equivalent to `r' unless
16941           generating MIPS16 code.
16943     `f'
16944           A floating-point register (if available).
16946     `h'
16947           The `hi' register.
16949     `l'
16950           The `lo' register.
16952     `x'
16953           The `hi' and `lo' registers.
16955     `c'
16956           A register suitable for use in an indirect jump.  This will
16957           always be `$25' for `-mabicalls'.
16959     `v'
16960           Register `$3'.  Do not use this constraint in new code; it is
16961           retained only for compatibility with glibc.
16963     `y'
16964           Equivalent to `r'; retained for backwards compatibility.
16966     `z'
16967           A floating-point condition code register.
16969     `I'
16970           A signed 16-bit constant (for arithmetic instructions).
16972     `J'
16973           Integer zero.
16975     `K'
16976           An unsigned 16-bit constant (for logic instructions).
16978     `L'
16979           A signed 32-bit constant in which the lower 16 bits are zero.
16980           Such constants can be loaded using `lui'.
16982     `M'
16983           A constant that cannot be loaded using `lui', `addiu' or
16984           `ori'.
16986     `N'
16987           A constant in the range -65535 to -1 (inclusive).
16989     `O'
16990           A signed 15-bit constant.
16992     `P'
16993           A constant in the range 1 to 65535 (inclusive).
16995     `G'
16996           Floating-point zero.
16998     `R'
16999           An address that can be used in a non-macro load or store.
17001 _Motorola 680x0--`config/m68k/constraints.md'_
17003     `a'
17004           Address register
17006     `d'
17007           Data register
17009     `f'
17010           68881 floating-point register, if available
17012     `I'
17013           Integer in the range 1 to 8
17015     `J'
17016           16-bit signed number
17018     `K'
17019           Signed number whose magnitude is greater than 0x80
17021     `L'
17022           Integer in the range -8 to -1
17024     `M'
17025           Signed number whose magnitude is greater than 0x100
17027     `N'
17028           Range 24 to 31, rotatert:SI 8 to 1 expressed as rotate
17030     `O'
17031           16 (for rotate using swap)
17033     `P'
17034           Range 8 to 15, rotatert:HI 8 to 1 expressed as rotate
17036     `R'
17037           Numbers that mov3q can handle
17039     `G'
17040           Floating point constant that is not a 68881 constant
17042     `S'
17043           Operands that satisfy 'm' when -mpcrel is in effect
17045     `T'
17046           Operands that satisfy 's' when -mpcrel is not in effect
17048     `Q'
17049           Address register indirect addressing mode
17051     `U'
17052           Register offset addressing
17054     `W'
17055           const_call_operand
17057     `Cs'
17058           symbol_ref or const
17060     `Ci'
17061           const_int
17063     `C0'
17064           const_int 0
17066     `Cj'
17067           Range of signed numbers that don't fit in 16 bits
17069     `Cmvq'
17070           Integers valid for mvq
17072     `Capsw'
17073           Integers valid for a moveq followed by a swap
17075     `Cmvz'
17076           Integers valid for mvz
17078     `Cmvs'
17079           Integers valid for mvs
17081     `Ap'
17082           push_operand
17084     `Ac'
17085           Non-register operands allowed in clr
17088 _Motorola 68HC11 & 68HC12 families--`config/m68hc11/m68hc11.h'_
17090     `a'
17091           Register `a'
17093     `b'
17094           Register `b'
17096     `d'
17097           Register `d'
17099     `q'
17100           An 8-bit register
17102     `t'
17103           Temporary soft register _.tmp
17105     `u'
17106           A soft register _.d1 to _.d31
17108     `w'
17109           Stack pointer register
17111     `x'
17112           Register `x'
17114     `y'
17115           Register `y'
17117     `z'
17118           Pseudo register `z' (replaced by `x' or `y' at the end)
17120     `A'
17121           An address register: x, y or z
17123     `B'
17124           An address register: x or y
17126     `D'
17127           Register pair (x:d) to form a 32-bit value
17129     `L'
17130           Constants in the range -65536 to 65535
17132     `M'
17133           Constants whose 16-bit low part is zero
17135     `N'
17136           Constant integer 1 or -1
17138     `O'
17139           Constant integer 16
17141     `P'
17142           Constants in the range -8 to 2
17145 _SPARC--`config/sparc/sparc.h'_
17147     `f'
17148           Floating-point register on the SPARC-V8 architecture and
17149           lower floating-point register on the SPARC-V9 architecture.
17151     `e'
17152           Floating-point register.  It is equivalent to `f' on the
17153           SPARC-V8 architecture and contains both lower and upper
17154           floating-point registers on the SPARC-V9 architecture.
17156     `c'
17157           Floating-point condition code register.
17159     `d'
17160           Lower floating-point register.  It is only valid on the
17161           SPARC-V9 architecture when the Visual Instruction Set is
17162           available.
17164     `b'
17165           Floating-point register.  It is only valid on the SPARC-V9
17166           architecture when the Visual Instruction Set is available.
17168     `h'
17169           64-bit global or out register for the SPARC-V8+ architecture.
17171     `D'
17172           A vector constant
17174     `I'
17175           Signed 13-bit constant
17177     `J'
17178           Zero
17180     `K'
17181           32-bit constant with the low 12 bits clear (a constant that
17182           can be loaded with the `sethi' instruction)
17184     `L'
17185           A constant in the range supported by `movcc' instructions
17187     `M'
17188           A constant in the range supported by `movrcc' instructions
17190     `N'
17191           Same as `K', except that it verifies that bits that are not
17192           in the lower 32-bit range are all zero.  Must be used instead
17193           of `K' for modes wider than `SImode'
17195     `O'
17196           The constant 4096
17198     `G'
17199           Floating-point zero
17201     `H'
17202           Signed 13-bit constant, sign-extended to 32 or 64 bits
17204     `Q'
17205           Floating-point constant whose integral representation can be
17206           moved into an integer register using a single sethi
17207           instruction
17209     `R'
17210           Floating-point constant whose integral representation can be
17211           moved into an integer register using a single mov instruction
17213     `S'
17214           Floating-point constant whose integral representation can be
17215           moved into an integer register using a high/lo_sum
17216           instruction sequence
17218     `T'
17219           Memory address aligned to an 8-byte boundary
17221     `U'
17222           Even register
17224     `W'
17225           Memory address for `e' constraint registers
17227     `Y'
17228           Vector zero
17231 _SPU--`config/spu/spu.h'_
17233     `a'
17234           An immediate which can be loaded with the il/ila/ilh/ilhu
17235           instructions.  const_int is treated as a 64 bit value.
17237     `c'
17238           An immediate for and/xor/or instructions.  const_int is
17239           treated as a 64 bit value.
17241     `d'
17242           An immediate for the `iohl' instruction.  const_int is
17243           treated as a 64 bit value.
17245     `f'
17246           An immediate which can be loaded with `fsmbi'.
17248     `A'
17249           An immediate which can be loaded with the il/ila/ilh/ilhu
17250           instructions.  const_int is treated as a 32 bit value.
17252     `B'
17253           An immediate for most arithmetic instructions.  const_int is
17254           treated as a 32 bit value.
17256     `C'
17257           An immediate for and/xor/or instructions.  const_int is
17258           treated as a 32 bit value.
17260     `D'
17261           An immediate for the `iohl' instruction.  const_int is
17262           treated as a 32 bit value.
17264     `I'
17265           A constant in the range [-64, 63] for shift/rotate
17266           instructions.
17268     `J'
17269           An unsigned 7-bit constant for conversion/nop/channel
17270           instructions.
17272     `K'
17273           A signed 10-bit constant for most arithmetic instructions.
17275     `M'
17276           A signed 16 bit immediate for `stop'.
17278     `N'
17279           An unsigned 16-bit constant for `iohl' and `fsmbi'.
17281     `O'
17282           An unsigned 7-bit constant whose 3 least significant bits are
17283           0.
17285     `P'
17286           An unsigned 3-bit constant for 16-byte rotates and shifts
17288     `R'
17289           Call operand, reg, for indirect calls
17291     `S'
17292           Call operand, symbol, for relative calls.
17294     `T'
17295           Call operand, const_int, for absolute calls.
17297     `U'
17298           An immediate which can be loaded with the il/ila/ilh/ilhu
17299           instructions.  const_int is sign extended to 128 bit.
17301     `W'
17302           An immediate for shift and rotate instructions.  const_int is
17303           treated as a 32 bit value.
17305     `Y'
17306           An immediate for and/xor/or instructions.  const_int is sign
17307           extended as a 128 bit.
17309     `Z'
17310           An immediate for the `iohl' instruction.  const_int is sign
17311           extended to 128 bit.
17314 _S/390 and zSeries--`config/s390/s390.h'_
17316     `a'
17317           Address register (general purpose register except r0)
17319     `c'
17320           Condition code register
17322     `d'
17323           Data register (arbitrary general purpose register)
17325     `f'
17326           Floating-point register
17328     `I'
17329           Unsigned 8-bit constant (0-255)
17331     `J'
17332           Unsigned 12-bit constant (0-4095)
17334     `K'
17335           Signed 16-bit constant (-32768-32767)
17337     `L'
17338           Value appropriate as displacement.
17339          `(0..4095)'
17340                for short displacement
17342          `(-524288..524287)'
17343                for long displacement
17345     `M'
17346           Constant integer with a value of 0x7fffffff.
17348     `N'
17349           Multiple letter constraint followed by 4 parameter letters.
17350          `0..9:'
17351                number of the part counting from most to least
17352                significant
17354          `H,Q:'
17355                mode of the part
17357          `D,S,H:'
17358                mode of the containing operand
17360          `0,F:'
17361                value of the other parts (F--all bits set)
17362           The constraint matches if the specified part of a constant
17363           has a value different from its other parts.
17365     `Q'
17366           Memory reference without index register and with short
17367           displacement.
17369     `R'
17370           Memory reference with index register and short displacement.
17372     `S'
17373           Memory reference without index register but with long
17374           displacement.
17376     `T'
17377           Memory reference with index register and long displacement.
17379     `U'
17380           Pointer with short displacement.
17382     `W'
17383           Pointer with long displacement.
17385     `Y'
17386           Shift count operand.
17389 _Score family--`config/score/score.h'_
17391     `d'
17392           Registers from r0 to r32.
17394     `e'
17395           Registers from r0 to r16.
17397     `t'
17398           r8--r11 or r22--r27 registers.
17400     `h'
17401           hi register.
17403     `l'
17404           lo register.
17406     `x'
17407           hi + lo register.
17409     `q'
17410           cnt register.
17412     `y'
17413           lcb register.
17415     `z'
17416           scb register.
17418     `a'
17419           cnt + lcb + scb register.
17421     `c'
17422           cr0--cr15 register.
17424     `b'
17425           cp1 registers.
17427     `f'
17428           cp2 registers.
17430     `i'
17431           cp3 registers.
17433     `j'
17434           cp1 + cp2 + cp3 registers.
17436     `I'
17437           High 16-bit constant (32-bit constant with 16 LSBs zero).
17439     `J'
17440           Unsigned 5 bit integer (in the range 0 to 31).
17442     `K'
17443           Unsigned 16 bit integer (in the range 0 to 65535).
17445     `L'
17446           Signed 16 bit integer (in the range -32768 to 32767).
17448     `M'
17449           Unsigned 14 bit integer (in the range 0 to 16383).
17451     `N'
17452           Signed 14 bit integer (in the range -8192 to 8191).
17454     `Z'
17455           Any SYMBOL_REF.
17457 _Xstormy16--`config/stormy16/stormy16.h'_
17459     `a'
17460           Register r0.
17462     `b'
17463           Register r1.
17465     `c'
17466           Register r2.
17468     `d'
17469           Register r8.
17471     `e'
17472           Registers r0 through r7.
17474     `t'
17475           Registers r0 and r1.
17477     `y'
17478           The carry register.
17480     `z'
17481           Registers r8 and r9.
17483     `I'
17484           A constant between 0 and 3 inclusive.
17486     `J'
17487           A constant that has exactly one bit set.
17489     `K'
17490           A constant that has exactly one bit clear.
17492     `L'
17493           A constant between 0 and 255 inclusive.
17495     `M'
17496           A constant between -255 and 0 inclusive.
17498     `N'
17499           A constant between -3 and 0 inclusive.
17501     `O'
17502           A constant between 1 and 4 inclusive.
17504     `P'
17505           A constant between -4 and -1 inclusive.
17507     `Q'
17508           A memory reference that is a stack push.
17510     `R'
17511           A memory reference that is a stack pop.
17513     `S'
17514           A memory reference that refers to a constant address of known
17515           value.
17517     `T'
17518           The register indicated by Rx (not implemented yet).
17520     `U'
17521           A constant that is not between 2 and 15 inclusive.
17523     `Z'
17524           The constant 0.
17527 _Xtensa--`config/xtensa/constraints.md'_
17529     `a'
17530           General-purpose 32-bit register
17532     `b'
17533           One-bit boolean register
17535     `A'
17536           MAC16 40-bit accumulator register
17538     `I'
17539           Signed 12-bit integer constant, for use in MOVI instructions
17541     `J'
17542           Signed 8-bit integer constant, for use in ADDI instructions
17544     `K'
17545           Integer constant valid for BccI instructions
17547     `L'
17548           Unsigned constant valid for BccUI instructions
17552 \x1f
17553 File: gccint.info,  Node: Define Constraints,  Next: C Constraint Interface,  Prev: Machine Constraints,  Up: Constraints
17555 14.8.6 Defining Machine-Specific Constraints
17556 --------------------------------------------
17558 Machine-specific constraints fall into two categories: register and
17559 non-register constraints.  Within the latter category, constraints
17560 which allow subsets of all possible memory or address operands should
17561 be specially marked, to give `reload' more information.
17563  Machine-specific constraints can be given names of arbitrary length,
17564 but they must be entirely composed of letters, digits, underscores
17565 (`_'), and angle brackets (`< >').  Like C identifiers, they must begin
17566 with a letter or underscore.
17568  In order to avoid ambiguity in operand constraint strings, no
17569 constraint can have a name that begins with any other constraint's
17570 name.  For example, if `x' is defined as a constraint name, `xy' may
17571 not be, and vice versa.  As a consequence of this rule, no constraint
17572 may begin with one of the generic constraint letters: `E F V X g i m n
17573 o p r s'.
17575  Register constraints correspond directly to register classes.  *Note
17576 Register Classes::.  There is thus not much flexibility in their
17577 definitions.
17579  -- MD Expression: define_register_constraint name regclass docstring
17580      All three arguments are string constants.  NAME is the name of the
17581      constraint, as it will appear in `match_operand' expressions.  If
17582      NAME is a multi-letter constraint its length shall be the same for
17583      all constraints starting with the same letter.  REGCLASS can be
17584      either the name of the corresponding register class (*note
17585      Register Classes::), or a C expression which evaluates to the
17586      appropriate register class.  If it is an expression, it must have
17587      no side effects, and it cannot look at the operand.  The usual use
17588      of expressions is to map some register constraints to `NO_REGS'
17589      when the register class is not available on a given
17590      subarchitecture.
17592      DOCSTRING is a sentence documenting the meaning of the constraint.
17593      Docstrings are explained further below.
17595  Non-register constraints are more like predicates: the constraint
17596 definition gives a Boolean expression which indicates whether the
17597 constraint matches.
17599  -- MD Expression: define_constraint name docstring exp
17600      The NAME and DOCSTRING arguments are the same as for
17601      `define_register_constraint', but note that the docstring comes
17602      immediately after the name for these expressions.  EXP is an RTL
17603      expression, obeying the same rules as the RTL expressions in
17604      predicate definitions.  *Note Defining Predicates::, for details.
17605      If it evaluates true, the constraint matches; if it evaluates
17606      false, it doesn't. Constraint expressions should indicate which
17607      RTL codes they might match, just like predicate expressions.
17609      `match_test' C expressions have access to the following variables:
17611     OP
17612           The RTL object defining the operand.
17614     MODE
17615           The machine mode of OP.
17617     IVAL
17618           `INTVAL (OP)', if OP is a `const_int'.
17620     HVAL
17621           `CONST_DOUBLE_HIGH (OP)', if OP is an integer `const_double'.
17623     LVAL
17624           `CONST_DOUBLE_LOW (OP)', if OP is an integer `const_double'.
17626     RVAL
17627           `CONST_DOUBLE_REAL_VALUE (OP)', if OP is a floating-point
17628           `const_double'.
17630      The *VAL variables should only be used once another piece of the
17631      expression has verified that OP is the appropriate kind of RTL
17632      object.
17634  Most non-register constraints should be defined with
17635 `define_constraint'.  The remaining two definition expressions are only
17636 appropriate for constraints that should be handled specially by
17637 `reload' if they fail to match.
17639  -- MD Expression: define_memory_constraint name docstring exp
17640      Use this expression for constraints that match a subset of all
17641      memory operands: that is, `reload' can make them match by
17642      converting the operand to the form `(mem (reg X))', where X is a
17643      base register (from the register class specified by
17644      `BASE_REG_CLASS', *note Register Classes::).
17646      For example, on the S/390, some instructions do not accept
17647      arbitrary memory references, but only those that do not make use
17648      of an index register.  The constraint letter `Q' is defined to
17649      represent a memory address of this type.  If `Q' is defined with
17650      `define_memory_constraint', a `Q' constraint can handle any memory
17651      operand, because `reload' knows it can simply copy the memory
17652      address into a base register if required.  This is analogous to
17653      the way a `o' constraint can handle any memory operand.
17655      The syntax and semantics are otherwise identical to
17656      `define_constraint'.
17658  -- MD Expression: define_address_constraint name docstring exp
17659      Use this expression for constraints that match a subset of all
17660      address operands: that is, `reload' can make the constraint match
17661      by converting the operand to the form `(reg X)', again with X a
17662      base register.
17664      Constraints defined with `define_address_constraint' can only be
17665      used with the `address_operand' predicate, or machine-specific
17666      predicates that work the same way.  They are treated analogously to
17667      the generic `p' constraint.
17669      The syntax and semantics are otherwise identical to
17670      `define_constraint'.
17672  For historical reasons, names beginning with the letters `G H' are
17673 reserved for constraints that match only `const_double's, and names
17674 beginning with the letters `I J K L M N O P' are reserved for
17675 constraints that match only `const_int's.  This may change in the
17676 future.  For the time being, constraints with these names must be
17677 written in a stylized form, so that `genpreds' can tell you did it
17678 correctly:
17680      (define_constraint "[GHIJKLMNOP]..."
17681        "DOC..."
17682        (and (match_code "const_int")  ; `const_double' for G/H
17683             CONDITION...))            ; usually a `match_test'
17685  It is fine to use names beginning with other letters for constraints
17686 that match `const_double's or `const_int's.
17688  Each docstring in a constraint definition should be one or more
17689 complete sentences, marked up in Texinfo format.  _They are currently
17690 unused._ In the future they will be copied into the GCC manual, in
17691 *Note Machine Constraints::, replacing the hand-maintained tables
17692 currently found in that section.  Also, in the future the compiler may
17693 use this to give more helpful diagnostics when poor choice of `asm'
17694 constraints causes a reload failure.
17696  If you put the pseudo-Texinfo directive `@internal' at the beginning
17697 of a docstring, then (in the future) it will appear only in the
17698 internals manual's version of the machine-specific constraint tables.
17699 Use this for constraints that should not appear in `asm' statements.
17701 \x1f
17702 File: gccint.info,  Node: C Constraint Interface,  Prev: Define Constraints,  Up: Constraints
17704 14.8.7 Testing constraints from C
17705 ---------------------------------
17707 It is occasionally useful to test a constraint from C code rather than
17708 implicitly via the constraint string in a `match_operand'.  The
17709 generated file `tm_p.h' declares a few interfaces for working with
17710 machine-specific constraints.  None of these interfaces work with the
17711 generic constraints described in *Note Simple Constraints::.  This may
17712 change in the future.
17714  *Warning:* `tm_p.h' may declare other functions that operate on
17715 constraints, besides the ones documented here.  Do not use those
17716 functions from machine-dependent code.  They exist to implement the old
17717 constraint interface that machine-independent components of the
17718 compiler still expect.  They will change or disappear in the future.
17720  Some valid constraint names are not valid C identifiers, so there is a
17721 mangling scheme for referring to them from C.  Constraint names that do
17722 not contain angle brackets or underscores are left unchanged.
17723 Underscores are doubled, each `<' is replaced with `_l', and each `>'
17724 with `_g'.  Here are some examples:
17726      *Original* *Mangled*
17727      `x'        `x'
17728      `P42x'     `P42x'
17729      `P4_x'     `P4__x'
17730      `P4>x'     `P4_gx'
17731      `P4>>'     `P4_g_g'
17732      `P4_g>'    `P4__g_g'
17734  Throughout this section, the variable C is either a constraint in the
17735 abstract sense, or a constant from `enum constraint_num'; the variable
17736 M is a mangled constraint name (usually as part of a larger identifier).
17738  -- Enum: constraint_num
17739      For each machine-specific constraint, there is a corresponding
17740      enumeration constant: `CONSTRAINT_' plus the mangled name of the
17741      constraint.  Functions that take an `enum constraint_num' as an
17742      argument expect one of these constants.
17744      Machine-independent constraints do not have associated constants.
17745      This may change in the future.
17747  -- Function: inline bool satisfies_constraint_M (rtx EXP)
17748      For each machine-specific, non-register constraint M, there is one
17749      of these functions; it returns `true' if EXP satisfies the
17750      constraint.  These functions are only visible if `rtl.h' was
17751      included before `tm_p.h'.
17753  -- Function: bool constraint_satisfied_p (rtx EXP, enum constraint_num
17754           C)
17755      Like the `satisfies_constraint_M' functions, but the constraint to
17756      test is given as an argument, C.  If C specifies a register
17757      constraint, this function will always return `false'.
17759  -- Function: enum reg_class regclass_for_constraint (enum
17760           constraint_num C)
17761      Returns the register class associated with C.  If C is not a
17762      register constraint, or those registers are not available for the
17763      currently selected subtarget, returns `NO_REGS'.
17765  Here is an example use of `satisfies_constraint_M'.  In peephole
17766 optimizations (*note Peephole Definitions::), operand constraint
17767 strings are ignored, so if there are relevant constraints, they must be
17768 tested in the C condition.  In the example, the optimization is applied
17769 if operand 2 does _not_ satisfy the `K' constraint.  (This is a
17770 simplified version of a peephole definition from the i386 machine
17771 description.)
17773      (define_peephole2
17774        [(match_scratch:SI 3 "r")
17775         (set (match_operand:SI 0 "register_operand" "")
17776         (mult:SI (match_operand:SI 1 "memory_operand" "")
17777                  (match_operand:SI 2 "immediate_operand" "")))]
17779        "!satisfies_constraint_K (operands[2])"
17781        [(set (match_dup 3) (match_dup 1))
17782         (set (match_dup 0) (mult:SI (match_dup 3) (match_dup 2)))]
17784        "")
17786 \x1f
17787 File: gccint.info,  Node: Standard Names,  Next: Pattern Ordering,  Prev: Constraints,  Up: Machine Desc
17789 14.9 Standard Pattern Names For Generation
17790 ==========================================
17792 Here is a table of the instruction names that are meaningful in the RTL
17793 generation pass of the compiler.  Giving one of these names to an
17794 instruction pattern tells the RTL generation pass that it can use the
17795 pattern to accomplish a certain task.
17797 `movM'
17798      Here M stands for a two-letter machine mode name, in lowercase.
17799      This instruction pattern moves data with that machine mode from
17800      operand 1 to operand 0.  For example, `movsi' moves full-word data.
17802      If operand 0 is a `subreg' with mode M of a register whose own
17803      mode is wider than M, the effect of this instruction is to store
17804      the specified value in the part of the register that corresponds
17805      to mode M.  Bits outside of M, but which are within the same
17806      target word as the `subreg' are undefined.  Bits which are outside
17807      the target word are left unchanged.
17809      This class of patterns is special in several ways.  First of all,
17810      each of these names up to and including full word size _must_ be
17811      defined, because there is no other way to copy a datum from one
17812      place to another.  If there are patterns accepting operands in
17813      larger modes, `movM' must be defined for integer modes of those
17814      sizes.
17816      Second, these patterns are not used solely in the RTL generation
17817      pass.  Even the reload pass can generate move insns to copy values
17818      from stack slots into temporary registers.  When it does so, one
17819      of the operands is a hard register and the other is an operand
17820      that can need to be reloaded into a register.
17822      Therefore, when given such a pair of operands, the pattern must
17823      generate RTL which needs no reloading and needs no temporary
17824      registers--no registers other than the operands.  For example, if
17825      you support the pattern with a `define_expand', then in such a
17826      case the `define_expand' mustn't call `force_reg' or any other such
17827      function which might generate new pseudo registers.
17829      This requirement exists even for subword modes on a RISC machine
17830      where fetching those modes from memory normally requires several
17831      insns and some temporary registers.
17833      During reload a memory reference with an invalid address may be
17834      passed as an operand.  Such an address will be replaced with a
17835      valid address later in the reload pass.  In this case, nothing may
17836      be done with the address except to use it as it stands.  If it is
17837      copied, it will not be replaced with a valid address.  No attempt
17838      should be made to make such an address into a valid address and no
17839      routine (such as `change_address') that will do so may be called.
17840      Note that `general_operand' will fail when applied to such an
17841      address.
17843      The global variable `reload_in_progress' (which must be explicitly
17844      declared if required) can be used to determine whether such special
17845      handling is required.
17847      The variety of operands that have reloads depends on the rest of
17848      the machine description, but typically on a RISC machine these can
17849      only be pseudo registers that did not get hard registers, while on
17850      other machines explicit memory references will get optional
17851      reloads.
17853      If a scratch register is required to move an object to or from
17854      memory, it can be allocated using `gen_reg_rtx' prior to life
17855      analysis.
17857      If there are cases which need scratch registers during or after
17858      reload, you must provide an appropriate secondary_reload target
17859      hook.
17861      The macro `can_create_pseudo_p' can be used to determine if it is
17862      unsafe to create new pseudo registers.  If this variable is
17863      nonzero, then it is unsafe to call `gen_reg_rtx' to allocate a new
17864      pseudo.
17866      The constraints on a `movM' must permit moving any hard register
17867      to any other hard register provided that `HARD_REGNO_MODE_OK'
17868      permits mode M in both registers and `REGISTER_MOVE_COST' applied
17869      to their classes returns a value of 2.
17871      It is obligatory to support floating point `movM' instructions
17872      into and out of any registers that can hold fixed point values,
17873      because unions and structures (which have modes `SImode' or
17874      `DImode') can be in those registers and they may have floating
17875      point members.
17877      There may also be a need to support fixed point `movM'
17878      instructions in and out of floating point registers.
17879      Unfortunately, I have forgotten why this was so, and I don't know
17880      whether it is still true.  If `HARD_REGNO_MODE_OK' rejects fixed
17881      point values in floating point registers, then the constraints of
17882      the fixed point `movM' instructions must be designed to avoid ever
17883      trying to reload into a floating point register.
17885 `reload_inM'
17886 `reload_outM'
17887      These named patterns have been obsoleted by the target hook
17888      `secondary_reload'.
17890      Like `movM', but used when a scratch register is required to move
17891      between operand 0 and operand 1.  Operand 2 describes the scratch
17892      register.  See the discussion of the `SECONDARY_RELOAD_CLASS'
17893      macro in *note Register Classes::.
17895      There are special restrictions on the form of the `match_operand's
17896      used in these patterns.  First, only the predicate for the reload
17897      operand is examined, i.e., `reload_in' examines operand 1, but not
17898      the predicates for operand 0 or 2.  Second, there may be only one
17899      alternative in the constraints.  Third, only a single register
17900      class letter may be used for the constraint; subsequent constraint
17901      letters are ignored.  As a special exception, an empty constraint
17902      string matches the `ALL_REGS' register class.  This may relieve
17903      ports of the burden of defining an `ALL_REGS' constraint letter
17904      just for these patterns.
17906 `movstrictM'
17907      Like `movM' except that if operand 0 is a `subreg' with mode M of
17908      a register whose natural mode is wider, the `movstrictM'
17909      instruction is guaranteed not to alter any of the register except
17910      the part which belongs to mode M.
17912 `movmisalignM'
17913      This variant of a move pattern is designed to load or store a value
17914      from a memory address that is not naturally aligned for its mode.
17915      For a store, the memory will be in operand 0; for a load, the
17916      memory will be in operand 1.  The other operand is guaranteed not
17917      to be a memory, so that it's easy to tell whether this is a load
17918      or store.
17920      This pattern is used by the autovectorizer, and when expanding a
17921      `MISALIGNED_INDIRECT_REF' expression.
17923 `load_multiple'
17924      Load several consecutive memory locations into consecutive
17925      registers.  Operand 0 is the first of the consecutive registers,
17926      operand 1 is the first memory location, and operand 2 is a
17927      constant: the number of consecutive registers.
17929      Define this only if the target machine really has such an
17930      instruction; do not define this if the most efficient way of
17931      loading consecutive registers from memory is to do them one at a
17932      time.
17934      On some machines, there are restrictions as to which consecutive
17935      registers can be stored into memory, such as particular starting or
17936      ending register numbers or only a range of valid counts.  For those
17937      machines, use a `define_expand' (*note Expander Definitions::) and
17938      make the pattern fail if the restrictions are not met.
17940      Write the generated insn as a `parallel' with elements being a
17941      `set' of one register from the appropriate memory location (you may
17942      also need `use' or `clobber' elements).  Use a `match_parallel'
17943      (*note RTL Template::) to recognize the insn.  See `rs6000.md' for
17944      examples of the use of this insn pattern.
17946 `store_multiple'
17947      Similar to `load_multiple', but store several consecutive registers
17948      into consecutive memory locations.  Operand 0 is the first of the
17949      consecutive memory locations, operand 1 is the first register, and
17950      operand 2 is a constant: the number of consecutive registers.
17952 `vec_setM'
17953      Set given field in the vector value.  Operand 0 is the vector to
17954      modify, operand 1 is new value of field and operand 2 specify the
17955      field index.
17957 `vec_extractM'
17958      Extract given field from the vector value.  Operand 1 is the
17959      vector, operand 2 specify field index and operand 0 place to store
17960      value into.
17962 `vec_extract_evenM'
17963      Extract even elements from the input vectors (operand 1 and
17964      operand 2).  The even elements of operand 2 are concatenated to
17965      the even elements of operand 1 in their original order. The result
17966      is stored in operand 0.  The output and input vectors should have
17967      the same modes.
17969 `vec_extract_oddM'
17970      Extract odd elements from the input vectors (operand 1 and operand
17971      2).  The odd elements of operand 2 are concatenated to the odd
17972      elements of operand 1 in their original order. The result is
17973      stored in operand 0.  The output and input vectors should have the
17974      same modes.
17976 `vec_interleave_highM'
17977      Merge high elements of the two input vectors into the output
17978      vector. The output and input vectors should have the same modes
17979      (`N' elements). The high `N/2' elements of the first input vector
17980      are interleaved with the high `N/2' elements of the second input
17981      vector.
17983 `vec_interleave_lowM'
17984      Merge low elements of the two input vectors into the output
17985      vector. The output and input vectors should have the same modes
17986      (`N' elements). The low `N/2' elements of the first input vector
17987      are interleaved with the low `N/2' elements of the second input
17988      vector.
17990 `vec_initM'
17991      Initialize the vector to given values.  Operand 0 is the vector to
17992      initialize and operand 1 is parallel containing values for
17993      individual fields.
17995 `pushM1'
17996      Output a push instruction.  Operand 0 is value to push.  Used only
17997      when `PUSH_ROUNDING' is defined.  For historical reason, this
17998      pattern may be missing and in such case an `mov' expander is used
17999      instead, with a `MEM' expression forming the push operation.  The
18000      `mov' expander method is deprecated.
18002 `addM3'
18003      Add operand 2 and operand 1, storing the result in operand 0.  All
18004      operands must have mode M.  This can be used even on two-address
18005      machines, by means of constraints requiring operands 1 and 0 to be
18006      the same location.
18008 `ssaddM3', `usaddM3'
18010 `subM3', `sssubM3', `ussubM3'
18012 `mulM3', `ssmulM3', `usmulM3'
18013 `divM3', `ssdivM3'
18014 `udivM3', `usdivM3'
18015 `modM3', `umodM3'
18016 `uminM3', `umaxM3'
18017 `andM3', `iorM3', `xorM3'
18018      Similar, for other arithmetic operations.
18020 `sminM3', `smaxM3'
18021      Signed minimum and maximum operations.  When used with floating
18022      point, if both operands are zeros, or if either operand is `NaN',
18023      then it is unspecified which of the two operands is returned as
18024      the result.
18026 `reduc_smin_M', `reduc_smax_M'
18027      Find the signed minimum/maximum of the elements of a vector. The
18028      vector is operand 1, and the scalar result is stored in the least
18029      significant bits of operand 0 (also a vector). The output and
18030      input vector should have the same modes.
18032 `reduc_umin_M', `reduc_umax_M'
18033      Find the unsigned minimum/maximum of the elements of a vector. The
18034      vector is operand 1, and the scalar result is stored in the least
18035      significant bits of operand 0 (also a vector). The output and
18036      input vector should have the same modes.
18038 `reduc_splus_M'
18039      Compute the sum of the signed elements of a vector. The vector is
18040      operand 1, and the scalar result is stored in the least
18041      significant bits of operand 0 (also a vector). The output and
18042      input vector should have the same modes.
18044 `reduc_uplus_M'
18045      Compute the sum of the unsigned elements of a vector. The vector
18046      is operand 1, and the scalar result is stored in the least
18047      significant bits of operand 0 (also a vector). The output and
18048      input vector should have the same modes.
18050 `sdot_prodM'
18052 `udot_prodM'
18053      Compute the sum of the products of two signed/unsigned elements.
18054      Operand 1 and operand 2 are of the same mode. Their product, which
18055      is of a wider mode, is computed and added to operand 3. Operand 3
18056      is of a mode equal or wider than the mode of the product. The
18057      result is placed in operand 0, which is of the same mode as
18058      operand 3.
18060 `ssum_widenM3'
18062 `usum_widenM3'
18063      Operands 0 and 2 are of the same mode, which is wider than the
18064      mode of operand 1. Add operand 1 to operand 2 and place the
18065      widened result in operand 0. (This is used express accumulation of
18066      elements into an accumulator of a wider mode.)
18068 `vec_shl_M', `vec_shr_M'
18069      Whole vector left/right shift in bits.  Operand 1 is a vector to
18070      be shifted.  Operand 2 is an integer shift amount in bits.
18071      Operand 0 is where the resulting shifted vector is stored.  The
18072      output and input vectors should have the same modes.
18074 `vec_pack_trunc_M'
18075      Narrow (demote) and merge the elements of two vectors. Operands 1
18076      and 2 are vectors of the same mode having N integral or floating
18077      point elements of size S.  Operand 0 is the resulting vector in
18078      which 2*N elements of size N/2 are concatenated after narrowing
18079      them down using truncation.
18081 `vec_pack_ssat_M', `vec_pack_usat_M'
18082      Narrow (demote) and merge the elements of two vectors.  Operands 1
18083      and 2 are vectors of the same mode having N integral elements of
18084      size S.  Operand 0 is the resulting vector in which the elements
18085      of the two input vectors are concatenated after narrowing them
18086      down using signed/unsigned saturating arithmetic.
18088 `vec_pack_sfix_trunc_M', `vec_pack_ufix_trunc_M'
18089      Narrow, convert to signed/unsigned integral type and merge the
18090      elements of two vectors.  Operands 1 and 2 are vectors of the same
18091      mode having N floating point elements of size S.  Operand 0 is the
18092      resulting vector in which 2*N elements of size N/2 are
18093      concatenated.
18095 `vec_unpacks_hi_M', `vec_unpacks_lo_M'
18096      Extract and widen (promote) the high/low part of a vector of signed
18097      integral or floating point elements.  The input vector (operand 1)
18098      has N elements of size S.  Widen (promote) the high/low elements
18099      of the vector using signed or floating point extension and place
18100      the resulting N/2 values of size 2*S in the output vector (operand
18101      0).
18103 `vec_unpacku_hi_M', `vec_unpacku_lo_M'
18104      Extract and widen (promote) the high/low part of a vector of
18105      unsigned integral elements.  The input vector (operand 1) has N
18106      elements of size S.  Widen (promote) the high/low elements of the
18107      vector using zero extension and place the resulting N/2 values of
18108      size 2*S in the output vector (operand 0).
18110 `vec_unpacks_float_hi_M', `vec_unpacks_float_lo_M'
18111 `vec_unpacku_float_hi_M', `vec_unpacku_float_lo_M'
18112      Extract, convert to floating point type and widen the high/low
18113      part of a vector of signed/unsigned integral elements.  The input
18114      vector (operand 1) has N elements of size S.  Convert the high/low
18115      elements of the vector using floating point conversion and place
18116      the resulting N/2 values of size 2*S in the output vector (operand
18117      0).
18119 `vec_widen_umult_hi_M', `vec_widen_umult_lo_M'
18120 `vec_widen_smult_hi_M', `vec_widen_smult_lo_M'
18121      Signed/Unsigned widening multiplication.  The two inputs (operands
18122      1 and 2) are vectors with N signed/unsigned elements of size S.
18123      Multiply the high/low elements of the two vectors, and put the N/2
18124      products of size 2*S in the output vector (operand 0).
18126 `mulhisi3'
18127      Multiply operands 1 and 2, which have mode `HImode', and store a
18128      `SImode' product in operand 0.
18130 `mulqihi3', `mulsidi3'
18131      Similar widening-multiplication instructions of other widths.
18133 `umulqihi3', `umulhisi3', `umulsidi3'
18134      Similar widening-multiplication instructions that do unsigned
18135      multiplication.
18137 `usmulqihi3', `usmulhisi3', `usmulsidi3'
18138      Similar widening-multiplication instructions that interpret the
18139      first operand as unsigned and the second operand as signed, then
18140      do a signed multiplication.
18142 `smulM3_highpart'
18143      Perform a signed multiplication of operands 1 and 2, which have
18144      mode M, and store the most significant half of the product in
18145      operand 0.  The least significant half of the product is discarded.
18147 `umulM3_highpart'
18148      Similar, but the multiplication is unsigned.
18150 `maddMN4'
18151      Multiply operands 1 and 2, sign-extend them to mode N, add operand
18152      3, and store the result in operand 0.  Operands 1 and 2 have mode
18153      M and operands 0 and 3 have mode N.  Both modes must be integer or
18154      fixed-point modes and N must be twice the size of M.
18156      In other words, `maddMN4' is like `mulMN3' except that it also
18157      adds operand 3.
18159      These instructions are not allowed to `FAIL'.
18161 `umaddMN4'
18162      Like `maddMN4', but zero-extend the multiplication operands
18163      instead of sign-extending them.
18165 `ssmaddMN4'
18166      Like `maddMN4', but all involved operations must be
18167      signed-saturating.
18169 `usmaddMN4'
18170      Like `umaddMN4', but all involved operations must be
18171      unsigned-saturating.
18173 `msubMN4'
18174      Multiply operands 1 and 2, sign-extend them to mode N, subtract the
18175      result from operand 3, and store the result in operand 0.
18176      Operands 1 and 2 have mode M and operands 0 and 3 have mode N.
18177      Both modes must be integer or fixed-point modes and N must be twice
18178      the size of M.
18180      In other words, `msubMN4' is like `mulMN3' except that it also
18181      subtracts the result from operand 3.
18183      These instructions are not allowed to `FAIL'.
18185 `umsubMN4'
18186      Like `msubMN4', but zero-extend the multiplication operands
18187      instead of sign-extending them.
18189 `ssmsubMN4'
18190      Like `msubMN4', but all involved operations must be
18191      signed-saturating.
18193 `usmsubMN4'
18194      Like `umsubMN4', but all involved operations must be
18195      unsigned-saturating.
18197 `divmodM4'
18198      Signed division that produces both a quotient and a remainder.
18199      Operand 1 is divided by operand 2 to produce a quotient stored in
18200      operand 0 and a remainder stored in operand 3.
18202      For machines with an instruction that produces both a quotient and
18203      a remainder, provide a pattern for `divmodM4' but do not provide
18204      patterns for `divM3' and `modM3'.  This allows optimization in the
18205      relatively common case when both the quotient and remainder are
18206      computed.
18208      If an instruction that just produces a quotient or just a remainder
18209      exists and is more efficient than the instruction that produces
18210      both, write the output routine of `divmodM4' to call
18211      `find_reg_note' and look for a `REG_UNUSED' note on the quotient
18212      or remainder and generate the appropriate instruction.
18214 `udivmodM4'
18215      Similar, but does unsigned division.
18217 `ashlM3', `ssashlM3', `usashlM3'
18218      Arithmetic-shift operand 1 left by a number of bits specified by
18219      operand 2, and store the result in operand 0.  Here M is the mode
18220      of operand 0 and operand 1; operand 2's mode is specified by the
18221      instruction pattern, and the compiler will convert the operand to
18222      that mode before generating the instruction.  The meaning of
18223      out-of-range shift counts can optionally be specified by
18224      `TARGET_SHIFT_TRUNCATION_MASK'.  *Note
18225      TARGET_SHIFT_TRUNCATION_MASK::.
18227 `ashrM3', `lshrM3', `rotlM3', `rotrM3'
18228      Other shift and rotate instructions, analogous to the `ashlM3'
18229      instructions.
18231 `negM2', `ssnegM2', `usnegM2'
18232      Negate operand 1 and store the result in operand 0.
18234 `absM2'
18235      Store the absolute value of operand 1 into operand 0.
18237 `sqrtM2'
18238      Store the square root of operand 1 into operand 0.
18240      The `sqrt' built-in function of C always uses the mode which
18241      corresponds to the C data type `double' and the `sqrtf' built-in
18242      function uses the mode which corresponds to the C data type
18243      `float'.
18245 `fmodM3'
18246      Store the remainder of dividing operand 1 by operand 2 into
18247      operand 0, rounded towards zero to an integer.
18249      The `fmod' built-in function of C always uses the mode which
18250      corresponds to the C data type `double' and the `fmodf' built-in
18251      function uses the mode which corresponds to the C data type
18252      `float'.
18254 `remainderM3'
18255      Store the remainder of dividing operand 1 by operand 2 into
18256      operand 0, rounded to the nearest integer.
18258      The `remainder' built-in function of C always uses the mode which
18259      corresponds to the C data type `double' and the `remainderf'
18260      built-in function uses the mode which corresponds to the C data
18261      type `float'.
18263 `cosM2'
18264      Store the cosine of operand 1 into operand 0.
18266      The `cos' built-in function of C always uses the mode which
18267      corresponds to the C data type `double' and the `cosf' built-in
18268      function uses the mode which corresponds to the C data type
18269      `float'.
18271 `sinM2'
18272      Store the sine of operand 1 into operand 0.
18274      The `sin' built-in function of C always uses the mode which
18275      corresponds to the C data type `double' and the `sinf' built-in
18276      function uses the mode which corresponds to the C data type
18277      `float'.
18279 `expM2'
18280      Store the exponential of operand 1 into operand 0.
18282      The `exp' built-in function of C always uses the mode which
18283      corresponds to the C data type `double' and the `expf' built-in
18284      function uses the mode which corresponds to the C data type
18285      `float'.
18287 `logM2'
18288      Store the natural logarithm of operand 1 into operand 0.
18290      The `log' built-in function of C always uses the mode which
18291      corresponds to the C data type `double' and the `logf' built-in
18292      function uses the mode which corresponds to the C data type
18293      `float'.
18295 `powM3'
18296      Store the value of operand 1 raised to the exponent operand 2 into
18297      operand 0.
18299      The `pow' built-in function of C always uses the mode which
18300      corresponds to the C data type `double' and the `powf' built-in
18301      function uses the mode which corresponds to the C data type
18302      `float'.
18304 `atan2M3'
18305      Store the arc tangent (inverse tangent) of operand 1 divided by
18306      operand 2 into operand 0, using the signs of both arguments to
18307      determine the quadrant of the result.
18309      The `atan2' built-in function of C always uses the mode which
18310      corresponds to the C data type `double' and the `atan2f' built-in
18311      function uses the mode which corresponds to the C data type
18312      `float'.
18314 `floorM2'
18315      Store the largest integral value not greater than argument.
18317      The `floor' built-in function of C always uses the mode which
18318      corresponds to the C data type `double' and the `floorf' built-in
18319      function uses the mode which corresponds to the C data type
18320      `float'.
18322 `btruncM2'
18323      Store the argument rounded to integer towards zero.
18325      The `trunc' built-in function of C always uses the mode which
18326      corresponds to the C data type `double' and the `truncf' built-in
18327      function uses the mode which corresponds to the C data type
18328      `float'.
18330 `roundM2'
18331      Store the argument rounded to integer away from zero.
18333      The `round' built-in function of C always uses the mode which
18334      corresponds to the C data type `double' and the `roundf' built-in
18335      function uses the mode which corresponds to the C data type
18336      `float'.
18338 `ceilM2'
18339      Store the argument rounded to integer away from zero.
18341      The `ceil' built-in function of C always uses the mode which
18342      corresponds to the C data type `double' and the `ceilf' built-in
18343      function uses the mode which corresponds to the C data type
18344      `float'.
18346 `nearbyintM2'
18347      Store the argument rounded according to the default rounding mode
18349      The `nearbyint' built-in function of C always uses the mode which
18350      corresponds to the C data type `double' and the `nearbyintf'
18351      built-in function uses the mode which corresponds to the C data
18352      type `float'.
18354 `rintM2'
18355      Store the argument rounded according to the default rounding mode
18356      and raise the inexact exception when the result differs in value
18357      from the argument
18359      The `rint' built-in function of C always uses the mode which
18360      corresponds to the C data type `double' and the `rintf' built-in
18361      function uses the mode which corresponds to the C data type
18362      `float'.
18364 `lrintMN2'
18365      Convert operand 1 (valid for floating point mode M) to fixed point
18366      mode N as a signed number according to the current rounding mode
18367      and store in operand 0 (which has mode N).
18369 `lroundM2'
18370      Convert operand 1 (valid for floating point mode M) to fixed point
18371      mode N as a signed number rounding to nearest and away from zero
18372      and store in operand 0 (which has mode N).
18374 `lfloorM2'
18375      Convert operand 1 (valid for floating point mode M) to fixed point
18376      mode N as a signed number rounding down and store in operand 0
18377      (which has mode N).
18379 `lceilM2'
18380      Convert operand 1 (valid for floating point mode M) to fixed point
18381      mode N as a signed number rounding up and store in operand 0
18382      (which has mode N).
18384 `copysignM3'
18385      Store a value with the magnitude of operand 1 and the sign of
18386      operand 2 into operand 0.
18388      The `copysign' built-in function of C always uses the mode which
18389      corresponds to the C data type `double' and the `copysignf'
18390      built-in function uses the mode which corresponds to the C data
18391      type `float'.
18393 `ffsM2'
18394      Store into operand 0 one plus the index of the least significant
18395      1-bit of operand 1.  If operand 1 is zero, store zero.  M is the
18396      mode of operand 0; operand 1's mode is specified by the instruction
18397      pattern, and the compiler will convert the operand to that mode
18398      before generating the instruction.
18400      The `ffs' built-in function of C always uses the mode which
18401      corresponds to the C data type `int'.
18403 `clzM2'
18404      Store into operand 0 the number of leading 0-bits in X, starting
18405      at the most significant bit position.  If X is 0, the
18406      `CLZ_DEFINED_VALUE_AT_ZERO' (*note Misc::) macro defines if the
18407      result is undefined or has a useful value.  M is the mode of
18408      operand 0; operand 1's mode is specified by the instruction
18409      pattern, and the compiler will convert the operand to that mode
18410      before generating the instruction.
18412 `ctzM2'
18413      Store into operand 0 the number of trailing 0-bits in X, starting
18414      at the least significant bit position.  If X is 0, the
18415      `CTZ_DEFINED_VALUE_AT_ZERO' (*note Misc::) macro defines if the
18416      result is undefined or has a useful value.  M is the mode of
18417      operand 0; operand 1's mode is specified by the instruction
18418      pattern, and the compiler will convert the operand to that mode
18419      before generating the instruction.
18421 `popcountM2'
18422      Store into operand 0 the number of 1-bits in X.  M is the mode of
18423      operand 0; operand 1's mode is specified by the instruction
18424      pattern, and the compiler will convert the operand to that mode
18425      before generating the instruction.
18427 `parityM2'
18428      Store into operand 0 the parity of X, i.e. the number of 1-bits in
18429      X modulo 2.  M is the mode of operand 0; operand 1's mode is
18430      specified by the instruction pattern, and the compiler will convert
18431      the operand to that mode before generating the instruction.
18433 `one_cmplM2'
18434      Store the bitwise-complement of operand 1 into operand 0.
18436 `cmpM'
18437      Compare operand 0 and operand 1, and set the condition codes.  The
18438      RTL pattern should look like this:
18440           (set (cc0) (compare (match_operand:M 0 ...)
18441                               (match_operand:M 1 ...)))
18443 `tstM'
18444      Compare operand 0 against zero, and set the condition codes.  The
18445      RTL pattern should look like this:
18447           (set (cc0) (match_operand:M 0 ...))
18449      `tstM' patterns should not be defined for machines that do not use
18450      `(cc0)'.  Doing so would confuse the optimizer since it would no
18451      longer be clear which `set' operations were comparisons.  The
18452      `cmpM' patterns should be used instead.
18454 `movmemM'
18455      Block move instruction.  The destination and source blocks of
18456      memory are the first two operands, and both are `mem:BLK's with an
18457      address in mode `Pmode'.
18459      The number of bytes to move is the third operand, in mode M.
18460      Usually, you specify `word_mode' for M.  However, if you can
18461      generate better code knowing the range of valid lengths is smaller
18462      than those representable in a full word, you should provide a
18463      pattern with a mode corresponding to the range of values you can
18464      handle efficiently (e.g., `QImode' for values in the range 0-127;
18465      note we avoid numbers that appear negative) and also a pattern
18466      with `word_mode'.
18468      The fourth operand is the known shared alignment of the source and
18469      destination, in the form of a `const_int' rtx.  Thus, if the
18470      compiler knows that both source and destination are word-aligned,
18471      it may provide the value 4 for this operand.
18473      Optional operands 5 and 6 specify expected alignment and size of
18474      block respectively.  The expected alignment differs from alignment
18475      in operand 4 in a way that the blocks are not required to be
18476      aligned according to it in all cases. Expected size, when unknown,
18477      is set to `(const_int -1)'.
18479      Descriptions of multiple `movmemM' patterns can only be beneficial
18480      if the patterns for smaller modes have fewer restrictions on their
18481      first, second and fourth operands.  Note that the mode M in
18482      `movmemM' does not impose any restriction on the mode of
18483      individually moved data units in the block.
18485      These patterns need not give special consideration to the
18486      possibility that the source and destination strings might overlap.
18488 `movstr'
18489      String copy instruction, with `stpcpy' semantics.  Operand 0 is an
18490      output operand in mode `Pmode'.  The addresses of the destination
18491      and source strings are operands 1 and 2, and both are `mem:BLK's
18492      with addresses in mode `Pmode'.  The execution of the expansion of
18493      this pattern should store in operand 0 the address in which the
18494      `NUL' terminator was stored in the destination string.
18496 `setmemM'
18497      Block set instruction.  The destination string is the first
18498      operand, given as a `mem:BLK' whose address is in mode `Pmode'.
18499      The number of bytes to set is the second operand, in mode M.  The
18500      value to initialize the memory with is the third operand. Targets
18501      that only support the clearing of memory should reject any value
18502      that is not the constant 0.  See `movmemM' for a discussion of the
18503      choice of mode.
18505      The fourth operand is the known alignment of the destination, in
18506      the form of a `const_int' rtx.  Thus, if the compiler knows that
18507      the destination is word-aligned, it may provide the value 4 for
18508      this operand.
18510      Optional operands 5 and 6 specify expected alignment and size of
18511      block respectively.  The expected alignment differs from alignment
18512      in operand 4 in a way that the blocks are not required to be
18513      aligned according to it in all cases. Expected size, when unknown,
18514      is set to `(const_int -1)'.
18516      The use for multiple `setmemM' is as for `movmemM'.
18518 `cmpstrnM'
18519      String compare instruction, with five operands.  Operand 0 is the
18520      output; it has mode M.  The remaining four operands are like the
18521      operands of `movmemM'.  The two memory blocks specified are
18522      compared byte by byte in lexicographic order starting at the
18523      beginning of each string.  The instruction is not allowed to
18524      prefetch more than one byte at a time since either string may end
18525      in the first byte and reading past that may access an invalid page
18526      or segment and cause a fault.  The effect of the instruction is to
18527      store a value in operand 0 whose sign indicates the result of the
18528      comparison.
18530 `cmpstrM'
18531      String compare instruction, without known maximum length.  Operand
18532      0 is the output; it has mode M.  The second and third operand are
18533      the blocks of memory to be compared; both are `mem:BLK' with an
18534      address in mode `Pmode'.
18536      The fourth operand is the known shared alignment of the source and
18537      destination, in the form of a `const_int' rtx.  Thus, if the
18538      compiler knows that both source and destination are word-aligned,
18539      it may provide the value 4 for this operand.
18541      The two memory blocks specified are compared byte by byte in
18542      lexicographic order starting at the beginning of each string.  The
18543      instruction is not allowed to prefetch more than one byte at a
18544      time since either string may end in the first byte and reading
18545      past that may access an invalid page or segment and cause a fault.
18546      The effect of the instruction is to store a value in operand 0
18547      whose sign indicates the result of the comparison.
18549 `cmpmemM'
18550      Block compare instruction, with five operands like the operands of
18551      `cmpstrM'.  The two memory blocks specified are compared byte by
18552      byte in lexicographic order starting at the beginning of each
18553      block.  Unlike `cmpstrM' the instruction can prefetch any bytes in
18554      the two memory blocks.  The effect of the instruction is to store
18555      a value in operand 0 whose sign indicates the result of the
18556      comparison.
18558 `strlenM'
18559      Compute the length of a string, with three operands.  Operand 0 is
18560      the result (of mode M), operand 1 is a `mem' referring to the
18561      first character of the string, operand 2 is the character to
18562      search for (normally zero), and operand 3 is a constant describing
18563      the known alignment of the beginning of the string.
18565 `floatMN2'
18566      Convert signed integer operand 1 (valid for fixed point mode M) to
18567      floating point mode N and store in operand 0 (which has mode N).
18569 `floatunsMN2'
18570      Convert unsigned integer operand 1 (valid for fixed point mode M)
18571      to floating point mode N and store in operand 0 (which has mode N).
18573 `fixMN2'
18574      Convert operand 1 (valid for floating point mode M) to fixed point
18575      mode N as a signed number and store in operand 0 (which has mode
18576      N).  This instruction's result is defined only when the value of
18577      operand 1 is an integer.
18579      If the machine description defines this pattern, it also needs to
18580      define the `ftrunc' pattern.
18582 `fixunsMN2'
18583      Convert operand 1 (valid for floating point mode M) to fixed point
18584      mode N as an unsigned number and store in operand 0 (which has
18585      mode N).  This instruction's result is defined only when the value
18586      of operand 1 is an integer.
18588 `ftruncM2'
18589      Convert operand 1 (valid for floating point mode M) to an integer
18590      value, still represented in floating point mode M, and store it in
18591      operand 0 (valid for floating point mode M).
18593 `fix_truncMN2'
18594      Like `fixMN2' but works for any floating point value of mode M by
18595      converting the value to an integer.
18597 `fixuns_truncMN2'
18598      Like `fixunsMN2' but works for any floating point value of mode M
18599      by converting the value to an integer.
18601 `truncMN2'
18602      Truncate operand 1 (valid for mode M) to mode N and store in
18603      operand 0 (which has mode N).  Both modes must be fixed point or
18604      both floating point.
18606 `extendMN2'
18607      Sign-extend operand 1 (valid for mode M) to mode N and store in
18608      operand 0 (which has mode N).  Both modes must be fixed point or
18609      both floating point.
18611 `zero_extendMN2'
18612      Zero-extend operand 1 (valid for mode M) to mode N and store in
18613      operand 0 (which has mode N).  Both modes must be fixed point.
18615 `fractMN2'
18616      Convert operand 1 of mode M to mode N and store in operand 0
18617      (which has mode N).  Mode M and mode N could be fixed-point to
18618      fixed-point, signed integer to fixed-point, fixed-point to signed
18619      integer, floating-point to fixed-point, or fixed-point to
18620      floating-point.  When overflows or underflows happen, the results
18621      are undefined.
18623 `satfractMN2'
18624      Convert operand 1 of mode M to mode N and store in operand 0
18625      (which has mode N).  Mode M and mode N could be fixed-point to
18626      fixed-point, signed integer to fixed-point, or floating-point to
18627      fixed-point.  When overflows or underflows happen, the instruction
18628      saturates the results to the maximum or the minimum.
18630 `fractunsMN2'
18631      Convert operand 1 of mode M to mode N and store in operand 0
18632      (which has mode N).  Mode M and mode N could be unsigned integer
18633      to fixed-point, or fixed-point to unsigned integer.  When
18634      overflows or underflows happen, the results are undefined.
18636 `satfractunsMN2'
18637      Convert unsigned integer operand 1 of mode M to fixed-point mode N
18638      and store in operand 0 (which has mode N).  When overflows or
18639      underflows happen, the instruction saturates the results to the
18640      maximum or the minimum.
18642 `extv'
18643      Extract a bit-field from operand 1 (a register or memory operand),
18644      where operand 2 specifies the width in bits and operand 3 the
18645      starting bit, and store it in operand 0.  Operand 0 must have mode
18646      `word_mode'.  Operand 1 may have mode `byte_mode' or `word_mode';
18647      often `word_mode' is allowed only for registers.  Operands 2 and 3
18648      must be valid for `word_mode'.
18650      The RTL generation pass generates this instruction only with
18651      constants for operands 2 and 3 and the constant is never zero for
18652      operand 2.
18654      The bit-field value is sign-extended to a full word integer before
18655      it is stored in operand 0.
18657 `extzv'
18658      Like `extv' except that the bit-field value is zero-extended.
18660 `insv'
18661      Store operand 3 (which must be valid for `word_mode') into a
18662      bit-field in operand 0, where operand 1 specifies the width in
18663      bits and operand 2 the starting bit.  Operand 0 may have mode
18664      `byte_mode' or `word_mode'; often `word_mode' is allowed only for
18665      registers.  Operands 1 and 2 must be valid for `word_mode'.
18667      The RTL generation pass generates this instruction only with
18668      constants for operands 1 and 2 and the constant is never zero for
18669      operand 1.
18671 `movMODEcc'
18672      Conditionally move operand 2 or operand 3 into operand 0 according
18673      to the comparison in operand 1.  If the comparison is true,
18674      operand 2 is moved into operand 0, otherwise operand 3 is moved.
18676      The mode of the operands being compared need not be the same as
18677      the operands being moved.  Some machines, sparc64 for example,
18678      have instructions that conditionally move an integer value based
18679      on the floating point condition codes and vice versa.
18681      If the machine does not have conditional move instructions, do not
18682      define these patterns.
18684 `addMODEcc'
18685      Similar to `movMODEcc' but for conditional addition.  Conditionally
18686      move operand 2 or (operands 2 + operand 3) into operand 0
18687      according to the comparison in operand 1.  If the comparison is
18688      true, operand 2 is moved into operand 0, otherwise (operand 2 +
18689      operand 3) is moved.
18691 `sCOND'
18692      Store zero or nonzero in the operand according to the condition
18693      codes.  Value stored is nonzero iff the condition COND is true.
18694      COND is the name of a comparison operation expression code, such
18695      as `eq', `lt' or `leu'.
18697      You specify the mode that the operand must have when you write the
18698      `match_operand' expression.  The compiler automatically sees which
18699      mode you have used and supplies an operand of that mode.
18701      The value stored for a true condition must have 1 as its low bit,
18702      or else must be negative.  Otherwise the instruction is not
18703      suitable and you should omit it from the machine description.  You
18704      describe to the compiler exactly which value is stored by defining
18705      the macro `STORE_FLAG_VALUE' (*note Misc::).  If a description
18706      cannot be found that can be used for all the `sCOND' patterns, you
18707      should omit those operations from the machine description.
18709      These operations may fail, but should do so only in relatively
18710      uncommon cases; if they would fail for common cases involving
18711      integer comparisons, it is best to omit these patterns.
18713      If these operations are omitted, the compiler will usually
18714      generate code that copies the constant one to the target and
18715      branches around an assignment of zero to the target.  If this code
18716      is more efficient than the potential instructions used for the
18717      `sCOND' pattern followed by those required to convert the result
18718      into a 1 or a zero in `SImode', you should omit the `sCOND'
18719      operations from the machine description.
18721 `bCOND'
18722      Conditional branch instruction.  Operand 0 is a `label_ref' that
18723      refers to the label to jump to.  Jump if the condition codes meet
18724      condition COND.
18726      Some machines do not follow the model assumed here where a
18727      comparison instruction is followed by a conditional branch
18728      instruction.  In that case, the `cmpM' (and `tstM') patterns should
18729      simply store the operands away and generate all the required insns
18730      in a `define_expand' (*note Expander Definitions::) for the
18731      conditional branch operations.  All calls to expand `bCOND'
18732      patterns are immediately preceded by calls to expand either a
18733      `cmpM' pattern or a `tstM' pattern.
18735      Machines that use a pseudo register for the condition code value,
18736      or where the mode used for the comparison depends on the condition
18737      being tested, should also use the above mechanism.  *Note Jump
18738      Patterns::.
18740      The above discussion also applies to the `movMODEcc' and `sCOND'
18741      patterns.
18743 `cbranchMODE4'
18744      Conditional branch instruction combined with a compare instruction.
18745      Operand 0 is a comparison operator.  Operand 1 and operand 2 are
18746      the first and second operands of the comparison, respectively.
18747      Operand 3 is a `label_ref' that refers to the label to jump to.
18749 `jump'
18750      A jump inside a function; an unconditional branch.  Operand 0 is
18751      the `label_ref' of the label to jump to.  This pattern name is
18752      mandatory on all machines.
18754 `call'
18755      Subroutine call instruction returning no value.  Operand 0 is the
18756      function to call; operand 1 is the number of bytes of arguments
18757      pushed as a `const_int'; operand 2 is the number of registers used
18758      as operands.
18760      On most machines, operand 2 is not actually stored into the RTL
18761      pattern.  It is supplied for the sake of some RISC machines which
18762      need to put this information into the assembler code; they can put
18763      it in the RTL instead of operand 1.
18765      Operand 0 should be a `mem' RTX whose address is the address of the
18766      function.  Note, however, that this address can be a `symbol_ref'
18767      expression even if it would not be a legitimate memory address on
18768      the target machine.  If it is also not a valid argument for a call
18769      instruction, the pattern for this operation should be a
18770      `define_expand' (*note Expander Definitions::) that places the
18771      address into a register and uses that register in the call
18772      instruction.
18774 `call_value'
18775      Subroutine call instruction returning a value.  Operand 0 is the
18776      hard register in which the value is returned.  There are three more
18777      operands, the same as the three operands of the `call' instruction
18778      (but with numbers increased by one).
18780      Subroutines that return `BLKmode' objects use the `call' insn.
18782 `call_pop', `call_value_pop'
18783      Similar to `call' and `call_value', except used if defined and if
18784      `RETURN_POPS_ARGS' is nonzero.  They should emit a `parallel' that
18785      contains both the function call and a `set' to indicate the
18786      adjustment made to the frame pointer.
18788      For machines where `RETURN_POPS_ARGS' can be nonzero, the use of
18789      these patterns increases the number of functions for which the
18790      frame pointer can be eliminated, if desired.
18792 `untyped_call'
18793      Subroutine call instruction returning a value of any type.
18794      Operand 0 is the function to call; operand 1 is a memory location
18795      where the result of calling the function is to be stored; operand
18796      2 is a `parallel' expression where each element is a `set'
18797      expression that indicates the saving of a function return value
18798      into the result block.
18800      This instruction pattern should be defined to support
18801      `__builtin_apply' on machines where special instructions are needed
18802      to call a subroutine with arbitrary arguments or to save the value
18803      returned.  This instruction pattern is required on machines that
18804      have multiple registers that can hold a return value (i.e.
18805      `FUNCTION_VALUE_REGNO_P' is true for more than one register).
18807 `return'
18808      Subroutine return instruction.  This instruction pattern name
18809      should be defined only if a single instruction can do all the work
18810      of returning from a function.
18812      Like the `movM' patterns, this pattern is also used after the RTL
18813      generation phase.  In this case it is to support machines where
18814      multiple instructions are usually needed to return from a
18815      function, but some class of functions only requires one
18816      instruction to implement a return.  Normally, the applicable
18817      functions are those which do not need to save any registers or
18818      allocate stack space.
18820      For such machines, the condition specified in this pattern should
18821      only be true when `reload_completed' is nonzero and the function's
18822      epilogue would only be a single instruction.  For machines with
18823      register windows, the routine `leaf_function_p' may be used to
18824      determine if a register window push is required.
18826      Machines that have conditional return instructions should define
18827      patterns such as
18829           (define_insn ""
18830             [(set (pc)
18831                   (if_then_else (match_operator
18832                                    0 "comparison_operator"
18833                                    [(cc0) (const_int 0)])
18834                                 (return)
18835                                 (pc)))]
18836             "CONDITION"
18837             "...")
18839      where CONDITION would normally be the same condition specified on
18840      the named `return' pattern.
18842 `untyped_return'
18843      Untyped subroutine return instruction.  This instruction pattern
18844      should be defined to support `__builtin_return' on machines where
18845      special instructions are needed to return a value of any type.
18847      Operand 0 is a memory location where the result of calling a
18848      function with `__builtin_apply' is stored; operand 1 is a
18849      `parallel' expression where each element is a `set' expression
18850      that indicates the restoring of a function return value from the
18851      result block.
18853 `nop'
18854      No-op instruction.  This instruction pattern name should always be
18855      defined to output a no-op in assembler code.  `(const_int 0)' will
18856      do as an RTL pattern.
18858 `indirect_jump'
18859      An instruction to jump to an address which is operand zero.  This
18860      pattern name is mandatory on all machines.
18862 `casesi'
18863      Instruction to jump through a dispatch table, including bounds
18864      checking.  This instruction takes five operands:
18866        1. The index to dispatch on, which has mode `SImode'.
18868        2. The lower bound for indices in the table, an integer constant.
18870        3. The total range of indices in the table--the largest index
18871           minus the smallest one (both inclusive).
18873        4. A label that precedes the table itself.
18875        5. A label to jump to if the index has a value outside the
18876           bounds.
18878      The table is a `addr_vec' or `addr_diff_vec' inside of a
18879      `jump_insn'.  The number of elements in the table is one plus the
18880      difference between the upper bound and the lower bound.
18882 `tablejump'
18883      Instruction to jump to a variable address.  This is a low-level
18884      capability which can be used to implement a dispatch table when
18885      there is no `casesi' pattern.
18887      This pattern requires two operands: the address or offset, and a
18888      label which should immediately precede the jump table.  If the
18889      macro `CASE_VECTOR_PC_RELATIVE' evaluates to a nonzero value then
18890      the first operand is an offset which counts from the address of
18891      the table; otherwise, it is an absolute address to jump to.  In
18892      either case, the first operand has mode `Pmode'.
18894      The `tablejump' insn is always the last insn before the jump table
18895      it uses.  Its assembler code normally has no need to use the
18896      second operand, but you should incorporate it in the RTL pattern so
18897      that the jump optimizer will not delete the table as unreachable
18898      code.
18900 `decrement_and_branch_until_zero'
18901      Conditional branch instruction that decrements a register and
18902      jumps if the register is nonzero.  Operand 0 is the register to
18903      decrement and test; operand 1 is the label to jump to if the
18904      register is nonzero.  *Note Looping Patterns::.
18906      This optional instruction pattern is only used by the combiner,
18907      typically for loops reversed by the loop optimizer when strength
18908      reduction is enabled.
18910 `doloop_end'
18911      Conditional branch instruction that decrements a register and
18912      jumps if the register is nonzero.  This instruction takes five
18913      operands: Operand 0 is the register to decrement and test; operand
18914      1 is the number of loop iterations as a `const_int' or
18915      `const0_rtx' if this cannot be determined until run-time; operand
18916      2 is the actual or estimated maximum number of iterations as a
18917      `const_int'; operand 3 is the number of enclosed loops as a
18918      `const_int' (an innermost loop has a value of 1); operand 4 is the
18919      label to jump to if the register is nonzero.  *Note Looping
18920      Patterns::.
18922      This optional instruction pattern should be defined for machines
18923      with low-overhead looping instructions as the loop optimizer will
18924      try to modify suitable loops to utilize it.  If nested
18925      low-overhead looping is not supported, use a `define_expand'
18926      (*note Expander Definitions::) and make the pattern fail if
18927      operand 3 is not `const1_rtx'.  Similarly, if the actual or
18928      estimated maximum number of iterations is too large for this
18929      instruction, make it fail.
18931 `doloop_begin'
18932      Companion instruction to `doloop_end' required for machines that
18933      need to perform some initialization, such as loading special
18934      registers used by a low-overhead looping instruction.  If
18935      initialization insns do not always need to be emitted, use a
18936      `define_expand' (*note Expander Definitions::) and make it fail.
18938 `canonicalize_funcptr_for_compare'
18939      Canonicalize the function pointer in operand 1 and store the result
18940      into operand 0.
18942      Operand 0 is always a `reg' and has mode `Pmode'; operand 1 may be
18943      a `reg', `mem', `symbol_ref', `const_int', etc and also has mode
18944      `Pmode'.
18946      Canonicalization of a function pointer usually involves computing
18947      the address of the function which would be called if the function
18948      pointer were used in an indirect call.
18950      Only define this pattern if function pointers on the target machine
18951      can have different values but still call the same function when
18952      used in an indirect call.
18954 `save_stack_block'
18955 `save_stack_function'
18956 `save_stack_nonlocal'
18957 `restore_stack_block'
18958 `restore_stack_function'
18959 `restore_stack_nonlocal'
18960      Most machines save and restore the stack pointer by copying it to
18961      or from an object of mode `Pmode'.  Do not define these patterns on
18962      such machines.
18964      Some machines require special handling for stack pointer saves and
18965      restores.  On those machines, define the patterns corresponding to
18966      the non-standard cases by using a `define_expand' (*note Expander
18967      Definitions::) that produces the required insns.  The three types
18968      of saves and restores are:
18970        1. `save_stack_block' saves the stack pointer at the start of a
18971           block that allocates a variable-sized object, and
18972           `restore_stack_block' restores the stack pointer when the
18973           block is exited.
18975        2. `save_stack_function' and `restore_stack_function' do a
18976           similar job for the outermost block of a function and are
18977           used when the function allocates variable-sized objects or
18978           calls `alloca'.  Only the epilogue uses the restored stack
18979           pointer, allowing a simpler save or restore sequence on some
18980           machines.
18982        3. `save_stack_nonlocal' is used in functions that contain labels
18983           branched to by nested functions.  It saves the stack pointer
18984           in such a way that the inner function can use
18985           `restore_stack_nonlocal' to restore the stack pointer.  The
18986           compiler generates code to restore the frame and argument
18987           pointer registers, but some machines require saving and
18988           restoring additional data such as register window information
18989           or stack backchains.  Place insns in these patterns to save
18990           and restore any such required data.
18992      When saving the stack pointer, operand 0 is the save area and
18993      operand 1 is the stack pointer.  The mode used to allocate the
18994      save area defaults to `Pmode' but you can override that choice by
18995      defining the `STACK_SAVEAREA_MODE' macro (*note Storage Layout::).
18996      You must specify an integral mode, or `VOIDmode' if no save area
18997      is needed for a particular type of save (either because no save is
18998      needed or because a machine-specific save area can be used).
18999      Operand 0 is the stack pointer and operand 1 is the save area for
19000      restore operations.  If `save_stack_block' is defined, operand 0
19001      must not be `VOIDmode' since these saves can be arbitrarily nested.
19003      A save area is a `mem' that is at a constant offset from
19004      `virtual_stack_vars_rtx' when the stack pointer is saved for use by
19005      nonlocal gotos and a `reg' in the other two cases.
19007 `allocate_stack'
19008      Subtract (or add if `STACK_GROWS_DOWNWARD' is undefined) operand 1
19009      from the stack pointer to create space for dynamically allocated
19010      data.
19012      Store the resultant pointer to this space into operand 0.  If you
19013      are allocating space from the main stack, do this by emitting a
19014      move insn to copy `virtual_stack_dynamic_rtx' to operand 0.  If
19015      you are allocating the space elsewhere, generate code to copy the
19016      location of the space to operand 0.  In the latter case, you must
19017      ensure this space gets freed when the corresponding space on the
19018      main stack is free.
19020      Do not define this pattern if all that must be done is the
19021      subtraction.  Some machines require other operations such as stack
19022      probes or maintaining the back chain.  Define this pattern to emit
19023      those operations in addition to updating the stack pointer.
19025 `check_stack'
19026      If stack checking cannot be done on your system by probing the
19027      stack with a load or store instruction (*note Stack Checking::),
19028      define this pattern to perform the needed check and signaling an
19029      error if the stack has overflowed.  The single operand is the
19030      location in the stack furthest from the current stack pointer that
19031      you need to validate.  Normally, on machines where this pattern is
19032      needed, you would obtain the stack limit from a global or
19033      thread-specific variable or register.
19035 `nonlocal_goto'
19036      Emit code to generate a non-local goto, e.g., a jump from one
19037      function to a label in an outer function.  This pattern has four
19038      arguments, each representing a value to be used in the jump.  The
19039      first argument is to be loaded into the frame pointer, the second
19040      is the address to branch to (code to dispatch to the actual label),
19041      the third is the address of a location where the stack is saved,
19042      and the last is the address of the label, to be placed in the
19043      location for the incoming static chain.
19045      On most machines you need not define this pattern, since GCC will
19046      already generate the correct code, which is to load the frame
19047      pointer and static chain, restore the stack (using the
19048      `restore_stack_nonlocal' pattern, if defined), and jump indirectly
19049      to the dispatcher.  You need only define this pattern if this code
19050      will not work on your machine.
19052 `nonlocal_goto_receiver'
19053      This pattern, if defined, contains code needed at the target of a
19054      nonlocal goto after the code already generated by GCC.  You will
19055      not normally need to define this pattern.  A typical reason why
19056      you might need this pattern is if some value, such as a pointer to
19057      a global table, must be restored when the frame pointer is
19058      restored.  Note that a nonlocal goto only occurs within a
19059      unit-of-translation, so a global table pointer that is shared by
19060      all functions of a given module need not be restored.  There are
19061      no arguments.
19063 `exception_receiver'
19064      This pattern, if defined, contains code needed at the site of an
19065      exception handler that isn't needed at the site of a nonlocal
19066      goto.  You will not normally need to define this pattern.  A
19067      typical reason why you might need this pattern is if some value,
19068      such as a pointer to a global table, must be restored after
19069      control flow is branched to the handler of an exception.  There
19070      are no arguments.
19072 `builtin_setjmp_setup'
19073      This pattern, if defined, contains additional code needed to
19074      initialize the `jmp_buf'.  You will not normally need to define
19075      this pattern.  A typical reason why you might need this pattern is
19076      if some value, such as a pointer to a global table, must be
19077      restored.  Though it is preferred that the pointer value be
19078      recalculated if possible (given the address of a label for
19079      instance).  The single argument is a pointer to the `jmp_buf'.
19080      Note that the buffer is five words long and that the first three
19081      are normally used by the generic mechanism.
19083 `builtin_setjmp_receiver'
19084      This pattern, if defined, contains code needed at the site of an
19085      built-in setjmp that isn't needed at the site of a nonlocal goto.
19086      You will not normally need to define this pattern.  A typical
19087      reason why you might need this pattern is if some value, such as a
19088      pointer to a global table, must be restored.  It takes one
19089      argument, which is the label to which builtin_longjmp transfered
19090      control; this pattern may be emitted at a small offset from that
19091      label.
19093 `builtin_longjmp'
19094      This pattern, if defined, performs the entire action of the
19095      longjmp.  You will not normally need to define this pattern unless
19096      you also define `builtin_setjmp_setup'.  The single argument is a
19097      pointer to the `jmp_buf'.
19099 `eh_return'
19100      This pattern, if defined, affects the way `__builtin_eh_return',
19101      and thence the call frame exception handling library routines, are
19102      built.  It is intended to handle non-trivial actions needed along
19103      the abnormal return path.
19105      The address of the exception handler to which the function should
19106      return is passed as operand to this pattern.  It will normally
19107      need to copied by the pattern to some special register or memory
19108      location.  If the pattern needs to determine the location of the
19109      target call frame in order to do so, it may use
19110      `EH_RETURN_STACKADJ_RTX', if defined; it will have already been
19111      assigned.
19113      If this pattern is not defined, the default action will be to
19114      simply copy the return address to `EH_RETURN_HANDLER_RTX'.  Either
19115      that macro or this pattern needs to be defined if call frame
19116      exception handling is to be used.
19118 `prologue'
19119      This pattern, if defined, emits RTL for entry to a function.  The
19120      function entry is responsible for setting up the stack frame,
19121      initializing the frame pointer register, saving callee saved
19122      registers, etc.
19124      Using a prologue pattern is generally preferred over defining
19125      `TARGET_ASM_FUNCTION_PROLOGUE' to emit assembly code for the
19126      prologue.
19128      The `prologue' pattern is particularly useful for targets which
19129      perform instruction scheduling.
19131 `epilogue'
19132      This pattern emits RTL for exit from a function.  The function
19133      exit is responsible for deallocating the stack frame, restoring
19134      callee saved registers and emitting the return instruction.
19136      Using an epilogue pattern is generally preferred over defining
19137      `TARGET_ASM_FUNCTION_EPILOGUE' to emit assembly code for the
19138      epilogue.
19140      The `epilogue' pattern is particularly useful for targets which
19141      perform instruction scheduling or which have delay slots for their
19142      return instruction.
19144 `sibcall_epilogue'
19145      This pattern, if defined, emits RTL for exit from a function
19146      without the final branch back to the calling function.  This
19147      pattern will be emitted before any sibling call (aka tail call)
19148      sites.
19150      The `sibcall_epilogue' pattern must not clobber any arguments used
19151      for parameter passing or any stack slots for arguments passed to
19152      the current function.
19154 `trap'
19155      This pattern, if defined, signals an error, typically by causing
19156      some kind of signal to be raised.  Among other places, it is used
19157      by the Java front end to signal `invalid array index' exceptions.
19159 `conditional_trap'
19160      Conditional trap instruction.  Operand 0 is a piece of RTL which
19161      performs a comparison.  Operand 1 is the trap code, an integer.
19163      A typical `conditional_trap' pattern looks like
19165           (define_insn "conditional_trap"
19166             [(trap_if (match_operator 0 "trap_operator"
19167                        [(cc0) (const_int 0)])
19168                       (match_operand 1 "const_int_operand" "i"))]
19169             ""
19170             "...")
19172 `prefetch'
19173      This pattern, if defined, emits code for a non-faulting data
19174      prefetch instruction.  Operand 0 is the address of the memory to
19175      prefetch.  Operand 1 is a constant 1 if the prefetch is preparing
19176      for a write to the memory address, or a constant 0 otherwise.
19177      Operand 2 is the expected degree of temporal locality of the data
19178      and is a value between 0 and 3, inclusive; 0 means that the data
19179      has no temporal locality, so it need not be left in the cache
19180      after the access; 3 means that the data has a high degree of
19181      temporal locality and should be left in all levels of cache
19182      possible;  1 and 2 mean, respectively, a low or moderate degree of
19183      temporal locality.
19185      Targets that do not support write prefetches or locality hints can
19186      ignore the values of operands 1 and 2.
19188 `blockage'
19189      This pattern defines a pseudo insn that prevents the instruction
19190      scheduler from moving instructions across the boundary defined by
19191      the blockage insn.  Normally an UNSPEC_VOLATILE pattern.
19193 `memory_barrier'
19194      If the target memory model is not fully synchronous, then this
19195      pattern should be defined to an instruction that orders both loads
19196      and stores before the instruction with respect to loads and stores
19197      after the instruction.  This pattern has no operands.
19199 `sync_compare_and_swapMODE'
19200      This pattern, if defined, emits code for an atomic compare-and-swap
19201      operation.  Operand 1 is the memory on which the atomic operation
19202      is performed.  Operand 2 is the "old" value to be compared against
19203      the current contents of the memory location.  Operand 3 is the
19204      "new" value to store in the memory if the compare succeeds.
19205      Operand 0 is the result of the operation; it should contain the
19206      contents of the memory before the operation.  If the compare
19207      succeeds, this should obviously be a copy of operand 2.
19209      This pattern must show that both operand 0 and operand 1 are
19210      modified.
19212      This pattern must issue any memory barrier instructions such that
19213      all memory operations before the atomic operation occur before the
19214      atomic operation and all memory operations after the atomic
19215      operation occur after the atomic operation.
19217 `sync_compare_and_swap_ccMODE'
19218      This pattern is just like `sync_compare_and_swapMODE', except it
19219      should act as if compare part of the compare-and-swap were issued
19220      via `cmpM'.  This comparison will only be used with `EQ' and `NE'
19221      branches and `setcc' operations.
19223      Some targets do expose the success or failure of the
19224      compare-and-swap operation via the status flags.  Ideally we
19225      wouldn't need a separate named pattern in order to take advantage
19226      of this, but the combine pass does not handle patterns with
19227      multiple sets, which is required by definition for
19228      `sync_compare_and_swapMODE'.
19230 `sync_addMODE', `sync_subMODE'
19231 `sync_iorMODE', `sync_andMODE'
19232 `sync_xorMODE', `sync_nandMODE'
19233      These patterns emit code for an atomic operation on memory.
19234      Operand 0 is the memory on which the atomic operation is performed.
19235      Operand 1 is the second operand to the binary operator.
19237      The "nand" operation is `~op0 & op1'.
19239      This pattern must issue any memory barrier instructions such that
19240      all memory operations before the atomic operation occur before the
19241      atomic operation and all memory operations after the atomic
19242      operation occur after the atomic operation.
19244      If these patterns are not defined, the operation will be
19245      constructed from a compare-and-swap operation, if defined.
19247 `sync_old_addMODE', `sync_old_subMODE'
19248 `sync_old_iorMODE', `sync_old_andMODE'
19249 `sync_old_xorMODE', `sync_old_nandMODE'
19250      These patterns are emit code for an atomic operation on memory,
19251      and return the value that the memory contained before the
19252      operation.  Operand 0 is the result value, operand 1 is the memory
19253      on which the atomic operation is performed, and operand 2 is the
19254      second operand to the binary operator.
19256      This pattern must issue any memory barrier instructions such that
19257      all memory operations before the atomic operation occur before the
19258      atomic operation and all memory operations after the atomic
19259      operation occur after the atomic operation.
19261      If these patterns are not defined, the operation will be
19262      constructed from a compare-and-swap operation, if defined.
19264 `sync_new_addMODE', `sync_new_subMODE'
19265 `sync_new_iorMODE', `sync_new_andMODE'
19266 `sync_new_xorMODE', `sync_new_nandMODE'
19267      These patterns are like their `sync_old_OP' counterparts, except
19268      that they return the value that exists in the memory location
19269      after the operation, rather than before the operation.
19271 `sync_lock_test_and_setMODE'
19272      This pattern takes two forms, based on the capabilities of the
19273      target.  In either case, operand 0 is the result of the operand,
19274      operand 1 is the memory on which the atomic operation is
19275      performed, and operand 2 is the value to set in the lock.
19277      In the ideal case, this operation is an atomic exchange operation,
19278      in which the previous value in memory operand is copied into the
19279      result operand, and the value operand is stored in the memory
19280      operand.
19282      For less capable targets, any value operand that is not the
19283      constant 1 should be rejected with `FAIL'.  In this case the
19284      target may use an atomic test-and-set bit operation.  The result
19285      operand should contain 1 if the bit was previously set and 0 if
19286      the bit was previously clear.  The true contents of the memory
19287      operand are implementation defined.
19289      This pattern must issue any memory barrier instructions such that
19290      the pattern as a whole acts as an acquire barrier, that is all
19291      memory operations after the pattern do not occur until the lock is
19292      acquired.
19294      If this pattern is not defined, the operation will be constructed
19295      from a compare-and-swap operation, if defined.
19297 `sync_lock_releaseMODE'
19298      This pattern, if defined, releases a lock set by
19299      `sync_lock_test_and_setMODE'.  Operand 0 is the memory that
19300      contains the lock; operand 1 is the value to store in the lock.
19302      If the target doesn't implement full semantics for
19303      `sync_lock_test_and_setMODE', any value operand which is not the
19304      constant 0 should be rejected with `FAIL', and the true contents
19305      of the memory operand are implementation defined.
19307      This pattern must issue any memory barrier instructions such that
19308      the pattern as a whole acts as a release barrier, that is the lock
19309      is released only after all previous memory operations have
19310      completed.
19312      If this pattern is not defined, then a `memory_barrier' pattern
19313      will be emitted, followed by a store of the value to the memory
19314      operand.
19316 `stack_protect_set'
19317      This pattern, if defined, moves a `Pmode' value from the memory in
19318      operand 1 to the memory in operand 0 without leaving the value in
19319      a register afterward.  This is to avoid leaking the value some
19320      place that an attacker might use to rewrite the stack guard slot
19321      after having clobbered it.
19323      If this pattern is not defined, then a plain move pattern is
19324      generated.
19326 `stack_protect_test'
19327      This pattern, if defined, compares a `Pmode' value from the memory
19328      in operand 1 with the memory in operand 0 without leaving the
19329      value in a register afterward and branches to operand 2 if the
19330      values weren't equal.
19332      If this pattern is not defined, then a plain compare pattern and
19333      conditional branch pattern is used.
19335 `clear_cache'
19336      This pattern, if defined, flushes the instruction cache for a
19337      region of memory.  The region is bounded to by the Pmode pointers
19338      in operand 0 inclusive and operand 1 exclusive.
19340      If this pattern is not defined, a call to the library function
19341      `__clear_cache' is used.
19344 \x1f
19345 File: gccint.info,  Node: Pattern Ordering,  Next: Dependent Patterns,  Prev: Standard Names,  Up: Machine Desc
19347 14.10 When the Order of Patterns Matters
19348 ========================================
19350 Sometimes an insn can match more than one instruction pattern.  Then the
19351 pattern that appears first in the machine description is the one used.
19352 Therefore, more specific patterns (patterns that will match fewer
19353 things) and faster instructions (those that will produce better code
19354 when they do match) should usually go first in the description.
19356  In some cases the effect of ordering the patterns can be used to hide
19357 a pattern when it is not valid.  For example, the 68000 has an
19358 instruction for converting a fullword to floating point and another for
19359 converting a byte to floating point.  An instruction converting an
19360 integer to floating point could match either one.  We put the pattern
19361 to convert the fullword first to make sure that one will be used rather
19362 than the other.  (Otherwise a large integer might be generated as a
19363 single-byte immediate quantity, which would not work.)  Instead of
19364 using this pattern ordering it would be possible to make the pattern
19365 for convert-a-byte smart enough to deal properly with any constant
19366 value.
19368 \x1f
19369 File: gccint.info,  Node: Dependent Patterns,  Next: Jump Patterns,  Prev: Pattern Ordering,  Up: Machine Desc
19371 14.11 Interdependence of Patterns
19372 =================================
19374 Every machine description must have a named pattern for each of the
19375 conditional branch names `bCOND'.  The recognition template must always
19376 have the form
19378      (set (pc)
19379           (if_then_else (COND (cc0) (const_int 0))
19380                         (label_ref (match_operand 0 "" ""))
19381                         (pc)))
19383 In addition, every machine description must have an anonymous pattern
19384 for each of the possible reverse-conditional branches.  Their templates
19385 look like
19387      (set (pc)
19388           (if_then_else (COND (cc0) (const_int 0))
19389                         (pc)
19390                         (label_ref (match_operand 0 "" ""))))
19392 They are necessary because jump optimization can turn direct-conditional
19393 branches into reverse-conditional branches.
19395  It is often convenient to use the `match_operator' construct to reduce
19396 the number of patterns that must be specified for branches.  For
19397 example,
19399      (define_insn ""
19400        [(set (pc)
19401              (if_then_else (match_operator 0 "comparison_operator"
19402                                            [(cc0) (const_int 0)])
19403                            (pc)
19404                            (label_ref (match_operand 1 "" ""))))]
19405        "CONDITION"
19406        "...")
19408  In some cases machines support instructions identical except for the
19409 machine mode of one or more operands.  For example, there may be
19410 "sign-extend halfword" and "sign-extend byte" instructions whose
19411 patterns are
19413      (set (match_operand:SI 0 ...)
19414           (extend:SI (match_operand:HI 1 ...)))
19416      (set (match_operand:SI 0 ...)
19417           (extend:SI (match_operand:QI 1 ...)))
19419 Constant integers do not specify a machine mode, so an instruction to
19420 extend a constant value could match either pattern.  The pattern it
19421 actually will match is the one that appears first in the file.  For
19422 correct results, this must be the one for the widest possible mode
19423 (`HImode', here).  If the pattern matches the `QImode' instruction, the
19424 results will be incorrect if the constant value does not actually fit
19425 that mode.
19427  Such instructions to extend constants are rarely generated because
19428 they are optimized away, but they do occasionally happen in nonoptimized
19429 compilations.
19431  If a constraint in a pattern allows a constant, the reload pass may
19432 replace a register with a constant permitted by the constraint in some
19433 cases.  Similarly for memory references.  Because of this substitution,
19434 you should not provide separate patterns for increment and decrement
19435 instructions.  Instead, they should be generated from the same pattern
19436 that supports register-register add insns by examining the operands and
19437 generating the appropriate machine instruction.
19439 \x1f
19440 File: gccint.info,  Node: Jump Patterns,  Next: Looping Patterns,  Prev: Dependent Patterns,  Up: Machine Desc
19442 14.12 Defining Jump Instruction Patterns
19443 ========================================
19445 For most machines, GCC assumes that the machine has a condition code.
19446 A comparison insn sets the condition code, recording the results of both
19447 signed and unsigned comparison of the given operands.  A separate branch
19448 insn tests the condition code and branches or not according its value.
19449 The branch insns come in distinct signed and unsigned flavors.  Many
19450 common machines, such as the VAX, the 68000 and the 32000, work this
19451 way.
19453  Some machines have distinct signed and unsigned compare instructions,
19454 and only one set of conditional branch instructions.  The easiest way
19455 to handle these machines is to treat them just like the others until
19456 the final stage where assembly code is written.  At this time, when
19457 outputting code for the compare instruction, peek ahead at the
19458 following branch using `next_cc0_user (insn)'.  (The variable `insn'
19459 refers to the insn being output, in the output-writing code in an
19460 instruction pattern.)  If the RTL says that is an unsigned branch,
19461 output an unsigned compare; otherwise output a signed compare.  When
19462 the branch itself is output, you can treat signed and unsigned branches
19463 identically.
19465  The reason you can do this is that GCC always generates a pair of
19466 consecutive RTL insns, possibly separated by `note' insns, one to set
19467 the condition code and one to test it, and keeps the pair inviolate
19468 until the end.
19470  To go with this technique, you must define the machine-description
19471 macro `NOTICE_UPDATE_CC' to do `CC_STATUS_INIT'; in other words, no
19472 compare instruction is superfluous.
19474  Some machines have compare-and-branch instructions and no condition
19475 code.  A similar technique works for them.  When it is time to "output"
19476 a compare instruction, record its operands in two static variables.
19477 When outputting the branch-on-condition-code instruction that follows,
19478 actually output a compare-and-branch instruction that uses the
19479 remembered operands.
19481  It also works to define patterns for compare-and-branch instructions.
19482 In optimizing compilation, the pair of compare and branch instructions
19483 will be combined according to these patterns.  But this does not happen
19484 if optimization is not requested.  So you must use one of the solutions
19485 above in addition to any special patterns you define.
19487  In many RISC machines, most instructions do not affect the condition
19488 code and there may not even be a separate condition code register.  On
19489 these machines, the restriction that the definition and use of the
19490 condition code be adjacent insns is not necessary and can prevent
19491 important optimizations.  For example, on the IBM RS/6000, there is a
19492 delay for taken branches unless the condition code register is set three
19493 instructions earlier than the conditional branch.  The instruction
19494 scheduler cannot perform this optimization if it is not permitted to
19495 separate the definition and use of the condition code register.
19497  On these machines, do not use `(cc0)', but instead use a register to
19498 represent the condition code.  If there is a specific condition code
19499 register in the machine, use a hard register.  If the condition code or
19500 comparison result can be placed in any general register, or if there are
19501 multiple condition registers, use a pseudo register.
19503  On some machines, the type of branch instruction generated may depend
19504 on the way the condition code was produced; for example, on the 68k and
19505 SPARC, setting the condition code directly from an add or subtract
19506 instruction does not clear the overflow bit the way that a test
19507 instruction does, so a different branch instruction must be used for
19508 some conditional branches.  For machines that use `(cc0)', the set and
19509 use of the condition code must be adjacent (separated only by `note'
19510 insns) allowing flags in `cc_status' to be used.  (*Note Condition
19511 Code::.)  Also, the comparison and branch insns can be located from
19512 each other by using the functions `prev_cc0_setter' and `next_cc0_user'.
19514  However, this is not true on machines that do not use `(cc0)'.  On
19515 those machines, no assumptions can be made about the adjacency of the
19516 compare and branch insns and the above methods cannot be used.  Instead,
19517 we use the machine mode of the condition code register to record
19518 different formats of the condition code register.
19520  Registers used to store the condition code value should have a mode
19521 that is in class `MODE_CC'.  Normally, it will be `CCmode'.  If
19522 additional modes are required (as for the add example mentioned above in
19523 the SPARC), define them in `MACHINE-modes.def' (*note Condition
19524 Code::).  Also define `SELECT_CC_MODE' to choose a mode given an
19525 operand of a compare.
19527  If it is known during RTL generation that a different mode will be
19528 required (for example, if the machine has separate compare instructions
19529 for signed and unsigned quantities, like most IBM processors), they can
19530 be specified at that time.
19532  If the cases that require different modes would be made by instruction
19533 combination, the macro `SELECT_CC_MODE' determines which machine mode
19534 should be used for the comparison result.  The patterns should be
19535 written using that mode.  To support the case of the add on the SPARC
19536 discussed above, we have the pattern
19538      (define_insn ""
19539        [(set (reg:CC_NOOV 0)
19540              (compare:CC_NOOV
19541                (plus:SI (match_operand:SI 0 "register_operand" "%r")
19542                         (match_operand:SI 1 "arith_operand" "rI"))
19543                (const_int 0)))]
19544        ""
19545        "...")
19547  The `SELECT_CC_MODE' macro on the SPARC returns `CC_NOOVmode' for
19548 comparisons whose argument is a `plus'.
19550 \x1f
19551 File: gccint.info,  Node: Looping Patterns,  Next: Insn Canonicalizations,  Prev: Jump Patterns,  Up: Machine Desc
19553 14.13 Defining Looping Instruction Patterns
19554 ===========================================
19556 Some machines have special jump instructions that can be utilized to
19557 make loops more efficient.  A common example is the 68000 `dbra'
19558 instruction which performs a decrement of a register and a branch if the
19559 result was greater than zero.  Other machines, in particular digital
19560 signal processors (DSPs), have special block repeat instructions to
19561 provide low-overhead loop support.  For example, the TI TMS320C3x/C4x
19562 DSPs have a block repeat instruction that loads special registers to
19563 mark the top and end of a loop and to count the number of loop
19564 iterations.  This avoids the need for fetching and executing a
19565 `dbra'-like instruction and avoids pipeline stalls associated with the
19566 jump.
19568  GCC has three special named patterns to support low overhead looping.
19569 They are `decrement_and_branch_until_zero', `doloop_begin', and
19570 `doloop_end'.  The first pattern, `decrement_and_branch_until_zero', is
19571 not emitted during RTL generation but may be emitted during the
19572 instruction combination phase.  This requires the assistance of the
19573 loop optimizer, using information collected during strength reduction,
19574 to reverse a loop to count down to zero.  Some targets also require the
19575 loop optimizer to add a `REG_NONNEG' note to indicate that the
19576 iteration count is always positive.  This is needed if the target
19577 performs a signed loop termination test.  For example, the 68000 uses a
19578 pattern similar to the following for its `dbra' instruction:
19580      (define_insn "decrement_and_branch_until_zero"
19581        [(set (pc)
19582         (if_then_else
19583           (ge (plus:SI (match_operand:SI 0 "general_operand" "+d*am")
19584                        (const_int -1))
19585               (const_int 0))
19586           (label_ref (match_operand 1 "" ""))
19587           (pc)))
19588         (set (match_dup 0)
19589         (plus:SI (match_dup 0)
19590                  (const_int -1)))]
19591        "find_reg_note (insn, REG_NONNEG, 0)"
19592        "...")
19594  Note that since the insn is both a jump insn and has an output, it must
19595 deal with its own reloads, hence the `m' constraints.  Also note that
19596 since this insn is generated by the instruction combination phase
19597 combining two sequential insns together into an implicit parallel insn,
19598 the iteration counter needs to be biased by the same amount as the
19599 decrement operation, in this case -1.  Note that the following similar
19600 pattern will not be matched by the combiner.
19602      (define_insn "decrement_and_branch_until_zero"
19603        [(set (pc)
19604         (if_then_else
19605           (ge (match_operand:SI 0 "general_operand" "+d*am")
19606               (const_int 1))
19607           (label_ref (match_operand 1 "" ""))
19608           (pc)))
19609         (set (match_dup 0)
19610         (plus:SI (match_dup 0)
19611                  (const_int -1)))]
19612        "find_reg_note (insn, REG_NONNEG, 0)"
19613        "...")
19615  The other two special looping patterns, `doloop_begin' and
19616 `doloop_end', are emitted by the loop optimizer for certain
19617 well-behaved loops with a finite number of loop iterations using
19618 information collected during strength reduction.
19620  The `doloop_end' pattern describes the actual looping instruction (or
19621 the implicit looping operation) and the `doloop_begin' pattern is an
19622 optional companion pattern that can be used for initialization needed
19623 for some low-overhead looping instructions.
19625  Note that some machines require the actual looping instruction to be
19626 emitted at the top of the loop (e.g., the TMS320C3x/C4x DSPs).  Emitting
19627 the true RTL for a looping instruction at the top of the loop can cause
19628 problems with flow analysis.  So instead, a dummy `doloop' insn is
19629 emitted at the end of the loop.  The machine dependent reorg pass checks
19630 for the presence of this `doloop' insn and then searches back to the
19631 top of the loop, where it inserts the true looping insn (provided there
19632 are no instructions in the loop which would cause problems).  Any
19633 additional labels can be emitted at this point.  In addition, if the
19634 desired special iteration counter register was not allocated, this
19635 machine dependent reorg pass could emit a traditional compare and jump
19636 instruction pair.
19638  The essential difference between the `decrement_and_branch_until_zero'
19639 and the `doloop_end' patterns is that the loop optimizer allocates an
19640 additional pseudo register for the latter as an iteration counter.
19641 This pseudo register cannot be used within the loop (i.e., general
19642 induction variables cannot be derived from it), however, in many cases
19643 the loop induction variable may become redundant and removed by the
19644 flow pass.
19646 \x1f
19647 File: gccint.info,  Node: Insn Canonicalizations,  Next: Expander Definitions,  Prev: Looping Patterns,  Up: Machine Desc
19649 14.14 Canonicalization of Instructions
19650 ======================================
19652 There are often cases where multiple RTL expressions could represent an
19653 operation performed by a single machine instruction.  This situation is
19654 most commonly encountered with logical, branch, and multiply-accumulate
19655 instructions.  In such cases, the compiler attempts to convert these
19656 multiple RTL expressions into a single canonical form to reduce the
19657 number of insn patterns required.
19659  In addition to algebraic simplifications, following canonicalizations
19660 are performed:
19662    * For commutative and comparison operators, a constant is always
19663      made the second operand.  If a machine only supports a constant as
19664      the second operand, only patterns that match a constant in the
19665      second operand need be supplied.
19667    * For associative operators, a sequence of operators will always
19668      chain to the left; for instance, only the left operand of an
19669      integer `plus' can itself be a `plus'.  `and', `ior', `xor',
19670      `plus', `mult', `smin', `smax', `umin', and `umax' are associative
19671      when applied to integers, and sometimes to floating-point.
19673    * For these operators, if only one operand is a `neg', `not',
19674      `mult', `plus', or `minus' expression, it will be the first
19675      operand.
19677    * In combinations of `neg', `mult', `plus', and `minus', the `neg'
19678      operations (if any) will be moved inside the operations as far as
19679      possible.  For instance, `(neg (mult A B))' is canonicalized as
19680      `(mult (neg A) B)', but `(plus (mult (neg A) B) C)' is
19681      canonicalized as `(minus A (mult B C))'.
19683    * For the `compare' operator, a constant is always the second operand
19684      on machines where `cc0' is used (*note Jump Patterns::).  On other
19685      machines, there are rare cases where the compiler might want to
19686      construct a `compare' with a constant as the first operand.
19687      However, these cases are not common enough for it to be worthwhile
19688      to provide a pattern matching a constant as the first operand
19689      unless the machine actually has such an instruction.
19691      An operand of `neg', `not', `mult', `plus', or `minus' is made the
19692      first operand under the same conditions as above.
19694    * `(ltu (plus A B) B)' is converted to `(ltu (plus A B) A)'.
19695      Likewise with `geu' instead of `ltu'.
19697    * `(minus X (const_int N))' is converted to `(plus X (const_int
19698      -N))'.
19700    * Within address computations (i.e., inside `mem'), a left shift is
19701      converted into the appropriate multiplication by a power of two.
19703    * De Morgan's Law is used to move bitwise negation inside a bitwise
19704      logical-and or logical-or operation.  If this results in only one
19705      operand being a `not' expression, it will be the first one.
19707      A machine that has an instruction that performs a bitwise
19708      logical-and of one operand with the bitwise negation of the other
19709      should specify the pattern for that instruction as
19711           (define_insn ""
19712             [(set (match_operand:M 0 ...)
19713                   (and:M (not:M (match_operand:M 1 ...))
19714                                (match_operand:M 2 ...)))]
19715             "..."
19716             "...")
19718      Similarly, a pattern for a "NAND" instruction should be written
19720           (define_insn ""
19721             [(set (match_operand:M 0 ...)
19722                   (ior:M (not:M (match_operand:M 1 ...))
19723                                (not:M (match_operand:M 2 ...))))]
19724             "..."
19725             "...")
19727      In both cases, it is not necessary to include patterns for the many
19728      logically equivalent RTL expressions.
19730    * The only possible RTL expressions involving both bitwise
19731      exclusive-or and bitwise negation are `(xor:M X Y)' and `(not:M
19732      (xor:M X Y))'.
19734    * The sum of three items, one of which is a constant, will only
19735      appear in the form
19737           (plus:M (plus:M X Y) CONSTANT)
19739    * On machines that do not use `cc0', `(compare X (const_int 0))'
19740      will be converted to X.
19742    * Equality comparisons of a group of bits (usually a single bit)
19743      with zero will be written using `zero_extract' rather than the
19744      equivalent `and' or `sign_extract' operations.
19747  Further canonicalization rules are defined in the function
19748 `commutative_operand_precedence' in `gcc/rtlanal.c'.
19750 \x1f
19751 File: gccint.info,  Node: Expander Definitions,  Next: Insn Splitting,  Prev: Insn Canonicalizations,  Up: Machine Desc
19753 14.15 Defining RTL Sequences for Code Generation
19754 ================================================
19756 On some target machines, some standard pattern names for RTL generation
19757 cannot be handled with single insn, but a sequence of RTL insns can
19758 represent them.  For these target machines, you can write a
19759 `define_expand' to specify how to generate the sequence of RTL.
19761  A `define_expand' is an RTL expression that looks almost like a
19762 `define_insn'; but, unlike the latter, a `define_expand' is used only
19763 for RTL generation and it can produce more than one RTL insn.
19765  A `define_expand' RTX has four operands:
19767    * The name.  Each `define_expand' must have a name, since the only
19768      use for it is to refer to it by name.
19770    * The RTL template.  This is a vector of RTL expressions representing
19771      a sequence of separate instructions.  Unlike `define_insn', there
19772      is no implicit surrounding `PARALLEL'.
19774    * The condition, a string containing a C expression.  This
19775      expression is used to express how the availability of this pattern
19776      depends on subclasses of target machine, selected by command-line
19777      options when GCC is run.  This is just like the condition of a
19778      `define_insn' that has a standard name.  Therefore, the condition
19779      (if present) may not depend on the data in the insn being matched,
19780      but only the target-machine-type flags.  The compiler needs to
19781      test these conditions during initialization in order to learn
19782      exactly which named instructions are available in a particular run.
19784    * The preparation statements, a string containing zero or more C
19785      statements which are to be executed before RTL code is generated
19786      from the RTL template.
19788      Usually these statements prepare temporary registers for use as
19789      internal operands in the RTL template, but they can also generate
19790      RTL insns directly by calling routines such as `emit_insn', etc.
19791      Any such insns precede the ones that come from the RTL template.
19793  Every RTL insn emitted by a `define_expand' must match some
19794 `define_insn' in the machine description.  Otherwise, the compiler will
19795 crash when trying to generate code for the insn or trying to optimize
19798  The RTL template, in addition to controlling generation of RTL insns,
19799 also describes the operands that need to be specified when this pattern
19800 is used.  In particular, it gives a predicate for each operand.
19802  A true operand, which needs to be specified in order to generate RTL
19803 from the pattern, should be described with a `match_operand' in its
19804 first occurrence in the RTL template.  This enters information on the
19805 operand's predicate into the tables that record such things.  GCC uses
19806 the information to preload the operand into a register if that is
19807 required for valid RTL code.  If the operand is referred to more than
19808 once, subsequent references should use `match_dup'.
19810  The RTL template may also refer to internal "operands" which are
19811 temporary registers or labels used only within the sequence made by the
19812 `define_expand'.  Internal operands are substituted into the RTL
19813 template with `match_dup', never with `match_operand'.  The values of
19814 the internal operands are not passed in as arguments by the compiler
19815 when it requests use of this pattern.  Instead, they are computed
19816 within the pattern, in the preparation statements.  These statements
19817 compute the values and store them into the appropriate elements of
19818 `operands' so that `match_dup' can find them.
19820  There are two special macros defined for use in the preparation
19821 statements: `DONE' and `FAIL'.  Use them with a following semicolon, as
19822 a statement.
19824 `DONE'
19825      Use the `DONE' macro to end RTL generation for the pattern.  The
19826      only RTL insns resulting from the pattern on this occasion will be
19827      those already emitted by explicit calls to `emit_insn' within the
19828      preparation statements; the RTL template will not be generated.
19830 `FAIL'
19831      Make the pattern fail on this occasion.  When a pattern fails, it
19832      means that the pattern was not truly available.  The calling
19833      routines in the compiler will try other strategies for code
19834      generation using other patterns.
19836      Failure is currently supported only for binary (addition,
19837      multiplication, shifting, etc.) and bit-field (`extv', `extzv',
19838      and `insv') operations.
19840  If the preparation falls through (invokes neither `DONE' nor `FAIL'),
19841 then the `define_expand' acts like a `define_insn' in that the RTL
19842 template is used to generate the insn.
19844  The RTL template is not used for matching, only for generating the
19845 initial insn list.  If the preparation statement always invokes `DONE'
19846 or `FAIL', the RTL template may be reduced to a simple list of
19847 operands, such as this example:
19849      (define_expand "addsi3"
19850        [(match_operand:SI 0 "register_operand" "")
19851         (match_operand:SI 1 "register_operand" "")
19852         (match_operand:SI 2 "register_operand" "")]
19853        ""
19854        "
19855      {
19856        handle_add (operands[0], operands[1], operands[2]);
19857        DONE;
19858      }")
19860  Here is an example, the definition of left-shift for the SPUR chip:
19862      (define_expand "ashlsi3"
19863        [(set (match_operand:SI 0 "register_operand" "")
19864              (ashift:SI
19865                (match_operand:SI 1 "register_operand" "")
19866                (match_operand:SI 2 "nonmemory_operand" "")))]
19867        ""
19868        "
19870      {
19871        if (GET_CODE (operands[2]) != CONST_INT
19872            || (unsigned) INTVAL (operands[2]) > 3)
19873          FAIL;
19874      }")
19876 This example uses `define_expand' so that it can generate an RTL insn
19877 for shifting when the shift-count is in the supported range of 0 to 3
19878 but fail in other cases where machine insns aren't available.  When it
19879 fails, the compiler tries another strategy using different patterns
19880 (such as, a library call).
19882  If the compiler were able to handle nontrivial condition-strings in
19883 patterns with names, then it would be possible to use a `define_insn'
19884 in that case.  Here is another case (zero-extension on the 68000) which
19885 makes more use of the power of `define_expand':
19887      (define_expand "zero_extendhisi2"
19888        [(set (match_operand:SI 0 "general_operand" "")
19889              (const_int 0))
19890         (set (strict_low_part
19891                (subreg:HI
19892                  (match_dup 0)
19893                  0))
19894              (match_operand:HI 1 "general_operand" ""))]
19895        ""
19896        "operands[1] = make_safe_from (operands[1], operands[0]);")
19898 Here two RTL insns are generated, one to clear the entire output operand
19899 and the other to copy the input operand into its low half.  This
19900 sequence is incorrect if the input operand refers to [the old value of]
19901 the output operand, so the preparation statement makes sure this isn't
19902 so.  The function `make_safe_from' copies the `operands[1]' into a
19903 temporary register if it refers to `operands[0]'.  It does this by
19904 emitting another RTL insn.
19906  Finally, a third example shows the use of an internal operand.
19907 Zero-extension on the SPUR chip is done by `and'-ing the result against
19908 a halfword mask.  But this mask cannot be represented by a `const_int'
19909 because the constant value is too large to be legitimate on this
19910 machine.  So it must be copied into a register with `force_reg' and
19911 then the register used in the `and'.
19913      (define_expand "zero_extendhisi2"
19914        [(set (match_operand:SI 0 "register_operand" "")
19915              (and:SI (subreg:SI
19916                        (match_operand:HI 1 "register_operand" "")
19917                        0)
19918                      (match_dup 2)))]
19919        ""
19920        "operands[2]
19921           = force_reg (SImode, GEN_INT (65535)); ")
19923  _Note:_ If the `define_expand' is used to serve a standard binary or
19924 unary arithmetic operation or a bit-field operation, then the last insn
19925 it generates must not be a `code_label', `barrier' or `note'.  It must
19926 be an `insn', `jump_insn' or `call_insn'.  If you don't need a real insn
19927 at the end, emit an insn to copy the result of the operation into
19928 itself.  Such an insn will generate no code, but it can avoid problems
19929 in the compiler.
19931 \x1f
19932 File: gccint.info,  Node: Insn Splitting,  Next: Including Patterns,  Prev: Expander Definitions,  Up: Machine Desc
19934 14.16 Defining How to Split Instructions
19935 ========================================
19937 There are two cases where you should specify how to split a pattern
19938 into multiple insns.  On machines that have instructions requiring
19939 delay slots (*note Delay Slots::) or that have instructions whose
19940 output is not available for multiple cycles (*note Processor pipeline
19941 description::), the compiler phases that optimize these cases need to
19942 be able to move insns into one-instruction delay slots.  However, some
19943 insns may generate more than one machine instruction.  These insns
19944 cannot be placed into a delay slot.
19946  Often you can rewrite the single insn as a list of individual insns,
19947 each corresponding to one machine instruction.  The disadvantage of
19948 doing so is that it will cause the compilation to be slower and require
19949 more space.  If the resulting insns are too complex, it may also
19950 suppress some optimizations.  The compiler splits the insn if there is a
19951 reason to believe that it might improve instruction or delay slot
19952 scheduling.
19954  The insn combiner phase also splits putative insns.  If three insns are
19955 merged into one insn with a complex expression that cannot be matched by
19956 some `define_insn' pattern, the combiner phase attempts to split the
19957 complex pattern into two insns that are recognized.  Usually it can
19958 break the complex pattern into two patterns by splitting out some
19959 subexpression.  However, in some other cases, such as performing an
19960 addition of a large constant in two insns on a RISC machine, the way to
19961 split the addition into two insns is machine-dependent.
19963  The `define_split' definition tells the compiler how to split a
19964 complex insn into several simpler insns.  It looks like this:
19966      (define_split
19967        [INSN-PATTERN]
19968        "CONDITION"
19969        [NEW-INSN-PATTERN-1
19970         NEW-INSN-PATTERN-2
19971         ...]
19972        "PREPARATION-STATEMENTS")
19974  INSN-PATTERN is a pattern that needs to be split and CONDITION is the
19975 final condition to be tested, as in a `define_insn'.  When an insn
19976 matching INSN-PATTERN and satisfying CONDITION is found, it is replaced
19977 in the insn list with the insns given by NEW-INSN-PATTERN-1,
19978 NEW-INSN-PATTERN-2, etc.
19980  The PREPARATION-STATEMENTS are similar to those statements that are
19981 specified for `define_expand' (*note Expander Definitions::) and are
19982 executed before the new RTL is generated to prepare for the generated
19983 code or emit some insns whose pattern is not fixed.  Unlike those in
19984 `define_expand', however, these statements must not generate any new
19985 pseudo-registers.  Once reload has completed, they also must not
19986 allocate any space in the stack frame.
19988  Patterns are matched against INSN-PATTERN in two different
19989 circumstances.  If an insn needs to be split for delay slot scheduling
19990 or insn scheduling, the insn is already known to be valid, which means
19991 that it must have been matched by some `define_insn' and, if
19992 `reload_completed' is nonzero, is known to satisfy the constraints of
19993 that `define_insn'.  In that case, the new insn patterns must also be
19994 insns that are matched by some `define_insn' and, if `reload_completed'
19995 is nonzero, must also satisfy the constraints of those definitions.
19997  As an example of this usage of `define_split', consider the following
19998 example from `a29k.md', which splits a `sign_extend' from `HImode' to
19999 `SImode' into a pair of shift insns:
20001      (define_split
20002        [(set (match_operand:SI 0 "gen_reg_operand" "")
20003              (sign_extend:SI (match_operand:HI 1 "gen_reg_operand" "")))]
20004        ""
20005        [(set (match_dup 0)
20006              (ashift:SI (match_dup 1)
20007                         (const_int 16)))
20008         (set (match_dup 0)
20009              (ashiftrt:SI (match_dup 0)
20010                           (const_int 16)))]
20011        "
20012      { operands[1] = gen_lowpart (SImode, operands[1]); }")
20014  When the combiner phase tries to split an insn pattern, it is always
20015 the case that the pattern is _not_ matched by any `define_insn'.  The
20016 combiner pass first tries to split a single `set' expression and then
20017 the same `set' expression inside a `parallel', but followed by a
20018 `clobber' of a pseudo-reg to use as a scratch register.  In these
20019 cases, the combiner expects exactly two new insn patterns to be
20020 generated.  It will verify that these patterns match some `define_insn'
20021 definitions, so you need not do this test in the `define_split' (of
20022 course, there is no point in writing a `define_split' that will never
20023 produce insns that match).
20025  Here is an example of this use of `define_split', taken from
20026 `rs6000.md':
20028      (define_split
20029        [(set (match_operand:SI 0 "gen_reg_operand" "")
20030              (plus:SI (match_operand:SI 1 "gen_reg_operand" "")
20031                       (match_operand:SI 2 "non_add_cint_operand" "")))]
20032        ""
20033        [(set (match_dup 0) (plus:SI (match_dup 1) (match_dup 3)))
20034         (set (match_dup 0) (plus:SI (match_dup 0) (match_dup 4)))]
20035      "
20036      {
20037        int low = INTVAL (operands[2]) & 0xffff;
20038        int high = (unsigned) INTVAL (operands[2]) >> 16;
20040        if (low & 0x8000)
20041          high++, low |= 0xffff0000;
20043        operands[3] = GEN_INT (high << 16);
20044        operands[4] = GEN_INT (low);
20045      }")
20047  Here the predicate `non_add_cint_operand' matches any `const_int' that
20048 is _not_ a valid operand of a single add insn.  The add with the
20049 smaller displacement is written so that it can be substituted into the
20050 address of a subsequent operation.
20052  An example that uses a scratch register, from the same file, generates
20053 an equality comparison of a register and a large constant:
20055      (define_split
20056        [(set (match_operand:CC 0 "cc_reg_operand" "")
20057              (compare:CC (match_operand:SI 1 "gen_reg_operand" "")
20058                          (match_operand:SI 2 "non_short_cint_operand" "")))
20059         (clobber (match_operand:SI 3 "gen_reg_operand" ""))]
20060        "find_single_use (operands[0], insn, 0)
20061         && (GET_CODE (*find_single_use (operands[0], insn, 0)) == EQ
20062             || GET_CODE (*find_single_use (operands[0], insn, 0)) == NE)"
20063        [(set (match_dup 3) (xor:SI (match_dup 1) (match_dup 4)))
20064         (set (match_dup 0) (compare:CC (match_dup 3) (match_dup 5)))]
20065        "
20066      {
20067        /* Get the constant we are comparing against, C, and see what it
20068           looks like sign-extended to 16 bits.  Then see what constant
20069           could be XOR'ed with C to get the sign-extended value.  */
20071        int c = INTVAL (operands[2]);
20072        int sextc = (c << 16) >> 16;
20073        int xorv = c ^ sextc;
20075        operands[4] = GEN_INT (xorv);
20076        operands[5] = GEN_INT (sextc);
20077      }")
20079  To avoid confusion, don't write a single `define_split' that accepts
20080 some insns that match some `define_insn' as well as some insns that
20081 don't.  Instead, write two separate `define_split' definitions, one for
20082 the insns that are valid and one for the insns that are not valid.
20084  The splitter is allowed to split jump instructions into sequence of
20085 jumps or create new jumps in while splitting non-jump instructions.  As
20086 the central flowgraph and branch prediction information needs to be
20087 updated, several restriction apply.
20089  Splitting of jump instruction into sequence that over by another jump
20090 instruction is always valid, as compiler expect identical behavior of
20091 new jump.  When new sequence contains multiple jump instructions or new
20092 labels, more assistance is needed.  Splitter is required to create only
20093 unconditional jumps, or simple conditional jump instructions.
20094 Additionally it must attach a `REG_BR_PROB' note to each conditional
20095 jump.  A global variable `split_branch_probability' holds the
20096 probability of the original branch in case it was an simple conditional
20097 jump, -1 otherwise.  To simplify recomputing of edge frequencies, the
20098 new sequence is required to have only forward jumps to the newly
20099 created labels.
20101  For the common case where the pattern of a define_split exactly
20102 matches the pattern of a define_insn, use `define_insn_and_split'.  It
20103 looks like this:
20105      (define_insn_and_split
20106        [INSN-PATTERN]
20107        "CONDITION"
20108        "OUTPUT-TEMPLATE"
20109        "SPLIT-CONDITION"
20110        [NEW-INSN-PATTERN-1
20111         NEW-INSN-PATTERN-2
20112         ...]
20113        "PREPARATION-STATEMENTS"
20114        [INSN-ATTRIBUTES])
20116  INSN-PATTERN, CONDITION, OUTPUT-TEMPLATE, and INSN-ATTRIBUTES are used
20117 as in `define_insn'.  The NEW-INSN-PATTERN vector and the
20118 PREPARATION-STATEMENTS are used as in a `define_split'.  The
20119 SPLIT-CONDITION is also used as in `define_split', with the additional
20120 behavior that if the condition starts with `&&', the condition used for
20121 the split will be the constructed as a logical "and" of the split
20122 condition with the insn condition.  For example, from i386.md:
20124      (define_insn_and_split "zero_extendhisi2_and"
20125        [(set (match_operand:SI 0 "register_operand" "=r")
20126           (zero_extend:SI (match_operand:HI 1 "register_operand" "0")))
20127         (clobber (reg:CC 17))]
20128        "TARGET_ZERO_EXTEND_WITH_AND && !optimize_size"
20129        "#"
20130        "&& reload_completed"
20131        [(parallel [(set (match_dup 0)
20132                         (and:SI (match_dup 0) (const_int 65535)))
20133               (clobber (reg:CC 17))])]
20134        ""
20135        [(set_attr "type" "alu1")])
20137  In this case, the actual split condition will be
20138 `TARGET_ZERO_EXTEND_WITH_AND && !optimize_size && reload_completed'.
20140  The `define_insn_and_split' construction provides exactly the same
20141 functionality as two separate `define_insn' and `define_split'
20142 patterns.  It exists for compactness, and as a maintenance tool to
20143 prevent having to ensure the two patterns' templates match.
20145 \x1f
20146 File: gccint.info,  Node: Including Patterns,  Next: Peephole Definitions,  Prev: Insn Splitting,  Up: Machine Desc
20148 14.17 Including Patterns in Machine Descriptions.
20149 =================================================
20151 The `include' pattern tells the compiler tools where to look for
20152 patterns that are in files other than in the file `.md'.  This is used
20153 only at build time and there is no preprocessing allowed.
20155  It looks like:
20158      (include
20159        PATHNAME)
20161  For example:
20164      (include "filestuff")
20166  Where PATHNAME is a string that specifies the location of the file,
20167 specifies the include file to be in `gcc/config/target/filestuff'.  The
20168 directory `gcc/config/target' is regarded as the default directory.
20170  Machine descriptions may be split up into smaller more manageable
20171 subsections and placed into subdirectories.
20173  By specifying:
20176      (include "BOGUS/filestuff")
20178  the include file is specified to be in
20179 `gcc/config/TARGET/BOGUS/filestuff'.
20181  Specifying an absolute path for the include file such as;
20183      (include "/u2/BOGUS/filestuff")
20184  is permitted but is not encouraged.
20186 14.17.1 RTL Generation Tool Options for Directory Search
20187 --------------------------------------------------------
20189 The `-IDIR' option specifies directories to search for machine
20190 descriptions.  For example:
20193      genrecog -I/p1/abc/proc1 -I/p2/abcd/pro2 target.md
20195  Add the directory DIR to the head of the list of directories to be
20196 searched for header files.  This can be used to override a system
20197 machine definition file, substituting your own version, since these
20198 directories are searched before the default machine description file
20199 directories.  If you use more than one `-I' option, the directories are
20200 scanned in left-to-right order; the standard default directory come
20201 after.
20203 \x1f
20204 File: gccint.info,  Node: Peephole Definitions,  Next: Insn Attributes,  Prev: Including Patterns,  Up: Machine Desc
20206 14.18 Machine-Specific Peephole Optimizers
20207 ==========================================
20209 In addition to instruction patterns the `md' file may contain
20210 definitions of machine-specific peephole optimizations.
20212  The combiner does not notice certain peephole optimizations when the
20213 data flow in the program does not suggest that it should try them.  For
20214 example, sometimes two consecutive insns related in purpose can be
20215 combined even though the second one does not appear to use a register
20216 computed in the first one.  A machine-specific peephole optimizer can
20217 detect such opportunities.
20219  There are two forms of peephole definitions that may be used.  The
20220 original `define_peephole' is run at assembly output time to match
20221 insns and substitute assembly text.  Use of `define_peephole' is
20222 deprecated.
20224  A newer `define_peephole2' matches insns and substitutes new insns.
20225 The `peephole2' pass is run after register allocation but before
20226 scheduling, which may result in much better code for targets that do
20227 scheduling.
20229 * Menu:
20231 * define_peephole::     RTL to Text Peephole Optimizers
20232 * define_peephole2::    RTL to RTL Peephole Optimizers
20234 \x1f
20235 File: gccint.info,  Node: define_peephole,  Next: define_peephole2,  Up: Peephole Definitions
20237 14.18.1 RTL to Text Peephole Optimizers
20238 ---------------------------------------
20240 A definition looks like this:
20242      (define_peephole
20243        [INSN-PATTERN-1
20244         INSN-PATTERN-2
20245         ...]
20246        "CONDITION"
20247        "TEMPLATE"
20248        "OPTIONAL-INSN-ATTRIBUTES")
20250 The last string operand may be omitted if you are not using any
20251 machine-specific information in this machine description.  If present,
20252 it must obey the same rules as in a `define_insn'.
20254  In this skeleton, INSN-PATTERN-1 and so on are patterns to match
20255 consecutive insns.  The optimization applies to a sequence of insns when
20256 INSN-PATTERN-1 matches the first one, INSN-PATTERN-2 matches the next,
20257 and so on.
20259  Each of the insns matched by a peephole must also match a
20260 `define_insn'.  Peepholes are checked only at the last stage just
20261 before code generation, and only optionally.  Therefore, any insn which
20262 would match a peephole but no `define_insn' will cause a crash in code
20263 generation in an unoptimized compilation, or at various optimization
20264 stages.
20266  The operands of the insns are matched with `match_operands',
20267 `match_operator', and `match_dup', as usual.  What is not usual is that
20268 the operand numbers apply to all the insn patterns in the definition.
20269 So, you can check for identical operands in two insns by using
20270 `match_operand' in one insn and `match_dup' in the other.
20272  The operand constraints used in `match_operand' patterns do not have
20273 any direct effect on the applicability of the peephole, but they will
20274 be validated afterward, so make sure your constraints are general enough
20275 to apply whenever the peephole matches.  If the peephole matches but
20276 the constraints are not satisfied, the compiler will crash.
20278  It is safe to omit constraints in all the operands of the peephole; or
20279 you can write constraints which serve as a double-check on the criteria
20280 previously tested.
20282  Once a sequence of insns matches the patterns, the CONDITION is
20283 checked.  This is a C expression which makes the final decision whether
20284 to perform the optimization (we do so if the expression is nonzero).  If
20285 CONDITION is omitted (in other words, the string is empty) then the
20286 optimization is applied to every sequence of insns that matches the
20287 patterns.
20289  The defined peephole optimizations are applied after register
20290 allocation is complete.  Therefore, the peephole definition can check
20291 which operands have ended up in which kinds of registers, just by
20292 looking at the operands.
20294  The way to refer to the operands in CONDITION is to write
20295 `operands[I]' for operand number I (as matched by `(match_operand I
20296 ...)').  Use the variable `insn' to refer to the last of the insns
20297 being matched; use `prev_active_insn' to find the preceding insns.
20299  When optimizing computations with intermediate results, you can use
20300 CONDITION to match only when the intermediate results are not used
20301 elsewhere.  Use the C expression `dead_or_set_p (INSN, OP)', where INSN
20302 is the insn in which you expect the value to be used for the last time
20303 (from the value of `insn', together with use of `prev_nonnote_insn'),
20304 and OP is the intermediate value (from `operands[I]').
20306  Applying the optimization means replacing the sequence of insns with
20307 one new insn.  The TEMPLATE controls ultimate output of assembler code
20308 for this combined insn.  It works exactly like the template of a
20309 `define_insn'.  Operand numbers in this template are the same ones used
20310 in matching the original sequence of insns.
20312  The result of a defined peephole optimizer does not need to match any
20313 of the insn patterns in the machine description; it does not even have
20314 an opportunity to match them.  The peephole optimizer definition itself
20315 serves as the insn pattern to control how the insn is output.
20317  Defined peephole optimizers are run as assembler code is being output,
20318 so the insns they produce are never combined or rearranged in any way.
20320  Here is an example, taken from the 68000 machine description:
20322      (define_peephole
20323        [(set (reg:SI 15) (plus:SI (reg:SI 15) (const_int 4)))
20324         (set (match_operand:DF 0 "register_operand" "=f")
20325              (match_operand:DF 1 "register_operand" "ad"))]
20326        "FP_REG_P (operands[0]) && ! FP_REG_P (operands[1])"
20327      {
20328        rtx xoperands[2];
20329        xoperands[1] = gen_rtx_REG (SImode, REGNO (operands[1]) + 1);
20330      #ifdef MOTOROLA
20331        output_asm_insn ("move.l %1,(sp)", xoperands);
20332        output_asm_insn ("move.l %1,-(sp)", operands);
20333        return "fmove.d (sp)+,%0";
20334      #else
20335        output_asm_insn ("movel %1,sp@", xoperands);
20336        output_asm_insn ("movel %1,sp@-", operands);
20337        return "fmoved sp@+,%0";
20338      #endif
20339      })
20341  The effect of this optimization is to change
20343      jbsr _foobar
20344      addql #4,sp
20345      movel d1,sp@-
20346      movel d0,sp@-
20347      fmoved sp@+,fp0
20349 into
20351      jbsr _foobar
20352      movel d1,sp@
20353      movel d0,sp@-
20354      fmoved sp@+,fp0
20356  INSN-PATTERN-1 and so on look _almost_ like the second operand of
20357 `define_insn'.  There is one important difference: the second operand
20358 of `define_insn' consists of one or more RTX's enclosed in square
20359 brackets.  Usually, there is only one: then the same action can be
20360 written as an element of a `define_peephole'.  But when there are
20361 multiple actions in a `define_insn', they are implicitly enclosed in a
20362 `parallel'.  Then you must explicitly write the `parallel', and the
20363 square brackets within it, in the `define_peephole'.  Thus, if an insn
20364 pattern looks like this,
20366      (define_insn "divmodsi4"
20367        [(set (match_operand:SI 0 "general_operand" "=d")
20368              (div:SI (match_operand:SI 1 "general_operand" "0")
20369                      (match_operand:SI 2 "general_operand" "dmsK")))
20370         (set (match_operand:SI 3 "general_operand" "=d")
20371              (mod:SI (match_dup 1) (match_dup 2)))]
20372        "TARGET_68020"
20373        "divsl%.l %2,%3:%0")
20375 then the way to mention this insn in a peephole is as follows:
20377      (define_peephole
20378        [...
20379         (parallel
20380          [(set (match_operand:SI 0 "general_operand" "=d")
20381                (div:SI (match_operand:SI 1 "general_operand" "0")
20382                        (match_operand:SI 2 "general_operand" "dmsK")))
20383           (set (match_operand:SI 3 "general_operand" "=d")
20384                (mod:SI (match_dup 1) (match_dup 2)))])
20385         ...]
20386        ...)
20388 \x1f
20389 File: gccint.info,  Node: define_peephole2,  Prev: define_peephole,  Up: Peephole Definitions
20391 14.18.2 RTL to RTL Peephole Optimizers
20392 --------------------------------------
20394 The `define_peephole2' definition tells the compiler how to substitute
20395 one sequence of instructions for another sequence, what additional
20396 scratch registers may be needed and what their lifetimes must be.
20398      (define_peephole2
20399        [INSN-PATTERN-1
20400         INSN-PATTERN-2
20401         ...]
20402        "CONDITION"
20403        [NEW-INSN-PATTERN-1
20404         NEW-INSN-PATTERN-2
20405         ...]
20406        "PREPARATION-STATEMENTS")
20408  The definition is almost identical to `define_split' (*note Insn
20409 Splitting::) except that the pattern to match is not a single
20410 instruction, but a sequence of instructions.
20412  It is possible to request additional scratch registers for use in the
20413 output template.  If appropriate registers are not free, the pattern
20414 will simply not match.
20416  Scratch registers are requested with a `match_scratch' pattern at the
20417 top level of the input pattern.  The allocated register (initially) will
20418 be dead at the point requested within the original sequence.  If the
20419 scratch is used at more than a single point, a `match_dup' pattern at
20420 the top level of the input pattern marks the last position in the input
20421 sequence at which the register must be available.
20423  Here is an example from the IA-32 machine description:
20425      (define_peephole2
20426        [(match_scratch:SI 2 "r")
20427         (parallel [(set (match_operand:SI 0 "register_operand" "")
20428                         (match_operator:SI 3 "arith_or_logical_operator"
20429                           [(match_dup 0)
20430                            (match_operand:SI 1 "memory_operand" "")]))
20431                    (clobber (reg:CC 17))])]
20432        "! optimize_size && ! TARGET_READ_MODIFY"
20433        [(set (match_dup 2) (match_dup 1))
20434         (parallel [(set (match_dup 0)
20435                         (match_op_dup 3 [(match_dup 0) (match_dup 2)]))
20436                    (clobber (reg:CC 17))])]
20437        "")
20439 This pattern tries to split a load from its use in the hopes that we'll
20440 be able to schedule around the memory load latency.  It allocates a
20441 single `SImode' register of class `GENERAL_REGS' (`"r"') that needs to
20442 be live only at the point just before the arithmetic.
20444  A real example requiring extended scratch lifetimes is harder to come
20445 by, so here's a silly made-up example:
20447      (define_peephole2
20448        [(match_scratch:SI 4 "r")
20449         (set (match_operand:SI 0 "" "") (match_operand:SI 1 "" ""))
20450         (set (match_operand:SI 2 "" "") (match_dup 1))
20451         (match_dup 4)
20452         (set (match_operand:SI 3 "" "") (match_dup 1))]
20453        "/* determine 1 does not overlap 0 and 2 */"
20454        [(set (match_dup 4) (match_dup 1))
20455         (set (match_dup 0) (match_dup 4))
20456         (set (match_dup 2) (match_dup 4))]
20457         (set (match_dup 3) (match_dup 4))]
20458        "")
20460 If we had not added the `(match_dup 4)' in the middle of the input
20461 sequence, it might have been the case that the register we chose at the
20462 beginning of the sequence is killed by the first or second `set'.
20464 \x1f
20465 File: gccint.info,  Node: Insn Attributes,  Next: Conditional Execution,  Prev: Peephole Definitions,  Up: Machine Desc
20467 14.19 Instruction Attributes
20468 ============================
20470 In addition to describing the instruction supported by the target
20471 machine, the `md' file also defines a group of "attributes" and a set of
20472 values for each.  Every generated insn is assigned a value for each
20473 attribute.  One possible attribute would be the effect that the insn
20474 has on the machine's condition code.  This attribute can then be used
20475 by `NOTICE_UPDATE_CC' to track the condition codes.
20477 * Menu:
20479 * Defining Attributes:: Specifying attributes and their values.
20480 * Expressions::         Valid expressions for attribute values.
20481 * Tagging Insns::       Assigning attribute values to insns.
20482 * Attr Example::        An example of assigning attributes.
20483 * Insn Lengths::        Computing the length of insns.
20484 * Constant Attributes:: Defining attributes that are constant.
20485 * Delay Slots::         Defining delay slots required for a machine.
20486 * Processor pipeline description:: Specifying information for insn scheduling.
20488 \x1f
20489 File: gccint.info,  Node: Defining Attributes,  Next: Expressions,  Up: Insn Attributes
20491 14.19.1 Defining Attributes and their Values
20492 --------------------------------------------
20494 The `define_attr' expression is used to define each attribute required
20495 by the target machine.  It looks like:
20497      (define_attr NAME LIST-OF-VALUES DEFAULT)
20499  NAME is a string specifying the name of the attribute being defined.
20501  LIST-OF-VALUES is either a string that specifies a comma-separated
20502 list of values that can be assigned to the attribute, or a null string
20503 to indicate that the attribute takes numeric values.
20505  DEFAULT is an attribute expression that gives the value of this
20506 attribute for insns that match patterns whose definition does not
20507 include an explicit value for this attribute.  *Note Attr Example::,
20508 for more information on the handling of defaults.  *Note Constant
20509 Attributes::, for information on attributes that do not depend on any
20510 particular insn.
20512  For each defined attribute, a number of definitions are written to the
20513 `insn-attr.h' file.  For cases where an explicit set of values is
20514 specified for an attribute, the following are defined:
20516    * A `#define' is written for the symbol `HAVE_ATTR_NAME'.
20518    * An enumerated class is defined for `attr_NAME' with elements of
20519      the form `UPPER-NAME_UPPER-VALUE' where the attribute name and
20520      value are first converted to uppercase.
20522    * A function `get_attr_NAME' is defined that is passed an insn and
20523      returns the attribute value for that insn.
20525  For example, if the following is present in the `md' file:
20527      (define_attr "type" "branch,fp,load,store,arith" ...)
20529 the following lines will be written to the file `insn-attr.h'.
20531      #define HAVE_ATTR_type
20532      enum attr_type {TYPE_BRANCH, TYPE_FP, TYPE_LOAD,
20533                       TYPE_STORE, TYPE_ARITH};
20534      extern enum attr_type get_attr_type ();
20536  If the attribute takes numeric values, no `enum' type will be defined
20537 and the function to obtain the attribute's value will return `int'.
20539 \x1f
20540 File: gccint.info,  Node: Expressions,  Next: Tagging Insns,  Prev: Defining Attributes,  Up: Insn Attributes
20542 14.19.2 Attribute Expressions
20543 -----------------------------
20545 RTL expressions used to define attributes use the codes described above
20546 plus a few specific to attribute definitions, to be discussed below.
20547 Attribute value expressions must have one of the following forms:
20549 `(const_int I)'
20550      The integer I specifies the value of a numeric attribute.  I must
20551      be non-negative.
20553      The value of a numeric attribute can be specified either with a
20554      `const_int', or as an integer represented as a string in
20555      `const_string', `eq_attr' (see below), `attr', `symbol_ref',
20556      simple arithmetic expressions, and `set_attr' overrides on
20557      specific instructions (*note Tagging Insns::).
20559 `(const_string VALUE)'
20560      The string VALUE specifies a constant attribute value.  If VALUE
20561      is specified as `"*"', it means that the default value of the
20562      attribute is to be used for the insn containing this expression.
20563      `"*"' obviously cannot be used in the DEFAULT expression of a
20564      `define_attr'.
20566      If the attribute whose value is being specified is numeric, VALUE
20567      must be a string containing a non-negative integer (normally
20568      `const_int' would be used in this case).  Otherwise, it must
20569      contain one of the valid values for the attribute.
20571 `(if_then_else TEST TRUE-VALUE FALSE-VALUE)'
20572      TEST specifies an attribute test, whose format is defined below.
20573      The value of this expression is TRUE-VALUE if TEST is true,
20574      otherwise it is FALSE-VALUE.
20576 `(cond [TEST1 VALUE1 ...] DEFAULT)'
20577      The first operand of this expression is a vector containing an even
20578      number of expressions and consisting of pairs of TEST and VALUE
20579      expressions.  The value of the `cond' expression is that of the
20580      VALUE corresponding to the first true TEST expression.  If none of
20581      the TEST expressions are true, the value of the `cond' expression
20582      is that of the DEFAULT expression.
20584  TEST expressions can have one of the following forms:
20586 `(const_int I)'
20587      This test is true if I is nonzero and false otherwise.
20589 `(not TEST)'
20590 `(ior TEST1 TEST2)'
20591 `(and TEST1 TEST2)'
20592      These tests are true if the indicated logical function is true.
20594 `(match_operand:M N PRED CONSTRAINTS)'
20595      This test is true if operand N of the insn whose attribute value
20596      is being determined has mode M (this part of the test is ignored
20597      if M is `VOIDmode') and the function specified by the string PRED
20598      returns a nonzero value when passed operand N and mode M (this
20599      part of the test is ignored if PRED is the null string).
20601      The CONSTRAINTS operand is ignored and should be the null string.
20603 `(le ARITH1 ARITH2)'
20604 `(leu ARITH1 ARITH2)'
20605 `(lt ARITH1 ARITH2)'
20606 `(ltu ARITH1 ARITH2)'
20607 `(gt ARITH1 ARITH2)'
20608 `(gtu ARITH1 ARITH2)'
20609 `(ge ARITH1 ARITH2)'
20610 `(geu ARITH1 ARITH2)'
20611 `(ne ARITH1 ARITH2)'
20612 `(eq ARITH1 ARITH2)'
20613      These tests are true if the indicated comparison of the two
20614      arithmetic expressions is true.  Arithmetic expressions are formed
20615      with `plus', `minus', `mult', `div', `mod', `abs', `neg', `and',
20616      `ior', `xor', `not', `ashift', `lshiftrt', and `ashiftrt'
20617      expressions.
20619      `const_int' and `symbol_ref' are always valid terms (*note Insn
20620      Lengths::,for additional forms).  `symbol_ref' is a string
20621      denoting a C expression that yields an `int' when evaluated by the
20622      `get_attr_...' routine.  It should normally be a global variable.
20624 `(eq_attr NAME VALUE)'
20625      NAME is a string specifying the name of an attribute.
20627      VALUE is a string that is either a valid value for attribute NAME,
20628      a comma-separated list of values, or `!' followed by a value or
20629      list.  If VALUE does not begin with a `!', this test is true if
20630      the value of the NAME attribute of the current insn is in the list
20631      specified by VALUE.  If VALUE begins with a `!', this test is true
20632      if the attribute's value is _not_ in the specified list.
20634      For example,
20636           (eq_attr "type" "load,store")
20638      is equivalent to
20640           (ior (eq_attr "type" "load") (eq_attr "type" "store"))
20642      If NAME specifies an attribute of `alternative', it refers to the
20643      value of the compiler variable `which_alternative' (*note Output
20644      Statement::) and the values must be small integers.  For example,
20646           (eq_attr "alternative" "2,3")
20648      is equivalent to
20650           (ior (eq (symbol_ref "which_alternative") (const_int 2))
20651                (eq (symbol_ref "which_alternative") (const_int 3)))
20653      Note that, for most attributes, an `eq_attr' test is simplified in
20654      cases where the value of the attribute being tested is known for
20655      all insns matching a particular pattern.  This is by far the most
20656      common case.
20658 `(attr_flag NAME)'
20659      The value of an `attr_flag' expression is true if the flag
20660      specified by NAME is true for the `insn' currently being scheduled.
20662      NAME is a string specifying one of a fixed set of flags to test.
20663      Test the flags `forward' and `backward' to determine the direction
20664      of a conditional branch.  Test the flags `very_likely', `likely',
20665      `very_unlikely', and `unlikely' to determine if a conditional
20666      branch is expected to be taken.
20668      If the `very_likely' flag is true, then the `likely' flag is also
20669      true.  Likewise for the `very_unlikely' and `unlikely' flags.
20671      This example describes a conditional branch delay slot which can
20672      be nullified for forward branches that are taken (annul-true) or
20673      for backward branches which are not taken (annul-false).
20675           (define_delay (eq_attr "type" "cbranch")
20676             [(eq_attr "in_branch_delay" "true")
20677              (and (eq_attr "in_branch_delay" "true")
20678                   (attr_flag "forward"))
20679              (and (eq_attr "in_branch_delay" "true")
20680                   (attr_flag "backward"))])
20682      The `forward' and `backward' flags are false if the current `insn'
20683      being scheduled is not a conditional branch.
20685      The `very_likely' and `likely' flags are true if the `insn' being
20686      scheduled is not a conditional branch.  The `very_unlikely' and
20687      `unlikely' flags are false if the `insn' being scheduled is not a
20688      conditional branch.
20690      `attr_flag' is only used during delay slot scheduling and has no
20691      meaning to other passes of the compiler.
20693 `(attr NAME)'
20694      The value of another attribute is returned.  This is most useful
20695      for numeric attributes, as `eq_attr' and `attr_flag' produce more
20696      efficient code for non-numeric attributes.
20698 \x1f
20699 File: gccint.info,  Node: Tagging Insns,  Next: Attr Example,  Prev: Expressions,  Up: Insn Attributes
20701 14.19.3 Assigning Attribute Values to Insns
20702 -------------------------------------------
20704 The value assigned to an attribute of an insn is primarily determined by
20705 which pattern is matched by that insn (or which `define_peephole'
20706 generated it).  Every `define_insn' and `define_peephole' can have an
20707 optional last argument to specify the values of attributes for matching
20708 insns.  The value of any attribute not specified in a particular insn
20709 is set to the default value for that attribute, as specified in its
20710 `define_attr'.  Extensive use of default values for attributes permits
20711 the specification of the values for only one or two attributes in the
20712 definition of most insn patterns, as seen in the example in the next
20713 section.
20715  The optional last argument of `define_insn' and `define_peephole' is a
20716 vector of expressions, each of which defines the value for a single
20717 attribute.  The most general way of assigning an attribute's value is
20718 to use a `set' expression whose first operand is an `attr' expression
20719 giving the name of the attribute being set.  The second operand of the
20720 `set' is an attribute expression (*note Expressions::) giving the value
20721 of the attribute.
20723  When the attribute value depends on the `alternative' attribute (i.e.,
20724 which is the applicable alternative in the constraint of the insn), the
20725 `set_attr_alternative' expression can be used.  It allows the
20726 specification of a vector of attribute expressions, one for each
20727 alternative.
20729  When the generality of arbitrary attribute expressions is not required,
20730 the simpler `set_attr' expression can be used, which allows specifying
20731 a string giving either a single attribute value or a list of attribute
20732 values, one for each alternative.
20734  The form of each of the above specifications is shown below.  In each
20735 case, NAME is a string specifying the attribute to be set.
20737 `(set_attr NAME VALUE-STRING)'
20738      VALUE-STRING is either a string giving the desired attribute value,
20739      or a string containing a comma-separated list giving the values for
20740      succeeding alternatives.  The number of elements must match the
20741      number of alternatives in the constraint of the insn pattern.
20743      Note that it may be useful to specify `*' for some alternative, in
20744      which case the attribute will assume its default value for insns
20745      matching that alternative.
20747 `(set_attr_alternative NAME [VALUE1 VALUE2 ...])'
20748      Depending on the alternative of the insn, the value will be one of
20749      the specified values.  This is a shorthand for using a `cond' with
20750      tests on the `alternative' attribute.
20752 `(set (attr NAME) VALUE)'
20753      The first operand of this `set' must be the special RTL expression
20754      `attr', whose sole operand is a string giving the name of the
20755      attribute being set.  VALUE is the value of the attribute.
20757  The following shows three different ways of representing the same
20758 attribute value specification:
20760      (set_attr "type" "load,store,arith")
20762      (set_attr_alternative "type"
20763                            [(const_string "load") (const_string "store")
20764                             (const_string "arith")])
20766      (set (attr "type")
20767           (cond [(eq_attr "alternative" "1") (const_string "load")
20768                  (eq_attr "alternative" "2") (const_string "store")]
20769                 (const_string "arith")))
20771  The `define_asm_attributes' expression provides a mechanism to specify
20772 the attributes assigned to insns produced from an `asm' statement.  It
20773 has the form:
20775      (define_asm_attributes [ATTR-SETS])
20777 where ATTR-SETS is specified the same as for both the `define_insn' and
20778 the `define_peephole' expressions.
20780  These values will typically be the "worst case" attribute values.  For
20781 example, they might indicate that the condition code will be clobbered.
20783  A specification for a `length' attribute is handled specially.  The
20784 way to compute the length of an `asm' insn is to multiply the length
20785 specified in the expression `define_asm_attributes' by the number of
20786 machine instructions specified in the `asm' statement, determined by
20787 counting the number of semicolons and newlines in the string.
20788 Therefore, the value of the `length' attribute specified in a
20789 `define_asm_attributes' should be the maximum possible length of a
20790 single machine instruction.
20792 \x1f
20793 File: gccint.info,  Node: Attr Example,  Next: Insn Lengths,  Prev: Tagging Insns,  Up: Insn Attributes
20795 14.19.4 Example of Attribute Specifications
20796 -------------------------------------------
20798 The judicious use of defaulting is important in the efficient use of
20799 insn attributes.  Typically, insns are divided into "types" and an
20800 attribute, customarily called `type', is used to represent this value.
20801 This attribute is normally used only to define the default value for
20802 other attributes.  An example will clarify this usage.
20804  Assume we have a RISC machine with a condition code and in which only
20805 full-word operations are performed in registers.  Let us assume that we
20806 can divide all insns into loads, stores, (integer) arithmetic
20807 operations, floating point operations, and branches.
20809  Here we will concern ourselves with determining the effect of an insn
20810 on the condition code and will limit ourselves to the following possible
20811 effects:  The condition code can be set unpredictably (clobbered), not
20812 be changed, be set to agree with the results of the operation, or only
20813 changed if the item previously set into the condition code has been
20814 modified.
20816  Here is part of a sample `md' file for such a machine:
20818      (define_attr "type" "load,store,arith,fp,branch" (const_string "arith"))
20820      (define_attr "cc" "clobber,unchanged,set,change0"
20821                   (cond [(eq_attr "type" "load")
20822                              (const_string "change0")
20823                          (eq_attr "type" "store,branch")
20824                              (const_string "unchanged")
20825                          (eq_attr "type" "arith")
20826                              (if_then_else (match_operand:SI 0 "" "")
20827                                            (const_string "set")
20828                                            (const_string "clobber"))]
20829                         (const_string "clobber")))
20831      (define_insn ""
20832        [(set (match_operand:SI 0 "general_operand" "=r,r,m")
20833              (match_operand:SI 1 "general_operand" "r,m,r"))]
20834        ""
20835        "@
20836         move %0,%1
20837         load %0,%1
20838         store %0,%1"
20839        [(set_attr "type" "arith,load,store")])
20841  Note that we assume in the above example that arithmetic operations
20842 performed on quantities smaller than a machine word clobber the
20843 condition code since they will set the condition code to a value
20844 corresponding to the full-word result.
20846 \x1f
20847 File: gccint.info,  Node: Insn Lengths,  Next: Constant Attributes,  Prev: Attr Example,  Up: Insn Attributes
20849 14.19.5 Computing the Length of an Insn
20850 ---------------------------------------
20852 For many machines, multiple types of branch instructions are provided,
20853 each for different length branch displacements.  In most cases, the
20854 assembler will choose the correct instruction to use.  However, when
20855 the assembler cannot do so, GCC can when a special attribute, the
20856 `length' attribute, is defined.  This attribute must be defined to have
20857 numeric values by specifying a null string in its `define_attr'.
20859  In the case of the `length' attribute, two additional forms of
20860 arithmetic terms are allowed in test expressions:
20862 `(match_dup N)'
20863      This refers to the address of operand N of the current insn, which
20864      must be a `label_ref'.
20866 `(pc)'
20867      This refers to the address of the _current_ insn.  It might have
20868      been more consistent with other usage to make this the address of
20869      the _next_ insn but this would be confusing because the length of
20870      the current insn is to be computed.
20872  For normal insns, the length will be determined by value of the
20873 `length' attribute.  In the case of `addr_vec' and `addr_diff_vec' insn
20874 patterns, the length is computed as the number of vectors multiplied by
20875 the size of each vector.
20877  Lengths are measured in addressable storage units (bytes).
20879  The following macros can be used to refine the length computation:
20881 `ADJUST_INSN_LENGTH (INSN, LENGTH)'
20882      If defined, modifies the length assigned to instruction INSN as a
20883      function of the context in which it is used.  LENGTH is an lvalue
20884      that contains the initially computed length of the insn and should
20885      be updated with the correct length of the insn.
20887      This macro will normally not be required.  A case in which it is
20888      required is the ROMP.  On this machine, the size of an `addr_vec'
20889      insn must be increased by two to compensate for the fact that
20890      alignment may be required.
20892  The routine that returns `get_attr_length' (the value of the `length'
20893 attribute) can be used by the output routine to determine the form of
20894 the branch instruction to be written, as the example below illustrates.
20896  As an example of the specification of variable-length branches,
20897 consider the IBM 360.  If we adopt the convention that a register will
20898 be set to the starting address of a function, we can jump to labels
20899 within 4k of the start using a four-byte instruction.  Otherwise, we
20900 need a six-byte sequence to load the address from memory and then
20901 branch to it.
20903  On such a machine, a pattern for a branch instruction might be
20904 specified as follows:
20906      (define_insn "jump"
20907        [(set (pc)
20908              (label_ref (match_operand 0 "" "")))]
20909        ""
20910      {
20911         return (get_attr_length (insn) == 4
20912                 ? "b %l0" : "l r15,=a(%l0); br r15");
20913      }
20914        [(set (attr "length")
20915              (if_then_else (lt (match_dup 0) (const_int 4096))
20916                            (const_int 4)
20917                            (const_int 6)))])
20919 \x1f
20920 File: gccint.info,  Node: Constant Attributes,  Next: Delay Slots,  Prev: Insn Lengths,  Up: Insn Attributes
20922 14.19.6 Constant Attributes
20923 ---------------------------
20925 A special form of `define_attr', where the expression for the default
20926 value is a `const' expression, indicates an attribute that is constant
20927 for a given run of the compiler.  Constant attributes may be used to
20928 specify which variety of processor is used.  For example,
20930      (define_attr "cpu" "m88100,m88110,m88000"
20931       (const
20932        (cond [(symbol_ref "TARGET_88100") (const_string "m88100")
20933               (symbol_ref "TARGET_88110") (const_string "m88110")]
20934              (const_string "m88000"))))
20936      (define_attr "memory" "fast,slow"
20937       (const
20938        (if_then_else (symbol_ref "TARGET_FAST_MEM")
20939                      (const_string "fast")
20940                      (const_string "slow"))))
20942  The routine generated for constant attributes has no parameters as it
20943 does not depend on any particular insn.  RTL expressions used to define
20944 the value of a constant attribute may use the `symbol_ref' form, but
20945 may not use either the `match_operand' form or `eq_attr' forms
20946 involving insn attributes.
20948 \x1f
20949 File: gccint.info,  Node: Delay Slots,  Next: Processor pipeline description,  Prev: Constant Attributes,  Up: Insn Attributes
20951 14.19.7 Delay Slot Scheduling
20952 -----------------------------
20954 The insn attribute mechanism can be used to specify the requirements for
20955 delay slots, if any, on a target machine.  An instruction is said to
20956 require a "delay slot" if some instructions that are physically after
20957 the instruction are executed as if they were located before it.
20958 Classic examples are branch and call instructions, which often execute
20959 the following instruction before the branch or call is performed.
20961  On some machines, conditional branch instructions can optionally
20962 "annul" instructions in the delay slot.  This means that the
20963 instruction will not be executed for certain branch outcomes.  Both
20964 instructions that annul if the branch is true and instructions that
20965 annul if the branch is false are supported.
20967  Delay slot scheduling differs from instruction scheduling in that
20968 determining whether an instruction needs a delay slot is dependent only
20969 on the type of instruction being generated, not on data flow between the
20970 instructions.  See the next section for a discussion of data-dependent
20971 instruction scheduling.
20973  The requirement of an insn needing one or more delay slots is indicated
20974 via the `define_delay' expression.  It has the following form:
20976      (define_delay TEST
20977                    [DELAY-1 ANNUL-TRUE-1 ANNUL-FALSE-1
20978                     DELAY-2 ANNUL-TRUE-2 ANNUL-FALSE-2
20979                     ...])
20981  TEST is an attribute test that indicates whether this `define_delay'
20982 applies to a particular insn.  If so, the number of required delay
20983 slots is determined by the length of the vector specified as the second
20984 argument.  An insn placed in delay slot N must satisfy attribute test
20985 DELAY-N.  ANNUL-TRUE-N is an attribute test that specifies which insns
20986 may be annulled if the branch is true.  Similarly, ANNUL-FALSE-N
20987 specifies which insns in the delay slot may be annulled if the branch
20988 is false.  If annulling is not supported for that delay slot, `(nil)'
20989 should be coded.
20991  For example, in the common case where branch and call insns require a
20992 single delay slot, which may contain any insn other than a branch or
20993 call, the following would be placed in the `md' file:
20995      (define_delay (eq_attr "type" "branch,call")
20996                    [(eq_attr "type" "!branch,call") (nil) (nil)])
20998  Multiple `define_delay' expressions may be specified.  In this case,
20999 each such expression specifies different delay slot requirements and
21000 there must be no insn for which tests in two `define_delay' expressions
21001 are both true.
21003  For example, if we have a machine that requires one delay slot for
21004 branches but two for calls,  no delay slot can contain a branch or call
21005 insn, and any valid insn in the delay slot for the branch can be
21006 annulled if the branch is true, we might represent this as follows:
21008      (define_delay (eq_attr "type" "branch")
21009         [(eq_attr "type" "!branch,call")
21010          (eq_attr "type" "!branch,call")
21011          (nil)])
21013      (define_delay (eq_attr "type" "call")
21014                    [(eq_attr "type" "!branch,call") (nil) (nil)
21015                     (eq_attr "type" "!branch,call") (nil) (nil)])
21017 \x1f
21018 File: gccint.info,  Node: Processor pipeline description,  Prev: Delay Slots,  Up: Insn Attributes
21020 14.19.8 Specifying processor pipeline description
21021 -------------------------------------------------
21023 To achieve better performance, most modern processors (super-pipelined,
21024 superscalar RISC, and VLIW processors) have many "functional units" on
21025 which several instructions can be executed simultaneously.  An
21026 instruction starts execution if its issue conditions are satisfied.  If
21027 not, the instruction is stalled until its conditions are satisfied.
21028 Such "interlock (pipeline) delay" causes interruption of the fetching
21029 of successor instructions (or demands nop instructions, e.g. for some
21030 MIPS processors).
21032  There are two major kinds of interlock delays in modern processors.
21033 The first one is a data dependence delay determining "instruction
21034 latency time".  The instruction execution is not started until all
21035 source data have been evaluated by prior instructions (there are more
21036 complex cases when the instruction execution starts even when the data
21037 are not available but will be ready in given time after the instruction
21038 execution start).  Taking the data dependence delays into account is
21039 simple.  The data dependence (true, output, and anti-dependence) delay
21040 between two instructions is given by a constant.  In most cases this
21041 approach is adequate.  The second kind of interlock delays is a
21042 reservation delay.  The reservation delay means that two instructions
21043 under execution will be in need of shared processors resources, i.e.
21044 buses, internal registers, and/or functional units, which are reserved
21045 for some time.  Taking this kind of delay into account is complex
21046 especially for modern RISC processors.
21048  The task of exploiting more processor parallelism is solved by an
21049 instruction scheduler.  For a better solution to this problem, the
21050 instruction scheduler has to have an adequate description of the
21051 processor parallelism (or "pipeline description").  GCC machine
21052 descriptions describe processor parallelism and functional unit
21053 reservations for groups of instructions with the aid of "regular
21054 expressions".
21056  The GCC instruction scheduler uses a "pipeline hazard recognizer" to
21057 figure out the possibility of the instruction issue by the processor on
21058 a given simulated processor cycle.  The pipeline hazard recognizer is
21059 automatically generated from the processor pipeline description.  The
21060 pipeline hazard recognizer generated from the machine description is
21061 based on a deterministic finite state automaton (DFA): the instruction
21062 issue is possible if there is a transition from one automaton state to
21063 another one.  This algorithm is very fast, and furthermore, its speed
21064 is not dependent on processor complexity(1).
21066  The rest of this section describes the directives that constitute an
21067 automaton-based processor pipeline description.  The order of these
21068 constructions within the machine description file is not important.
21070  The following optional construction describes names of automata
21071 generated and used for the pipeline hazards recognition.  Sometimes the
21072 generated finite state automaton used by the pipeline hazard recognizer
21073 is large.  If we use more than one automaton and bind functional units
21074 to the automata, the total size of the automata is usually less than
21075 the size of the single automaton.  If there is no one such
21076 construction, only one finite state automaton is generated.
21078      (define_automaton AUTOMATA-NAMES)
21080  AUTOMATA-NAMES is a string giving names of the automata.  The names
21081 are separated by commas.  All the automata should have unique names.
21082 The automaton name is used in the constructions `define_cpu_unit' and
21083 `define_query_cpu_unit'.
21085  Each processor functional unit used in the description of instruction
21086 reservations should be described by the following construction.
21088      (define_cpu_unit UNIT-NAMES [AUTOMATON-NAME])
21090  UNIT-NAMES is a string giving the names of the functional units
21091 separated by commas.  Don't use name `nothing', it is reserved for
21092 other goals.
21094  AUTOMATON-NAME is a string giving the name of the automaton with which
21095 the unit is bound.  The automaton should be described in construction
21096 `define_automaton'.  You should give "automaton-name", if there is a
21097 defined automaton.
21099  The assignment of units to automata are constrained by the uses of the
21100 units in insn reservations.  The most important constraint is: if a
21101 unit reservation is present on a particular cycle of an alternative for
21102 an insn reservation, then some unit from the same automaton must be
21103 present on the same cycle for the other alternatives of the insn
21104 reservation.  The rest of the constraints are mentioned in the
21105 description of the subsequent constructions.
21107  The following construction describes CPU functional units analogously
21108 to `define_cpu_unit'.  The reservation of such units can be queried for
21109 an automaton state.  The instruction scheduler never queries
21110 reservation of functional units for given automaton state.  So as a
21111 rule, you don't need this construction.  This construction could be
21112 used for future code generation goals (e.g. to generate VLIW insn
21113 templates).
21115      (define_query_cpu_unit UNIT-NAMES [AUTOMATON-NAME])
21117  UNIT-NAMES is a string giving names of the functional units separated
21118 by commas.
21120  AUTOMATON-NAME is a string giving the name of the automaton with which
21121 the unit is bound.
21123  The following construction is the major one to describe pipeline
21124 characteristics of an instruction.
21126      (define_insn_reservation INSN-NAME DEFAULT_LATENCY
21127                               CONDITION REGEXP)
21129  DEFAULT_LATENCY is a number giving latency time of the instruction.
21130 There is an important difference between the old description and the
21131 automaton based pipeline description.  The latency time is used for all
21132 dependencies when we use the old description.  In the automaton based
21133 pipeline description, the given latency time is only used for true
21134 dependencies.  The cost of anti-dependencies is always zero and the
21135 cost of output dependencies is the difference between latency times of
21136 the producing and consuming insns (if the difference is negative, the
21137 cost is considered to be zero).  You can always change the default
21138 costs for any description by using the target hook
21139 `TARGET_SCHED_ADJUST_COST' (*note Scheduling::).
21141  INSN-NAME is a string giving the internal name of the insn.  The
21142 internal names are used in constructions `define_bypass' and in the
21143 automaton description file generated for debugging.  The internal name
21144 has nothing in common with the names in `define_insn'.  It is a good
21145 practice to use insn classes described in the processor manual.
21147  CONDITION defines what RTL insns are described by this construction.
21148 You should remember that you will be in trouble if CONDITION for two or
21149 more different `define_insn_reservation' constructions is TRUE for an
21150 insn.  In this case what reservation will be used for the insn is not
21151 defined.  Such cases are not checked during generation of the pipeline
21152 hazards recognizer because in general recognizing that two conditions
21153 may have the same value is quite difficult (especially if the conditions
21154 contain `symbol_ref').  It is also not checked during the pipeline
21155 hazard recognizer work because it would slow down the recognizer
21156 considerably.
21158  REGEXP is a string describing the reservation of the cpu's functional
21159 units by the instruction.  The reservations are described by a regular
21160 expression according to the following syntax:
21162             regexp = regexp "," oneof
21163                    | oneof
21165             oneof = oneof "|" allof
21166                   | allof
21168             allof = allof "+" repeat
21169                   | repeat
21171             repeat = element "*" number
21172                    | element
21174             element = cpu_function_unit_name
21175                     | reservation_name
21176                     | result_name
21177                     | "nothing"
21178                     | "(" regexp ")"
21180    * `,' is used for describing the start of the next cycle in the
21181      reservation.
21183    * `|' is used for describing a reservation described by the first
21184      regular expression *or* a reservation described by the second
21185      regular expression *or* etc.
21187    * `+' is used for describing a reservation described by the first
21188      regular expression *and* a reservation described by the second
21189      regular expression *and* etc.
21191    * `*' is used for convenience and simply means a sequence in which
21192      the regular expression are repeated NUMBER times with cycle
21193      advancing (see `,').
21195    * `cpu_function_unit_name' denotes reservation of the named
21196      functional unit.
21198    * `reservation_name' -- see description of construction
21199      `define_reservation'.
21201    * `nothing' denotes no unit reservations.
21203  Sometimes unit reservations for different insns contain common parts.
21204 In such case, you can simplify the pipeline description by describing
21205 the common part by the following construction
21207      (define_reservation RESERVATION-NAME REGEXP)
21209  RESERVATION-NAME is a string giving name of REGEXP.  Functional unit
21210 names and reservation names are in the same name space.  So the
21211 reservation names should be different from the functional unit names
21212 and can not be the reserved name `nothing'.
21214  The following construction is used to describe exceptions in the
21215 latency time for given instruction pair.  This is so called bypasses.
21217      (define_bypass NUMBER OUT_INSN_NAMES IN_INSN_NAMES
21218                     [GUARD])
21220  NUMBER defines when the result generated by the instructions given in
21221 string OUT_INSN_NAMES will be ready for the instructions given in
21222 string IN_INSN_NAMES.  The instructions in the string are separated by
21223 commas.
21225  GUARD is an optional string giving the name of a C function which
21226 defines an additional guard for the bypass.  The function will get the
21227 two insns as parameters.  If the function returns zero the bypass will
21228 be ignored for this case.  The additional guard is necessary to
21229 recognize complicated bypasses, e.g. when the consumer is only an
21230 address of insn `store' (not a stored value).
21232  The following five constructions are usually used to describe VLIW
21233 processors, or more precisely, to describe a placement of small
21234 instructions into VLIW instruction slots.  They can be used for RISC
21235 processors, too.
21237      (exclusion_set UNIT-NAMES UNIT-NAMES)
21238      (presence_set UNIT-NAMES PATTERNS)
21239      (final_presence_set UNIT-NAMES PATTERNS)
21240      (absence_set UNIT-NAMES PATTERNS)
21241      (final_absence_set UNIT-NAMES PATTERNS)
21243  UNIT-NAMES is a string giving names of functional units separated by
21244 commas.
21246  PATTERNS is a string giving patterns of functional units separated by
21247 comma.  Currently pattern is one unit or units separated by
21248 white-spaces.
21250  The first construction (`exclusion_set') means that each functional
21251 unit in the first string can not be reserved simultaneously with a unit
21252 whose name is in the second string and vice versa.  For example, the
21253 construction is useful for describing processors (e.g. some SPARC
21254 processors) with a fully pipelined floating point functional unit which
21255 can execute simultaneously only single floating point insns or only
21256 double floating point insns.
21258  The second construction (`presence_set') means that each functional
21259 unit in the first string can not be reserved unless at least one of
21260 pattern of units whose names are in the second string is reserved.
21261 This is an asymmetric relation.  For example, it is useful for
21262 description that VLIW `slot1' is reserved after `slot0' reservation.
21263 We could describe it by the following construction
21265      (presence_set "slot1" "slot0")
21267  Or `slot1' is reserved only after `slot0' and unit `b0' reservation.
21268 In this case we could write
21270      (presence_set "slot1" "slot0 b0")
21272  The third construction (`final_presence_set') is analogous to
21273 `presence_set'.  The difference between them is when checking is done.
21274 When an instruction is issued in given automaton state reflecting all
21275 current and planned unit reservations, the automaton state is changed.
21276 The first state is a source state, the second one is a result state.
21277 Checking for `presence_set' is done on the source state reservation,
21278 checking for `final_presence_set' is done on the result reservation.
21279 This construction is useful to describe a reservation which is actually
21280 two subsequent reservations.  For example, if we use
21282      (presence_set "slot1" "slot0")
21284  the following insn will be never issued (because `slot1' requires
21285 `slot0' which is absent in the source state).
21287      (define_reservation "insn_and_nop" "slot0 + slot1")
21289  but it can be issued if we use analogous `final_presence_set'.
21291  The forth construction (`absence_set') means that each functional unit
21292 in the first string can be reserved only if each pattern of units whose
21293 names are in the second string is not reserved.  This is an asymmetric
21294 relation (actually `exclusion_set' is analogous to this one but it is
21295 symmetric).  For example it might be useful in a VLIW description to
21296 say that `slot0' cannot be reserved after either `slot1' or `slot2'
21297 have been reserved.  This can be described as:
21299      (absence_set "slot0" "slot1, slot2")
21301  Or `slot2' can not be reserved if `slot0' and unit `b0' are reserved
21302 or `slot1' and unit `b1' are reserved.  In this case we could write
21304      (absence_set "slot2" "slot0 b0, slot1 b1")
21306  All functional units mentioned in a set should belong to the same
21307 automaton.
21309  The last construction (`final_absence_set') is analogous to
21310 `absence_set' but checking is done on the result (state) reservation.
21311 See comments for `final_presence_set'.
21313  You can control the generator of the pipeline hazard recognizer with
21314 the following construction.
21316      (automata_option OPTIONS)
21318  OPTIONS is a string giving options which affect the generated code.
21319 Currently there are the following options:
21321    * "no-minimization" makes no minimization of the automaton.  This is
21322      only worth to do when we are debugging the description and need to
21323      look more accurately at reservations of states.
21325    * "time" means printing time statistics about the generation of
21326      automata.
21328    * "stats" means printing statistics about the generated automata
21329      such as the number of DFA states, NDFA states and arcs.
21331    * "v" means a generation of the file describing the result automata.
21332      The file has suffix `.dfa' and can be used for the description
21333      verification and debugging.
21335    * "w" means a generation of warning instead of error for
21336      non-critical errors.
21338    * "ndfa" makes nondeterministic finite state automata.  This affects
21339      the treatment of operator `|' in the regular expressions.  The
21340      usual treatment of the operator is to try the first alternative
21341      and, if the reservation is not possible, the second alternative.
21342      The nondeterministic treatment means trying all alternatives, some
21343      of them may be rejected by reservations in the subsequent insns.
21345    * "progress" means output of a progress bar showing how many states
21346      were generated so far for automaton being processed.  This is
21347      useful during debugging a DFA description.  If you see too many
21348      generated states, you could interrupt the generator of the pipeline
21349      hazard recognizer and try to figure out a reason for generation of
21350      the huge automaton.
21352  As an example, consider a superscalar RISC machine which can issue
21353 three insns (two integer insns and one floating point insn) on the
21354 cycle but can finish only two insns.  To describe this, we define the
21355 following functional units.
21357      (define_cpu_unit "i0_pipeline, i1_pipeline, f_pipeline")
21358      (define_cpu_unit "port0, port1")
21360  All simple integer insns can be executed in any integer pipeline and
21361 their result is ready in two cycles.  The simple integer insns are
21362 issued into the first pipeline unless it is reserved, otherwise they
21363 are issued into the second pipeline.  Integer division and
21364 multiplication insns can be executed only in the second integer
21365 pipeline and their results are ready correspondingly in 8 and 4 cycles.
21366 The integer division is not pipelined, i.e. the subsequent integer
21367 division insn can not be issued until the current division insn
21368 finished.  Floating point insns are fully pipelined and their results
21369 are ready in 3 cycles.  Where the result of a floating point insn is
21370 used by an integer insn, an additional delay of one cycle is incurred.
21371 To describe all of this we could specify
21373      (define_cpu_unit "div")
21375      (define_insn_reservation "simple" 2 (eq_attr "type" "int")
21376                               "(i0_pipeline | i1_pipeline), (port0 | port1)")
21378      (define_insn_reservation "mult" 4 (eq_attr "type" "mult")
21379                               "i1_pipeline, nothing*2, (port0 | port1)")
21381      (define_insn_reservation "div" 8 (eq_attr "type" "div")
21382                               "i1_pipeline, div*7, div + (port0 | port1)")
21384      (define_insn_reservation "float" 3 (eq_attr "type" "float")
21385                               "f_pipeline, nothing, (port0 | port1))
21387      (define_bypass 4 "float" "simple,mult,div")
21389  To simplify the description we could describe the following reservation
21391      (define_reservation "finish" "port0|port1")
21393  and use it in all `define_insn_reservation' as in the following
21394 construction
21396      (define_insn_reservation "simple" 2 (eq_attr "type" "int")
21397                               "(i0_pipeline | i1_pipeline), finish")
21399  ---------- Footnotes ----------
21401  (1) However, the size of the automaton depends on   processor
21402 complexity.  To limit this effect, machine descriptions   can split
21403 orthogonal parts of the machine description among several   automata:
21404 but then, since each of these must be stepped independently,   this
21405 does cause a small decrease in the algorithm's performance.
21407 \x1f
21408 File: gccint.info,  Node: Conditional Execution,  Next: Constant Definitions,  Prev: Insn Attributes,  Up: Machine Desc
21410 14.20 Conditional Execution
21411 ===========================
21413 A number of architectures provide for some form of conditional
21414 execution, or predication.  The hallmark of this feature is the ability
21415 to nullify most of the instructions in the instruction set.  When the
21416 instruction set is large and not entirely symmetric, it can be quite
21417 tedious to describe these forms directly in the `.md' file.  An
21418 alternative is the `define_cond_exec' template.
21420      (define_cond_exec
21421        [PREDICATE-PATTERN]
21422        "CONDITION"
21423        "OUTPUT-TEMPLATE")
21425  PREDICATE-PATTERN is the condition that must be true for the insn to
21426 be executed at runtime and should match a relational operator.  One can
21427 use `match_operator' to match several relational operators at once.
21428 Any `match_operand' operands must have no more than one alternative.
21430  CONDITION is a C expression that must be true for the generated
21431 pattern to match.
21433  OUTPUT-TEMPLATE is a string similar to the `define_insn' output
21434 template (*note Output Template::), except that the `*' and `@' special
21435 cases do not apply.  This is only useful if the assembly text for the
21436 predicate is a simple prefix to the main insn.  In order to handle the
21437 general case, there is a global variable `current_insn_predicate' that
21438 will contain the entire predicate if the current insn is predicated,
21439 and will otherwise be `NULL'.
21441  When `define_cond_exec' is used, an implicit reference to the
21442 `predicable' instruction attribute is made.  *Note Insn Attributes::.
21443 This attribute must be boolean (i.e. have exactly two elements in its
21444 LIST-OF-VALUES).  Further, it must not be used with complex
21445 expressions.  That is, the default and all uses in the insns must be a
21446 simple constant, not dependent on the alternative or anything else.
21448  For each `define_insn' for which the `predicable' attribute is true, a
21449 new `define_insn' pattern will be generated that matches a predicated
21450 version of the instruction.  For example,
21452      (define_insn "addsi"
21453        [(set (match_operand:SI 0 "register_operand" "r")
21454              (plus:SI (match_operand:SI 1 "register_operand" "r")
21455                       (match_operand:SI 2 "register_operand" "r")))]
21456        "TEST1"
21457        "add %2,%1,%0")
21459      (define_cond_exec
21460        [(ne (match_operand:CC 0 "register_operand" "c")
21461             (const_int 0))]
21462        "TEST2"
21463        "(%0)")
21465 generates a new pattern
21467      (define_insn ""
21468        [(cond_exec
21469           (ne (match_operand:CC 3 "register_operand" "c") (const_int 0))
21470           (set (match_operand:SI 0 "register_operand" "r")
21471                (plus:SI (match_operand:SI 1 "register_operand" "r")
21472                         (match_operand:SI 2 "register_operand" "r"))))]
21473        "(TEST2) && (TEST1)"
21474        "(%3) add %2,%1,%0")
21476 \x1f
21477 File: gccint.info,  Node: Constant Definitions,  Next: Iterators,  Prev: Conditional Execution,  Up: Machine Desc
21479 14.21 Constant Definitions
21480 ==========================
21482 Using literal constants inside instruction patterns reduces legibility
21483 and can be a maintenance problem.
21485  To overcome this problem, you may use the `define_constants'
21486 expression.  It contains a vector of name-value pairs.  From that point
21487 on, wherever any of the names appears in the MD file, it is as if the
21488 corresponding value had been written instead.  You may use
21489 `define_constants' multiple times; each appearance adds more constants
21490 to the table.  It is an error to redefine a constant with a different
21491 value.
21493  To come back to the a29k load multiple example, instead of
21495      (define_insn ""
21496        [(match_parallel 0 "load_multiple_operation"
21497           [(set (match_operand:SI 1 "gpc_reg_operand" "=r")
21498                 (match_operand:SI 2 "memory_operand" "m"))
21499            (use (reg:SI 179))
21500            (clobber (reg:SI 179))])]
21501        ""
21502        "loadm 0,0,%1,%2")
21504  You could write:
21506      (define_constants [
21507          (R_BP 177)
21508          (R_FC 178)
21509          (R_CR 179)
21510          (R_Q  180)
21511      ])
21513      (define_insn ""
21514        [(match_parallel 0 "load_multiple_operation"
21515           [(set (match_operand:SI 1 "gpc_reg_operand" "=r")
21516                 (match_operand:SI 2 "memory_operand" "m"))
21517            (use (reg:SI R_CR))
21518            (clobber (reg:SI R_CR))])]
21519        ""
21520        "loadm 0,0,%1,%2")
21522  The constants that are defined with a define_constant are also output
21523 in the insn-codes.h header file as #defines.
21525 \x1f
21526 File: gccint.info,  Node: Iterators,  Prev: Constant Definitions,  Up: Machine Desc
21528 14.22 Iterators
21529 ===============
21531 Ports often need to define similar patterns for more than one machine
21532 mode or for more than one rtx code.  GCC provides some simple iterator
21533 facilities to make this process easier.
21535 * Menu:
21537 * Mode Iterators::         Generating variations of patterns for different modes.
21538 * Code Iterators::         Doing the same for codes.
21540 \x1f
21541 File: gccint.info,  Node: Mode Iterators,  Next: Code Iterators,  Up: Iterators
21543 14.22.1 Mode Iterators
21544 ----------------------
21546 Ports often need to define similar patterns for two or more different
21547 modes.  For example:
21549    * If a processor has hardware support for both single and double
21550      floating-point arithmetic, the `SFmode' patterns tend to be very
21551      similar to the `DFmode' ones.
21553    * If a port uses `SImode' pointers in one configuration and `DImode'
21554      pointers in another, it will usually have very similar `SImode'
21555      and `DImode' patterns for manipulating pointers.
21557  Mode iterators allow several patterns to be instantiated from one
21558 `.md' file template.  They can be used with any type of rtx-based
21559 construct, such as a `define_insn', `define_split', or
21560 `define_peephole2'.
21562 * Menu:
21564 * Defining Mode Iterators:: Defining a new mode iterator.
21565 * Substitutions::           Combining mode iterators with substitutions
21566 * Examples::                Examples
21568 \x1f
21569 File: gccint.info,  Node: Defining Mode Iterators,  Next: Substitutions,  Up: Mode Iterators
21571 14.22.1.1 Defining Mode Iterators
21572 .................................
21574 The syntax for defining a mode iterator is:
21576      (define_mode_iterator NAME [(MODE1 "COND1") ... (MODEN "CONDN")])
21578  This allows subsequent `.md' file constructs to use the mode suffix
21579 `:NAME'.  Every construct that does so will be expanded N times, once
21580 with every use of `:NAME' replaced by `:MODE1', once with every use
21581 replaced by `:MODE2', and so on.  In the expansion for a particular
21582 MODEI, every C condition will also require that CONDI be true.
21584  For example:
21586      (define_mode_iterator P [(SI "Pmode == SImode") (DI "Pmode == DImode")])
21588  defines a new mode suffix `:P'.  Every construct that uses `:P' will
21589 be expanded twice, once with every `:P' replaced by `:SI' and once with
21590 every `:P' replaced by `:DI'.  The `:SI' version will only apply if
21591 `Pmode == SImode' and the `:DI' version will only apply if `Pmode ==
21592 DImode'.
21594  As with other `.md' conditions, an empty string is treated as "always
21595 true".  `(MODE "")' can also be abbreviated to `MODE'.  For example:
21597      (define_mode_iterator GPR [SI (DI "TARGET_64BIT")])
21599  means that the `:DI' expansion only applies if `TARGET_64BIT' but that
21600 the `:SI' expansion has no such constraint.
21602  Iterators are applied in the order they are defined.  This can be
21603 significant if two iterators are used in a construct that requires
21604 substitutions.  *Note Substitutions::.
21606 \x1f
21607 File: gccint.info,  Node: Substitutions,  Next: Examples,  Prev: Defining Mode Iterators,  Up: Mode Iterators
21609 14.22.1.2 Substitution in Mode Iterators
21610 ........................................
21612 If an `.md' file construct uses mode iterators, each version of the
21613 construct will often need slightly different strings or modes.  For
21614 example:
21616    * When a `define_expand' defines several `addM3' patterns (*note
21617      Standard Names::), each expander will need to use the appropriate
21618      mode name for M.
21620    * When a `define_insn' defines several instruction patterns, each
21621      instruction will often use a different assembler mnemonic.
21623    * When a `define_insn' requires operands with different modes, using
21624      an iterator for one of the operand modes usually requires a
21625      specific mode for the other operand(s).
21627  GCC supports such variations through a system of "mode attributes".
21628 There are two standard attributes: `mode', which is the name of the
21629 mode in lower case, and `MODE', which is the same thing in upper case.
21630 You can define other attributes using:
21632      (define_mode_attr NAME [(MODE1 "VALUE1") ... (MODEN "VALUEN")])
21634  where NAME is the name of the attribute and VALUEI is the value
21635 associated with MODEI.
21637  When GCC replaces some :ITERATOR with :MODE, it will scan each string
21638 and mode in the pattern for sequences of the form `<ITERATOR:ATTR>',
21639 where ATTR is the name of a mode attribute.  If the attribute is
21640 defined for MODE, the whole `<...>' sequence will be replaced by the
21641 appropriate attribute value.
21643  For example, suppose an `.md' file has:
21645      (define_mode_iterator P [(SI "Pmode == SImode") (DI "Pmode == DImode")])
21646      (define_mode_attr load [(SI "lw") (DI "ld")])
21648  If one of the patterns that uses `:P' contains the string
21649 `"<P:load>\t%0,%1"', the `SI' version of that pattern will use
21650 `"lw\t%0,%1"' and the `DI' version will use `"ld\t%0,%1"'.
21652  Here is an example of using an attribute for a mode:
21654      (define_mode_iterator LONG [SI DI])
21655      (define_mode_attr SHORT [(SI "HI") (DI "SI")])
21656      (define_insn ...
21657        (sign_extend:LONG (match_operand:<LONG:SHORT> ...)) ...)
21659  The `ITERATOR:' prefix may be omitted, in which case the substitution
21660 will be attempted for every iterator expansion.
21662 \x1f
21663 File: gccint.info,  Node: Examples,  Prev: Substitutions,  Up: Mode Iterators
21665 14.22.1.3 Mode Iterator Examples
21666 ................................
21668 Here is an example from the MIPS port.  It defines the following modes
21669 and attributes (among others):
21671      (define_mode_iterator GPR [SI (DI "TARGET_64BIT")])
21672      (define_mode_attr d [(SI "") (DI "d")])
21674  and uses the following template to define both `subsi3' and `subdi3':
21676      (define_insn "sub<mode>3"
21677        [(set (match_operand:GPR 0 "register_operand" "=d")
21678              (minus:GPR (match_operand:GPR 1 "register_operand" "d")
21679                         (match_operand:GPR 2 "register_operand" "d")))]
21680        ""
21681        "<d>subu\t%0,%1,%2"
21682        [(set_attr "type" "arith")
21683         (set_attr "mode" "<MODE>")])
21685  This is exactly equivalent to:
21687      (define_insn "subsi3"
21688        [(set (match_operand:SI 0 "register_operand" "=d")
21689              (minus:SI (match_operand:SI 1 "register_operand" "d")
21690                        (match_operand:SI 2 "register_operand" "d")))]
21691        ""
21692        "subu\t%0,%1,%2"
21693        [(set_attr "type" "arith")
21694         (set_attr "mode" "SI")])
21696      (define_insn "subdi3"
21697        [(set (match_operand:DI 0 "register_operand" "=d")
21698              (minus:DI (match_operand:DI 1 "register_operand" "d")
21699                        (match_operand:DI 2 "register_operand" "d")))]
21700        ""
21701        "dsubu\t%0,%1,%2"
21702        [(set_attr "type" "arith")
21703         (set_attr "mode" "DI")])
21705 \x1f
21706 File: gccint.info,  Node: Code Iterators,  Prev: Mode Iterators,  Up: Iterators
21708 14.22.2 Code Iterators
21709 ----------------------
21711 Code iterators operate in a similar way to mode iterators.  *Note Mode
21712 Iterators::.
21714  The construct:
21716      (define_code_iterator NAME [(CODE1 "COND1") ... (CODEN "CONDN")])
21718  defines a pseudo rtx code NAME that can be instantiated as CODEI if
21719 condition CONDI is true.  Each CODEI must have the same rtx format.
21720 *Note RTL Classes::.
21722  As with mode iterators, each pattern that uses NAME will be expanded N
21723 times, once with all uses of NAME replaced by CODE1, once with all uses
21724 replaced by CODE2, and so on.  *Note Defining Mode Iterators::.
21726  It is possible to define attributes for codes as well as for modes.
21727 There are two standard code attributes: `code', the name of the code in
21728 lower case, and `CODE', the name of the code in upper case.  Other
21729 attributes are defined using:
21731      (define_code_attr NAME [(CODE1 "VALUE1") ... (CODEN "VALUEN")])
21733  Here's an example of code iterators in action, taken from the MIPS
21734 port:
21736      (define_code_iterator any_cond [unordered ordered unlt unge uneq ltgt unle ungt
21737                                      eq ne gt ge lt le gtu geu ltu leu])
21739      (define_expand "b<code>"
21740        [(set (pc)
21741              (if_then_else (any_cond:CC (cc0)
21742                                         (const_int 0))
21743                            (label_ref (match_operand 0 ""))
21744                            (pc)))]
21745        ""
21746      {
21747        gen_conditional_branch (operands, <CODE>);
21748        DONE;
21749      })
21751  This is equivalent to:
21753      (define_expand "bunordered"
21754        [(set (pc)
21755              (if_then_else (unordered:CC (cc0)
21756                                          (const_int 0))
21757                            (label_ref (match_operand 0 ""))
21758                            (pc)))]
21759        ""
21760      {
21761        gen_conditional_branch (operands, UNORDERED);
21762        DONE;
21763      })
21765      (define_expand "bordered"
21766        [(set (pc)
21767              (if_then_else (ordered:CC (cc0)
21768                                        (const_int 0))
21769                            (label_ref (match_operand 0 ""))
21770                            (pc)))]
21771        ""
21772      {
21773        gen_conditional_branch (operands, ORDERED);
21774        DONE;
21775      })
21777      ...
21779 \x1f
21780 File: gccint.info,  Node: Target Macros,  Next: Host Config,  Prev: Machine Desc,  Up: Top
21782 15 Target Description Macros and Functions
21783 ******************************************
21785 In addition to the file `MACHINE.md', a machine description includes a
21786 C header file conventionally given the name `MACHINE.h' and a C source
21787 file named `MACHINE.c'.  The header file defines numerous macros that
21788 convey the information about the target machine that does not fit into
21789 the scheme of the `.md' file.  The file `tm.h' should be a link to
21790 `MACHINE.h'.  The header file `config.h' includes `tm.h' and most
21791 compiler source files include `config.h'.  The source file defines a
21792 variable `targetm', which is a structure containing pointers to
21793 functions and data relating to the target machine.  `MACHINE.c' should
21794 also contain their definitions, if they are not defined elsewhere in
21795 GCC, and other functions called through the macros defined in the `.h'
21796 file.
21798 * Menu:
21800 * Target Structure::    The `targetm' variable.
21801 * Driver::              Controlling how the driver runs the compilation passes.
21802 * Run-time Target::     Defining `-m' options like `-m68000' and `-m68020'.
21803 * Per-Function Data::   Defining data structures for per-function information.
21804 * Storage Layout::      Defining sizes and alignments of data.
21805 * Type Layout::         Defining sizes and properties of basic user data types.
21806 * Registers::           Naming and describing the hardware registers.
21807 * Register Classes::    Defining the classes of hardware registers.
21808 * Old Constraints::     The old way to define machine-specific constraints.
21809 * Stack and Calling::   Defining which way the stack grows and by how much.
21810 * Varargs::             Defining the varargs macros.
21811 * Trampolines::         Code set up at run time to enter a nested function.
21812 * Library Calls::       Controlling how library routines are implicitly called.
21813 * Addressing Modes::    Defining addressing modes valid for memory operands.
21814 * Anchored Addresses::  Defining how `-fsection-anchors' should work.
21815 * Condition Code::      Defining how insns update the condition code.
21816 * Costs::               Defining relative costs of different operations.
21817 * Scheduling::          Adjusting the behavior of the instruction scheduler.
21818 * Sections::            Dividing storage into text, data, and other sections.
21819 * PIC::                 Macros for position independent code.
21820 * Assembler Format::    Defining how to write insns and pseudo-ops to output.
21821 * Debugging Info::      Defining the format of debugging output.
21822 * Floating Point::      Handling floating point for cross-compilers.
21823 * Mode Switching::      Insertion of mode-switching instructions.
21824 * Target Attributes::   Defining target-specific uses of `__attribute__'.
21825 * MIPS Coprocessors::   MIPS coprocessor support and how to customize it.
21826 * PCH Target::          Validity checking for precompiled headers.
21827 * C++ ABI::             Controlling C++ ABI changes.
21828 * Misc::                Everything else.
21830 \x1f
21831 File: gccint.info,  Node: Target Structure,  Next: Driver,  Up: Target Macros
21833 15.1 The Global `targetm' Variable
21834 ==================================
21836  -- Variable: struct gcc_target targetm
21837      The target `.c' file must define the global `targetm' variable
21838      which contains pointers to functions and data relating to the
21839      target machine.  The variable is declared in `target.h';
21840      `target-def.h' defines the macro `TARGET_INITIALIZER' which is
21841      used to initialize the variable, and macros for the default
21842      initializers for elements of the structure.  The `.c' file should
21843      override those macros for which the default definition is
21844      inappropriate.  For example:
21845           #include "target.h"
21846           #include "target-def.h"
21848           /* Initialize the GCC target structure.  */
21850           #undef TARGET_COMP_TYPE_ATTRIBUTES
21851           #define TARGET_COMP_TYPE_ATTRIBUTES MACHINE_comp_type_attributes
21853           struct gcc_target targetm = TARGET_INITIALIZER;
21855 Where a macro should be defined in the `.c' file in this manner to form
21856 part of the `targetm' structure, it is documented below as a "Target
21857 Hook" with a prototype.  Many macros will change in future from being
21858 defined in the `.h' file to being part of the `targetm' structure.
21860 \x1f
21861 File: gccint.info,  Node: Driver,  Next: Run-time Target,  Prev: Target Structure,  Up: Target Macros
21863 15.2 Controlling the Compilation Driver, `gcc'
21864 ==============================================
21866 You can control the compilation driver.
21868  -- Macro: SWITCH_TAKES_ARG (CHAR)
21869      A C expression which determines whether the option `-CHAR' takes
21870      arguments.  The value should be the number of arguments that
21871      option takes-zero, for many options.
21873      By default, this macro is defined as `DEFAULT_SWITCH_TAKES_ARG',
21874      which handles the standard options properly.  You need not define
21875      `SWITCH_TAKES_ARG' unless you wish to add additional options which
21876      take arguments.  Any redefinition should call
21877      `DEFAULT_SWITCH_TAKES_ARG' and then check for additional options.
21879  -- Macro: WORD_SWITCH_TAKES_ARG (NAME)
21880      A C expression which determines whether the option `-NAME' takes
21881      arguments.  The value should be the number of arguments that
21882      option takes-zero, for many options.  This macro rather than
21883      `SWITCH_TAKES_ARG' is used for multi-character option names.
21885      By default, this macro is defined as
21886      `DEFAULT_WORD_SWITCH_TAKES_ARG', which handles the standard options
21887      properly.  You need not define `WORD_SWITCH_TAKES_ARG' unless you
21888      wish to add additional options which take arguments.  Any
21889      redefinition should call `DEFAULT_WORD_SWITCH_TAKES_ARG' and then
21890      check for additional options.
21892  -- Macro: SWITCH_CURTAILS_COMPILATION (CHAR)
21893      A C expression which determines whether the option `-CHAR' stops
21894      compilation before the generation of an executable.  The value is
21895      boolean, nonzero if the option does stop an executable from being
21896      generated, zero otherwise.
21898      By default, this macro is defined as
21899      `DEFAULT_SWITCH_CURTAILS_COMPILATION', which handles the standard
21900      options properly.  You need not define
21901      `SWITCH_CURTAILS_COMPILATION' unless you wish to add additional
21902      options which affect the generation of an executable.  Any
21903      redefinition should call `DEFAULT_SWITCH_CURTAILS_COMPILATION' and
21904      then check for additional options.
21906  -- Macro: SWITCHES_NEED_SPACES
21907      A string-valued C expression which enumerates the options for which
21908      the linker needs a space between the option and its argument.
21910      If this macro is not defined, the default value is `""'.
21912  -- Macro: TARGET_OPTION_TRANSLATE_TABLE
21913      If defined, a list of pairs of strings, the first of which is a
21914      potential command line target to the `gcc' driver program, and the
21915      second of which is a space-separated (tabs and other whitespace
21916      are not supported) list of options with which to replace the first
21917      option.  The target defining this list is responsible for assuring
21918      that the results are valid.  Replacement options may not be the
21919      `--opt' style, they must be the `-opt' style.  It is the intention
21920      of this macro to provide a mechanism for substitution that affects
21921      the multilibs chosen, such as one option that enables many
21922      options, some of which select multilibs.  Example nonsensical
21923      definition, where `-malt-abi', `-EB', and `-mspoo' cause different
21924      multilibs to be chosen:
21926           #define TARGET_OPTION_TRANSLATE_TABLE \
21927           { "-fast",   "-march=fast-foo -malt-abi -I/usr/fast-foo" }, \
21928           { "-compat", "-EB -malign=4 -mspoo" }
21930  -- Macro: DRIVER_SELF_SPECS
21931      A list of specs for the driver itself.  It should be a suitable
21932      initializer for an array of strings, with no surrounding braces.
21934      The driver applies these specs to its own command line between
21935      loading default `specs' files (but not command-line specified
21936      ones) and choosing the multilib directory or running any
21937      subcommands.  It applies them in the order given, so each spec can
21938      depend on the options added by earlier ones.  It is also possible
21939      to remove options using `%<OPTION' in the usual way.
21941      This macro can be useful when a port has several interdependent
21942      target options.  It provides a way of standardizing the command
21943      line so that the other specs are easier to write.
21945      Do not define this macro if it does not need to do anything.
21947  -- Macro: OPTION_DEFAULT_SPECS
21948      A list of specs used to support configure-time default options
21949      (i.e.  `--with' options) in the driver.  It should be a suitable
21950      initializer for an array of structures, each containing two
21951      strings, without the outermost pair of surrounding braces.
21953      The first item in the pair is the name of the default.  This must
21954      match the code in `config.gcc' for the target.  The second item is
21955      a spec to apply if a default with this name was specified.  The
21956      string `%(VALUE)' in the spec will be replaced by the value of the
21957      default everywhere it occurs.
21959      The driver will apply these specs to its own command line between
21960      loading default `specs' files and processing `DRIVER_SELF_SPECS',
21961      using the same mechanism as `DRIVER_SELF_SPECS'.
21963      Do not define this macro if it does not need to do anything.
21965  -- Macro: CPP_SPEC
21966      A C string constant that tells the GCC driver program options to
21967      pass to CPP.  It can also specify how to translate options you
21968      give to GCC into options for GCC to pass to the CPP.
21970      Do not define this macro if it does not need to do anything.
21972  -- Macro: CPLUSPLUS_CPP_SPEC
21973      This macro is just like `CPP_SPEC', but is used for C++, rather
21974      than C.  If you do not define this macro, then the value of
21975      `CPP_SPEC' (if any) will be used instead.
21977  -- Macro: CC1_SPEC
21978      A C string constant that tells the GCC driver program options to
21979      pass to `cc1', `cc1plus', `f771', and the other language front
21980      ends.  It can also specify how to translate options you give to
21981      GCC into options for GCC to pass to front ends.
21983      Do not define this macro if it does not need to do anything.
21985  -- Macro: CC1PLUS_SPEC
21986      A C string constant that tells the GCC driver program options to
21987      pass to `cc1plus'.  It can also specify how to translate options
21988      you give to GCC into options for GCC to pass to the `cc1plus'.
21990      Do not define this macro if it does not need to do anything.  Note
21991      that everything defined in CC1_SPEC is already passed to `cc1plus'
21992      so there is no need to duplicate the contents of CC1_SPEC in
21993      CC1PLUS_SPEC.
21995  -- Macro: ASM_SPEC
21996      A C string constant that tells the GCC driver program options to
21997      pass to the assembler.  It can also specify how to translate
21998      options you give to GCC into options for GCC to pass to the
21999      assembler.  See the file `sun3.h' for an example of this.
22001      Do not define this macro if it does not need to do anything.
22003  -- Macro: ASM_FINAL_SPEC
22004      A C string constant that tells the GCC driver program how to run
22005      any programs which cleanup after the normal assembler.  Normally,
22006      this is not needed.  See the file `mips.h' for an example of this.
22008      Do not define this macro if it does not need to do anything.
22010  -- Macro: AS_NEEDS_DASH_FOR_PIPED_INPUT
22011      Define this macro, with no value, if the driver should give the
22012      assembler an argument consisting of a single dash, `-', to
22013      instruct it to read from its standard input (which will be a pipe
22014      connected to the output of the compiler proper).  This argument is
22015      given after any `-o' option specifying the name of the output file.
22017      If you do not define this macro, the assembler is assumed to read
22018      its standard input if given no non-option arguments.  If your
22019      assembler cannot read standard input at all, use a `%{pipe:%e}'
22020      construct; see `mips.h' for instance.
22022  -- Macro: LINK_SPEC
22023      A C string constant that tells the GCC driver program options to
22024      pass to the linker.  It can also specify how to translate options
22025      you give to GCC into options for GCC to pass to the linker.
22027      Do not define this macro if it does not need to do anything.
22029  -- Macro: LIB_SPEC
22030      Another C string constant used much like `LINK_SPEC'.  The
22031      difference between the two is that `LIB_SPEC' is used at the end
22032      of the command given to the linker.
22034      If this macro is not defined, a default is provided that loads the
22035      standard C library from the usual place.  See `gcc.c'.
22037  -- Macro: LIBGCC_SPEC
22038      Another C string constant that tells the GCC driver program how
22039      and when to place a reference to `libgcc.a' into the linker
22040      command line.  This constant is placed both before and after the
22041      value of `LIB_SPEC'.
22043      If this macro is not defined, the GCC driver provides a default
22044      that passes the string `-lgcc' to the linker.
22046  -- Macro: REAL_LIBGCC_SPEC
22047      By default, if `ENABLE_SHARED_LIBGCC' is defined, the
22048      `LIBGCC_SPEC' is not directly used by the driver program but is
22049      instead modified to refer to different versions of `libgcc.a'
22050      depending on the values of the command line flags `-static',
22051      `-shared', `-static-libgcc', and `-shared-libgcc'.  On targets
22052      where these modifications are inappropriate, define
22053      `REAL_LIBGCC_SPEC' instead.  `REAL_LIBGCC_SPEC' tells the driver
22054      how to place a reference to `libgcc' on the link command line,
22055      but, unlike `LIBGCC_SPEC', it is used unmodified.
22057  -- Macro: USE_LD_AS_NEEDED
22058      A macro that controls the modifications to `LIBGCC_SPEC' mentioned
22059      in `REAL_LIBGCC_SPEC'.  If nonzero, a spec will be generated that
22060      uses -as-needed and the shared libgcc in place of the static
22061      exception handler library, when linking without any of `-static',
22062      `-static-libgcc', or `-shared-libgcc'.
22064  -- Macro: LINK_EH_SPEC
22065      If defined, this C string constant is added to `LINK_SPEC'.  When
22066      `USE_LD_AS_NEEDED' is zero or undefined, it also affects the
22067      modifications to `LIBGCC_SPEC' mentioned in `REAL_LIBGCC_SPEC'.
22069  -- Macro: STARTFILE_SPEC
22070      Another C string constant used much like `LINK_SPEC'.  The
22071      difference between the two is that `STARTFILE_SPEC' is used at the
22072      very beginning of the command given to the linker.
22074      If this macro is not defined, a default is provided that loads the
22075      standard C startup file from the usual place.  See `gcc.c'.
22077  -- Macro: ENDFILE_SPEC
22078      Another C string constant used much like `LINK_SPEC'.  The
22079      difference between the two is that `ENDFILE_SPEC' is used at the
22080      very end of the command given to the linker.
22082      Do not define this macro if it does not need to do anything.
22084  -- Macro: THREAD_MODEL_SPEC
22085      GCC `-v' will print the thread model GCC was configured to use.
22086      However, this doesn't work on platforms that are multilibbed on
22087      thread models, such as AIX 4.3.  On such platforms, define
22088      `THREAD_MODEL_SPEC' such that it evaluates to a string without
22089      blanks that names one of the recognized thread models.  `%*', the
22090      default value of this macro, will expand to the value of
22091      `thread_file' set in `config.gcc'.
22093  -- Macro: SYSROOT_SUFFIX_SPEC
22094      Define this macro to add a suffix to the target sysroot when GCC is
22095      configured with a sysroot.  This will cause GCC to search for
22096      usr/lib, et al, within sysroot+suffix.
22098  -- Macro: SYSROOT_HEADERS_SUFFIX_SPEC
22099      Define this macro to add a headers_suffix to the target sysroot
22100      when GCC is configured with a sysroot.  This will cause GCC to
22101      pass the updated sysroot+headers_suffix to CPP, causing it to
22102      search for usr/include, et al, within sysroot+headers_suffix.
22104  -- Macro: EXTRA_SPECS
22105      Define this macro to provide additional specifications to put in
22106      the `specs' file that can be used in various specifications like
22107      `CC1_SPEC'.
22109      The definition should be an initializer for an array of structures,
22110      containing a string constant, that defines the specification name,
22111      and a string constant that provides the specification.
22113      Do not define this macro if it does not need to do anything.
22115      `EXTRA_SPECS' is useful when an architecture contains several
22116      related targets, which have various `..._SPECS' which are similar
22117      to each other, and the maintainer would like one central place to
22118      keep these definitions.
22120      For example, the PowerPC System V.4 targets use `EXTRA_SPECS' to
22121      define either `_CALL_SYSV' when the System V calling sequence is
22122      used or `_CALL_AIX' when the older AIX-based calling sequence is
22123      used.
22125      The `config/rs6000/rs6000.h' target file defines:
22127           #define EXTRA_SPECS \
22128             { "cpp_sysv_default", CPP_SYSV_DEFAULT },
22130           #define CPP_SYS_DEFAULT ""
22132      The `config/rs6000/sysv.h' target file defines:
22133           #undef CPP_SPEC
22134           #define CPP_SPEC \
22135           "%{posix: -D_POSIX_SOURCE } \
22136           %{mcall-sysv: -D_CALL_SYSV } \
22137           %{!mcall-sysv: %(cpp_sysv_default) } \
22138           %{msoft-float: -D_SOFT_FLOAT} %{mcpu=403: -D_SOFT_FLOAT}"
22140           #undef CPP_SYSV_DEFAULT
22141           #define CPP_SYSV_DEFAULT "-D_CALL_SYSV"
22143      while the `config/rs6000/eabiaix.h' target file defines
22144      `CPP_SYSV_DEFAULT' as:
22146           #undef CPP_SYSV_DEFAULT
22147           #define CPP_SYSV_DEFAULT "-D_CALL_AIX"
22149  -- Macro: LINK_LIBGCC_SPECIAL_1
22150      Define this macro if the driver program should find the library
22151      `libgcc.a'.  If you do not define this macro, the driver program
22152      will pass the argument `-lgcc' to tell the linker to do the search.
22154  -- Macro: LINK_GCC_C_SEQUENCE_SPEC
22155      The sequence in which libgcc and libc are specified to the linker.
22156      By default this is `%G %L %G'.
22158  -- Macro: LINK_COMMAND_SPEC
22159      A C string constant giving the complete command line need to
22160      execute the linker.  When you do this, you will need to update
22161      your port each time a change is made to the link command line
22162      within `gcc.c'.  Therefore, define this macro only if you need to
22163      completely redefine the command line for invoking the linker and
22164      there is no other way to accomplish the effect you need.
22165      Overriding this macro may be avoidable by overriding
22166      `LINK_GCC_C_SEQUENCE_SPEC' instead.
22168  -- Macro: LINK_ELIMINATE_DUPLICATE_LDIRECTORIES
22169      A nonzero value causes `collect2' to remove duplicate
22170      `-LDIRECTORY' search directories from linking commands.  Do not
22171      give it a nonzero value if removing duplicate search directories
22172      changes the linker's semantics.
22174  -- Macro: MULTILIB_DEFAULTS
22175      Define this macro as a C expression for the initializer of an
22176      array of string to tell the driver program which options are
22177      defaults for this target and thus do not need to be handled
22178      specially when using `MULTILIB_OPTIONS'.
22180      Do not define this macro if `MULTILIB_OPTIONS' is not defined in
22181      the target makefile fragment or if none of the options listed in
22182      `MULTILIB_OPTIONS' are set by default.  *Note Target Fragment::.
22184  -- Macro: RELATIVE_PREFIX_NOT_LINKDIR
22185      Define this macro to tell `gcc' that it should only translate a
22186      `-B' prefix into a `-L' linker option if the prefix indicates an
22187      absolute file name.
22189  -- Macro: MD_EXEC_PREFIX
22190      If defined, this macro is an additional prefix to try after
22191      `STANDARD_EXEC_PREFIX'.  `MD_EXEC_PREFIX' is not searched when the
22192      `-b' option is used, or the compiler is built as a cross compiler.
22193      If you define `MD_EXEC_PREFIX', then be sure to add it to the
22194      list of directories used to find the assembler in `configure.in'.
22196  -- Macro: STANDARD_STARTFILE_PREFIX
22197      Define this macro as a C string constant if you wish to override
22198      the standard choice of `libdir' as the default prefix to try when
22199      searching for startup files such as `crt0.o'.
22200      `STANDARD_STARTFILE_PREFIX' is not searched when the compiler is
22201      built as a cross compiler.
22203  -- Macro: STANDARD_STARTFILE_PREFIX_1
22204      Define this macro as a C string constant if you wish to override
22205      the standard choice of `/lib' as a prefix to try after the default
22206      prefix when searching for startup files such as `crt0.o'.
22207      `STANDARD_STARTFILE_PREFIX_1' is not searched when the compiler is
22208      built as a cross compiler.
22210  -- Macro: STANDARD_STARTFILE_PREFIX_2
22211      Define this macro as a C string constant if you wish to override
22212      the standard choice of `/lib' as yet another prefix to try after
22213      the default prefix when searching for startup files such as
22214      `crt0.o'.  `STANDARD_STARTFILE_PREFIX_2' is not searched when the
22215      compiler is built as a cross compiler.
22217  -- Macro: MD_STARTFILE_PREFIX
22218      If defined, this macro supplies an additional prefix to try after
22219      the standard prefixes.  `MD_EXEC_PREFIX' is not searched when the
22220      `-b' option is used, or when the compiler is built as a cross
22221      compiler.
22223  -- Macro: MD_STARTFILE_PREFIX_1
22224      If defined, this macro supplies yet another prefix to try after the
22225      standard prefixes.  It is not searched when the `-b' option is
22226      used, or when the compiler is built as a cross compiler.
22228  -- Macro: INIT_ENVIRONMENT
22229      Define this macro as a C string constant if you wish to set
22230      environment variables for programs called by the driver, such as
22231      the assembler and loader.  The driver passes the value of this
22232      macro to `putenv' to initialize the necessary environment
22233      variables.
22235  -- Macro: LOCAL_INCLUDE_DIR
22236      Define this macro as a C string constant if you wish to override
22237      the standard choice of `/usr/local/include' as the default prefix
22238      to try when searching for local header files.  `LOCAL_INCLUDE_DIR'
22239      comes before `SYSTEM_INCLUDE_DIR' in the search order.
22241      Cross compilers do not search either `/usr/local/include' or its
22242      replacement.
22244  -- Macro: MODIFY_TARGET_NAME
22245      Define this macro if you wish to define command-line switches that
22246      modify the default target name.
22248      For each switch, you can include a string to be appended to the
22249      first part of the configuration name or a string to be deleted
22250      from the configuration name, if present.  The definition should be
22251      an initializer for an array of structures.  Each array element
22252      should have three elements: the switch name (a string constant,
22253      including the initial dash), one of the enumeration codes `ADD' or
22254      `DELETE' to indicate whether the string should be inserted or
22255      deleted, and the string to be inserted or deleted (a string
22256      constant).
22258      For example, on a machine where `64' at the end of the
22259      configuration name denotes a 64-bit target and you want the `-32'
22260      and `-64' switches to select between 32- and 64-bit targets, you
22261      would code
22263           #define MODIFY_TARGET_NAME \
22264             { { "-32", DELETE, "64"}, \
22265                {"-64", ADD, "64"}}
22267  -- Macro: SYSTEM_INCLUDE_DIR
22268      Define this macro as a C string constant if you wish to specify a
22269      system-specific directory to search for header files before the
22270      standard directory.  `SYSTEM_INCLUDE_DIR' comes before
22271      `STANDARD_INCLUDE_DIR' in the search order.
22273      Cross compilers do not use this macro and do not search the
22274      directory specified.
22276  -- Macro: STANDARD_INCLUDE_DIR
22277      Define this macro as a C string constant if you wish to override
22278      the standard choice of `/usr/include' as the default prefix to try
22279      when searching for header files.
22281      Cross compilers ignore this macro and do not search either
22282      `/usr/include' or its replacement.
22284  -- Macro: STANDARD_INCLUDE_COMPONENT
22285      The "component" corresponding to `STANDARD_INCLUDE_DIR'.  See
22286      `INCLUDE_DEFAULTS', below, for the description of components.  If
22287      you do not define this macro, no component is used.
22289  -- Macro: INCLUDE_DEFAULTS
22290      Define this macro if you wish to override the entire default
22291      search path for include files.  For a native compiler, the default
22292      search path usually consists of `GCC_INCLUDE_DIR',
22293      `LOCAL_INCLUDE_DIR', `SYSTEM_INCLUDE_DIR',
22294      `GPLUSPLUS_INCLUDE_DIR', and `STANDARD_INCLUDE_DIR'.  In addition,
22295      `GPLUSPLUS_INCLUDE_DIR' and `GCC_INCLUDE_DIR' are defined
22296      automatically by `Makefile', and specify private search areas for
22297      GCC.  The directory `GPLUSPLUS_INCLUDE_DIR' is used only for C++
22298      programs.
22300      The definition should be an initializer for an array of structures.
22301      Each array element should have four elements: the directory name (a
22302      string constant), the component name (also a string constant), a
22303      flag for C++-only directories, and a flag showing that the
22304      includes in the directory don't need to be wrapped in `extern `C''
22305      when compiling C++.  Mark the end of the array with a null element.
22307      The component name denotes what GNU package the include file is
22308      part of, if any, in all uppercase letters.  For example, it might
22309      be `GCC' or `BINUTILS'.  If the package is part of a
22310      vendor-supplied operating system, code the component name as `0'.
22312      For example, here is the definition used for VAX/VMS:
22314           #define INCLUDE_DEFAULTS \
22315           {                                       \
22316             { "GNU_GXX_INCLUDE:", "G++", 1, 1},   \
22317             { "GNU_CC_INCLUDE:", "GCC", 0, 0},    \
22318             { "SYS$SYSROOT:[SYSLIB.]", 0, 0, 0},  \
22319             { ".", 0, 0, 0},                      \
22320             { 0, 0, 0, 0}                         \
22321           }
22323  Here is the order of prefixes tried for exec files:
22325   1. Any prefixes specified by the user with `-B'.
22327   2. The environment variable `GCC_EXEC_PREFIX' or, if `GCC_EXEC_PREFIX'
22328      is not set and the compiler has not been installed in the
22329      configure-time PREFIX, the location in which the compiler has
22330      actually been installed.
22332   3. The directories specified by the environment variable
22333      `COMPILER_PATH'.
22335   4. The macro `STANDARD_EXEC_PREFIX', if the compiler has been
22336      installed in the configured-time PREFIX.
22338   5. The location `/usr/libexec/gcc/', but only if this is a native
22339      compiler.
22341   6. The location `/usr/lib/gcc/', but only if this is a native
22342      compiler.
22344   7. The macro `MD_EXEC_PREFIX', if defined, but only if this is a
22345      native compiler.
22347  Here is the order of prefixes tried for startfiles:
22349   1. Any prefixes specified by the user with `-B'.
22351   2. The environment variable `GCC_EXEC_PREFIX' or its automatically
22352      determined value based on the installed toolchain location.
22354   3. The directories specified by the environment variable
22355      `LIBRARY_PATH' (or port-specific name; native only, cross
22356      compilers do not use this).
22358   4. The macro `STANDARD_EXEC_PREFIX', but only if the toolchain is
22359      installed in the configured PREFIX or this is a native compiler.
22361   5. The location `/usr/lib/gcc/', but only if this is a native
22362      compiler.
22364   6. The macro `MD_EXEC_PREFIX', if defined, but only if this is a
22365      native compiler.
22367   7. The macro `MD_STARTFILE_PREFIX', if defined, but only if this is a
22368      native compiler, or we have a target system root.
22370   8. The macro `MD_STARTFILE_PREFIX_1', if defined, but only if this is
22371      a native compiler, or we have a target system root.
22373   9. The macro `STANDARD_STARTFILE_PREFIX', with any sysroot
22374      modifications.  If this path is relative it will be prefixed by
22375      `GCC_EXEC_PREFIX' and the machine suffix or `STANDARD_EXEC_PREFIX'
22376      and the machine suffix.
22378  10. The macro `STANDARD_STARTFILE_PREFIX_1', but only if this is a
22379      native compiler, or we have a target system root. The default for
22380      this macro is `/lib/'.
22382  11. The macro `STANDARD_STARTFILE_PREFIX_2', but only if this is a
22383      native compiler, or we have a target system root. The default for
22384      this macro is `/usr/lib/'.
22386 \x1f
22387 File: gccint.info,  Node: Run-time Target,  Next: Per-Function Data,  Prev: Driver,  Up: Target Macros
22389 15.3 Run-time Target Specification
22390 ==================================
22392 Here are run-time target specifications.
22394  -- Macro: TARGET_CPU_CPP_BUILTINS ()
22395      This function-like macro expands to a block of code that defines
22396      built-in preprocessor macros and assertions for the target CPU,
22397      using the functions `builtin_define', `builtin_define_std' and
22398      `builtin_assert'.  When the front end calls this macro it provides
22399      a trailing semicolon, and since it has finished command line
22400      option processing your code can use those results freely.
22402      `builtin_assert' takes a string in the form you pass to the
22403      command-line option `-A', such as `cpu=mips', and creates the
22404      assertion.  `builtin_define' takes a string in the form accepted
22405      by option `-D' and unconditionally defines the macro.
22407      `builtin_define_std' takes a string representing the name of an
22408      object-like macro.  If it doesn't lie in the user's namespace,
22409      `builtin_define_std' defines it unconditionally.  Otherwise, it
22410      defines a version with two leading underscores, and another version
22411      with two leading and trailing underscores, and defines the original
22412      only if an ISO standard was not requested on the command line.  For
22413      example, passing `unix' defines `__unix', `__unix__' and possibly
22414      `unix'; passing `_mips' defines `__mips', `__mips__' and possibly
22415      `_mips', and passing `_ABI64' defines only `_ABI64'.
22417      You can also test for the C dialect being compiled.  The variable
22418      `c_language' is set to one of `clk_c', `clk_cplusplus' or
22419      `clk_objective_c'.  Note that if we are preprocessing assembler,
22420      this variable will be `clk_c' but the function-like macro
22421      `preprocessing_asm_p()' will return true, so you might want to
22422      check for that first.  If you need to check for strict ANSI, the
22423      variable `flag_iso' can be used.  The function-like macro
22424      `preprocessing_trad_p()' can be used to check for traditional
22425      preprocessing.
22427  -- Macro: TARGET_OS_CPP_BUILTINS ()
22428      Similarly to `TARGET_CPU_CPP_BUILTINS' but this macro is optional
22429      and is used for the target operating system instead.
22431  -- Macro: TARGET_OBJFMT_CPP_BUILTINS ()
22432      Similarly to `TARGET_CPU_CPP_BUILTINS' but this macro is optional
22433      and is used for the target object format.  `elfos.h' uses this
22434      macro to define `__ELF__', so you probably do not need to define
22435      it yourself.
22437  -- Variable: extern int target_flags
22438      This variable is declared in `options.h', which is included before
22439      any target-specific headers.
22441  -- Variable: Target Hook int TARGET_DEFAULT_TARGET_FLAGS
22442      This variable specifies the initial value of `target_flags'.  Its
22443      default setting is 0.
22445  -- Target Hook: bool TARGET_HANDLE_OPTION (size_t CODE, const char
22446           *ARG, int VALUE)
22447      This hook is called whenever the user specifies one of the
22448      target-specific options described by the `.opt' definition files
22449      (*note Options::).  It has the opportunity to do some
22450      option-specific processing and should return true if the option is
22451      valid.  The default definition does nothing but return true.
22453      CODE specifies the `OPT_NAME' enumeration value associated with
22454      the selected option; NAME is just a rendering of the option name
22455      in which non-alphanumeric characters are replaced by underscores.
22456      ARG specifies the string argument and is null if no argument was
22457      given.  If the option is flagged as a `UInteger' (*note Option
22458      properties::), VALUE is the numeric value of the argument.
22459      Otherwise VALUE is 1 if the positive form of the option was used
22460      and 0 if the "no-" form was.
22462  -- Target Hook: bool TARGET_HANDLE_C_OPTION (size_t CODE, const char
22463           *ARG, int VALUE)
22464      This target hook is called whenever the user specifies one of the
22465      target-specific C language family options described by the `.opt'
22466      definition files(*note Options::).  It has the opportunity to do
22467      some option-specific processing and should return true if the
22468      option is valid.  The default definition does nothing but return
22469      false.
22471      In general, you should use `TARGET_HANDLE_OPTION' to handle
22472      options.  However, if processing an option requires routines that
22473      are only available in the C (and related language) front ends,
22474      then you should use `TARGET_HANDLE_C_OPTION' instead.
22476  -- Macro: TARGET_VERSION
22477      This macro is a C statement to print on `stderr' a string
22478      describing the particular machine description choice.  Every
22479      machine description should define `TARGET_VERSION'.  For example:
22481           #ifdef MOTOROLA
22482           #define TARGET_VERSION \
22483             fprintf (stderr, " (68k, Motorola syntax)");
22484           #else
22485           #define TARGET_VERSION \
22486             fprintf (stderr, " (68k, MIT syntax)");
22487           #endif
22489  -- Macro: OVERRIDE_OPTIONS
22490      Sometimes certain combinations of command options do not make
22491      sense on a particular target machine.  You can define a macro
22492      `OVERRIDE_OPTIONS' to take account of this.  This macro, if
22493      defined, is executed once just after all the command options have
22494      been parsed.
22496      Don't use this macro to turn on various extra optimizations for
22497      `-O'.  That is what `OPTIMIZATION_OPTIONS' is for.
22499  -- Macro: C_COMMON_OVERRIDE_OPTIONS
22500      This is similar to `OVERRIDE_OPTIONS' but is only used in the C
22501      language frontends (C, Objective-C, C++, Objective-C++) and so can
22502      be used to alter option flag variables which only exist in those
22503      frontends.
22505  -- Macro: OPTIMIZATION_OPTIONS (LEVEL, SIZE)
22506      Some machines may desire to change what optimizations are
22507      performed for various optimization levels.   This macro, if
22508      defined, is executed once just after the optimization level is
22509      determined and before the remainder of the command options have
22510      been parsed.  Values set in this macro are used as the default
22511      values for the other command line options.
22513      LEVEL is the optimization level specified; 2 if `-O2' is
22514      specified, 1 if `-O' is specified, and 0 if neither is specified.
22516      SIZE is nonzero if `-Os' is specified and zero otherwise.
22518      You should not use this macro to change options that are not
22519      machine-specific.  These should uniformly selected by the same
22520      optimization level on all supported machines.  Use this macro to
22521      enable machine-specific optimizations.
22523      *Do not examine `write_symbols' in this macro!* The debugging
22524      options are not supposed to alter the generated code.
22526  -- Target Hook: bool TARGET_HELP (void)
22527      This hook is called in response to the user invoking
22528      `--target-help' on the command line.  It gives the target a chance
22529      to display extra information on the target specific command line
22530      options found in its `.opt' file.
22532  -- Macro: CAN_DEBUG_WITHOUT_FP
22533      Define this macro if debugging can be performed even without a
22534      frame pointer.  If this macro is defined, GCC will turn on the
22535      `-fomit-frame-pointer' option whenever `-O' is specified.
22537 \x1f
22538 File: gccint.info,  Node: Per-Function Data,  Next: Storage Layout,  Prev: Run-time Target,  Up: Target Macros
22540 15.4 Defining data structures for per-function information.
22541 ===========================================================
22543 If the target needs to store information on a per-function basis, GCC
22544 provides a macro and a couple of variables to allow this.  Note, just
22545 using statics to store the information is a bad idea, since GCC supports
22546 nested functions, so you can be halfway through encoding one function
22547 when another one comes along.
22549  GCC defines a data structure called `struct function' which contains
22550 all of the data specific to an individual function.  This structure
22551 contains a field called `machine' whose type is `struct
22552 machine_function *', which can be used by targets to point to their own
22553 specific data.
22555  If a target needs per-function specific data it should define the type
22556 `struct machine_function' and also the macro `INIT_EXPANDERS'.  This
22557 macro should be used to initialize the function pointer
22558 `init_machine_status'.  This pointer is explained below.
22560  One typical use of per-function, target specific data is to create an
22561 RTX to hold the register containing the function's return address.  This
22562 RTX can then be used to implement the `__builtin_return_address'
22563 function, for level 0.
22565  Note--earlier implementations of GCC used a single data area to hold
22566 all of the per-function information.  Thus when processing of a nested
22567 function began the old per-function data had to be pushed onto a stack,
22568 and when the processing was finished, it had to be popped off the
22569 stack.  GCC used to provide function pointers called
22570 `save_machine_status' and `restore_machine_status' to handle the saving
22571 and restoring of the target specific information.  Since the single
22572 data area approach is no longer used, these pointers are no longer
22573 supported.
22575  -- Macro: INIT_EXPANDERS
22576      Macro called to initialize any target specific information.  This
22577      macro is called once per function, before generation of any RTL
22578      has begun.  The intention of this macro is to allow the
22579      initialization of the function pointer `init_machine_status'.
22581  -- Variable: void (*)(struct function *) init_machine_status
22582      If this function pointer is non-`NULL' it will be called once per
22583      function, before function compilation starts, in order to allow the
22584      target to perform any target specific initialization of the
22585      `struct function' structure.  It is intended that this would be
22586      used to initialize the `machine' of that structure.
22588      `struct machine_function' structures are expected to be freed by
22589      GC.  Generally, any memory that they reference must be allocated
22590      by using `ggc_alloc', including the structure itself.
22592 \x1f
22593 File: gccint.info,  Node: Storage Layout,  Next: Type Layout,  Prev: Per-Function Data,  Up: Target Macros
22595 15.5 Storage Layout
22596 ===================
22598 Note that the definitions of the macros in this table which are sizes or
22599 alignments measured in bits do not need to be constant.  They can be C
22600 expressions that refer to static variables, such as the `target_flags'.
22601 *Note Run-time Target::.
22603  -- Macro: BITS_BIG_ENDIAN
22604      Define this macro to have the value 1 if the most significant bit
22605      in a byte has the lowest number; otherwise define it to have the
22606      value zero.  This means that bit-field instructions count from the
22607      most significant bit.  If the machine has no bit-field
22608      instructions, then this must still be defined, but it doesn't
22609      matter which value it is defined to.  This macro need not be a
22610      constant.
22612      This macro does not affect the way structure fields are packed into
22613      bytes or words; that is controlled by `BYTES_BIG_ENDIAN'.
22615  -- Macro: BYTES_BIG_ENDIAN
22616      Define this macro to have the value 1 if the most significant byte
22617      in a word has the lowest number.  This macro need not be a
22618      constant.
22620  -- Macro: WORDS_BIG_ENDIAN
22621      Define this macro to have the value 1 if, in a multiword object,
22622      the most significant word has the lowest number.  This applies to
22623      both memory locations and registers; GCC fundamentally assumes
22624      that the order of words in memory is the same as the order in
22625      registers.  This macro need not be a constant.
22627  -- Macro: LIBGCC2_WORDS_BIG_ENDIAN
22628      Define this macro if `WORDS_BIG_ENDIAN' is not constant.  This
22629      must be a constant value with the same meaning as
22630      `WORDS_BIG_ENDIAN', which will be used only when compiling
22631      `libgcc2.c'.  Typically the value will be set based on
22632      preprocessor defines.
22634  -- Macro: FLOAT_WORDS_BIG_ENDIAN
22635      Define this macro to have the value 1 if `DFmode', `XFmode' or
22636      `TFmode' floating point numbers are stored in memory with the word
22637      containing the sign bit at the lowest address; otherwise define it
22638      to have the value 0.  This macro need not be a constant.
22640      You need not define this macro if the ordering is the same as for
22641      multi-word integers.
22643  -- Macro: BITS_PER_UNIT
22644      Define this macro to be the number of bits in an addressable
22645      storage unit (byte).  If you do not define this macro the default
22646      is 8.
22648  -- Macro: BITS_PER_WORD
22649      Number of bits in a word.  If you do not define this macro, the
22650      default is `BITS_PER_UNIT * UNITS_PER_WORD'.
22652  -- Macro: MAX_BITS_PER_WORD
22653      Maximum number of bits in a word.  If this is undefined, the
22654      default is `BITS_PER_WORD'.  Otherwise, it is the constant value
22655      that is the largest value that `BITS_PER_WORD' can have at
22656      run-time.
22658  -- Macro: UNITS_PER_WORD
22659      Number of storage units in a word; normally the size of a
22660      general-purpose register, a power of two from 1 or 8.
22662  -- Macro: MIN_UNITS_PER_WORD
22663      Minimum number of units in a word.  If this is undefined, the
22664      default is `UNITS_PER_WORD'.  Otherwise, it is the constant value
22665      that is the smallest value that `UNITS_PER_WORD' can have at
22666      run-time.
22668  -- Macro: UNITS_PER_SIMD_WORD
22669      Number of units in the vectors that the vectorizer can produce.
22670      The default is equal to `UNITS_PER_WORD', because the vectorizer
22671      can do some transformations even in absence of specialized SIMD
22672      hardware.
22674  -- Macro: POINTER_SIZE
22675      Width of a pointer, in bits.  You must specify a value no wider
22676      than the width of `Pmode'.  If it is not equal to the width of
22677      `Pmode', you must define `POINTERS_EXTEND_UNSIGNED'.  If you do
22678      not specify a value the default is `BITS_PER_WORD'.
22680  -- Macro: POINTERS_EXTEND_UNSIGNED
22681      A C expression that determines how pointers should be extended from
22682      `ptr_mode' to either `Pmode' or `word_mode'.  It is greater than
22683      zero if pointers should be zero-extended, zero if they should be
22684      sign-extended, and negative if some other sort of conversion is
22685      needed.  In the last case, the extension is done by the target's
22686      `ptr_extend' instruction.
22688      You need not define this macro if the `ptr_mode', `Pmode' and
22689      `word_mode' are all the same width.
22691  -- Macro: PROMOTE_MODE (M, UNSIGNEDP, TYPE)
22692      A macro to update M and UNSIGNEDP when an object whose type is
22693      TYPE and which has the specified mode and signedness is to be
22694      stored in a register.  This macro is only called when TYPE is a
22695      scalar type.
22697      On most RISC machines, which only have operations that operate on
22698      a full register, define this macro to set M to `word_mode' if M is
22699      an integer mode narrower than `BITS_PER_WORD'.  In most cases,
22700      only integer modes should be widened because wider-precision
22701      floating-point operations are usually more expensive than their
22702      narrower counterparts.
22704      For most machines, the macro definition does not change UNSIGNEDP.
22705      However, some machines, have instructions that preferentially
22706      handle either signed or unsigned quantities of certain modes.  For
22707      example, on the DEC Alpha, 32-bit loads from memory and 32-bit add
22708      instructions sign-extend the result to 64 bits.  On such machines,
22709      set UNSIGNEDP according to which kind of extension is more
22710      efficient.
22712      Do not define this macro if it would never modify M.
22714  -- Macro: PROMOTE_FUNCTION_MODE
22715      Like `PROMOTE_MODE', but is applied to outgoing function arguments
22716      or function return values, as specified by
22717      `TARGET_PROMOTE_FUNCTION_ARGS' and
22718      `TARGET_PROMOTE_FUNCTION_RETURN', respectively.
22720      The default is `PROMOTE_MODE'.
22722  -- Target Hook: bool TARGET_PROMOTE_FUNCTION_ARGS (tree FNTYPE)
22723      This target hook should return `true' if the promotion described by
22724      `PROMOTE_FUNCTION_MODE' should be done for outgoing function
22725      arguments.
22727  -- Target Hook: bool TARGET_PROMOTE_FUNCTION_RETURN (tree FNTYPE)
22728      This target hook should return `true' if the promotion described by
22729      `PROMOTE_FUNCTION_MODE' should be done for the return value of
22730      functions.
22732      If this target hook returns `true', `TARGET_FUNCTION_VALUE' must
22733      perform the same promotions done by `PROMOTE_FUNCTION_MODE'.
22735  -- Macro: PARM_BOUNDARY
22736      Normal alignment required for function parameters on the stack, in
22737      bits.  All stack parameters receive at least this much alignment
22738      regardless of data type.  On most machines, this is the same as the
22739      size of an integer.
22741  -- Macro: STACK_BOUNDARY
22742      Define this macro to the minimum alignment enforced by hardware
22743      for the stack pointer on this machine.  The definition is a C
22744      expression for the desired alignment (measured in bits).  This
22745      value is used as a default if `PREFERRED_STACK_BOUNDARY' is not
22746      defined.  On most machines, this should be the same as
22747      `PARM_BOUNDARY'.
22749  -- Macro: PREFERRED_STACK_BOUNDARY
22750      Define this macro if you wish to preserve a certain alignment for
22751      the stack pointer, greater than what the hardware enforces.  The
22752      definition is a C expression for the desired alignment (measured
22753      in bits).  This macro must evaluate to a value equal to or larger
22754      than `STACK_BOUNDARY'.
22756  -- Macro: FUNCTION_BOUNDARY
22757      Alignment required for a function entry point, in bits.
22759  -- Macro: BIGGEST_ALIGNMENT
22760      Biggest alignment that any data type can require on this machine,
22761      in bits.  Note that this is not the biggest alignment that is
22762      supported, just the biggest alignment that, when violated, may
22763      cause a fault.
22765  -- Macro: MINIMUM_ATOMIC_ALIGNMENT
22766      If defined, the smallest alignment, in bits, that can be given to
22767      an object that can be referenced in one operation, without
22768      disturbing any nearby object.  Normally, this is `BITS_PER_UNIT',
22769      but may be larger on machines that don't have byte or half-word
22770      store operations.
22772  -- Macro: BIGGEST_FIELD_ALIGNMENT
22773      Biggest alignment that any structure or union field can require on
22774      this machine, in bits.  If defined, this overrides
22775      `BIGGEST_ALIGNMENT' for structure and union fields only, unless
22776      the field alignment has been set by the `__attribute__ ((aligned
22777      (N)))' construct.
22779  -- Macro: ADJUST_FIELD_ALIGN (FIELD, COMPUTED)
22780      An expression for the alignment of a structure field FIELD if the
22781      alignment computed in the usual way (including applying of
22782      `BIGGEST_ALIGNMENT' and `BIGGEST_FIELD_ALIGNMENT' to the
22783      alignment) is COMPUTED.  It overrides alignment only if the field
22784      alignment has not been set by the `__attribute__ ((aligned (N)))'
22785      construct.
22787  -- Macro: MAX_OFILE_ALIGNMENT
22788      Biggest alignment supported by the object file format of this
22789      machine.  Use this macro to limit the alignment which can be
22790      specified using the `__attribute__ ((aligned (N)))' construct.  If
22791      not defined, the default value is `BIGGEST_ALIGNMENT'.
22793      On systems that use ELF, the default (in `config/elfos.h') is the
22794      largest supported 32-bit ELF section alignment representable on a
22795      32-bit host e.g. `(((unsigned HOST_WIDEST_INT) 1 << 28) * 8)'.  On
22796      32-bit ELF the largest supported section alignment in bits is
22797      `(0x80000000 * 8)', but this is not representable on 32-bit hosts.
22799  -- Macro: DATA_ALIGNMENT (TYPE, BASIC-ALIGN)
22800      If defined, a C expression to compute the alignment for a variable
22801      in the static store.  TYPE is the data type, and BASIC-ALIGN is
22802      the alignment that the object would ordinarily have.  The value of
22803      this macro is used instead of that alignment to align the object.
22805      If this macro is not defined, then BASIC-ALIGN is used.
22807      One use of this macro is to increase alignment of medium-size data
22808      to make it all fit in fewer cache lines.  Another is to cause
22809      character arrays to be word-aligned so that `strcpy' calls that
22810      copy constants to character arrays can be done inline.
22812  -- Macro: CONSTANT_ALIGNMENT (CONSTANT, BASIC-ALIGN)
22813      If defined, a C expression to compute the alignment given to a
22814      constant that is being placed in memory.  CONSTANT is the constant
22815      and BASIC-ALIGN is the alignment that the object would ordinarily
22816      have.  The value of this macro is used instead of that alignment to
22817      align the object.
22819      If this macro is not defined, then BASIC-ALIGN is used.
22821      The typical use of this macro is to increase alignment for string
22822      constants to be word aligned so that `strcpy' calls that copy
22823      constants can be done inline.
22825  -- Macro: LOCAL_ALIGNMENT (TYPE, BASIC-ALIGN)
22826      If defined, a C expression to compute the alignment for a variable
22827      in the local store.  TYPE is the data type, and BASIC-ALIGN is the
22828      alignment that the object would ordinarily have.  The value of this
22829      macro is used instead of that alignment to align the object.
22831      If this macro is not defined, then BASIC-ALIGN is used.
22833      One use of this macro is to increase alignment of medium-size data
22834      to make it all fit in fewer cache lines.
22836  -- Macro: EMPTY_FIELD_BOUNDARY
22837      Alignment in bits to be given to a structure bit-field that
22838      follows an empty field such as `int : 0;'.
22840      If `PCC_BITFIELD_TYPE_MATTERS' is true, it overrides this macro.
22842  -- Macro: STRUCTURE_SIZE_BOUNDARY
22843      Number of bits which any structure or union's size must be a
22844      multiple of.  Each structure or union's size is rounded up to a
22845      multiple of this.
22847      If you do not define this macro, the default is the same as
22848      `BITS_PER_UNIT'.
22850  -- Macro: STRICT_ALIGNMENT
22851      Define this macro to be the value 1 if instructions will fail to
22852      work if given data not on the nominal alignment.  If instructions
22853      will merely go slower in that case, define this macro as 0.
22855  -- Macro: PCC_BITFIELD_TYPE_MATTERS
22856      Define this if you wish to imitate the way many other C compilers
22857      handle alignment of bit-fields and the structures that contain
22858      them.
22860      The behavior is that the type written for a named bit-field (`int',
22861      `short', or other integer type) imposes an alignment for the entire
22862      structure, as if the structure really did contain an ordinary
22863      field of that type.  In addition, the bit-field is placed within
22864      the structure so that it would fit within such a field, not
22865      crossing a boundary for it.
22867      Thus, on most machines, a named bit-field whose type is written as
22868      `int' would not cross a four-byte boundary, and would force
22869      four-byte alignment for the whole structure.  (The alignment used
22870      may not be four bytes; it is controlled by the other alignment
22871      parameters.)
22873      An unnamed bit-field will not affect the alignment of the
22874      containing structure.
22876      If the macro is defined, its definition should be a C expression;
22877      a nonzero value for the expression enables this behavior.
22879      Note that if this macro is not defined, or its value is zero, some
22880      bit-fields may cross more than one alignment boundary.  The
22881      compiler can support such references if there are `insv', `extv',
22882      and `extzv' insns that can directly reference memory.
22884      The other known way of making bit-fields work is to define
22885      `STRUCTURE_SIZE_BOUNDARY' as large as `BIGGEST_ALIGNMENT'.  Then
22886      every structure can be accessed with fullwords.
22888      Unless the machine has bit-field instructions or you define
22889      `STRUCTURE_SIZE_BOUNDARY' that way, you must define
22890      `PCC_BITFIELD_TYPE_MATTERS' to have a nonzero value.
22892      If your aim is to make GCC use the same conventions for laying out
22893      bit-fields as are used by another compiler, here is how to
22894      investigate what the other compiler does.  Compile and run this
22895      program:
22897           struct foo1
22898           {
22899             char x;
22900             char :0;
22901             char y;
22902           };
22904           struct foo2
22905           {
22906             char x;
22907             int :0;
22908             char y;
22909           };
22911           main ()
22912           {
22913             printf ("Size of foo1 is %d\n",
22914                     sizeof (struct foo1));
22915             printf ("Size of foo2 is %d\n",
22916                     sizeof (struct foo2));
22917             exit (0);
22918           }
22920      If this prints 2 and 5, then the compiler's behavior is what you
22921      would get from `PCC_BITFIELD_TYPE_MATTERS'.
22923  -- Macro: BITFIELD_NBYTES_LIMITED
22924      Like `PCC_BITFIELD_TYPE_MATTERS' except that its effect is limited
22925      to aligning a bit-field within the structure.
22927  -- Target Hook: bool TARGET_ALIGN_ANON_BITFIELDS (void)
22928      When `PCC_BITFIELD_TYPE_MATTERS' is true this hook will determine
22929      whether unnamed bitfields affect the alignment of the containing
22930      structure.  The hook should return true if the structure should
22931      inherit the alignment requirements of an unnamed bitfield's type.
22933  -- Target Hook: bool TARGET_NARROW_VOLATILE_BITFIELDS (void)
22934      This target hook should return `true' if accesses to volatile
22935      bitfields should use the narrowest mode possible.  It should
22936      return `false' if these accesses should use the bitfield container
22937      type.
22939      The default is `!TARGET_STRICT_ALIGN'.
22941  -- Macro: MEMBER_TYPE_FORCES_BLK (FIELD, MODE)
22942      Return 1 if a structure or array containing FIELD should be
22943      accessed using `BLKMODE'.
22945      If FIELD is the only field in the structure, MODE is its mode,
22946      otherwise MODE is VOIDmode.  MODE is provided in the case where
22947      structures of one field would require the structure's mode to
22948      retain the field's mode.
22950      Normally, this is not needed.
22952  -- Macro: ROUND_TYPE_ALIGN (TYPE, COMPUTED, SPECIFIED)
22953      Define this macro as an expression for the alignment of a type
22954      (given by TYPE as a tree node) if the alignment computed in the
22955      usual way is COMPUTED and the alignment explicitly specified was
22956      SPECIFIED.
22958      The default is to use SPECIFIED if it is larger; otherwise, use
22959      the smaller of COMPUTED and `BIGGEST_ALIGNMENT'
22961  -- Macro: MAX_FIXED_MODE_SIZE
22962      An integer expression for the size in bits of the largest integer
22963      machine mode that should actually be used.  All integer machine
22964      modes of this size or smaller can be used for structures and
22965      unions with the appropriate sizes.  If this macro is undefined,
22966      `GET_MODE_BITSIZE (DImode)' is assumed.
22968  -- Macro: STACK_SAVEAREA_MODE (SAVE_LEVEL)
22969      If defined, an expression of type `enum machine_mode' that
22970      specifies the mode of the save area operand of a
22971      `save_stack_LEVEL' named pattern (*note Standard Names::).
22972      SAVE_LEVEL is one of `SAVE_BLOCK', `SAVE_FUNCTION', or
22973      `SAVE_NONLOCAL' and selects which of the three named patterns is
22974      having its mode specified.
22976      You need not define this macro if it always returns `Pmode'.  You
22977      would most commonly define this macro if the `save_stack_LEVEL'
22978      patterns need to support both a 32- and a 64-bit mode.
22980  -- Macro: STACK_SIZE_MODE
22981      If defined, an expression of type `enum machine_mode' that
22982      specifies the mode of the size increment operand of an
22983      `allocate_stack' named pattern (*note Standard Names::).
22985      You need not define this macro if it always returns `word_mode'.
22986      You would most commonly define this macro if the `allocate_stack'
22987      pattern needs to support both a 32- and a 64-bit mode.
22989  -- Target Hook: enum machine_mode TARGET_LIBGCC_CMP_RETURN_MODE ()
22990      This target hook should return the mode to be used for the return
22991      value of compare instructions expanded to libgcc calls.  If not
22992      defined `word_mode' is returned which is the right choice for a
22993      majority of targets.
22995  -- Target Hook: enum machine_mode TARGET_LIBGCC_SHIFT_COUNT_MODE ()
22996      This target hook should return the mode to be used for the shift
22997      count operand of shift instructions expanded to libgcc calls.  If
22998      not defined `word_mode' is returned which is the right choice for
22999      a majority of targets.
23001  -- Macro: TARGET_FLOAT_FORMAT
23002      A code distinguishing the floating point format of the target
23003      machine.  There are two defined values:
23005     `IEEE_FLOAT_FORMAT'
23006           This code indicates IEEE floating point.  It is the default;
23007           there is no need to define `TARGET_FLOAT_FORMAT' when the
23008           format is IEEE.
23010     `VAX_FLOAT_FORMAT'
23011           This code indicates the "F float" (for `float') and "D float"
23012           or "G float" formats (for `double') used on the VAX and
23013           PDP-11.
23015      If your target uses a floating point format other than these, you
23016      must define a new NAME_FLOAT_FORMAT code for it, and add support
23017      for it to `real.c'.
23019      The ordering of the component words of floating point values
23020      stored in memory is controlled by `FLOAT_WORDS_BIG_ENDIAN'.
23022  -- Macro: MODE_HAS_NANS (MODE)
23023      When defined, this macro should be true if MODE has a NaN
23024      representation.  The compiler assumes that NaNs are not equal to
23025      anything (including themselves) and that addition, subtraction,
23026      multiplication and division all return NaNs when one operand is
23027      NaN.
23029      By default, this macro is true if MODE is a floating-point mode
23030      and the target floating-point format is IEEE.
23032  -- Macro: MODE_HAS_INFINITIES (MODE)
23033      This macro should be true if MODE can represent infinity.  At
23034      present, the compiler uses this macro to decide whether `x - x' is
23035      always defined.  By default, the macro is true when MODE is a
23036      floating-point mode and the target format is IEEE.
23038  -- Macro: MODE_HAS_SIGNED_ZEROS (MODE)
23039      True if MODE distinguishes between positive and negative zero.
23040      The rules are expected to follow the IEEE standard:
23042         * `x + x' has the same sign as `x'.
23044         * If the sum of two values with opposite sign is zero, the
23045           result is positive for all rounding modes expect towards
23046           -infinity, for which it is negative.
23048         * The sign of a product or quotient is negative when exactly one
23049           of the operands is negative.
23051      The default definition is true if MODE is a floating-point mode
23052      and the target format is IEEE.
23054  -- Macro: MODE_HAS_SIGN_DEPENDENT_ROUNDING (MODE)
23055      If defined, this macro should be true for MODE if it has at least
23056      one rounding mode in which `x' and `-x' can be rounded to numbers
23057      of different magnitude.  Two such modes are towards -infinity and
23058      towards +infinity.
23060      The default definition of this macro is true if MODE is a
23061      floating-point mode and the target format is IEEE.
23063  -- Macro: ROUND_TOWARDS_ZERO
23064      If defined, this macro should be true if the prevailing rounding
23065      mode is towards zero.  A true value has the following effects:
23067         * `MODE_HAS_SIGN_DEPENDENT_ROUNDING' will be false for all
23068           modes.
23070         * `libgcc.a''s floating-point emulator will round towards zero
23071           rather than towards nearest.
23073         * The compiler's floating-point emulator will round towards
23074           zero after doing arithmetic, and when converting from the
23075           internal float format to the target format.
23077      The macro does not affect the parsing of string literals.  When the
23078      primary rounding mode is towards zero, library functions like
23079      `strtod' might still round towards nearest, and the compiler's
23080      parser should behave like the target's `strtod' where possible.
23082      Not defining this macro is equivalent to returning zero.
23084  -- Macro: LARGEST_EXPONENT_IS_NORMAL (SIZE)
23085      This macro should return true if floats with SIZE bits do not have
23086      a NaN or infinity representation, but use the largest exponent for
23087      normal numbers instead.
23089      Defining this macro to true for SIZE causes `MODE_HAS_NANS' and
23090      `MODE_HAS_INFINITIES' to be false for SIZE-bit modes.  It also
23091      affects the way `libgcc.a' and `real.c' emulate floating-point
23092      arithmetic.
23094      The default definition of this macro returns false for all sizes.
23096  -- Target Hook: bool TARGET_VECTOR_OPAQUE_P (tree TYPE)
23097      This target hook should return `true' a vector is opaque.  That
23098      is, if no cast is needed when copying a vector value of type TYPE
23099      into another vector lvalue of the same size.  Vector opaque types
23100      cannot be initialized.  The default is that there are no such
23101      types.
23103  -- Target Hook: bool TARGET_MS_BITFIELD_LAYOUT_P (tree RECORD_TYPE)
23104      This target hook returns `true' if bit-fields in the given
23105      RECORD_TYPE are to be laid out following the rules of Microsoft
23106      Visual C/C++, namely: (i) a bit-field won't share the same storage
23107      unit with the previous bit-field if their underlying types have
23108      different sizes, and the bit-field will be aligned to the highest
23109      alignment of the underlying types of itself and of the previous
23110      bit-field; (ii) a zero-sized bit-field will affect the alignment of
23111      the whole enclosing structure, even if it is unnamed; except that
23112      (iii) a zero-sized bit-field will be disregarded unless it follows
23113      another bit-field of nonzero size.  If this hook returns `true',
23114      other macros that control bit-field layout are ignored.
23116      When a bit-field is inserted into a packed record, the whole size
23117      of the underlying type is used by one or more same-size adjacent
23118      bit-fields (that is, if its long:3, 32 bits is used in the record,
23119      and any additional adjacent long bit-fields are packed into the
23120      same chunk of 32 bits.  However, if the size changes, a new field
23121      of that size is allocated).  In an unpacked record, this is the
23122      same as using alignment, but not equivalent when packing.
23124      If both MS bit-fields and `__attribute__((packed))' are used, the
23125      latter will take precedence.  If `__attribute__((packed))' is used
23126      on a single field when MS bit-fields are in use, it will take
23127      precedence for that field, but the alignment of the rest of the
23128      structure may affect its placement.
23130  -- Target Hook: bool TARGET_DECIMAL_FLOAT_SUPPORTED_P (void)
23131      Returns true if the target supports decimal floating point.
23133  -- Target Hook: bool TARGET_FIXED_POINT_SUPPORTED_P (void)
23134      Returns true if the target supports fixed-point arithmetic.
23136  -- Target Hook: void TARGET_EXPAND_TO_RTL_HOOK (void)
23137      This hook is called just before expansion into rtl, allowing the
23138      target to perform additional initializations or analysis before
23139      the expansion.  For example, the rs6000 port uses it to allocate a
23140      scratch stack slot for use in copying SDmode values between memory
23141      and floating point registers whenever the function being expanded
23142      has any SDmode usage.
23144  -- Target Hook: void TARGET_INSTANTIATE_DECLS (void)
23145      This hook allows the backend to perform additional instantiations
23146      on rtl that are not actually in any insns yet, but will be later.
23148  -- Target Hook: const char * TARGET_MANGLE_TYPE (tree TYPE)
23149      If your target defines any fundamental types, or any types your
23150      target uses should be mangled differently from the default, define
23151      this hook to return the appropriate encoding for these types as
23152      part of a C++ mangled name.  The TYPE argument is the tree
23153      structure representing the type to be mangled.  The hook may be
23154      applied to trees which are not target-specific fundamental types;
23155      it should return `NULL' for all such types, as well as arguments
23156      it does not recognize.  If the return value is not `NULL', it must
23157      point to a statically-allocated string constant.
23159      Target-specific fundamental types might be new fundamental types or
23160      qualified versions of ordinary fundamental types.  Encode new
23161      fundamental types as `u N NAME', where NAME is the name used for
23162      the type in source code, and N is the length of NAME in decimal.
23163      Encode qualified versions of ordinary types as `U N NAME CODE',
23164      where NAME is the name used for the type qualifier in source code,
23165      N is the length of NAME as above, and CODE is the code used to
23166      represent the unqualified version of this type.  (See
23167      `write_builtin_type' in `cp/mangle.c' for the list of codes.)  In
23168      both cases the spaces are for clarity; do not include any spaces
23169      in your string.
23171      This hook is applied to types prior to typedef resolution.  If the
23172      mangled name for a particular type depends only on that type's
23173      main variant, you can perform typedef resolution yourself using
23174      `TYPE_MAIN_VARIANT' before mangling.
23176      The default version of this hook always returns `NULL', which is
23177      appropriate for a target that does not define any new fundamental
23178      types.
23180 \x1f
23181 File: gccint.info,  Node: Type Layout,  Next: Registers,  Prev: Storage Layout,  Up: Target Macros
23183 15.6 Layout of Source Language Data Types
23184 =========================================
23186 These macros define the sizes and other characteristics of the standard
23187 basic data types used in programs being compiled.  Unlike the macros in
23188 the previous section, these apply to specific features of C and related
23189 languages, rather than to fundamental aspects of storage layout.
23191  -- Macro: INT_TYPE_SIZE
23192      A C expression for the size in bits of the type `int' on the
23193      target machine.  If you don't define this, the default is one word.
23195  -- Macro: SHORT_TYPE_SIZE
23196      A C expression for the size in bits of the type `short' on the
23197      target machine.  If you don't define this, the default is half a
23198      word.  (If this would be less than one storage unit, it is rounded
23199      up to one unit.)
23201  -- Macro: LONG_TYPE_SIZE
23202      A C expression for the size in bits of the type `long' on the
23203      target machine.  If you don't define this, the default is one word.
23205  -- Macro: ADA_LONG_TYPE_SIZE
23206      On some machines, the size used for the Ada equivalent of the type
23207      `long' by a native Ada compiler differs from that used by C.  In
23208      that situation, define this macro to be a C expression to be used
23209      for the size of that type.  If you don't define this, the default
23210      is the value of `LONG_TYPE_SIZE'.
23212  -- Macro: LONG_LONG_TYPE_SIZE
23213      A C expression for the size in bits of the type `long long' on the
23214      target machine.  If you don't define this, the default is two
23215      words.  If you want to support GNU Ada on your machine, the value
23216      of this macro must be at least 64.
23218  -- Macro: CHAR_TYPE_SIZE
23219      A C expression for the size in bits of the type `char' on the
23220      target machine.  If you don't define this, the default is
23221      `BITS_PER_UNIT'.
23223  -- Macro: BOOL_TYPE_SIZE
23224      A C expression for the size in bits of the C++ type `bool' and C99
23225      type `_Bool' on the target machine.  If you don't define this, and
23226      you probably shouldn't, the default is `CHAR_TYPE_SIZE'.
23228  -- Macro: FLOAT_TYPE_SIZE
23229      A C expression for the size in bits of the type `float' on the
23230      target machine.  If you don't define this, the default is one word.
23232  -- Macro: DOUBLE_TYPE_SIZE
23233      A C expression for the size in bits of the type `double' on the
23234      target machine.  If you don't define this, the default is two
23235      words.
23237  -- Macro: LONG_DOUBLE_TYPE_SIZE
23238      A C expression for the size in bits of the type `long double' on
23239      the target machine.  If you don't define this, the default is two
23240      words.
23242  -- Macro: SHORT_FRACT_TYPE_SIZE
23243      A C expression for the size in bits of the type `short _Fract' on
23244      the target machine.  If you don't define this, the default is
23245      `BITS_PER_UNIT'.
23247  -- Macro: FRACT_TYPE_SIZE
23248      A C expression for the size in bits of the type `_Fract' on the
23249      target machine.  If you don't define this, the default is
23250      `BITS_PER_UNIT * 2'.
23252  -- Macro: LONG_FRACT_TYPE_SIZE
23253      A C expression for the size in bits of the type `long _Fract' on
23254      the target machine.  If you don't define this, the default is
23255      `BITS_PER_UNIT * 4'.
23257  -- Macro: LONG_LONG_FRACT_TYPE_SIZE
23258      A C expression for the size in bits of the type `long long _Fract'
23259      on the target machine.  If you don't define this, the default is
23260      `BITS_PER_UNIT * 8'.
23262  -- Macro: SHORT_ACCUM_TYPE_SIZE
23263      A C expression for the size in bits of the type `short _Accum' on
23264      the target machine.  If you don't define this, the default is
23265      `BITS_PER_UNIT * 2'.
23267  -- Macro: ACCUM_TYPE_SIZE
23268      A C expression for the size in bits of the type `_Accum' on the
23269      target machine.  If you don't define this, the default is
23270      `BITS_PER_UNIT * 4'.
23272  -- Macro: LONG_ACCUM_TYPE_SIZE
23273      A C expression for the size in bits of the type `long _Accum' on
23274      the target machine.  If you don't define this, the default is
23275      `BITS_PER_UNIT * 8'.
23277  -- Macro: LONG_LONG_ACCUM_TYPE_SIZE
23278      A C expression for the size in bits of the type `long long _Accum'
23279      on the target machine.  If you don't define this, the default is
23280      `BITS_PER_UNIT * 16'.
23282  -- Macro: LIBGCC2_LONG_DOUBLE_TYPE_SIZE
23283      Define this macro if `LONG_DOUBLE_TYPE_SIZE' is not constant or if
23284      you want routines in `libgcc2.a' for a size other than
23285      `LONG_DOUBLE_TYPE_SIZE'.  If you don't define this, the default is
23286      `LONG_DOUBLE_TYPE_SIZE'.
23288  -- Macro: LIBGCC2_HAS_DF_MODE
23289      Define this macro if neither `LIBGCC2_DOUBLE_TYPE_SIZE' nor
23290      `LIBGCC2_LONG_DOUBLE_TYPE_SIZE' is `DFmode' but you want `DFmode'
23291      routines in `libgcc2.a' anyway.  If you don't define this and
23292      either `LIBGCC2_DOUBLE_TYPE_SIZE' or
23293      `LIBGCC2_LONG_DOUBLE_TYPE_SIZE' is 64 then the default is 1,
23294      otherwise it is 0.
23296  -- Macro: LIBGCC2_HAS_XF_MODE
23297      Define this macro if `LIBGCC2_LONG_DOUBLE_TYPE_SIZE' is not
23298      `XFmode' but you want `XFmode' routines in `libgcc2.a' anyway.  If
23299      you don't define this and `LIBGCC2_LONG_DOUBLE_TYPE_SIZE' is 80
23300      then the default is 1, otherwise it is 0.
23302  -- Macro: LIBGCC2_HAS_TF_MODE
23303      Define this macro if `LIBGCC2_LONG_DOUBLE_TYPE_SIZE' is not
23304      `TFmode' but you want `TFmode' routines in `libgcc2.a' anyway.  If
23305      you don't define this and `LIBGCC2_LONG_DOUBLE_TYPE_SIZE' is 128
23306      then the default is 1, otherwise it is 0.
23308  -- Macro: SF_SIZE
23309  -- Macro: DF_SIZE
23310  -- Macro: XF_SIZE
23311  -- Macro: TF_SIZE
23312      Define these macros to be the size in bits of the mantissa of
23313      `SFmode', `DFmode', `XFmode' and `TFmode' values, if the defaults
23314      in `libgcc2.h' are inappropriate.  By default, `FLT_MANT_DIG' is
23315      used for `SF_SIZE', `LDBL_MANT_DIG' for `XF_SIZE' and `TF_SIZE',
23316      and `DBL_MANT_DIG' or `LDBL_MANT_DIG' for `DF_SIZE' according to
23317      whether `LIBGCC2_DOUBLE_TYPE_SIZE' or
23318      `LIBGCC2_LONG_DOUBLE_TYPE_SIZE' is 64.
23320  -- Macro: TARGET_FLT_EVAL_METHOD
23321      A C expression for the value for `FLT_EVAL_METHOD' in `float.h',
23322      assuming, if applicable, that the floating-point control word is
23323      in its default state.  If you do not define this macro the value of
23324      `FLT_EVAL_METHOD' will be zero.
23326  -- Macro: WIDEST_HARDWARE_FP_SIZE
23327      A C expression for the size in bits of the widest floating-point
23328      format supported by the hardware.  If you define this macro, you
23329      must specify a value less than or equal to the value of
23330      `LONG_DOUBLE_TYPE_SIZE'.  If you do not define this macro, the
23331      value of `LONG_DOUBLE_TYPE_SIZE' is the default.
23333  -- Macro: DEFAULT_SIGNED_CHAR
23334      An expression whose value is 1 or 0, according to whether the type
23335      `char' should be signed or unsigned by default.  The user can
23336      always override this default with the options `-fsigned-char' and
23337      `-funsigned-char'.
23339  -- Target Hook: bool TARGET_DEFAULT_SHORT_ENUMS (void)
23340      This target hook should return true if the compiler should give an
23341      `enum' type only as many bytes as it takes to represent the range
23342      of possible values of that type.  It should return false if all
23343      `enum' types should be allocated like `int'.
23345      The default is to return false.
23347  -- Macro: SIZE_TYPE
23348      A C expression for a string describing the name of the data type
23349      to use for size values.  The typedef name `size_t' is defined
23350      using the contents of the string.
23352      The string can contain more than one keyword.  If so, separate
23353      them with spaces, and write first any length keyword, then
23354      `unsigned' if appropriate, and finally `int'.  The string must
23355      exactly match one of the data type names defined in the function
23356      `init_decl_processing' in the file `c-decl.c'.  You may not omit
23357      `int' or change the order--that would cause the compiler to crash
23358      on startup.
23360      If you don't define this macro, the default is `"long unsigned
23361      int"'.
23363  -- Macro: PTRDIFF_TYPE
23364      A C expression for a string describing the name of the data type
23365      to use for the result of subtracting two pointers.  The typedef
23366      name `ptrdiff_t' is defined using the contents of the string.  See
23367      `SIZE_TYPE' above for more information.
23369      If you don't define this macro, the default is `"long int"'.
23371  -- Macro: WCHAR_TYPE
23372      A C expression for a string describing the name of the data type
23373      to use for wide characters.  The typedef name `wchar_t' is defined
23374      using the contents of the string.  See `SIZE_TYPE' above for more
23375      information.
23377      If you don't define this macro, the default is `"int"'.
23379  -- Macro: WCHAR_TYPE_SIZE
23380      A C expression for the size in bits of the data type for wide
23381      characters.  This is used in `cpp', which cannot make use of
23382      `WCHAR_TYPE'.
23384  -- Macro: WINT_TYPE
23385      A C expression for a string describing the name of the data type to
23386      use for wide characters passed to `printf' and returned from
23387      `getwc'.  The typedef name `wint_t' is defined using the contents
23388      of the string.  See `SIZE_TYPE' above for more information.
23390      If you don't define this macro, the default is `"unsigned int"'.
23392  -- Macro: INTMAX_TYPE
23393      A C expression for a string describing the name of the data type
23394      that can represent any value of any standard or extended signed
23395      integer type.  The typedef name `intmax_t' is defined using the
23396      contents of the string.  See `SIZE_TYPE' above for more
23397      information.
23399      If you don't define this macro, the default is the first of
23400      `"int"', `"long int"', or `"long long int"' that has as much
23401      precision as `long long int'.
23403  -- Macro: UINTMAX_TYPE
23404      A C expression for a string describing the name of the data type
23405      that can represent any value of any standard or extended unsigned
23406      integer type.  The typedef name `uintmax_t' is defined using the
23407      contents of the string.  See `SIZE_TYPE' above for more
23408      information.
23410      If you don't define this macro, the default is the first of
23411      `"unsigned int"', `"long unsigned int"', or `"long long unsigned
23412      int"' that has as much precision as `long long unsigned int'.
23414  -- Macro: TARGET_PTRMEMFUNC_VBIT_LOCATION
23415      The C++ compiler represents a pointer-to-member-function with a
23416      struct that looks like:
23418             struct {
23419               union {
23420                 void (*fn)();
23421                 ptrdiff_t vtable_index;
23422               };
23423               ptrdiff_t delta;
23424             };
23426      The C++ compiler must use one bit to indicate whether the function
23427      that will be called through a pointer-to-member-function is
23428      virtual.  Normally, we assume that the low-order bit of a function
23429      pointer must always be zero.  Then, by ensuring that the
23430      vtable_index is odd, we can distinguish which variant of the union
23431      is in use.  But, on some platforms function pointers can be odd,
23432      and so this doesn't work.  In that case, we use the low-order bit
23433      of the `delta' field, and shift the remainder of the `delta' field
23434      to the left.
23436      GCC will automatically make the right selection about where to
23437      store this bit using the `FUNCTION_BOUNDARY' setting for your
23438      platform.  However, some platforms such as ARM/Thumb have
23439      `FUNCTION_BOUNDARY' set such that functions always start at even
23440      addresses, but the lowest bit of pointers to functions indicate
23441      whether the function at that address is in ARM or Thumb mode.  If
23442      this is the case of your architecture, you should define this
23443      macro to `ptrmemfunc_vbit_in_delta'.
23445      In general, you should not have to define this macro.  On
23446      architectures in which function addresses are always even,
23447      according to `FUNCTION_BOUNDARY', GCC will automatically define
23448      this macro to `ptrmemfunc_vbit_in_pfn'.
23450  -- Macro: TARGET_VTABLE_USES_DESCRIPTORS
23451      Normally, the C++ compiler uses function pointers in vtables.  This
23452      macro allows the target to change to use "function descriptors"
23453      instead.  Function descriptors are found on targets for whom a
23454      function pointer is actually a small data structure.  Normally the
23455      data structure consists of the actual code address plus a data
23456      pointer to which the function's data is relative.
23458      If vtables are used, the value of this macro should be the number
23459      of words that the function descriptor occupies.
23461  -- Macro: TARGET_VTABLE_ENTRY_ALIGN
23462      By default, the vtable entries are void pointers, the so the
23463      alignment is the same as pointer alignment.  The value of this
23464      macro specifies the alignment of the vtable entry in bits.  It
23465      should be defined only when special alignment is necessary. */
23467  -- Macro: TARGET_VTABLE_DATA_ENTRY_DISTANCE
23468      There are a few non-descriptor entries in the vtable at offsets
23469      below zero.  If these entries must be padded (say, to preserve the
23470      alignment specified by `TARGET_VTABLE_ENTRY_ALIGN'), set this to
23471      the number of words in each data entry.
23473 \x1f
23474 File: gccint.info,  Node: Registers,  Next: Register Classes,  Prev: Type Layout,  Up: Target Macros
23476 15.7 Register Usage
23477 ===================
23479 This section explains how to describe what registers the target machine
23480 has, and how (in general) they can be used.
23482  The description of which registers a specific instruction can use is
23483 done with register classes; see *Note Register Classes::.  For
23484 information on using registers to access a stack frame, see *Note Frame
23485 Registers::.  For passing values in registers, see *Note Register
23486 Arguments::.  For returning values in registers, see *Note Scalar
23487 Return::.
23489 * Menu:
23491 * Register Basics::             Number and kinds of registers.
23492 * Allocation Order::            Order in which registers are allocated.
23493 * Values in Registers::         What kinds of values each reg can hold.
23494 * Leaf Functions::              Renumbering registers for leaf functions.
23495 * Stack Registers::             Handling a register stack such as 80387.
23497 \x1f
23498 File: gccint.info,  Node: Register Basics,  Next: Allocation Order,  Up: Registers
23500 15.7.1 Basic Characteristics of Registers
23501 -----------------------------------------
23503 Registers have various characteristics.
23505  -- Macro: FIRST_PSEUDO_REGISTER
23506      Number of hardware registers known to the compiler.  They receive
23507      numbers 0 through `FIRST_PSEUDO_REGISTER-1'; thus, the first
23508      pseudo register's number really is assigned the number
23509      `FIRST_PSEUDO_REGISTER'.
23511  -- Macro: FIXED_REGISTERS
23512      An initializer that says which registers are used for fixed
23513      purposes all throughout the compiled code and are therefore not
23514      available for general allocation.  These would include the stack
23515      pointer, the frame pointer (except on machines where that can be
23516      used as a general register when no frame pointer is needed), the
23517      program counter on machines where that is considered one of the
23518      addressable registers, and any other numbered register with a
23519      standard use.
23521      This information is expressed as a sequence of numbers, separated
23522      by commas and surrounded by braces.  The Nth number is 1 if
23523      register N is fixed, 0 otherwise.
23525      The table initialized from this macro, and the table initialized by
23526      the following one, may be overridden at run time either
23527      automatically, by the actions of the macro
23528      `CONDITIONAL_REGISTER_USAGE', or by the user with the command
23529      options `-ffixed-REG', `-fcall-used-REG' and `-fcall-saved-REG'.
23531  -- Macro: CALL_USED_REGISTERS
23532      Like `FIXED_REGISTERS' but has 1 for each register that is
23533      clobbered (in general) by function calls as well as for fixed
23534      registers.  This macro therefore identifies the registers that are
23535      not available for general allocation of values that must live
23536      across function calls.
23538      If a register has 0 in `CALL_USED_REGISTERS', the compiler
23539      automatically saves it on function entry and restores it on
23540      function exit, if the register is used within the function.
23542  -- Macro: CALL_REALLY_USED_REGISTERS
23543      Like `CALL_USED_REGISTERS' except this macro doesn't require that
23544      the entire set of `FIXED_REGISTERS' be included.
23545      (`CALL_USED_REGISTERS' must be a superset of `FIXED_REGISTERS').
23546      This macro is optional.  If not specified, it defaults to the value
23547      of `CALL_USED_REGISTERS'.
23549  -- Macro: HARD_REGNO_CALL_PART_CLOBBERED (REGNO, MODE)
23550      A C expression that is nonzero if it is not permissible to store a
23551      value of mode MODE in hard register number REGNO across a call
23552      without some part of it being clobbered.  For most machines this
23553      macro need not be defined.  It is only required for machines that
23554      do not preserve the entire contents of a register across a call.
23556  -- Macro: CONDITIONAL_REGISTER_USAGE
23557      Zero or more C statements that may conditionally modify five
23558      variables `fixed_regs', `call_used_regs', `global_regs',
23559      `reg_names', and `reg_class_contents', to take into account any
23560      dependence of these register sets on target flags.  The first three
23561      of these are of type `char []' (interpreted as Boolean vectors).
23562      `global_regs' is a `const char *[]', and `reg_class_contents' is a
23563      `HARD_REG_SET'.  Before the macro is called, `fixed_regs',
23564      `call_used_regs', `reg_class_contents', and `reg_names' have been
23565      initialized from `FIXED_REGISTERS', `CALL_USED_REGISTERS',
23566      `REG_CLASS_CONTENTS', and `REGISTER_NAMES', respectively.
23567      `global_regs' has been cleared, and any `-ffixed-REG',
23568      `-fcall-used-REG' and `-fcall-saved-REG' command options have been
23569      applied.
23571      You need not define this macro if it has no work to do.
23573      If the usage of an entire class of registers depends on the target
23574      flags, you may indicate this to GCC by using this macro to modify
23575      `fixed_regs' and `call_used_regs' to 1 for each of the registers
23576      in the classes which should not be used by GCC.  Also define the
23577      macro `REG_CLASS_FROM_LETTER' / `REG_CLASS_FROM_CONSTRAINT' to
23578      return `NO_REGS' if it is called with a letter for a class that
23579      shouldn't be used.
23581      (However, if this class is not included in `GENERAL_REGS' and all
23582      of the insn patterns whose constraints permit this class are
23583      controlled by target switches, then GCC will automatically avoid
23584      using these registers when the target switches are opposed to
23585      them.)
23587  -- Macro: INCOMING_REGNO (OUT)
23588      Define this macro if the target machine has register windows.
23589      This C expression returns the register number as seen by the
23590      called function corresponding to the register number OUT as seen
23591      by the calling function.  Return OUT if register number OUT is not
23592      an outbound register.
23594  -- Macro: OUTGOING_REGNO (IN)
23595      Define this macro if the target machine has register windows.
23596      This C expression returns the register number as seen by the
23597      calling function corresponding to the register number IN as seen
23598      by the called function.  Return IN if register number IN is not an
23599      inbound register.
23601  -- Macro: LOCAL_REGNO (REGNO)
23602      Define this macro if the target machine has register windows.
23603      This C expression returns true if the register is call-saved but
23604      is in the register window.  Unlike most call-saved registers, such
23605      registers need not be explicitly restored on function exit or
23606      during non-local gotos.
23608  -- Macro: PC_REGNUM
23609      If the program counter has a register number, define this as that
23610      register number.  Otherwise, do not define it.
23612 \x1f
23613 File: gccint.info,  Node: Allocation Order,  Next: Values in Registers,  Prev: Register Basics,  Up: Registers
23615 15.7.2 Order of Allocation of Registers
23616 ---------------------------------------
23618 Registers are allocated in order.
23620  -- Macro: REG_ALLOC_ORDER
23621      If defined, an initializer for a vector of integers, containing the
23622      numbers of hard registers in the order in which GCC should prefer
23623      to use them (from most preferred to least).
23625      If this macro is not defined, registers are used lowest numbered
23626      first (all else being equal).
23628      One use of this macro is on machines where the highest numbered
23629      registers must always be saved and the save-multiple-registers
23630      instruction supports only sequences of consecutive registers.  On
23631      such machines, define `REG_ALLOC_ORDER' to be an initializer that
23632      lists the highest numbered allocable register first.
23634  -- Macro: ORDER_REGS_FOR_LOCAL_ALLOC
23635      A C statement (sans semicolon) to choose the order in which to
23636      allocate hard registers for pseudo-registers local to a basic
23637      block.
23639      Store the desired register order in the array `reg_alloc_order'.
23640      Element 0 should be the register to allocate first; element 1, the
23641      next register; and so on.
23643      The macro body should not assume anything about the contents of
23644      `reg_alloc_order' before execution of the macro.
23646      On most machines, it is not necessary to define this macro.
23648 \x1f
23649 File: gccint.info,  Node: Values in Registers,  Next: Leaf Functions,  Prev: Allocation Order,  Up: Registers
23651 15.7.3 How Values Fit in Registers
23652 ----------------------------------
23654 This section discusses the macros that describe which kinds of values
23655 (specifically, which machine modes) each register can hold, and how many
23656 consecutive registers are needed for a given mode.
23658  -- Macro: HARD_REGNO_NREGS (REGNO, MODE)
23659      A C expression for the number of consecutive hard registers,
23660      starting at register number REGNO, required to hold a value of mode
23661      MODE.  This macro must never return zero, even if a register
23662      cannot hold the requested mode - indicate that with
23663      HARD_REGNO_MODE_OK and/or CANNOT_CHANGE_MODE_CLASS instead.
23665      On a machine where all registers are exactly one word, a suitable
23666      definition of this macro is
23668           #define HARD_REGNO_NREGS(REGNO, MODE)            \
23669              ((GET_MODE_SIZE (MODE) + UNITS_PER_WORD - 1)  \
23670               / UNITS_PER_WORD)
23672  -- Macro: HARD_REGNO_NREGS_HAS_PADDING (REGNO, MODE)
23673      A C expression that is nonzero if a value of mode MODE, stored in
23674      memory, ends with padding that causes it to take up more space than
23675      in registers starting at register number REGNO (as determined by
23676      multiplying GCC's notion of the size of the register when
23677      containing this mode by the number of registers returned by
23678      `HARD_REGNO_NREGS').  By default this is zero.
23680      For example, if a floating-point value is stored in three 32-bit
23681      registers but takes up 128 bits in memory, then this would be
23682      nonzero.
23684      This macros only needs to be defined if there are cases where
23685      `subreg_get_info' would otherwise wrongly determine that a
23686      `subreg' can be represented by an offset to the register number,
23687      when in fact such a `subreg' would contain some of the padding not
23688      stored in registers and so not be representable.
23690  -- Macro: HARD_REGNO_NREGS_WITH_PADDING (REGNO, MODE)
23691      For values of REGNO and MODE for which
23692      `HARD_REGNO_NREGS_HAS_PADDING' returns nonzero, a C expression
23693      returning the greater number of registers required to hold the
23694      value including any padding.  In the example above, the value
23695      would be four.
23697  -- Macro: REGMODE_NATURAL_SIZE (MODE)
23698      Define this macro if the natural size of registers that hold values
23699      of mode MODE is not the word size.  It is a C expression that
23700      should give the natural size in bytes for the specified mode.  It
23701      is used by the register allocator to try to optimize its results.
23702      This happens for example on SPARC 64-bit where the natural size of
23703      floating-point registers is still 32-bit.
23705  -- Macro: HARD_REGNO_MODE_OK (REGNO, MODE)
23706      A C expression that is nonzero if it is permissible to store a
23707      value of mode MODE in hard register number REGNO (or in several
23708      registers starting with that one).  For a machine where all
23709      registers are equivalent, a suitable definition is
23711           #define HARD_REGNO_MODE_OK(REGNO, MODE) 1
23713      You need not include code to check for the numbers of fixed
23714      registers, because the allocation mechanism considers them to be
23715      always occupied.
23717      On some machines, double-precision values must be kept in even/odd
23718      register pairs.  You can implement that by defining this macro to
23719      reject odd register numbers for such modes.
23721      The minimum requirement for a mode to be OK in a register is that
23722      the `movMODE' instruction pattern support moves between the
23723      register and other hard register in the same class and that moving
23724      a value into the register and back out not alter it.
23726      Since the same instruction used to move `word_mode' will work for
23727      all narrower integer modes, it is not necessary on any machine for
23728      `HARD_REGNO_MODE_OK' to distinguish between these modes, provided
23729      you define patterns `movhi', etc., to take advantage of this.  This
23730      is useful because of the interaction between `HARD_REGNO_MODE_OK'
23731      and `MODES_TIEABLE_P'; it is very desirable for all integer modes
23732      to be tieable.
23734      Many machines have special registers for floating point arithmetic.
23735      Often people assume that floating point machine modes are allowed
23736      only in floating point registers.  This is not true.  Any
23737      registers that can hold integers can safely _hold_ a floating
23738      point machine mode, whether or not floating arithmetic can be done
23739      on it in those registers.  Integer move instructions can be used
23740      to move the values.
23742      On some machines, though, the converse is true: fixed-point machine
23743      modes may not go in floating registers.  This is true if the
23744      floating registers normalize any value stored in them, because
23745      storing a non-floating value there would garble it.  In this case,
23746      `HARD_REGNO_MODE_OK' should reject fixed-point machine modes in
23747      floating registers.  But if the floating registers do not
23748      automatically normalize, if you can store any bit pattern in one
23749      and retrieve it unchanged without a trap, then any machine mode
23750      may go in a floating register, so you can define this macro to say
23751      so.
23753      The primary significance of special floating registers is rather
23754      that they are the registers acceptable in floating point arithmetic
23755      instructions.  However, this is of no concern to
23756      `HARD_REGNO_MODE_OK'.  You handle it by writing the proper
23757      constraints for those instructions.
23759      On some machines, the floating registers are especially slow to
23760      access, so that it is better to store a value in a stack frame
23761      than in such a register if floating point arithmetic is not being
23762      done.  As long as the floating registers are not in class
23763      `GENERAL_REGS', they will not be used unless some pattern's
23764      constraint asks for one.
23766  -- Macro: HARD_REGNO_RENAME_OK (FROM, TO)
23767      A C expression that is nonzero if it is OK to rename a hard
23768      register FROM to another hard register TO.
23770      One common use of this macro is to prevent renaming of a register
23771      to another register that is not saved by a prologue in an interrupt
23772      handler.
23774      The default is always nonzero.
23776  -- Macro: MODES_TIEABLE_P (MODE1, MODE2)
23777      A C expression that is nonzero if a value of mode MODE1 is
23778      accessible in mode MODE2 without copying.
23780      If `HARD_REGNO_MODE_OK (R, MODE1)' and `HARD_REGNO_MODE_OK (R,
23781      MODE2)' are always the same for any R, then `MODES_TIEABLE_P
23782      (MODE1, MODE2)' should be nonzero.  If they differ for any R, you
23783      should define this macro to return zero unless some other
23784      mechanism ensures the accessibility of the value in a narrower
23785      mode.
23787      You should define this macro to return nonzero in as many cases as
23788      possible since doing so will allow GCC to perform better register
23789      allocation.
23791  -- Macro: AVOID_CCMODE_COPIES
23792      Define this macro if the compiler should avoid copies to/from
23793      `CCmode' registers.  You should only define this macro if support
23794      for copying to/from `CCmode' is incomplete.
23796 \x1f
23797 File: gccint.info,  Node: Leaf Functions,  Next: Stack Registers,  Prev: Values in Registers,  Up: Registers
23799 15.7.4 Handling Leaf Functions
23800 ------------------------------
23802 On some machines, a leaf function (i.e., one which makes no calls) can
23803 run more efficiently if it does not make its own register window.
23804 Often this means it is required to receive its arguments in the
23805 registers where they are passed by the caller, instead of the registers
23806 where they would normally arrive.
23808  The special treatment for leaf functions generally applies only when
23809 other conditions are met; for example, often they may use only those
23810 registers for its own variables and temporaries.  We use the term "leaf
23811 function" to mean a function that is suitable for this special
23812 handling, so that functions with no calls are not necessarily "leaf
23813 functions".
23815  GCC assigns register numbers before it knows whether the function is
23816 suitable for leaf function treatment.  So it needs to renumber the
23817 registers in order to output a leaf function.  The following macros
23818 accomplish this.
23820  -- Macro: LEAF_REGISTERS
23821      Name of a char vector, indexed by hard register number, which
23822      contains 1 for a register that is allowable in a candidate for leaf
23823      function treatment.
23825      If leaf function treatment involves renumbering the registers,
23826      then the registers marked here should be the ones before
23827      renumbering--those that GCC would ordinarily allocate.  The
23828      registers which will actually be used in the assembler code, after
23829      renumbering, should not be marked with 1 in this vector.
23831      Define this macro only if the target machine offers a way to
23832      optimize the treatment of leaf functions.
23834  -- Macro: LEAF_REG_REMAP (REGNO)
23835      A C expression whose value is the register number to which REGNO
23836      should be renumbered, when a function is treated as a leaf
23837      function.
23839      If REGNO is a register number which should not appear in a leaf
23840      function before renumbering, then the expression should yield -1,
23841      which will cause the compiler to abort.
23843      Define this macro only if the target machine offers a way to
23844      optimize the treatment of leaf functions, and registers need to be
23845      renumbered to do this.
23847  `TARGET_ASM_FUNCTION_PROLOGUE' and `TARGET_ASM_FUNCTION_EPILOGUE' must
23848 usually treat leaf functions specially.  They can test the C variable
23849 `current_function_is_leaf' which is nonzero for leaf functions.
23850 `current_function_is_leaf' is set prior to local register allocation
23851 and is valid for the remaining compiler passes.  They can also test the
23852 C variable `current_function_uses_only_leaf_regs' which is nonzero for
23853 leaf functions which only use leaf registers.
23854 `current_function_uses_only_leaf_regs' is valid after all passes that
23855 modify the instructions have been run and is only useful if
23856 `LEAF_REGISTERS' is defined.
23858 \x1f
23859 File: gccint.info,  Node: Stack Registers,  Prev: Leaf Functions,  Up: Registers
23861 15.7.5 Registers That Form a Stack
23862 ----------------------------------
23864 There are special features to handle computers where some of the
23865 "registers" form a stack.  Stack registers are normally written by
23866 pushing onto the stack, and are numbered relative to the top of the
23867 stack.
23869  Currently, GCC can only handle one group of stack-like registers, and
23870 they must be consecutively numbered.  Furthermore, the existing support
23871 for stack-like registers is specific to the 80387 floating point
23872 coprocessor.  If you have a new architecture that uses stack-like
23873 registers, you will need to do substantial work on `reg-stack.c' and
23874 write your machine description to cooperate with it, as well as
23875 defining these macros.
23877  -- Macro: STACK_REGS
23878      Define this if the machine has any stack-like registers.
23880  -- Macro: FIRST_STACK_REG
23881      The number of the first stack-like register.  This one is the top
23882      of the stack.
23884  -- Macro: LAST_STACK_REG
23885      The number of the last stack-like register.  This one is the
23886      bottom of the stack.
23888 \x1f
23889 File: gccint.info,  Node: Register Classes,  Next: Old Constraints,  Prev: Registers,  Up: Target Macros
23891 15.8 Register Classes
23892 =====================
23894 On many machines, the numbered registers are not all equivalent.  For
23895 example, certain registers may not be allowed for indexed addressing;
23896 certain registers may not be allowed in some instructions.  These
23897 machine restrictions are described to the compiler using "register
23898 classes".
23900  You define a number of register classes, giving each one a name and
23901 saying which of the registers belong to it.  Then you can specify
23902 register classes that are allowed as operands to particular instruction
23903 patterns.
23905  In general, each register will belong to several classes.  In fact, one
23906 class must be named `ALL_REGS' and contain all the registers.  Another
23907 class must be named `NO_REGS' and contain no registers.  Often the
23908 union of two classes will be another class; however, this is not
23909 required.
23911  One of the classes must be named `GENERAL_REGS'.  There is nothing
23912 terribly special about the name, but the operand constraint letters `r'
23913 and `g' specify this class.  If `GENERAL_REGS' is the same as
23914 `ALL_REGS', just define it as a macro which expands to `ALL_REGS'.
23916  Order the classes so that if class X is contained in class Y then X
23917 has a lower class number than Y.
23919  The way classes other than `GENERAL_REGS' are specified in operand
23920 constraints is through machine-dependent operand constraint letters.
23921 You can define such letters to correspond to various classes, then use
23922 them in operand constraints.
23924  You should define a class for the union of two classes whenever some
23925 instruction allows both classes.  For example, if an instruction allows
23926 either a floating point (coprocessor) register or a general register
23927 for a certain operand, you should define a class `FLOAT_OR_GENERAL_REGS'
23928 which includes both of them.  Otherwise you will get suboptimal code.
23930  You must also specify certain redundant information about the register
23931 classes: for each class, which classes contain it and which ones are
23932 contained in it; for each pair of classes, the largest class contained
23933 in their union.
23935  When a value occupying several consecutive registers is expected in a
23936 certain class, all the registers used must belong to that class.
23937 Therefore, register classes cannot be used to enforce a requirement for
23938 a register pair to start with an even-numbered register.  The way to
23939 specify this requirement is with `HARD_REGNO_MODE_OK'.
23941  Register classes used for input-operands of bitwise-and or shift
23942 instructions have a special requirement: each such class must have, for
23943 each fixed-point machine mode, a subclass whose registers can transfer
23944 that mode to or from memory.  For example, on some machines, the
23945 operations for single-byte values (`QImode') are limited to certain
23946 registers.  When this is so, each register class that is used in a
23947 bitwise-and or shift instruction must have a subclass consisting of
23948 registers from which single-byte values can be loaded or stored.  This
23949 is so that `PREFERRED_RELOAD_CLASS' can always have a possible value to
23950 return.
23952  -- Data type: enum reg_class
23953      An enumerated type that must be defined with all the register
23954      class names as enumerated values.  `NO_REGS' must be first.
23955      `ALL_REGS' must be the last register class, followed by one more
23956      enumerated value, `LIM_REG_CLASSES', which is not a register class
23957      but rather tells how many classes there are.
23959      Each register class has a number, which is the value of casting
23960      the class name to type `int'.  The number serves as an index in
23961      many of the tables described below.
23963  -- Macro: N_REG_CLASSES
23964      The number of distinct register classes, defined as follows:
23966           #define N_REG_CLASSES (int) LIM_REG_CLASSES
23968  -- Macro: REG_CLASS_NAMES
23969      An initializer containing the names of the register classes as C
23970      string constants.  These names are used in writing some of the
23971      debugging dumps.
23973  -- Macro: REG_CLASS_CONTENTS
23974      An initializer containing the contents of the register classes, as
23975      integers which are bit masks.  The Nth integer specifies the
23976      contents of class N.  The way the integer MASK is interpreted is
23977      that register R is in the class if `MASK & (1 << R)' is 1.
23979      When the machine has more than 32 registers, an integer does not
23980      suffice.  Then the integers are replaced by sub-initializers,
23981      braced groupings containing several integers.  Each
23982      sub-initializer must be suitable as an initializer for the type
23983      `HARD_REG_SET' which is defined in `hard-reg-set.h'.  In this
23984      situation, the first integer in each sub-initializer corresponds to
23985      registers 0 through 31, the second integer to registers 32 through
23986      63, and so on.
23988  -- Macro: REGNO_REG_CLASS (REGNO)
23989      A C expression whose value is a register class containing hard
23990      register REGNO.  In general there is more than one such class;
23991      choose a class which is "minimal", meaning that no smaller class
23992      also contains the register.
23994  -- Macro: BASE_REG_CLASS
23995      A macro whose definition is the name of the class to which a valid
23996      base register must belong.  A base register is one used in an
23997      address which is the register value plus a displacement.
23999  -- Macro: MODE_BASE_REG_CLASS (MODE)
24000      This is a variation of the `BASE_REG_CLASS' macro which allows the
24001      selection of a base register in a mode dependent manner.  If MODE
24002      is VOIDmode then it should return the same value as
24003      `BASE_REG_CLASS'.
24005  -- Macro: MODE_BASE_REG_REG_CLASS (MODE)
24006      A C expression whose value is the register class to which a valid
24007      base register must belong in order to be used in a base plus index
24008      register address.  You should define this macro if base plus index
24009      addresses have different requirements than other base register
24010      uses.
24012  -- Macro: MODE_CODE_BASE_REG_CLASS (MODE, OUTER_CODE, INDEX_CODE)
24013      A C expression whose value is the register class to which a valid
24014      base register must belong.  OUTER_CODE and INDEX_CODE define the
24015      context in which the base register occurs.  OUTER_CODE is the code
24016      of the immediately enclosing expression (`MEM' for the top level
24017      of an address, `ADDRESS' for something that occurs in an
24018      `address_operand').  INDEX_CODE is the code of the corresponding
24019      index expression if OUTER_CODE is `PLUS'; `SCRATCH' otherwise.
24021  -- Macro: INDEX_REG_CLASS
24022      A macro whose definition is the name of the class to which a valid
24023      index register must belong.  An index register is one used in an
24024      address where its value is either multiplied by a scale factor or
24025      added to another register (as well as added to a displacement).
24027  -- Macro: REGNO_OK_FOR_BASE_P (NUM)
24028      A C expression which is nonzero if register number NUM is suitable
24029      for use as a base register in operand addresses.  It may be either
24030      a suitable hard register or a pseudo register that has been
24031      allocated such a hard register.
24033  -- Macro: REGNO_MODE_OK_FOR_BASE_P (NUM, MODE)
24034      A C expression that is just like `REGNO_OK_FOR_BASE_P', except that
24035      that expression may examine the mode of the memory reference in
24036      MODE.  You should define this macro if the mode of the memory
24037      reference affects whether a register may be used as a base
24038      register.  If you define this macro, the compiler will use it
24039      instead of `REGNO_OK_FOR_BASE_P'.  The mode may be `VOIDmode' for
24040      addresses that appear outside a `MEM', i.e., as an
24041      `address_operand'.
24044  -- Macro: REGNO_MODE_OK_FOR_REG_BASE_P (NUM, MODE)
24045      A C expression which is nonzero if register number NUM is suitable
24046      for use as a base register in base plus index operand addresses,
24047      accessing memory in mode MODE.  It may be either a suitable hard
24048      register or a pseudo register that has been allocated such a hard
24049      register.  You should define this macro if base plus index
24050      addresses have different requirements than other base register
24051      uses.
24053      Use of this macro is deprecated; please use the more general
24054      `REGNO_MODE_CODE_OK_FOR_BASE_P'.
24056  -- Macro: REGNO_MODE_CODE_OK_FOR_BASE_P (NUM, MODE, OUTER_CODE,
24057           INDEX_CODE)
24058      A C expression that is just like `REGNO_MODE_OK_FOR_BASE_P', except
24059      that that expression may examine the context in which the register
24060      appears in the memory reference.  OUTER_CODE is the code of the
24061      immediately enclosing expression (`MEM' if at the top level of the
24062      address, `ADDRESS' for something that occurs in an
24063      `address_operand').  INDEX_CODE is the code of the corresponding
24064      index expression if OUTER_CODE is `PLUS'; `SCRATCH' otherwise.
24065      The mode may be `VOIDmode' for addresses that appear outside a
24066      `MEM', i.e., as an `address_operand'.
24068  -- Macro: REGNO_OK_FOR_INDEX_P (NUM)
24069      A C expression which is nonzero if register number NUM is suitable
24070      for use as an index register in operand addresses.  It may be
24071      either a suitable hard register or a pseudo register that has been
24072      allocated such a hard register.
24074      The difference between an index register and a base register is
24075      that the index register may be scaled.  If an address involves the
24076      sum of two registers, neither one of them scaled, then either one
24077      may be labeled the "base" and the other the "index"; but whichever
24078      labeling is used must fit the machine's constraints of which
24079      registers may serve in each capacity.  The compiler will try both
24080      labelings, looking for one that is valid, and will reload one or
24081      both registers only if neither labeling works.
24083  -- Macro: PREFERRED_RELOAD_CLASS (X, CLASS)
24084      A C expression that places additional restrictions on the register
24085      class to use when it is necessary to copy value X into a register
24086      in class CLASS.  The value is a register class; perhaps CLASS, or
24087      perhaps another, smaller class.  On many machines, the following
24088      definition is safe:
24090           #define PREFERRED_RELOAD_CLASS(X,CLASS) CLASS
24092      Sometimes returning a more restrictive class makes better code.
24093      For example, on the 68000, when X is an integer constant that is
24094      in range for a `moveq' instruction, the value of this macro is
24095      always `DATA_REGS' as long as CLASS includes the data registers.
24096      Requiring a data register guarantees that a `moveq' will be used.
24098      One case where `PREFERRED_RELOAD_CLASS' must not return CLASS is
24099      if X is a legitimate constant which cannot be loaded into some
24100      register class.  By returning `NO_REGS' you can force X into a
24101      memory location.  For example, rs6000 can load immediate values
24102      into general-purpose registers, but does not have an instruction
24103      for loading an immediate value into a floating-point register, so
24104      `PREFERRED_RELOAD_CLASS' returns `NO_REGS' when X is a
24105      floating-point constant.  If the constant can't be loaded into any
24106      kind of register, code generation will be better if
24107      `LEGITIMATE_CONSTANT_P' makes the constant illegitimate instead of
24108      using `PREFERRED_RELOAD_CLASS'.
24110      If an insn has pseudos in it after register allocation, reload
24111      will go through the alternatives and call repeatedly
24112      `PREFERRED_RELOAD_CLASS' to find the best one.  Returning
24113      `NO_REGS', in this case, makes reload add a `!' in front of the
24114      constraint: the x86 back-end uses this feature to discourage usage
24115      of 387 registers when math is done in the SSE registers (and vice
24116      versa).
24118  -- Macro: PREFERRED_OUTPUT_RELOAD_CLASS (X, CLASS)
24119      Like `PREFERRED_RELOAD_CLASS', but for output reloads instead of
24120      input reloads.  If you don't define this macro, the default is to
24121      use CLASS, unchanged.
24123      You can also use `PREFERRED_OUTPUT_RELOAD_CLASS' to discourage
24124      reload from using some alternatives, like `PREFERRED_RELOAD_CLASS'.
24126  -- Macro: LIMIT_RELOAD_CLASS (MODE, CLASS)
24127      A C expression that places additional restrictions on the register
24128      class to use when it is necessary to be able to hold a value of
24129      mode MODE in a reload register for which class CLASS would
24130      ordinarily be used.
24132      Unlike `PREFERRED_RELOAD_CLASS', this macro should be used when
24133      there are certain modes that simply can't go in certain reload
24134      classes.
24136      The value is a register class; perhaps CLASS, or perhaps another,
24137      smaller class.
24139      Don't define this macro unless the target machine has limitations
24140      which require the macro to do something nontrivial.
24142  -- Target Hook: enum reg_class TARGET_SECONDARY_RELOAD (bool IN_P, rtx
24143           X, enum reg_class RELOAD_CLASS, enum machine_mode
24144           RELOAD_MODE, secondary_reload_info *SRI)
24145      Many machines have some registers that cannot be copied directly
24146      to or from memory or even from other types of registers.  An
24147      example is the `MQ' register, which on most machines, can only be
24148      copied to or from general registers, but not memory.  Below, we
24149      shall be using the term 'intermediate register' when a move
24150      operation cannot be performed directly, but has to be done by
24151      copying the source into the intermediate register first, and then
24152      copying the intermediate register to the destination.  An
24153      intermediate register always has the same mode as source and
24154      destination.  Since it holds the actual value being copied, reload
24155      might apply optimizations to re-use an intermediate register and
24156      eliding the copy from the source when it can determine that the
24157      intermediate register still holds the required value.
24159      Another kind of secondary reload is required on some machines which
24160      allow copying all registers to and from memory, but require a
24161      scratch register for stores to some memory locations (e.g., those
24162      with symbolic address on the RT, and those with certain symbolic
24163      address on the SPARC when compiling PIC).  Scratch registers need
24164      not have the same mode as the value being copied, and usually hold
24165      a different value that that being copied.  Special patterns in the
24166      md file are needed to describe how the copy is performed with the
24167      help of the scratch register; these patterns also describe the
24168      number, register class(es) and mode(s) of the scratch register(s).
24170      In some cases, both an intermediate and a scratch register are
24171      required.
24173      For input reloads, this target hook is called with nonzero IN_P,
24174      and X is an rtx that needs to be copied to a register of class
24175      RELOAD_CLASS in RELOAD_MODE.  For output reloads, this target hook
24176      is called with zero IN_P, and a register of class RELOAD_CLASS
24177      needs to be copied to rtx X in RELOAD_MODE.
24179      If copying a register of RELOAD_CLASS from/to X requires an
24180      intermediate register, the hook `secondary_reload' should return
24181      the register class required for this intermediate register.  If no
24182      intermediate register is required, it should return NO_REGS.  If
24183      more than one intermediate register is required, describe the one
24184      that is closest in the copy chain to the reload register.
24186      If scratch registers are needed, you also have to describe how to
24187      perform the copy from/to the reload register to/from this closest
24188      intermediate register.  Or if no intermediate register is
24189      required, but still a scratch register is needed, describe the
24190      copy  from/to the reload register to/from the reload operand X.
24192      You do this by setting `sri->icode' to the instruction code of a
24193      pattern in the md file which performs the move.  Operands 0 and 1
24194      are the output and input of this copy, respectively.  Operands
24195      from operand 2 onward are for scratch operands.  These scratch
24196      operands must have a mode, and a single-register-class output
24197      constraint.
24199      When an intermediate register is used, the `secondary_reload' hook
24200      will be called again to determine how to copy the intermediate
24201      register to/from the reload operand X, so your hook must also have
24202      code to handle the register class of the intermediate operand.
24204      X might be a pseudo-register or a `subreg' of a pseudo-register,
24205      which could either be in a hard register or in memory.  Use
24206      `true_regnum' to find out; it will return -1 if the pseudo is in
24207      memory and the hard register number if it is in a register.
24209      Scratch operands in memory (constraint `"=m"' / `"=&m"') are
24210      currently not supported.  For the time being, you will have to
24211      continue to use `SECONDARY_MEMORY_NEEDED' for that purpose.
24213      `copy_cost' also uses this target hook to find out how values are
24214      copied.  If you want it to include some extra cost for the need to
24215      allocate (a) scratch register(s), set `sri->extra_cost' to the
24216      additional cost.  Or if two dependent moves are supposed to have a
24217      lower cost than the sum of the individual moves due to expected
24218      fortuitous scheduling and/or special forwarding logic, you can set
24219      `sri->extra_cost' to a negative amount.
24221  -- Macro: SECONDARY_RELOAD_CLASS (CLASS, MODE, X)
24222  -- Macro: SECONDARY_INPUT_RELOAD_CLASS (CLASS, MODE, X)
24223  -- Macro: SECONDARY_OUTPUT_RELOAD_CLASS (CLASS, MODE, X)
24224      These macros are obsolete, new ports should use the target hook
24225      `TARGET_SECONDARY_RELOAD' instead.
24227      These are obsolete macros, replaced by the
24228      `TARGET_SECONDARY_RELOAD' target hook.  Older ports still define
24229      these macros to indicate to the reload phase that it may need to
24230      allocate at least one register for a reload in addition to the
24231      register to contain the data.  Specifically, if copying X to a
24232      register CLASS in MODE requires an intermediate register, you were
24233      supposed to define `SECONDARY_INPUT_RELOAD_CLASS' to return the
24234      largest register class all of whose registers can be used as
24235      intermediate registers or scratch registers.
24237      If copying a register CLASS in MODE to X requires an intermediate
24238      or scratch register, `SECONDARY_OUTPUT_RELOAD_CLASS' was supposed
24239      to be defined be defined to return the largest register class
24240      required.  If the requirements for input and output reloads were
24241      the same, the macro `SECONDARY_RELOAD_CLASS' should have been used
24242      instead of defining both macros identically.
24244      The values returned by these macros are often `GENERAL_REGS'.
24245      Return `NO_REGS' if no spare register is needed; i.e., if X can be
24246      directly copied to or from a register of CLASS in MODE without
24247      requiring a scratch register.  Do not define this macro if it
24248      would always return `NO_REGS'.
24250      If a scratch register is required (either with or without an
24251      intermediate register), you were supposed to define patterns for
24252      `reload_inM' or `reload_outM', as required (*note Standard
24253      Names::.  These patterns, which were normally implemented with a
24254      `define_expand', should be similar to the `movM' patterns, except
24255      that operand 2 is the scratch register.
24257      These patterns need constraints for the reload register and scratch
24258      register that contain a single register class.  If the original
24259      reload register (whose class is CLASS) can meet the constraint
24260      given in the pattern, the value returned by these macros is used
24261      for the class of the scratch register.  Otherwise, two additional
24262      reload registers are required.  Their classes are obtained from
24263      the constraints in the insn pattern.
24265      X might be a pseudo-register or a `subreg' of a pseudo-register,
24266      which could either be in a hard register or in memory.  Use
24267      `true_regnum' to find out; it will return -1 if the pseudo is in
24268      memory and the hard register number if it is in a register.
24270      These macros should not be used in the case where a particular
24271      class of registers can only be copied to memory and not to another
24272      class of registers.  In that case, secondary reload registers are
24273      not needed and would not be helpful.  Instead, a stack location
24274      must be used to perform the copy and the `movM' pattern should use
24275      memory as an intermediate storage.  This case often occurs between
24276      floating-point and general registers.
24278  -- Macro: SECONDARY_MEMORY_NEEDED (CLASS1, CLASS2, M)
24279      Certain machines have the property that some registers cannot be
24280      copied to some other registers without using memory.  Define this
24281      macro on those machines to be a C expression that is nonzero if
24282      objects of mode M in registers of CLASS1 can only be copied to
24283      registers of class CLASS2 by storing a register of CLASS1 into
24284      memory and loading that memory location into a register of CLASS2.
24286      Do not define this macro if its value would always be zero.
24288  -- Macro: SECONDARY_MEMORY_NEEDED_RTX (MODE)
24289      Normally when `SECONDARY_MEMORY_NEEDED' is defined, the compiler
24290      allocates a stack slot for a memory location needed for register
24291      copies.  If this macro is defined, the compiler instead uses the
24292      memory location defined by this macro.
24294      Do not define this macro if you do not define
24295      `SECONDARY_MEMORY_NEEDED'.
24297  -- Macro: SECONDARY_MEMORY_NEEDED_MODE (MODE)
24298      When the compiler needs a secondary memory location to copy
24299      between two registers of mode MODE, it normally allocates
24300      sufficient memory to hold a quantity of `BITS_PER_WORD' bits and
24301      performs the store and load operations in a mode that many bits
24302      wide and whose class is the same as that of MODE.
24304      This is right thing to do on most machines because it ensures that
24305      all bits of the register are copied and prevents accesses to the
24306      registers in a narrower mode, which some machines prohibit for
24307      floating-point registers.
24309      However, this default behavior is not correct on some machines,
24310      such as the DEC Alpha, that store short integers in floating-point
24311      registers differently than in integer registers.  On those
24312      machines, the default widening will not work correctly and you
24313      must define this macro to suppress that widening in some cases.
24314      See the file `alpha.h' for details.
24316      Do not define this macro if you do not define
24317      `SECONDARY_MEMORY_NEEDED' or if widening MODE to a mode that is
24318      `BITS_PER_WORD' bits wide is correct for your machine.
24320  -- Macro: SMALL_REGISTER_CLASSES
24321      On some machines, it is risky to let hard registers live across
24322      arbitrary insns.  Typically, these machines have instructions that
24323      require values to be in specific registers (like an accumulator),
24324      and reload will fail if the required hard register is used for
24325      another purpose across such an insn.
24327      Define `SMALL_REGISTER_CLASSES' to be an expression with a nonzero
24328      value on these machines.  When this macro has a nonzero value, the
24329      compiler will try to minimize the lifetime of hard registers.
24331      It is always safe to define this macro with a nonzero value, but
24332      if you unnecessarily define it, you will reduce the amount of
24333      optimizations that can be performed in some cases.  If you do not
24334      define this macro with a nonzero value when it is required, the
24335      compiler will run out of spill registers and print a fatal error
24336      message.  For most machines, you should not define this macro at
24337      all.
24339  -- Macro: CLASS_LIKELY_SPILLED_P (CLASS)
24340      A C expression whose value is nonzero if pseudos that have been
24341      assigned to registers of class CLASS would likely be spilled
24342      because registers of CLASS are needed for spill registers.
24344      The default value of this macro returns 1 if CLASS has exactly one
24345      register and zero otherwise.  On most machines, this default
24346      should be used.  Only define this macro to some other expression
24347      if pseudos allocated by `local-alloc.c' end up in memory because
24348      their hard registers were needed for spill registers.  If this
24349      macro returns nonzero for those classes, those pseudos will only
24350      be allocated by `global.c', which knows how to reallocate the
24351      pseudo to another register.  If there would not be another
24352      register available for reallocation, you should not change the
24353      definition of this macro since the only effect of such a
24354      definition would be to slow down register allocation.
24356  -- Macro: CLASS_MAX_NREGS (CLASS, MODE)
24357      A C expression for the maximum number of consecutive registers of
24358      class CLASS needed to hold a value of mode MODE.
24360      This is closely related to the macro `HARD_REGNO_NREGS'.  In fact,
24361      the value of the macro `CLASS_MAX_NREGS (CLASS, MODE)' should be
24362      the maximum value of `HARD_REGNO_NREGS (REGNO, MODE)' for all
24363      REGNO values in the class CLASS.
24365      This macro helps control the handling of multiple-word values in
24366      the reload pass.
24368  -- Macro: CANNOT_CHANGE_MODE_CLASS (FROM, TO, CLASS)
24369      If defined, a C expression that returns nonzero for a CLASS for
24370      which a change from mode FROM to mode TO is invalid.
24372      For the example, loading 32-bit integer or floating-point objects
24373      into floating-point registers on the Alpha extends them to 64 bits.
24374      Therefore loading a 64-bit object and then storing it as a 32-bit
24375      object does not store the low-order 32 bits, as would be the case
24376      for a normal register.  Therefore, `alpha.h' defines
24377      `CANNOT_CHANGE_MODE_CLASS' as below:
24379           #define CANNOT_CHANGE_MODE_CLASS(FROM, TO, CLASS) \
24380             (GET_MODE_SIZE (FROM) != GET_MODE_SIZE (TO) \
24381              ? reg_classes_intersect_p (FLOAT_REGS, (CLASS)) : 0)
24383 \x1f
24384 File: gccint.info,  Node: Old Constraints,  Next: Stack and Calling,  Prev: Register Classes,  Up: Target Macros
24386 15.9 Obsolete Macros for Defining Constraints
24387 =============================================
24389 Machine-specific constraints can be defined with these macros instead
24390 of the machine description constructs described in *Note Define
24391 Constraints::.  This mechanism is obsolete.  New ports should not use
24392 it; old ports should convert to the new mechanism.
24394  -- Macro: CONSTRAINT_LEN (CHAR, STR)
24395      For the constraint at the start of STR, which starts with the
24396      letter C, return the length.  This allows you to have register
24397      class / constant / extra constraints that are longer than a single
24398      letter; you don't need to define this macro if you can do with
24399      single-letter constraints only.  The definition of this macro
24400      should use DEFAULT_CONSTRAINT_LEN for all the characters that you
24401      don't want to handle specially.  There are some sanity checks in
24402      genoutput.c that check the constraint lengths for the md file, so
24403      you can also use this macro to help you while you are
24404      transitioning from a byzantine single-letter-constraint scheme:
24405      when you return a negative length for a constraint you want to
24406      re-use, genoutput will complain about every instance where it is
24407      used in the md file.
24409  -- Macro: REG_CLASS_FROM_LETTER (CHAR)
24410      A C expression which defines the machine-dependent operand
24411      constraint letters for register classes.  If CHAR is such a
24412      letter, the value should be the register class corresponding to
24413      it.  Otherwise, the value should be `NO_REGS'.  The register
24414      letter `r', corresponding to class `GENERAL_REGS', will not be
24415      passed to this macro; you do not need to handle it.
24417  -- Macro: REG_CLASS_FROM_CONSTRAINT (CHAR, STR)
24418      Like `REG_CLASS_FROM_LETTER', but you also get the constraint
24419      string passed in STR, so that you can use suffixes to distinguish
24420      between different variants.
24422  -- Macro: CONST_OK_FOR_LETTER_P (VALUE, C)
24423      A C expression that defines the machine-dependent operand
24424      constraint letters (`I', `J', `K', ... `P') that specify
24425      particular ranges of integer values.  If C is one of those
24426      letters, the expression should check that VALUE, an integer, is in
24427      the appropriate range and return 1 if so, 0 otherwise.  If C is
24428      not one of those letters, the value should be 0 regardless of
24429      VALUE.
24431  -- Macro: CONST_OK_FOR_CONSTRAINT_P (VALUE, C, STR)
24432      Like `CONST_OK_FOR_LETTER_P', but you also get the constraint
24433      string passed in STR, so that you can use suffixes to distinguish
24434      between different variants.
24436  -- Macro: CONST_DOUBLE_OK_FOR_LETTER_P (VALUE, C)
24437      A C expression that defines the machine-dependent operand
24438      constraint letters that specify particular ranges of
24439      `const_double' values (`G' or `H').
24441      If C is one of those letters, the expression should check that
24442      VALUE, an RTX of code `const_double', is in the appropriate range
24443      and return 1 if so, 0 otherwise.  If C is not one of those
24444      letters, the value should be 0 regardless of VALUE.
24446      `const_double' is used for all floating-point constants and for
24447      `DImode' fixed-point constants.  A given letter can accept either
24448      or both kinds of values.  It can use `GET_MODE' to distinguish
24449      between these kinds.
24451  -- Macro: CONST_DOUBLE_OK_FOR_CONSTRAINT_P (VALUE, C, STR)
24452      Like `CONST_DOUBLE_OK_FOR_LETTER_P', but you also get the
24453      constraint string passed in STR, so that you can use suffixes to
24454      distinguish between different variants.
24456  -- Macro: EXTRA_CONSTRAINT (VALUE, C)
24457      A C expression that defines the optional machine-dependent
24458      constraint letters that can be used to segregate specific types of
24459      operands, usually memory references, for the target machine.  Any
24460      letter that is not elsewhere defined and not matched by
24461      `REG_CLASS_FROM_LETTER' / `REG_CLASS_FROM_CONSTRAINT' may be used.
24462      Normally this macro will not be defined.
24464      If it is required for a particular target machine, it should
24465      return 1 if VALUE corresponds to the operand type represented by
24466      the constraint letter C.  If C is not defined as an extra
24467      constraint, the value returned should be 0 regardless of VALUE.
24469      For example, on the ROMP, load instructions cannot have their
24470      output in r0 if the memory reference contains a symbolic address.
24471      Constraint letter `Q' is defined as representing a memory address
24472      that does _not_ contain a symbolic address.  An alternative is
24473      specified with a `Q' constraint on the input and `r' on the
24474      output.  The next alternative specifies `m' on the input and a
24475      register class that does not include r0 on the output.
24477  -- Macro: EXTRA_CONSTRAINT_STR (VALUE, C, STR)
24478      Like `EXTRA_CONSTRAINT', but you also get the constraint string
24479      passed in STR, so that you can use suffixes to distinguish between
24480      different variants.
24482  -- Macro: EXTRA_MEMORY_CONSTRAINT (C, STR)
24483      A C expression that defines the optional machine-dependent
24484      constraint letters, amongst those accepted by `EXTRA_CONSTRAINT',
24485      that should be treated like memory constraints by the reload pass.
24487      It should return 1 if the operand type represented by the
24488      constraint at the start of STR, the first letter of which is the
24489      letter C,  comprises a subset of all memory references including
24490      all those whose address is simply a base register.  This allows
24491      the reload pass to reload an operand, if it does not directly
24492      correspond to the operand type of C, by copying its address into a
24493      base register.
24495      For example, on the S/390, some instructions do not accept
24496      arbitrary memory references, but only those that do not make use
24497      of an index register.  The constraint letter `Q' is defined via
24498      `EXTRA_CONSTRAINT' as representing a memory address of this type.
24499      If the letter `Q' is marked as `EXTRA_MEMORY_CONSTRAINT', a `Q'
24500      constraint can handle any memory operand, because the reload pass
24501      knows it can be reloaded by copying the memory address into a base
24502      register if required.  This is analogous to the way a `o'
24503      constraint can handle any memory operand.
24505  -- Macro: EXTRA_ADDRESS_CONSTRAINT (C, STR)
24506      A C expression that defines the optional machine-dependent
24507      constraint letters, amongst those accepted by `EXTRA_CONSTRAINT' /
24508      `EXTRA_CONSTRAINT_STR', that should be treated like address
24509      constraints by the reload pass.
24511      It should return 1 if the operand type represented by the
24512      constraint at the start of STR, which starts with the letter C,
24513      comprises a subset of all memory addresses including all those
24514      that consist of just a base register.  This allows the reload pass
24515      to reload an operand, if it does not directly correspond to the
24516      operand type of STR, by copying it into a base register.
24518      Any constraint marked as `EXTRA_ADDRESS_CONSTRAINT' can only be
24519      used with the `address_operand' predicate.  It is treated
24520      analogously to the `p' constraint.
24522 \x1f
24523 File: gccint.info,  Node: Stack and Calling,  Next: Varargs,  Prev: Old Constraints,  Up: Target Macros
24525 15.10 Stack Layout and Calling Conventions
24526 ==========================================
24528 This describes the stack layout and calling conventions.
24530 * Menu:
24532 * Frame Layout::
24533 * Exception Handling::
24534 * Stack Checking::
24535 * Frame Registers::
24536 * Elimination::
24537 * Stack Arguments::
24538 * Register Arguments::
24539 * Scalar Return::
24540 * Aggregate Return::
24541 * Caller Saves::
24542 * Function Entry::
24543 * Profiling::
24544 * Tail Calls::
24545 * Stack Smashing Protection::
24547 \x1f
24548 File: gccint.info,  Node: Frame Layout,  Next: Exception Handling,  Up: Stack and Calling
24550 15.10.1 Basic Stack Layout
24551 --------------------------
24553 Here is the basic stack layout.
24555  -- Macro: STACK_GROWS_DOWNWARD
24556      Define this macro if pushing a word onto the stack moves the stack
24557      pointer to a smaller address.
24559      When we say, "define this macro if ...", it means that the
24560      compiler checks this macro only with `#ifdef' so the precise
24561      definition used does not matter.
24563  -- Macro: STACK_PUSH_CODE
24564      This macro defines the operation used when something is pushed on
24565      the stack.  In RTL, a push operation will be `(set (mem
24566      (STACK_PUSH_CODE (reg sp))) ...)'
24568      The choices are `PRE_DEC', `POST_DEC', `PRE_INC', and `POST_INC'.
24569      Which of these is correct depends on the stack direction and on
24570      whether the stack pointer points to the last item on the stack or
24571      whether it points to the space for the next item on the stack.
24573      The default is `PRE_DEC' when `STACK_GROWS_DOWNWARD' is defined,
24574      which is almost always right, and `PRE_INC' otherwise, which is
24575      often wrong.
24577  -- Macro: FRAME_GROWS_DOWNWARD
24578      Define this macro to nonzero value if the addresses of local
24579      variable slots are at negative offsets from the frame pointer.
24581  -- Macro: ARGS_GROW_DOWNWARD
24582      Define this macro if successive arguments to a function occupy
24583      decreasing addresses on the stack.
24585  -- Macro: STARTING_FRAME_OFFSET
24586      Offset from the frame pointer to the first local variable slot to
24587      be allocated.
24589      If `FRAME_GROWS_DOWNWARD', find the next slot's offset by
24590      subtracting the first slot's length from `STARTING_FRAME_OFFSET'.
24591      Otherwise, it is found by adding the length of the first slot to
24592      the value `STARTING_FRAME_OFFSET'.
24594  -- Macro: STACK_ALIGNMENT_NEEDED
24595      Define to zero to disable final alignment of the stack during
24596      reload.  The nonzero default for this macro is suitable for most
24597      ports.
24599      On ports where `STARTING_FRAME_OFFSET' is nonzero or where there
24600      is a register save block following the local block that doesn't
24601      require alignment to `STACK_BOUNDARY', it may be beneficial to
24602      disable stack alignment and do it in the backend.
24604  -- Macro: STACK_POINTER_OFFSET
24605      Offset from the stack pointer register to the first location at
24606      which outgoing arguments are placed.  If not specified, the
24607      default value of zero is used.  This is the proper value for most
24608      machines.
24610      If `ARGS_GROW_DOWNWARD', this is the offset to the location above
24611      the first location at which outgoing arguments are placed.
24613  -- Macro: FIRST_PARM_OFFSET (FUNDECL)
24614      Offset from the argument pointer register to the first argument's
24615      address.  On some machines it may depend on the data type of the
24616      function.
24618      If `ARGS_GROW_DOWNWARD', this is the offset to the location above
24619      the first argument's address.
24621  -- Macro: STACK_DYNAMIC_OFFSET (FUNDECL)
24622      Offset from the stack pointer register to an item dynamically
24623      allocated on the stack, e.g., by `alloca'.
24625      The default value for this macro is `STACK_POINTER_OFFSET' plus the
24626      length of the outgoing arguments.  The default is correct for most
24627      machines.  See `function.c' for details.
24629  -- Macro: INITIAL_FRAME_ADDRESS_RTX
24630      A C expression whose value is RTL representing the address of the
24631      initial stack frame. This address is passed to `RETURN_ADDR_RTX'
24632      and `DYNAMIC_CHAIN_ADDRESS'.  If you don't define this macro, a
24633      reasonable default value will be used.  Define this macro in order
24634      to make frame pointer elimination work in the presence of
24635      `__builtin_frame_address (count)' and `__builtin_return_address
24636      (count)' for `count' not equal to zero.
24638  -- Macro: DYNAMIC_CHAIN_ADDRESS (FRAMEADDR)
24639      A C expression whose value is RTL representing the address in a
24640      stack frame where the pointer to the caller's frame is stored.
24641      Assume that FRAMEADDR is an RTL expression for the address of the
24642      stack frame itself.
24644      If you don't define this macro, the default is to return the value
24645      of FRAMEADDR--that is, the stack frame address is also the address
24646      of the stack word that points to the previous frame.
24648  -- Macro: SETUP_FRAME_ADDRESSES
24649      If defined, a C expression that produces the machine-specific code
24650      to setup the stack so that arbitrary frames can be accessed.  For
24651      example, on the SPARC, we must flush all of the register windows
24652      to the stack before we can access arbitrary stack frames.  You
24653      will seldom need to define this macro.
24655  -- Target Hook: bool TARGET_BUILTIN_SETJMP_FRAME_VALUE ()
24656      This target hook should return an rtx that is used to store the
24657      address of the current frame into the built in `setjmp' buffer.
24658      The default value, `virtual_stack_vars_rtx', is correct for most
24659      machines.  One reason you may need to define this target hook is if
24660      `hard_frame_pointer_rtx' is the appropriate value on your machine.
24662  -- Macro: FRAME_ADDR_RTX (FRAMEADDR)
24663      A C expression whose value is RTL representing the value of the
24664      frame address for the current frame.  FRAMEADDR is the frame
24665      pointer of the current frame.  This is used for
24666      __builtin_frame_address.  You need only define this macro if the
24667      frame address is not the same as the frame pointer.  Most machines
24668      do not need to define it.
24670  -- Macro: RETURN_ADDR_RTX (COUNT, FRAMEADDR)
24671      A C expression whose value is RTL representing the value of the
24672      return address for the frame COUNT steps up from the current
24673      frame, after the prologue.  FRAMEADDR is the frame pointer of the
24674      COUNT frame, or the frame pointer of the COUNT - 1 frame if
24675      `RETURN_ADDR_IN_PREVIOUS_FRAME' is defined.
24677      The value of the expression must always be the correct address when
24678      COUNT is zero, but may be `NULL_RTX' if there is not way to
24679      determine the return address of other frames.
24681  -- Macro: RETURN_ADDR_IN_PREVIOUS_FRAME
24682      Define this if the return address of a particular stack frame is
24683      accessed from the frame pointer of the previous stack frame.
24685  -- Macro: INCOMING_RETURN_ADDR_RTX
24686      A C expression whose value is RTL representing the location of the
24687      incoming return address at the beginning of any function, before
24688      the prologue.  This RTL is either a `REG', indicating that the
24689      return value is saved in `REG', or a `MEM' representing a location
24690      in the stack.
24692      You only need to define this macro if you want to support call
24693      frame debugging information like that provided by DWARF 2.
24695      If this RTL is a `REG', you should also define
24696      `DWARF_FRAME_RETURN_COLUMN' to `DWARF_FRAME_REGNUM (REGNO)'.
24698  -- Macro: DWARF_ALT_FRAME_RETURN_COLUMN
24699      A C expression whose value is an integer giving a DWARF 2 column
24700      number that may be used as an alternative return column.  The
24701      column must not correspond to any gcc hard register (that is, it
24702      must not be in the range of `DWARF_FRAME_REGNUM').
24704      This macro can be useful if `DWARF_FRAME_RETURN_COLUMN' is set to a
24705      general register, but an alternative column needs to be used for
24706      signal frames.  Some targets have also used different frame return
24707      columns over time.
24709  -- Macro: DWARF_ZERO_REG
24710      A C expression whose value is an integer giving a DWARF 2 register
24711      number that is considered to always have the value zero.  This
24712      should only be defined if the target has an architected zero
24713      register, and someone decided it was a good idea to use that
24714      register number to terminate the stack backtrace.  New ports
24715      should avoid this.
24717  -- Target Hook: void TARGET_DWARF_HANDLE_FRAME_UNSPEC (const char
24718           *LABEL, rtx PATTERN, int INDEX)
24719      This target hook allows the backend to emit frame-related insns
24720      that contain UNSPECs or UNSPEC_VOLATILEs.  The DWARF 2 call frame
24721      debugging info engine will invoke it on insns of the form
24722           (set (reg) (unspec [...] UNSPEC_INDEX))
24723      and
24724           (set (reg) (unspec_volatile [...] UNSPECV_INDEX)).
24725      to let the backend emit the call frame instructions.  LABEL is the
24726      CFI label attached to the insn, PATTERN is the pattern of the insn
24727      and INDEX is `UNSPEC_INDEX' or `UNSPECV_INDEX'.
24729  -- Macro: INCOMING_FRAME_SP_OFFSET
24730      A C expression whose value is an integer giving the offset, in
24731      bytes, from the value of the stack pointer register to the top of
24732      the stack frame at the beginning of any function, before the
24733      prologue.  The top of the frame is defined to be the value of the
24734      stack pointer in the previous frame, just before the call
24735      instruction.
24737      You only need to define this macro if you want to support call
24738      frame debugging information like that provided by DWARF 2.
24740  -- Macro: ARG_POINTER_CFA_OFFSET (FUNDECL)
24741      A C expression whose value is an integer giving the offset, in
24742      bytes, from the argument pointer to the canonical frame address
24743      (cfa).  The final value should coincide with that calculated by
24744      `INCOMING_FRAME_SP_OFFSET'.  Which is unfortunately not usable
24745      during virtual register instantiation.
24747      The default value for this macro is `FIRST_PARM_OFFSET (fundecl)',
24748      which is correct for most machines; in general, the arguments are
24749      found immediately before the stack frame.  Note that this is not
24750      the case on some targets that save registers into the caller's
24751      frame, such as SPARC and rs6000, and so such targets need to
24752      define this macro.
24754      You only need to define this macro if the default is incorrect,
24755      and you want to support call frame debugging information like that
24756      provided by DWARF 2.
24758  -- Macro: FRAME_POINTER_CFA_OFFSET (FUNDECL)
24759      If defined, a C expression whose value is an integer giving the
24760      offset in bytes from the frame pointer to the canonical frame
24761      address (cfa).  The final value should coincide with that
24762      calculated by `INCOMING_FRAME_SP_OFFSET'.
24764      Normally the CFA is calculated as an offset from the argument
24765      pointer, via `ARG_POINTER_CFA_OFFSET', but if the argument pointer
24766      is variable due to the ABI, this may not be possible.  If this
24767      macro is defined, it implies that the virtual register
24768      instantiation should be based on the frame pointer instead of the
24769      argument pointer.  Only one of `FRAME_POINTER_CFA_OFFSET' and
24770      `ARG_POINTER_CFA_OFFSET' should be defined.
24772  -- Macro: CFA_FRAME_BASE_OFFSET (FUNDECL)
24773      If defined, a C expression whose value is an integer giving the
24774      offset in bytes from the canonical frame address (cfa) to the
24775      frame base used in DWARF 2 debug information.  The default is
24776      zero.  A different value may reduce the size of debug information
24777      on some ports.
24779 \x1f
24780 File: gccint.info,  Node: Exception Handling,  Next: Stack Checking,  Prev: Frame Layout,  Up: Stack and Calling
24782 15.10.2 Exception Handling Support
24783 ----------------------------------
24785  -- Macro: EH_RETURN_DATA_REGNO (N)
24786      A C expression whose value is the Nth register number used for
24787      data by exception handlers, or `INVALID_REGNUM' if fewer than N
24788      registers are usable.
24790      The exception handling library routines communicate with the
24791      exception handlers via a set of agreed upon registers.  Ideally
24792      these registers should be call-clobbered; it is possible to use
24793      call-saved registers, but may negatively impact code size.  The
24794      target must support at least 2 data registers, but should define 4
24795      if there are enough free registers.
24797      You must define this macro if you want to support call frame
24798      exception handling like that provided by DWARF 2.
24800  -- Macro: EH_RETURN_STACKADJ_RTX
24801      A C expression whose value is RTL representing a location in which
24802      to store a stack adjustment to be applied before function return.
24803      This is used to unwind the stack to an exception handler's call
24804      frame.  It will be assigned zero on code paths that return
24805      normally.
24807      Typically this is a call-clobbered hard register that is otherwise
24808      untouched by the epilogue, but could also be a stack slot.
24810      Do not define this macro if the stack pointer is saved and restored
24811      by the regular prolog and epilog code in the call frame itself; in
24812      this case, the exception handling library routines will update the
24813      stack location to be restored in place.  Otherwise, you must define
24814      this macro if you want to support call frame exception handling
24815      like that provided by DWARF 2.
24817  -- Macro: EH_RETURN_HANDLER_RTX
24818      A C expression whose value is RTL representing a location in which
24819      to store the address of an exception handler to which we should
24820      return.  It will not be assigned on code paths that return
24821      normally.
24823      Typically this is the location in the call frame at which the
24824      normal return address is stored.  For targets that return by
24825      popping an address off the stack, this might be a memory address
24826      just below the _target_ call frame rather than inside the current
24827      call frame.  If defined, `EH_RETURN_STACKADJ_RTX' will have already
24828      been assigned, so it may be used to calculate the location of the
24829      target call frame.
24831      Some targets have more complex requirements than storing to an
24832      address calculable during initial code generation.  In that case
24833      the `eh_return' instruction pattern should be used instead.
24835      If you want to support call frame exception handling, you must
24836      define either this macro or the `eh_return' instruction pattern.
24838  -- Macro: RETURN_ADDR_OFFSET
24839      If defined, an integer-valued C expression for which rtl will be
24840      generated to add it to the exception handler address before it is
24841      searched in the exception handling tables, and to subtract it
24842      again from the address before using it to return to the exception
24843      handler.
24845  -- Macro: ASM_PREFERRED_EH_DATA_FORMAT (CODE, GLOBAL)
24846      This macro chooses the encoding of pointers embedded in the
24847      exception handling sections.  If at all possible, this should be
24848      defined such that the exception handling section will not require
24849      dynamic relocations, and so may be read-only.
24851      CODE is 0 for data, 1 for code labels, 2 for function pointers.
24852      GLOBAL is true if the symbol may be affected by dynamic
24853      relocations.  The macro should return a combination of the
24854      `DW_EH_PE_*' defines as found in `dwarf2.h'.
24856      If this macro is not defined, pointers will not be encoded but
24857      represented directly.
24859  -- Macro: ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX (FILE, ENCODING, SIZE,
24860           ADDR, DONE)
24861      This macro allows the target to emit whatever special magic is
24862      required to represent the encoding chosen by
24863      `ASM_PREFERRED_EH_DATA_FORMAT'.  Generic code takes care of
24864      pc-relative and indirect encodings; this must be defined if the
24865      target uses text-relative or data-relative encodings.
24867      This is a C statement that branches to DONE if the format was
24868      handled.  ENCODING is the format chosen, SIZE is the number of
24869      bytes that the format occupies, ADDR is the `SYMBOL_REF' to be
24870      emitted.
24872  -- Macro: MD_UNWIND_SUPPORT
24873      A string specifying a file to be #include'd in unwind-dw2.c.  The
24874      file so included typically defines `MD_FALLBACK_FRAME_STATE_FOR'.
24876  -- Macro: MD_FALLBACK_FRAME_STATE_FOR (CONTEXT, FS)
24877      This macro allows the target to add CPU and operating system
24878      specific code to the call-frame unwinder for use when there is no
24879      unwind data available.  The most common reason to implement this
24880      macro is to unwind through signal frames.
24882      This macro is called from `uw_frame_state_for' in `unwind-dw2.c',
24883      `unwind-dw2-xtensa.c' and `unwind-ia64.c'.  CONTEXT is an
24884      `_Unwind_Context'; FS is an `_Unwind_FrameState'.  Examine
24885      `context->ra' for the address of the code being executed and
24886      `context->cfa' for the stack pointer value.  If the frame can be
24887      decoded, the register save addresses should be updated in FS and
24888      the macro should evaluate to `_URC_NO_REASON'.  If the frame
24889      cannot be decoded, the macro should evaluate to
24890      `_URC_END_OF_STACK'.
24892      For proper signal handling in Java this macro is accompanied by
24893      `MAKE_THROW_FRAME', defined in `libjava/include/*-signal.h'
24894      headers.
24896  -- Macro: MD_HANDLE_UNWABI (CONTEXT, FS)
24897      This macro allows the target to add operating system specific code
24898      to the call-frame unwinder to handle the IA-64 `.unwabi' unwinding
24899      directive, usually used for signal or interrupt frames.
24901      This macro is called from `uw_update_context' in `unwind-ia64.c'.
24902      CONTEXT is an `_Unwind_Context'; FS is an `_Unwind_FrameState'.
24903      Examine `fs->unwabi' for the abi and context in the `.unwabi'
24904      directive.  If the `.unwabi' directive can be handled, the
24905      register save addresses should be updated in FS.
24907  -- Macro: TARGET_USES_WEAK_UNWIND_INFO
24908      A C expression that evaluates to true if the target requires unwind
24909      info to be given comdat linkage.  Define it to be `1' if comdat
24910      linkage is necessary.  The default is `0'.
24912 \x1f
24913 File: gccint.info,  Node: Stack Checking,  Next: Frame Registers,  Prev: Exception Handling,  Up: Stack and Calling
24915 15.10.3 Specifying How Stack Checking is Done
24916 ---------------------------------------------
24918 GCC will check that stack references are within the boundaries of the
24919 stack, if the `-fstack-check' is specified, in one of three ways:
24921   1. If the value of the `STACK_CHECK_BUILTIN' macro is nonzero, GCC
24922      will assume that you have arranged for stack checking to be done at
24923      appropriate places in the configuration files, e.g., in
24924      `TARGET_ASM_FUNCTION_PROLOGUE'.  GCC will do not other special
24925      processing.
24927   2. If `STACK_CHECK_BUILTIN' is zero and you defined a named pattern
24928      called `check_stack' in your `md' file, GCC will call that pattern
24929      with one argument which is the address to compare the stack value
24930      against.  You must arrange for this pattern to report an error if
24931      the stack pointer is out of range.
24933   3. If neither of the above are true, GCC will generate code to
24934      periodically "probe" the stack pointer using the values of the
24935      macros defined below.
24937  Normally, you will use the default values of these macros, so GCC will
24938 use the third approach.
24940  -- Macro: STACK_CHECK_BUILTIN
24941      A nonzero value if stack checking is done by the configuration
24942      files in a machine-dependent manner.  You should define this macro
24943      if stack checking is require by the ABI of your machine or if you
24944      would like to have to stack checking in some more efficient way
24945      than GCC's portable approach.  The default value of this macro is
24946      zero.
24948  -- Macro: STACK_CHECK_PROBE_INTERVAL
24949      An integer representing the interval at which GCC must generate
24950      stack probe instructions.  You will normally define this macro to
24951      be no larger than the size of the "guard pages" at the end of a
24952      stack area.  The default value of 4096 is suitable for most
24953      systems.
24955  -- Macro: STACK_CHECK_PROBE_LOAD
24956      A integer which is nonzero if GCC should perform the stack probe
24957      as a load instruction and zero if GCC should use a store
24958      instruction.  The default is zero, which is the most efficient
24959      choice on most systems.
24961  -- Macro: STACK_CHECK_PROTECT
24962      The number of bytes of stack needed to recover from a stack
24963      overflow, for languages where such a recovery is supported.  The
24964      default value of 75 words should be adequate for most machines.
24966  -- Macro: STACK_CHECK_MAX_FRAME_SIZE
24967      The maximum size of a stack frame, in bytes.  GCC will generate
24968      probe instructions in non-leaf functions to ensure at least this
24969      many bytes of stack are available.  If a stack frame is larger
24970      than this size, stack checking will not be reliable and GCC will
24971      issue a warning.  The default is chosen so that GCC only generates
24972      one instruction on most systems.  You should normally not change
24973      the default value of this macro.
24975  -- Macro: STACK_CHECK_FIXED_FRAME_SIZE
24976      GCC uses this value to generate the above warning message.  It
24977      represents the amount of fixed frame used by a function, not
24978      including space for any callee-saved registers, temporaries and
24979      user variables.  You need only specify an upper bound for this
24980      amount and will normally use the default of four words.
24982  -- Macro: STACK_CHECK_MAX_VAR_SIZE
24983      The maximum size, in bytes, of an object that GCC will place in the
24984      fixed area of the stack frame when the user specifies
24985      `-fstack-check'.  GCC computed the default from the values of the
24986      above macros and you will normally not need to override that
24987      default.
24989 \x1f
24990 File: gccint.info,  Node: Frame Registers,  Next: Elimination,  Prev: Stack Checking,  Up: Stack and Calling
24992 15.10.4 Registers That Address the Stack Frame
24993 ----------------------------------------------
24995 This discusses registers that address the stack frame.
24997  -- Macro: STACK_POINTER_REGNUM
24998      The register number of the stack pointer register, which must also
24999      be a fixed register according to `FIXED_REGISTERS'.  On most
25000      machines, the hardware determines which register this is.
25002  -- Macro: FRAME_POINTER_REGNUM
25003      The register number of the frame pointer register, which is used to
25004      access automatic variables in the stack frame.  On some machines,
25005      the hardware determines which register this is.  On other
25006      machines, you can choose any register you wish for this purpose.
25008  -- Macro: HARD_FRAME_POINTER_REGNUM
25009      On some machines the offset between the frame pointer and starting
25010      offset of the automatic variables is not known until after register
25011      allocation has been done (for example, because the saved registers
25012      are between these two locations).  On those machines, define
25013      `FRAME_POINTER_REGNUM' the number of a special, fixed register to
25014      be used internally until the offset is known, and define
25015      `HARD_FRAME_POINTER_REGNUM' to be the actual hard register number
25016      used for the frame pointer.
25018      You should define this macro only in the very rare circumstances
25019      when it is not possible to calculate the offset between the frame
25020      pointer and the automatic variables until after register
25021      allocation has been completed.  When this macro is defined, you
25022      must also indicate in your definition of `ELIMINABLE_REGS' how to
25023      eliminate `FRAME_POINTER_REGNUM' into either
25024      `HARD_FRAME_POINTER_REGNUM' or `STACK_POINTER_REGNUM'.
25026      Do not define this macro if it would be the same as
25027      `FRAME_POINTER_REGNUM'.
25029  -- Macro: ARG_POINTER_REGNUM
25030      The register number of the arg pointer register, which is used to
25031      access the function's argument list.  On some machines, this is
25032      the same as the frame pointer register.  On some machines, the
25033      hardware determines which register this is.  On other machines,
25034      you can choose any register you wish for this purpose.  If this is
25035      not the same register as the frame pointer register, then you must
25036      mark it as a fixed register according to `FIXED_REGISTERS', or
25037      arrange to be able to eliminate it (*note Elimination::).
25039  -- Macro: RETURN_ADDRESS_POINTER_REGNUM
25040      The register number of the return address pointer register, which
25041      is used to access the current function's return address from the
25042      stack.  On some machines, the return address is not at a fixed
25043      offset from the frame pointer or stack pointer or argument
25044      pointer.  This register can be defined to point to the return
25045      address on the stack, and then be converted by `ELIMINABLE_REGS'
25046      into either the frame pointer or stack pointer.
25048      Do not define this macro unless there is no other way to get the
25049      return address from the stack.
25051  -- Macro: STATIC_CHAIN_REGNUM
25052  -- Macro: STATIC_CHAIN_INCOMING_REGNUM
25053      Register numbers used for passing a function's static chain
25054      pointer.  If register windows are used, the register number as
25055      seen by the called function is `STATIC_CHAIN_INCOMING_REGNUM',
25056      while the register number as seen by the calling function is
25057      `STATIC_CHAIN_REGNUM'.  If these registers are the same,
25058      `STATIC_CHAIN_INCOMING_REGNUM' need not be defined.
25060      The static chain register need not be a fixed register.
25062      If the static chain is passed in memory, these macros should not be
25063      defined; instead, the next two macros should be defined.
25065  -- Macro: STATIC_CHAIN
25066  -- Macro: STATIC_CHAIN_INCOMING
25067      If the static chain is passed in memory, these macros provide rtx
25068      giving `mem' expressions that denote where they are stored.
25069      `STATIC_CHAIN' and `STATIC_CHAIN_INCOMING' give the locations as
25070      seen by the calling and called functions, respectively.  Often the
25071      former will be at an offset from the stack pointer and the latter
25072      at an offset from the frame pointer.
25074      The variables `stack_pointer_rtx', `frame_pointer_rtx', and
25075      `arg_pointer_rtx' will have been initialized prior to the use of
25076      these macros and should be used to refer to those items.
25078      If the static chain is passed in a register, the two previous
25079      macros should be defined instead.
25081  -- Macro: DWARF_FRAME_REGISTERS
25082      This macro specifies the maximum number of hard registers that can
25083      be saved in a call frame.  This is used to size data structures
25084      used in DWARF2 exception handling.
25086      Prior to GCC 3.0, this macro was needed in order to establish a
25087      stable exception handling ABI in the face of adding new hard
25088      registers for ISA extensions.  In GCC 3.0 and later, the EH ABI is
25089      insulated from changes in the number of hard registers.
25090      Nevertheless, this macro can still be used to reduce the runtime
25091      memory requirements of the exception handling routines, which can
25092      be substantial if the ISA contains a lot of registers that are not
25093      call-saved.
25095      If this macro is not defined, it defaults to
25096      `FIRST_PSEUDO_REGISTER'.
25098  -- Macro: PRE_GCC3_DWARF_FRAME_REGISTERS
25099      This macro is similar to `DWARF_FRAME_REGISTERS', but is provided
25100      for backward compatibility in pre GCC 3.0 compiled code.
25102      If this macro is not defined, it defaults to
25103      `DWARF_FRAME_REGISTERS'.
25105  -- Macro: DWARF_REG_TO_UNWIND_COLUMN (REGNO)
25106      Define this macro if the target's representation for dwarf
25107      registers is different than the internal representation for unwind
25108      column.  Given a dwarf register, this macro should return the
25109      internal unwind column number to use instead.
25111      See the PowerPC's SPE target for an example.
25113  -- Macro: DWARF_FRAME_REGNUM (REGNO)
25114      Define this macro if the target's representation for dwarf
25115      registers used in .eh_frame or .debug_frame is different from that
25116      used in other debug info sections.  Given a GCC hard register
25117      number, this macro should return the .eh_frame register number.
25118      The default is `DBX_REGISTER_NUMBER (REGNO)'.
25121  -- Macro: DWARF2_FRAME_REG_OUT (REGNO, FOR_EH)
25122      Define this macro to map register numbers held in the call frame
25123      info that GCC has collected using `DWARF_FRAME_REGNUM' to those
25124      that should be output in .debug_frame (`FOR_EH' is zero) and
25125      .eh_frame (`FOR_EH' is nonzero).  The default is to return `REGNO'.
25128 \x1f
25129 File: gccint.info,  Node: Elimination,  Next: Stack Arguments,  Prev: Frame Registers,  Up: Stack and Calling
25131 15.10.5 Eliminating Frame Pointer and Arg Pointer
25132 -------------------------------------------------
25134 This is about eliminating the frame pointer and arg pointer.
25136  -- Macro: FRAME_POINTER_REQUIRED
25137      A C expression which is nonzero if a function must have and use a
25138      frame pointer.  This expression is evaluated  in the reload pass.
25139      If its value is nonzero the function will have a frame pointer.
25141      The expression can in principle examine the current function and
25142      decide according to the facts, but on most machines the constant 0
25143      or the constant 1 suffices.  Use 0 when the machine allows code to
25144      be generated with no frame pointer, and doing so saves some time
25145      or space.  Use 1 when there is no possible advantage to avoiding a
25146      frame pointer.
25148      In certain cases, the compiler does not know how to produce valid
25149      code without a frame pointer.  The compiler recognizes those cases
25150      and automatically gives the function a frame pointer regardless of
25151      what `FRAME_POINTER_REQUIRED' says.  You don't need to worry about
25152      them.
25154      In a function that does not require a frame pointer, the frame
25155      pointer register can be allocated for ordinary usage, unless you
25156      mark it as a fixed register.  See `FIXED_REGISTERS' for more
25157      information.
25159  -- Macro: INITIAL_FRAME_POINTER_OFFSET (DEPTH-VAR)
25160      A C statement to store in the variable DEPTH-VAR the difference
25161      between the frame pointer and the stack pointer values immediately
25162      after the function prologue.  The value would be computed from
25163      information such as the result of `get_frame_size ()' and the
25164      tables of registers `regs_ever_live' and `call_used_regs'.
25166      If `ELIMINABLE_REGS' is defined, this macro will be not be used and
25167      need not be defined.  Otherwise, it must be defined even if
25168      `FRAME_POINTER_REQUIRED' is defined to always be true; in that
25169      case, you may set DEPTH-VAR to anything.
25171  -- Macro: ELIMINABLE_REGS
25172      If defined, this macro specifies a table of register pairs used to
25173      eliminate unneeded registers that point into the stack frame.  If
25174      it is not defined, the only elimination attempted by the compiler
25175      is to replace references to the frame pointer with references to
25176      the stack pointer.
25178      The definition of this macro is a list of structure
25179      initializations, each of which specifies an original and
25180      replacement register.
25182      On some machines, the position of the argument pointer is not
25183      known until the compilation is completed.  In such a case, a
25184      separate hard register must be used for the argument pointer.
25185      This register can be eliminated by replacing it with either the
25186      frame pointer or the argument pointer, depending on whether or not
25187      the frame pointer has been eliminated.
25189      In this case, you might specify:
25190           #define ELIMINABLE_REGS  \
25191           {{ARG_POINTER_REGNUM, STACK_POINTER_REGNUM}, \
25192            {ARG_POINTER_REGNUM, FRAME_POINTER_REGNUM}, \
25193            {FRAME_POINTER_REGNUM, STACK_POINTER_REGNUM}}
25195      Note that the elimination of the argument pointer with the stack
25196      pointer is specified first since that is the preferred elimination.
25198  -- Macro: CAN_ELIMINATE (FROM-REG, TO-REG)
25199      A C expression that returns nonzero if the compiler is allowed to
25200      try to replace register number FROM-REG with register number
25201      TO-REG.  This macro need only be defined if `ELIMINABLE_REGS' is
25202      defined, and will usually be the constant 1, since most of the
25203      cases preventing register elimination are things that the compiler
25204      already knows about.
25206  -- Macro: INITIAL_ELIMINATION_OFFSET (FROM-REG, TO-REG, OFFSET-VAR)
25207      This macro is similar to `INITIAL_FRAME_POINTER_OFFSET'.  It
25208      specifies the initial difference between the specified pair of
25209      registers.  This macro must be defined if `ELIMINABLE_REGS' is
25210      defined.
25212 \x1f
25213 File: gccint.info,  Node: Stack Arguments,  Next: Register Arguments,  Prev: Elimination,  Up: Stack and Calling
25215 15.10.6 Passing Function Arguments on the Stack
25216 -----------------------------------------------
25218 The macros in this section control how arguments are passed on the
25219 stack.  See the following section for other macros that control passing
25220 certain arguments in registers.
25222  -- Target Hook: bool TARGET_PROMOTE_PROTOTYPES (tree FNTYPE)
25223      This target hook returns `true' if an argument declared in a
25224      prototype as an integral type smaller than `int' should actually be
25225      passed as an `int'.  In addition to avoiding errors in certain
25226      cases of mismatch, it also makes for better code on certain
25227      machines.  The default is to not promote prototypes.
25229  -- Macro: PUSH_ARGS
25230      A C expression.  If nonzero, push insns will be used to pass
25231      outgoing arguments.  If the target machine does not have a push
25232      instruction, set it to zero.  That directs GCC to use an alternate
25233      strategy: to allocate the entire argument block and then store the
25234      arguments into it.  When `PUSH_ARGS' is nonzero, `PUSH_ROUNDING'
25235      must be defined too.
25237  -- Macro: PUSH_ARGS_REVERSED
25238      A C expression.  If nonzero, function arguments will be evaluated
25239      from last to first, rather than from first to last.  If this macro
25240      is not defined, it defaults to `PUSH_ARGS' on targets where the
25241      stack and args grow in opposite directions, and 0 otherwise.
25243  -- Macro: PUSH_ROUNDING (NPUSHED)
25244      A C expression that is the number of bytes actually pushed onto the
25245      stack when an instruction attempts to push NPUSHED bytes.
25247      On some machines, the definition
25249           #define PUSH_ROUNDING(BYTES) (BYTES)
25251      will suffice.  But on other machines, instructions that appear to
25252      push one byte actually push two bytes in an attempt to maintain
25253      alignment.  Then the definition should be
25255           #define PUSH_ROUNDING(BYTES) (((BYTES) + 1) & ~1)
25257  -- Macro: ACCUMULATE_OUTGOING_ARGS
25258      A C expression.  If nonzero, the maximum amount of space required
25259      for outgoing arguments will be computed and placed into the
25260      variable `current_function_outgoing_args_size'.  No space will be
25261      pushed onto the stack for each call; instead, the function
25262      prologue should increase the stack frame size by this amount.
25264      Setting both `PUSH_ARGS' and `ACCUMULATE_OUTGOING_ARGS' is not
25265      proper.
25267  -- Macro: REG_PARM_STACK_SPACE (FNDECL)
25268      Define this macro if functions should assume that stack space has
25269      been allocated for arguments even when their values are passed in
25270      registers.
25272      The value of this macro is the size, in bytes, of the area
25273      reserved for arguments passed in registers for the function
25274      represented by FNDECL, which can be zero if GCC is calling a
25275      library function.
25277      This space can be allocated by the caller, or be a part of the
25278      machine-dependent stack frame: `OUTGOING_REG_PARM_STACK_SPACE' says
25279      which.
25281  -- Macro: OUTGOING_REG_PARM_STACK_SPACE
25282      Define this to a nonzero value if it is the responsibility of the
25283      caller to allocate the area reserved for arguments passed in
25284      registers.
25286      If `ACCUMULATE_OUTGOING_ARGS' is defined, this macro controls
25287      whether the space for these arguments counts in the value of
25288      `current_function_outgoing_args_size'.
25290  -- Macro: STACK_PARMS_IN_REG_PARM_AREA
25291      Define this macro if `REG_PARM_STACK_SPACE' is defined, but the
25292      stack parameters don't skip the area specified by it.
25294      Normally, when a parameter is not passed in registers, it is
25295      placed on the stack beyond the `REG_PARM_STACK_SPACE' area.
25296      Defining this macro suppresses this behavior and causes the
25297      parameter to be passed on the stack in its natural location.
25299  -- Macro: RETURN_POPS_ARGS (FUNDECL, FUNTYPE, STACK-SIZE)
25300      A C expression that should indicate the number of bytes of its own
25301      arguments that a function pops on returning, or 0 if the function
25302      pops no arguments and the caller must therefore pop them all after
25303      the function returns.
25305      FUNDECL is a C variable whose value is a tree node that describes
25306      the function in question.  Normally it is a node of type
25307      `FUNCTION_DECL' that describes the declaration of the function.
25308      From this you can obtain the `DECL_ATTRIBUTES' of the function.
25310      FUNTYPE is a C variable whose value is a tree node that describes
25311      the function in question.  Normally it is a node of type
25312      `FUNCTION_TYPE' that describes the data type of the function.
25313      From this it is possible to obtain the data types of the value and
25314      arguments (if known).
25316      When a call to a library function is being considered, FUNDECL
25317      will contain an identifier node for the library function.  Thus, if
25318      you need to distinguish among various library functions, you can
25319      do so by their names.  Note that "library function" in this
25320      context means a function used to perform arithmetic, whose name is
25321      known specially in the compiler and was not mentioned in the C
25322      code being compiled.
25324      STACK-SIZE is the number of bytes of arguments passed on the
25325      stack.  If a variable number of bytes is passed, it is zero, and
25326      argument popping will always be the responsibility of the calling
25327      function.
25329      On the VAX, all functions always pop their arguments, so the
25330      definition of this macro is STACK-SIZE.  On the 68000, using the
25331      standard calling convention, no functions pop their arguments, so
25332      the value of the macro is always 0 in this case.  But an
25333      alternative calling convention is available in which functions
25334      that take a fixed number of arguments pop them but other functions
25335      (such as `printf') pop nothing (the caller pops all).  When this
25336      convention is in use, FUNTYPE is examined to determine whether a
25337      function takes a fixed number of arguments.
25339  -- Macro: CALL_POPS_ARGS (CUM)
25340      A C expression that should indicate the number of bytes a call
25341      sequence pops off the stack.  It is added to the value of
25342      `RETURN_POPS_ARGS' when compiling a function call.
25344      CUM is the variable in which all arguments to the called function
25345      have been accumulated.
25347      On certain architectures, such as the SH5, a call trampoline is
25348      used that pops certain registers off the stack, depending on the
25349      arguments that have been passed to the function.  Since this is a
25350      property of the call site, not of the called function,
25351      `RETURN_POPS_ARGS' is not appropriate.
25353 \x1f
25354 File: gccint.info,  Node: Register Arguments,  Next: Scalar Return,  Prev: Stack Arguments,  Up: Stack and Calling
25356 15.10.7 Passing Arguments in Registers
25357 --------------------------------------
25359 This section describes the macros which let you control how various
25360 types of arguments are passed in registers or how they are arranged in
25361 the stack.
25363  -- Macro: FUNCTION_ARG (CUM, MODE, TYPE, NAMED)
25364      A C expression that controls whether a function argument is passed
25365      in a register, and which register.
25367      The arguments are CUM, which summarizes all the previous
25368      arguments; MODE, the machine mode of the argument; TYPE, the data
25369      type of the argument as a tree node or 0 if that is not known
25370      (which happens for C support library functions); and NAMED, which
25371      is 1 for an ordinary argument and 0 for nameless arguments that
25372      correspond to `...' in the called function's prototype.  TYPE can
25373      be an incomplete type if a syntax error has previously occurred.
25375      The value of the expression is usually either a `reg' RTX for the
25376      hard register in which to pass the argument, or zero to pass the
25377      argument on the stack.
25379      For machines like the VAX and 68000, where normally all arguments
25380      are pushed, zero suffices as a definition.
25382      The value of the expression can also be a `parallel' RTX.  This is
25383      used when an argument is passed in multiple locations.  The mode
25384      of the `parallel' should be the mode of the entire argument.  The
25385      `parallel' holds any number of `expr_list' pairs; each one
25386      describes where part of the argument is passed.  In each
25387      `expr_list' the first operand must be a `reg' RTX for the hard
25388      register in which to pass this part of the argument, and the mode
25389      of the register RTX indicates how large this part of the argument
25390      is.  The second operand of the `expr_list' is a `const_int' which
25391      gives the offset in bytes into the entire argument of where this
25392      part starts.  As a special exception the first `expr_list' in the
25393      `parallel' RTX may have a first operand of zero.  This indicates
25394      that the entire argument is also stored on the stack.
25396      The last time this macro is called, it is called with `MODE ==
25397      VOIDmode', and its result is passed to the `call' or `call_value'
25398      pattern as operands 2 and 3 respectively.
25400      The usual way to make the ISO library `stdarg.h' work on a machine
25401      where some arguments are usually passed in registers, is to cause
25402      nameless arguments to be passed on the stack instead.  This is done
25403      by making `FUNCTION_ARG' return 0 whenever NAMED is 0.
25405      You may use the hook `targetm.calls.must_pass_in_stack' in the
25406      definition of this macro to determine if this argument is of a
25407      type that must be passed in the stack.  If `REG_PARM_STACK_SPACE'
25408      is not defined and `FUNCTION_ARG' returns nonzero for such an
25409      argument, the compiler will abort.  If `REG_PARM_STACK_SPACE' is
25410      defined, the argument will be computed in the stack and then
25411      loaded into a register.
25413  -- Target Hook: bool TARGET_MUST_PASS_IN_STACK (enum machine_mode
25414           MODE, tree TYPE)
25415      This target hook should return `true' if we should not pass TYPE
25416      solely in registers.  The file `expr.h' defines a definition that
25417      is usually appropriate, refer to `expr.h' for additional
25418      documentation.
25420  -- Macro: FUNCTION_INCOMING_ARG (CUM, MODE, TYPE, NAMED)
25421      Define this macro if the target machine has "register windows", so
25422      that the register in which a function sees an arguments is not
25423      necessarily the same as the one in which the caller passed the
25424      argument.
25426      For such machines, `FUNCTION_ARG' computes the register in which
25427      the caller passes the value, and `FUNCTION_INCOMING_ARG' should be
25428      defined in a similar fashion to tell the function being called
25429      where the arguments will arrive.
25431      If `FUNCTION_INCOMING_ARG' is not defined, `FUNCTION_ARG' serves
25432      both purposes.
25434  -- Target Hook: int TARGET_ARG_PARTIAL_BYTES (CUMULATIVE_ARGS *CUM,
25435           enum machine_mode MODE, tree TYPE, bool NAMED)
25436      This target hook returns the number of bytes at the beginning of an
25437      argument that must be put in registers.  The value must be zero for
25438      arguments that are passed entirely in registers or that are
25439      entirely pushed on the stack.
25441      On some machines, certain arguments must be passed partially in
25442      registers and partially in memory.  On these machines, typically
25443      the first few words of arguments are passed in registers, and the
25444      rest on the stack.  If a multi-word argument (a `double' or a
25445      structure) crosses that boundary, its first few words must be
25446      passed in registers and the rest must be pushed.  This macro tells
25447      the compiler when this occurs, and how many bytes should go in
25448      registers.
25450      `FUNCTION_ARG' for these arguments should return the first
25451      register to be used by the caller for this argument; likewise
25452      `FUNCTION_INCOMING_ARG', for the called function.
25454  -- Target Hook: bool TARGET_PASS_BY_REFERENCE (CUMULATIVE_ARGS *CUM,
25455           enum machine_mode MODE, tree TYPE, bool NAMED)
25456      This target hook should return `true' if an argument at the
25457      position indicated by CUM should be passed by reference.  This
25458      predicate is queried after target independent reasons for being
25459      passed by reference, such as `TREE_ADDRESSABLE (type)'.
25461      If the hook returns true, a copy of that argument is made in
25462      memory and a pointer to the argument is passed instead of the
25463      argument itself.  The pointer is passed in whatever way is
25464      appropriate for passing a pointer to that type.
25466  -- Target Hook: bool TARGET_CALLEE_COPIES (CUMULATIVE_ARGS *CUM, enum
25467           machine_mode MODE, tree TYPE, bool NAMED)
25468      The function argument described by the parameters to this hook is
25469      known to be passed by reference.  The hook should return true if
25470      the function argument should be copied by the callee instead of
25471      copied by the caller.
25473      For any argument for which the hook returns true, if it can be
25474      determined that the argument is not modified, then a copy need not
25475      be generated.
25477      The default version of this hook always returns false.
25479  -- Macro: CUMULATIVE_ARGS
25480      A C type for declaring a variable that is used as the first
25481      argument of `FUNCTION_ARG' and other related values.  For some
25482      target machines, the type `int' suffices and can hold the number
25483      of bytes of argument so far.
25485      There is no need to record in `CUMULATIVE_ARGS' anything about the
25486      arguments that have been passed on the stack.  The compiler has
25487      other variables to keep track of that.  For target machines on
25488      which all arguments are passed on the stack, there is no need to
25489      store anything in `CUMULATIVE_ARGS'; however, the data structure
25490      must exist and should not be empty, so use `int'.
25492  -- Macro: INIT_CUMULATIVE_ARGS (CUM, FNTYPE, LIBNAME, FNDECL,
25493           N_NAMED_ARGS)
25494      A C statement (sans semicolon) for initializing the variable CUM
25495      for the state at the beginning of the argument list.  The variable
25496      has type `CUMULATIVE_ARGS'.  The value of FNTYPE is the tree node
25497      for the data type of the function which will receive the args, or
25498      0 if the args are to a compiler support library function.  For
25499      direct calls that are not libcalls, FNDECL contain the declaration
25500      node of the function.  FNDECL is also set when
25501      `INIT_CUMULATIVE_ARGS' is used to find arguments for the function
25502      being compiled.  N_NAMED_ARGS is set to the number of named
25503      arguments, including a structure return address if it is passed as
25504      a parameter, when making a call.  When processing incoming
25505      arguments, N_NAMED_ARGS is set to -1.
25507      When processing a call to a compiler support library function,
25508      LIBNAME identifies which one.  It is a `symbol_ref' rtx which
25509      contains the name of the function, as a string.  LIBNAME is 0 when
25510      an ordinary C function call is being processed.  Thus, each time
25511      this macro is called, either LIBNAME or FNTYPE is nonzero, but
25512      never both of them at once.
25514  -- Macro: INIT_CUMULATIVE_LIBCALL_ARGS (CUM, MODE, LIBNAME)
25515      Like `INIT_CUMULATIVE_ARGS' but only used for outgoing libcalls,
25516      it gets a `MODE' argument instead of FNTYPE, that would be `NULL'.
25517      INDIRECT would always be zero, too.  If this macro is not
25518      defined, `INIT_CUMULATIVE_ARGS (cum, NULL_RTX, libname, 0)' is
25519      used instead.
25521  -- Macro: INIT_CUMULATIVE_INCOMING_ARGS (CUM, FNTYPE, LIBNAME)
25522      Like `INIT_CUMULATIVE_ARGS' but overrides it for the purposes of
25523      finding the arguments for the function being compiled.  If this
25524      macro is undefined, `INIT_CUMULATIVE_ARGS' is used instead.
25526      The value passed for LIBNAME is always 0, since library routines
25527      with special calling conventions are never compiled with GCC.  The
25528      argument LIBNAME exists for symmetry with `INIT_CUMULATIVE_ARGS'.
25530  -- Macro: FUNCTION_ARG_ADVANCE (CUM, MODE, TYPE, NAMED)
25531      A C statement (sans semicolon) to update the summarizer variable
25532      CUM to advance past an argument in the argument list.  The values
25533      MODE, TYPE and NAMED describe that argument.  Once this is done,
25534      the variable CUM is suitable for analyzing the _following_
25535      argument with `FUNCTION_ARG', etc.
25537      This macro need not do anything if the argument in question was
25538      passed on the stack.  The compiler knows how to track the amount
25539      of stack space used for arguments without any special help.
25541  -- Macro: FUNCTION_ARG_PADDING (MODE, TYPE)
25542      If defined, a C expression which determines whether, and in which
25543      direction, to pad out an argument with extra space.  The value
25544      should be of type `enum direction': either `upward' to pad above
25545      the argument, `downward' to pad below, or `none' to inhibit
25546      padding.
25548      The _amount_ of padding is always just enough to reach the next
25549      multiple of `FUNCTION_ARG_BOUNDARY'; this macro does not control
25550      it.
25552      This macro has a default definition which is right for most
25553      systems.  For little-endian machines, the default is to pad
25554      upward.  For big-endian machines, the default is to pad downward
25555      for an argument of constant size shorter than an `int', and upward
25556      otherwise.
25558  -- Macro: PAD_VARARGS_DOWN
25559      If defined, a C expression which determines whether the default
25560      implementation of va_arg will attempt to pad down before reading
25561      the next argument, if that argument is smaller than its aligned
25562      space as controlled by `PARM_BOUNDARY'.  If this macro is not
25563      defined, all such arguments are padded down if `BYTES_BIG_ENDIAN'
25564      is true.
25566  -- Macro: BLOCK_REG_PADDING (MODE, TYPE, FIRST)
25567      Specify padding for the last element of a block move between
25568      registers and memory.  FIRST is nonzero if this is the only
25569      element.  Defining this macro allows better control of register
25570      function parameters on big-endian machines, without using
25571      `PARALLEL' rtl.  In particular, `MUST_PASS_IN_STACK' need not test
25572      padding and mode of types in registers, as there is no longer a
25573      "wrong" part of a register;  For example, a three byte aggregate
25574      may be passed in the high part of a register if so required.
25576  -- Macro: FUNCTION_ARG_BOUNDARY (MODE, TYPE)
25577      If defined, a C expression that gives the alignment boundary, in
25578      bits, of an argument with the specified mode and type.  If it is
25579      not defined, `PARM_BOUNDARY' is used for all arguments.
25581  -- Macro: FUNCTION_ARG_REGNO_P (REGNO)
25582      A C expression that is nonzero if REGNO is the number of a hard
25583      register in which function arguments are sometimes passed.  This
25584      does _not_ include implicit arguments such as the static chain and
25585      the structure-value address.  On many machines, no registers can be
25586      used for this purpose since all function arguments are pushed on
25587      the stack.
25589  -- Target Hook: bool TARGET_SPLIT_COMPLEX_ARG (tree TYPE)
25590      This hook should return true if parameter of type TYPE are passed
25591      as two scalar parameters.  By default, GCC will attempt to pack
25592      complex arguments into the target's word size.  Some ABIs require
25593      complex arguments to be split and treated as their individual
25594      components.  For example, on AIX64, complex floats should be
25595      passed in a pair of floating point registers, even though a
25596      complex float would fit in one 64-bit floating point register.
25598      The default value of this hook is `NULL', which is treated as
25599      always false.
25601  -- Target Hook: tree TARGET_BUILD_BUILTIN_VA_LIST (void)
25602      This hook returns a type node for `va_list' for the target.  The
25603      default version of the hook returns `void*'.
25605  -- Target Hook: tree TARGET_GIMPLIFY_VA_ARG_EXPR (tree VALIST, tree
25606           TYPE, tree *PRE_P, tree *POST_P)
25607      This hook performs target-specific gimplification of
25608      `VA_ARG_EXPR'.  The first two parameters correspond to the
25609      arguments to `va_arg'; the latter two are as in
25610      `gimplify.c:gimplify_expr'.
25612  -- Target Hook: bool TARGET_VALID_POINTER_MODE (enum machine_mode MODE)
25613      Define this to return nonzero if the port can handle pointers with
25614      machine mode MODE.  The default version of this hook returns true
25615      for both `ptr_mode' and `Pmode'.
25617  -- Target Hook: bool TARGET_SCALAR_MODE_SUPPORTED_P (enum machine_mode
25618           MODE)
25619      Define this to return nonzero if the port is prepared to handle
25620      insns involving scalar mode MODE.  For a scalar mode to be
25621      considered supported, all the basic arithmetic and comparisons
25622      must work.
25624      The default version of this hook returns true for any mode
25625      required to handle the basic C types (as defined by the port).
25626      Included here are the double-word arithmetic supported by the code
25627      in `optabs.c'.
25629  -- Target Hook: bool TARGET_VECTOR_MODE_SUPPORTED_P (enum machine_mode
25630           MODE)
25631      Define this to return nonzero if the port is prepared to handle
25632      insns involving vector mode MODE.  At the very least, it must have
25633      move patterns for this mode.
25635 \x1f
25636 File: gccint.info,  Node: Scalar Return,  Next: Aggregate Return,  Prev: Register Arguments,  Up: Stack and Calling
25638 15.10.8 How Scalar Function Values Are Returned
25639 -----------------------------------------------
25641 This section discusses the macros that control returning scalars as
25642 values--values that can fit in registers.
25644  -- Target Hook: rtx TARGET_FUNCTION_VALUE (tree RET_TYPE, tree
25645           FN_DECL_OR_TYPE, bool OUTGOING)
25646      Define this to return an RTX representing the place where a
25647      function returns or receives a value of data type RET_TYPE, a tree
25648      node node representing a data type.  FN_DECL_OR_TYPE is a tree node
25649      representing `FUNCTION_DECL' or `FUNCTION_TYPE' of a function
25650      being called.  If OUTGOING is false, the hook should compute the
25651      register in which the caller will see the return value.
25652      Otherwise, the hook should return an RTX representing the place
25653      where a function returns a value.
25655      On many machines, only `TYPE_MODE (RET_TYPE)' is relevant.
25656      (Actually, on most machines, scalar values are returned in the same
25657      place regardless of mode.)  The value of the expression is usually
25658      a `reg' RTX for the hard register where the return value is stored.
25659      The value can also be a `parallel' RTX, if the return value is in
25660      multiple places.  See `FUNCTION_ARG' for an explanation of the
25661      `parallel' form.   Note that the callee will populate every
25662      location specified in the `parallel', but if the first element of
25663      the `parallel' contains the whole return value, callers will use
25664      that element as the canonical location and ignore the others.  The
25665      m68k port uses this type of `parallel' to return pointers in both
25666      `%a0' (the canonical location) and `%d0'.
25668      If `TARGET_PROMOTE_FUNCTION_RETURN' returns true, you must apply
25669      the same promotion rules specified in `PROMOTE_MODE' if VALTYPE is
25670      a scalar type.
25672      If the precise function being called is known, FUNC is a tree node
25673      (`FUNCTION_DECL') for it; otherwise, FUNC is a null pointer.  This
25674      makes it possible to use a different value-returning convention
25675      for specific functions when all their calls are known.
25677      Some target machines have "register windows" so that the register
25678      in which a function returns its value is not the same as the one
25679      in which the caller sees the value.  For such machines, you should
25680      return different RTX depending on OUTGOING.
25682      `TARGET_FUNCTION_VALUE' is not used for return values with
25683      aggregate data types, because these are returned in another way.
25684      See `TARGET_STRUCT_VALUE_RTX' and related macros, below.
25686  -- Macro: FUNCTION_VALUE (VALTYPE, FUNC)
25687      This macro has been deprecated.  Use `TARGET_FUNCTION_VALUE' for a
25688      new target instead.
25690  -- Macro: FUNCTION_OUTGOING_VALUE (VALTYPE, FUNC)
25691      This macro has been deprecated.  Use `TARGET_FUNCTION_VALUE' for a
25692      new target instead.
25694  -- Macro: LIBCALL_VALUE (MODE)
25695      A C expression to create an RTX representing the place where a
25696      library function returns a value of mode MODE.  If the precise
25697      function being called is known, FUNC is a tree node
25698      (`FUNCTION_DECL') for it; otherwise, FUNC is a null pointer.  This
25699      makes it possible to use a different value-returning convention
25700      for specific functions when all their calls are known.
25702      Note that "library function" in this context means a compiler
25703      support routine, used to perform arithmetic, whose name is known
25704      specially by the compiler and was not mentioned in the C code being
25705      compiled.
25707      The definition of `LIBRARY_VALUE' need not be concerned aggregate
25708      data types, because none of the library functions returns such
25709      types.
25711  -- Macro: FUNCTION_VALUE_REGNO_P (REGNO)
25712      A C expression that is nonzero if REGNO is the number of a hard
25713      register in which the values of called function may come back.
25715      A register whose use for returning values is limited to serving as
25716      the second of a pair (for a value of type `double', say) need not
25717      be recognized by this macro.  So for most machines, this definition
25718      suffices:
25720           #define FUNCTION_VALUE_REGNO_P(N) ((N) == 0)
25722      If the machine has register windows, so that the caller and the
25723      called function use different registers for the return value, this
25724      macro should recognize only the caller's register numbers.
25726  -- Macro: APPLY_RESULT_SIZE
25727      Define this macro if `untyped_call' and `untyped_return' need more
25728      space than is implied by `FUNCTION_VALUE_REGNO_P' for saving and
25729      restoring an arbitrary return value.
25731  -- Target Hook: bool TARGET_RETURN_IN_MSB (tree TYPE)
25732      This hook should return true if values of type TYPE are returned
25733      at the most significant end of a register (in other words, if they
25734      are padded at the least significant end).  You can assume that TYPE
25735      is returned in a register; the caller is required to check this.
25737      Note that the register provided by `TARGET_FUNCTION_VALUE' must be
25738      able to hold the complete return value.  For example, if a 1-, 2-
25739      or 3-byte structure is returned at the most significant end of a
25740      4-byte register, `TARGET_FUNCTION_VALUE' should provide an
25741      `SImode' rtx.
25743 \x1f
25744 File: gccint.info,  Node: Aggregate Return,  Next: Caller Saves,  Prev: Scalar Return,  Up: Stack and Calling
25746 15.10.9 How Large Values Are Returned
25747 -------------------------------------
25749 When a function value's mode is `BLKmode' (and in some other cases),
25750 the value is not returned according to `TARGET_FUNCTION_VALUE' (*note
25751 Scalar Return::).  Instead, the caller passes the address of a block of
25752 memory in which the value should be stored.  This address is called the
25753 "structure value address".
25755  This section describes how to control returning structure values in
25756 memory.
25758  -- Target Hook: bool TARGET_RETURN_IN_MEMORY (tree TYPE, tree FNTYPE)
25759      This target hook should return a nonzero value to say to return the
25760      function value in memory, just as large structures are always
25761      returned.  Here TYPE will be the data type of the value, and FNTYPE
25762      will be the type of the function doing the returning, or `NULL' for
25763      libcalls.
25765      Note that values of mode `BLKmode' must be explicitly handled by
25766      this function.  Also, the option `-fpcc-struct-return' takes
25767      effect regardless of this macro.  On most systems, it is possible
25768      to leave the hook undefined; this causes a default definition to
25769      be used, whose value is the constant 1 for `BLKmode' values, and 0
25770      otherwise.
25772      Do not use this hook to indicate that structures and unions should
25773      always be returned in memory.  You should instead use
25774      `DEFAULT_PCC_STRUCT_RETURN' to indicate this.
25776  -- Macro: DEFAULT_PCC_STRUCT_RETURN
25777      Define this macro to be 1 if all structure and union return values
25778      must be in memory.  Since this results in slower code, this should
25779      be defined only if needed for compatibility with other compilers
25780      or with an ABI.  If you define this macro to be 0, then the
25781      conventions used for structure and union return values are decided
25782      by the `TARGET_RETURN_IN_MEMORY' target hook.
25784      If not defined, this defaults to the value 1.
25786  -- Target Hook: rtx TARGET_STRUCT_VALUE_RTX (tree FNDECL, int INCOMING)
25787      This target hook should return the location of the structure value
25788      address (normally a `mem' or `reg'), or 0 if the address is passed
25789      as an "invisible" first argument.  Note that FNDECL may be `NULL',
25790      for libcalls.  You do not need to define this target hook if the
25791      address is always passed as an "invisible" first argument.
25793      On some architectures the place where the structure value address
25794      is found by the called function is not the same place that the
25795      caller put it.  This can be due to register windows, or it could
25796      be because the function prologue moves it to a different place.
25797      INCOMING is `1' or `2' when the location is needed in the context
25798      of the called function, and `0' in the context of the caller.
25800      If INCOMING is nonzero and the address is to be found on the
25801      stack, return a `mem' which refers to the frame pointer. If
25802      INCOMING is `2', the result is being used to fetch the structure
25803      value address at the beginning of a function.  If you need to emit
25804      adjusting code, you should do it at this point.
25806  -- Macro: PCC_STATIC_STRUCT_RETURN
25807      Define this macro if the usual system convention on the target
25808      machine for returning structures and unions is for the called
25809      function to return the address of a static variable containing the
25810      value.
25812      Do not define this if the usual system convention is for the
25813      caller to pass an address to the subroutine.
25815      This macro has effect in `-fpcc-struct-return' mode, but it does
25816      nothing when you use `-freg-struct-return' mode.
25818 \x1f
25819 File: gccint.info,  Node: Caller Saves,  Next: Function Entry,  Prev: Aggregate Return,  Up: Stack and Calling
25821 15.10.10 Caller-Saves Register Allocation
25822 -----------------------------------------
25824 If you enable it, GCC can save registers around function calls.  This
25825 makes it possible to use call-clobbered registers to hold variables that
25826 must live across calls.
25828  -- Macro: CALLER_SAVE_PROFITABLE (REFS, CALLS)
25829      A C expression to determine whether it is worthwhile to consider
25830      placing a pseudo-register in a call-clobbered hard register and
25831      saving and restoring it around each function call.  The expression
25832      should be 1 when this is worth doing, and 0 otherwise.
25834      If you don't define this macro, a default is used which is good on
25835      most machines: `4 * CALLS < REFS'.
25837  -- Macro: HARD_REGNO_CALLER_SAVE_MODE (REGNO, NREGS)
25838      A C expression specifying which mode is required for saving NREGS
25839      of a pseudo-register in call-clobbered hard register REGNO.  If
25840      REGNO is unsuitable for caller save, `VOIDmode' should be
25841      returned.  For most machines this macro need not be defined since
25842      GCC will select the smallest suitable mode.
25844 \x1f
25845 File: gccint.info,  Node: Function Entry,  Next: Profiling,  Prev: Caller Saves,  Up: Stack and Calling
25847 15.10.11 Function Entry and Exit
25848 --------------------------------
25850 This section describes the macros that output function entry
25851 ("prologue") and exit ("epilogue") code.
25853  -- Target Hook: void TARGET_ASM_FUNCTION_PROLOGUE (FILE *FILE,
25854           HOST_WIDE_INT SIZE)
25855      If defined, a function that outputs the assembler code for entry
25856      to a function.  The prologue is responsible for setting up the
25857      stack frame, initializing the frame pointer register, saving
25858      registers that must be saved, and allocating SIZE additional bytes
25859      of storage for the local variables.  SIZE is an integer.  FILE is
25860      a stdio stream to which the assembler code should be output.
25862      The label for the beginning of the function need not be output by
25863      this macro.  That has already been done when the macro is run.
25865      To determine which registers to save, the macro can refer to the
25866      array `regs_ever_live': element R is nonzero if hard register R is
25867      used anywhere within the function.  This implies the function
25868      prologue should save register R, provided it is not one of the
25869      call-used registers.  (`TARGET_ASM_FUNCTION_EPILOGUE' must
25870      likewise use `regs_ever_live'.)
25872      On machines that have "register windows", the function entry code
25873      does not save on the stack the registers that are in the windows,
25874      even if they are supposed to be preserved by function calls;
25875      instead it takes appropriate steps to "push" the register stack,
25876      if any non-call-used registers are used in the function.
25878      On machines where functions may or may not have frame-pointers, the
25879      function entry code must vary accordingly; it must set up the frame
25880      pointer if one is wanted, and not otherwise.  To determine whether
25881      a frame pointer is in wanted, the macro can refer to the variable
25882      `frame_pointer_needed'.  The variable's value will be 1 at run
25883      time in a function that needs a frame pointer.  *Note
25884      Elimination::.
25886      The function entry code is responsible for allocating any stack
25887      space required for the function.  This stack space consists of the
25888      regions listed below.  In most cases, these regions are allocated
25889      in the order listed, with the last listed region closest to the
25890      top of the stack (the lowest address if `STACK_GROWS_DOWNWARD' is
25891      defined, and the highest address if it is not defined).  You can
25892      use a different order for a machine if doing so is more convenient
25893      or required for compatibility reasons.  Except in cases where
25894      required by standard or by a debugger, there is no reason why the
25895      stack layout used by GCC need agree with that used by other
25896      compilers for a machine.
25898  -- Target Hook: void TARGET_ASM_FUNCTION_END_PROLOGUE (FILE *FILE)
25899      If defined, a function that outputs assembler code at the end of a
25900      prologue.  This should be used when the function prologue is being
25901      emitted as RTL, and you have some extra assembler that needs to be
25902      emitted.  *Note prologue instruction pattern::.
25904  -- Target Hook: void TARGET_ASM_FUNCTION_BEGIN_EPILOGUE (FILE *FILE)
25905      If defined, a function that outputs assembler code at the start of
25906      an epilogue.  This should be used when the function epilogue is
25907      being emitted as RTL, and you have some extra assembler that needs
25908      to be emitted.  *Note epilogue instruction pattern::.
25910  -- Target Hook: void TARGET_ASM_FUNCTION_EPILOGUE (FILE *FILE,
25911           HOST_WIDE_INT SIZE)
25912      If defined, a function that outputs the assembler code for exit
25913      from a function.  The epilogue is responsible for restoring the
25914      saved registers and stack pointer to their values when the
25915      function was called, and returning control to the caller.  This
25916      macro takes the same arguments as the macro
25917      `TARGET_ASM_FUNCTION_PROLOGUE', and the registers to restore are
25918      determined from `regs_ever_live' and `CALL_USED_REGISTERS' in the
25919      same way.
25921      On some machines, there is a single instruction that does all the
25922      work of returning from the function.  On these machines, give that
25923      instruction the name `return' and do not define the macro
25924      `TARGET_ASM_FUNCTION_EPILOGUE' at all.
25926      Do not define a pattern named `return' if you want the
25927      `TARGET_ASM_FUNCTION_EPILOGUE' to be used.  If you want the target
25928      switches to control whether return instructions or epilogues are
25929      used, define a `return' pattern with a validity condition that
25930      tests the target switches appropriately.  If the `return'
25931      pattern's validity condition is false, epilogues will be used.
25933      On machines where functions may or may not have frame-pointers, the
25934      function exit code must vary accordingly.  Sometimes the code for
25935      these two cases is completely different.  To determine whether a
25936      frame pointer is wanted, the macro can refer to the variable
25937      `frame_pointer_needed'.  The variable's value will be 1 when
25938      compiling a function that needs a frame pointer.
25940      Normally, `TARGET_ASM_FUNCTION_PROLOGUE' and
25941      `TARGET_ASM_FUNCTION_EPILOGUE' must treat leaf functions specially.
25942      The C variable `current_function_is_leaf' is nonzero for such a
25943      function.  *Note Leaf Functions::.
25945      On some machines, some functions pop their arguments on exit while
25946      others leave that for the caller to do.  For example, the 68020
25947      when given `-mrtd' pops arguments in functions that take a fixed
25948      number of arguments.
25950      Your definition of the macro `RETURN_POPS_ARGS' decides which
25951      functions pop their own arguments.  `TARGET_ASM_FUNCTION_EPILOGUE'
25952      needs to know what was decided.  The variable that is called
25953      `current_function_pops_args' is the number of bytes of its
25954      arguments that a function should pop.  *Note Scalar Return::.
25956    * A region of `current_function_pretend_args_size' bytes of
25957      uninitialized space just underneath the first argument arriving on
25958      the stack.  (This may not be at the very start of the allocated
25959      stack region if the calling sequence has pushed anything else
25960      since pushing the stack arguments.  But usually, on such machines,
25961      nothing else has been pushed yet, because the function prologue
25962      itself does all the pushing.)  This region is used on machines
25963      where an argument may be passed partly in registers and partly in
25964      memory, and, in some cases to support the features in `<stdarg.h>'.
25966    * An area of memory used to save certain registers used by the
25967      function.  The size of this area, which may also include space for
25968      such things as the return address and pointers to previous stack
25969      frames, is machine-specific and usually depends on which registers
25970      have been used in the function.  Machines with register windows
25971      often do not require a save area.
25973    * A region of at least SIZE bytes, possibly rounded up to an
25974      allocation boundary, to contain the local variables of the
25975      function.  On some machines, this region and the save area may
25976      occur in the opposite order, with the save area closer to the top
25977      of the stack.
25979    * Optionally, when `ACCUMULATE_OUTGOING_ARGS' is defined, a region of
25980      `current_function_outgoing_args_size' bytes to be used for outgoing
25981      argument lists of the function.  *Note Stack Arguments::.
25983  -- Macro: EXIT_IGNORE_STACK
25984      Define this macro as a C expression that is nonzero if the return
25985      instruction or the function epilogue ignores the value of the stack
25986      pointer; in other words, if it is safe to delete an instruction to
25987      adjust the stack pointer before a return from the function.  The
25988      default is 0.
25990      Note that this macro's value is relevant only for functions for
25991      which frame pointers are maintained.  It is never safe to delete a
25992      final stack adjustment in a function that has no frame pointer,
25993      and the compiler knows this regardless of `EXIT_IGNORE_STACK'.
25995  -- Macro: EPILOGUE_USES (REGNO)
25996      Define this macro as a C expression that is nonzero for registers
25997      that are used by the epilogue or the `return' pattern.  The stack
25998      and frame pointer registers are already assumed to be used as
25999      needed.
26001  -- Macro: EH_USES (REGNO)
26002      Define this macro as a C expression that is nonzero for registers
26003      that are used by the exception handling mechanism, and so should
26004      be considered live on entry to an exception edge.
26006  -- Macro: DELAY_SLOTS_FOR_EPILOGUE
26007      Define this macro if the function epilogue contains delay slots to
26008      which instructions from the rest of the function can be "moved".
26009      The definition should be a C expression whose value is an integer
26010      representing the number of delay slots there.
26012  -- Macro: ELIGIBLE_FOR_EPILOGUE_DELAY (INSN, N)
26013      A C expression that returns 1 if INSN can be placed in delay slot
26014      number N of the epilogue.
26016      The argument N is an integer which identifies the delay slot now
26017      being considered (since different slots may have different rules of
26018      eligibility).  It is never negative and is always less than the
26019      number of epilogue delay slots (what `DELAY_SLOTS_FOR_EPILOGUE'
26020      returns).  If you reject a particular insn for a given delay slot,
26021      in principle, it may be reconsidered for a subsequent delay slot.
26022      Also, other insns may (at least in principle) be considered for
26023      the so far unfilled delay slot.
26025      The insns accepted to fill the epilogue delay slots are put in an
26026      RTL list made with `insn_list' objects, stored in the variable
26027      `current_function_epilogue_delay_list'.  The insn for the first
26028      delay slot comes first in the list.  Your definition of the macro
26029      `TARGET_ASM_FUNCTION_EPILOGUE' should fill the delay slots by
26030      outputting the insns in this list, usually by calling
26031      `final_scan_insn'.
26033      You need not define this macro if you did not define
26034      `DELAY_SLOTS_FOR_EPILOGUE'.
26036  -- Target Hook: void TARGET_ASM_OUTPUT_MI_THUNK (FILE *FILE, tree
26037           THUNK_FNDECL, HOST_WIDE_INT DELTA, HOST_WIDE_INT
26038           VCALL_OFFSET, tree FUNCTION)
26039      A function that outputs the assembler code for a thunk function,
26040      used to implement C++ virtual function calls with multiple
26041      inheritance.  The thunk acts as a wrapper around a virtual
26042      function, adjusting the implicit object parameter before handing
26043      control off to the real function.
26045      First, emit code to add the integer DELTA to the location that
26046      contains the incoming first argument.  Assume that this argument
26047      contains a pointer, and is the one used to pass the `this' pointer
26048      in C++.  This is the incoming argument _before_ the function
26049      prologue, e.g. `%o0' on a sparc.  The addition must preserve the
26050      values of all other incoming arguments.
26052      Then, if VCALL_OFFSET is nonzero, an additional adjustment should
26053      be made after adding `delta'.  In particular, if P is the adjusted
26054      pointer, the following adjustment should be made:
26056           p += (*((ptrdiff_t **)p))[vcall_offset/sizeof(ptrdiff_t)]
26058      After the additions, emit code to jump to FUNCTION, which is a
26059      `FUNCTION_DECL'.  This is a direct pure jump, not a call, and does
26060      not touch the return address.  Hence returning from FUNCTION will
26061      return to whoever called the current `thunk'.
26063      The effect must be as if FUNCTION had been called directly with
26064      the adjusted first argument.  This macro is responsible for
26065      emitting all of the code for a thunk function;
26066      `TARGET_ASM_FUNCTION_PROLOGUE' and `TARGET_ASM_FUNCTION_EPILOGUE'
26067      are not invoked.
26069      The THUNK_FNDECL is redundant.  (DELTA and FUNCTION have already
26070      been extracted from it.)  It might possibly be useful on some
26071      targets, but probably not.
26073      If you do not define this macro, the target-independent code in
26074      the C++ front end will generate a less efficient heavyweight thunk
26075      that calls FUNCTION instead of jumping to it.  The generic
26076      approach does not support varargs.
26078  -- Target Hook: bool TARGET_ASM_CAN_OUTPUT_MI_THUNK (tree
26079           THUNK_FNDECL, HOST_WIDE_INT DELTA, HOST_WIDE_INT
26080           VCALL_OFFSET, tree FUNCTION)
26081      A function that returns true if TARGET_ASM_OUTPUT_MI_THUNK would
26082      be able to output the assembler code for the thunk function
26083      specified by the arguments it is passed, and false otherwise.  In
26084      the latter case, the generic approach will be used by the C++
26085      front end, with the limitations previously exposed.
26087 \x1f
26088 File: gccint.info,  Node: Profiling,  Next: Tail Calls,  Prev: Function Entry,  Up: Stack and Calling
26090 15.10.12 Generating Code for Profiling
26091 --------------------------------------
26093 These macros will help you generate code for profiling.
26095  -- Macro: FUNCTION_PROFILER (FILE, LABELNO)
26096      A C statement or compound statement to output to FILE some
26097      assembler code to call the profiling subroutine `mcount'.
26099      The details of how `mcount' expects to be called are determined by
26100      your operating system environment, not by GCC.  To figure them out,
26101      compile a small program for profiling using the system's installed
26102      C compiler and look at the assembler code that results.
26104      Older implementations of `mcount' expect the address of a counter
26105      variable to be loaded into some register.  The name of this
26106      variable is `LP' followed by the number LABELNO, so you would
26107      generate the name using `LP%d' in a `fprintf'.
26109  -- Macro: PROFILE_HOOK
26110      A C statement or compound statement to output to FILE some assembly
26111      code to call the profiling subroutine `mcount' even the target does
26112      not support profiling.
26114  -- Macro: NO_PROFILE_COUNTERS
26115      Define this macro to be an expression with a nonzero value if the
26116      `mcount' subroutine on your system does not need a counter variable
26117      allocated for each function.  This is true for almost all modern
26118      implementations.  If you define this macro, you must not use the
26119      LABELNO argument to `FUNCTION_PROFILER'.
26121  -- Macro: PROFILE_BEFORE_PROLOGUE
26122      Define this macro if the code for function profiling should come
26123      before the function prologue.  Normally, the profiling code comes
26124      after.
26126 \x1f
26127 File: gccint.info,  Node: Tail Calls,  Next: Stack Smashing Protection,  Prev: Profiling,  Up: Stack and Calling
26129 15.10.13 Permitting tail calls
26130 ------------------------------
26132  -- Target Hook: bool TARGET_FUNCTION_OK_FOR_SIBCALL (tree DECL, tree
26133           EXP)
26134      True if it is ok to do sibling call optimization for the specified
26135      call expression EXP.  DECL will be the called function, or `NULL'
26136      if this is an indirect call.
26138      It is not uncommon for limitations of calling conventions to
26139      prevent tail calls to functions outside the current unit of
26140      translation, or during PIC compilation.  The hook is used to
26141      enforce these restrictions, as the `sibcall' md pattern can not
26142      fail, or fall over to a "normal" call.  The criteria for
26143      successful sibling call optimization may vary greatly between
26144      different architectures.
26146  -- Target Hook: void TARGET_EXTRA_LIVE_ON_ENTRY (bitmap *REGS)
26147      Add any hard registers to REGS that are live on entry to the
26148      function.  This hook only needs to be defined to provide registers
26149      that cannot be found by examination of FUNCTION_ARG_REGNO_P, the
26150      callee saved registers, STATIC_CHAIN_INCOMING_REGNUM,
26151      STATIC_CHAIN_REGNUM, TARGET_STRUCT_VALUE_RTX,
26152      FRAME_POINTER_REGNUM, EH_USES, FRAME_POINTER_REGNUM,
26153      ARG_POINTER_REGNUM, and the PIC_OFFSET_TABLE_REGNUM.
26155 \x1f
26156 File: gccint.info,  Node: Stack Smashing Protection,  Prev: Tail Calls,  Up: Stack and Calling
26158 15.10.14 Stack smashing protection
26159 ----------------------------------
26161  -- Target Hook: tree TARGET_STACK_PROTECT_GUARD (void)
26162      This hook returns a `DECL' node for the external variable to use
26163      for the stack protection guard.  This variable is initialized by
26164      the runtime to some random value and is used to initialize the
26165      guard value that is placed at the top of the local stack frame.
26166      The type of this variable must be `ptr_type_node'.
26168      The default version of this hook creates a variable called
26169      `__stack_chk_guard', which is normally defined in `libgcc2.c'.
26171  -- Target Hook: tree TARGET_STACK_PROTECT_FAIL (void)
26172      This hook returns a tree expression that alerts the runtime that
26173      the stack protect guard variable has been modified.  This
26174      expression should involve a call to a `noreturn' function.
26176      The default version of this hook invokes a function called
26177      `__stack_chk_fail', taking no arguments.  This function is
26178      normally defined in `libgcc2.c'.
26180 \x1f
26181 File: gccint.info,  Node: Varargs,  Next: Trampolines,  Prev: Stack and Calling,  Up: Target Macros
26183 15.11 Implementing the Varargs Macros
26184 =====================================
26186 GCC comes with an implementation of `<varargs.h>' and `<stdarg.h>' that
26187 work without change on machines that pass arguments on the stack.
26188 Other machines require their own implementations of varargs, and the
26189 two machine independent header files must have conditionals to include
26192  ISO `<stdarg.h>' differs from traditional `<varargs.h>' mainly in the
26193 calling convention for `va_start'.  The traditional implementation
26194 takes just one argument, which is the variable in which to store the
26195 argument pointer.  The ISO implementation of `va_start' takes an
26196 additional second argument.  The user is supposed to write the last
26197 named argument of the function here.
26199  However, `va_start' should not use this argument.  The way to find the
26200 end of the named arguments is with the built-in functions described
26201 below.
26203  -- Macro: __builtin_saveregs ()
26204      Use this built-in function to save the argument registers in
26205      memory so that the varargs mechanism can access them.  Both ISO
26206      and traditional versions of `va_start' must use
26207      `__builtin_saveregs', unless you use
26208      `TARGET_SETUP_INCOMING_VARARGS' (see below) instead.
26210      On some machines, `__builtin_saveregs' is open-coded under the
26211      control of the target hook `TARGET_EXPAND_BUILTIN_SAVEREGS'.  On
26212      other machines, it calls a routine written in assembler language,
26213      found in `libgcc2.c'.
26215      Code generated for the call to `__builtin_saveregs' appears at the
26216      beginning of the function, as opposed to where the call to
26217      `__builtin_saveregs' is written, regardless of what the code is.
26218      This is because the registers must be saved before the function
26219      starts to use them for its own purposes.
26221  -- Macro: __builtin_args_info (CATEGORY)
26222      Use this built-in function to find the first anonymous arguments in
26223      registers.
26225      In general, a machine may have several categories of registers
26226      used for arguments, each for a particular category of data types.
26227      (For example, on some machines, floating-point registers are used
26228      for floating-point arguments while other arguments are passed in
26229      the general registers.)  To make non-varargs functions use the
26230      proper calling convention, you have defined the `CUMULATIVE_ARGS'
26231      data type to record how many registers in each category have been
26232      used so far
26234      `__builtin_args_info' accesses the same data structure of type
26235      `CUMULATIVE_ARGS' after the ordinary argument layout is finished
26236      with it, with CATEGORY specifying which word to access.  Thus, the
26237      value indicates the first unused register in a given category.
26239      Normally, you would use `__builtin_args_info' in the implementation
26240      of `va_start', accessing each category just once and storing the
26241      value in the `va_list' object.  This is because `va_list' will
26242      have to update the values, and there is no way to alter the values
26243      accessed by `__builtin_args_info'.
26245  -- Macro: __builtin_next_arg (LASTARG)
26246      This is the equivalent of `__builtin_args_info', for stack
26247      arguments.  It returns the address of the first anonymous stack
26248      argument, as type `void *'.  If `ARGS_GROW_DOWNWARD', it returns
26249      the address of the location above the first anonymous stack
26250      argument.  Use it in `va_start' to initialize the pointer for
26251      fetching arguments from the stack.  Also use it in `va_start' to
26252      verify that the second parameter LASTARG is the last named argument
26253      of the current function.
26255  -- Macro: __builtin_classify_type (OBJECT)
26256      Since each machine has its own conventions for which data types are
26257      passed in which kind of register, your implementation of `va_arg'
26258      has to embody these conventions.  The easiest way to categorize the
26259      specified data type is to use `__builtin_classify_type' together
26260      with `sizeof' and `__alignof__'.
26262      `__builtin_classify_type' ignores the value of OBJECT, considering
26263      only its data type.  It returns an integer describing what kind of
26264      type that is--integer, floating, pointer, structure, and so on.
26266      The file `typeclass.h' defines an enumeration that you can use to
26267      interpret the values of `__builtin_classify_type'.
26269  These machine description macros help implement varargs:
26271  -- Target Hook: rtx TARGET_EXPAND_BUILTIN_SAVEREGS (void)
26272      If defined, this hook produces the machine-specific code for a
26273      call to `__builtin_saveregs'.  This code will be moved to the very
26274      beginning of the function, before any parameter access are made.
26275      The return value of this function should be an RTX that contains
26276      the value to use as the return of `__builtin_saveregs'.
26278  -- Target Hook: void TARGET_SETUP_INCOMING_VARARGS (CUMULATIVE_ARGS
26279           *ARGS_SO_FAR, enum machine_mode MODE, tree TYPE, int
26280           *PRETEND_ARGS_SIZE, int SECOND_TIME)
26281      This target hook offers an alternative to using
26282      `__builtin_saveregs' and defining the hook
26283      `TARGET_EXPAND_BUILTIN_SAVEREGS'.  Use it to store the anonymous
26284      register arguments into the stack so that all the arguments appear
26285      to have been passed consecutively on the stack.  Once this is
26286      done, you can use the standard implementation of varargs that
26287      works for machines that pass all their arguments on the stack.
26289      The argument ARGS_SO_FAR points to the `CUMULATIVE_ARGS' data
26290      structure, containing the values that are obtained after
26291      processing the named arguments.  The arguments MODE and TYPE
26292      describe the last named argument--its machine mode and its data
26293      type as a tree node.
26295      The target hook should do two things: first, push onto the stack
26296      all the argument registers _not_ used for the named arguments, and
26297      second, store the size of the data thus pushed into the
26298      `int'-valued variable pointed to by PRETEND_ARGS_SIZE.  The value
26299      that you store here will serve as additional offset for setting up
26300      the stack frame.
26302      Because you must generate code to push the anonymous arguments at
26303      compile time without knowing their data types,
26304      `TARGET_SETUP_INCOMING_VARARGS' is only useful on machines that
26305      have just a single category of argument register and use it
26306      uniformly for all data types.
26308      If the argument SECOND_TIME is nonzero, it means that the
26309      arguments of the function are being analyzed for the second time.
26310      This happens for an inline function, which is not actually
26311      compiled until the end of the source file.  The hook
26312      `TARGET_SETUP_INCOMING_VARARGS' should not generate any
26313      instructions in this case.
26315  -- Target Hook: bool TARGET_STRICT_ARGUMENT_NAMING (CUMULATIVE_ARGS
26316           *CA)
26317      Define this hook to return `true' if the location where a function
26318      argument is passed depends on whether or not it is a named
26319      argument.
26321      This hook controls how the NAMED argument to `FUNCTION_ARG' is set
26322      for varargs and stdarg functions.  If this hook returns `true',
26323      the NAMED argument is always true for named arguments, and false
26324      for unnamed arguments.  If it returns `false', but
26325      `TARGET_PRETEND_OUTGOING_VARARGS_NAMED' returns `true', then all
26326      arguments are treated as named.  Otherwise, all named arguments
26327      except the last are treated as named.
26329      You need not define this hook if it always returns zero.
26331  -- Target Hook: bool TARGET_PRETEND_OUTGOING_VARARGS_NAMED
26332      If you need to conditionally change ABIs so that one works with
26333      `TARGET_SETUP_INCOMING_VARARGS', but the other works like neither
26334      `TARGET_SETUP_INCOMING_VARARGS' nor
26335      `TARGET_STRICT_ARGUMENT_NAMING' was defined, then define this hook
26336      to return `true' if `TARGET_SETUP_INCOMING_VARARGS' is used,
26337      `false' otherwise.  Otherwise, you should not define this hook.
26339 \x1f
26340 File: gccint.info,  Node: Trampolines,  Next: Library Calls,  Prev: Varargs,  Up: Target Macros
26342 15.12 Trampolines for Nested Functions
26343 ======================================
26345 A "trampoline" is a small piece of code that is created at run time
26346 when the address of a nested function is taken.  It normally resides on
26347 the stack, in the stack frame of the containing function.  These macros
26348 tell GCC how to generate code to allocate and initialize a trampoline.
26350  The instructions in the trampoline must do two things: load a constant
26351 address into the static chain register, and jump to the real address of
26352 the nested function.  On CISC machines such as the m68k, this requires
26353 two instructions, a move immediate and a jump.  Then the two addresses
26354 exist in the trampoline as word-long immediate operands.  On RISC
26355 machines, it is often necessary to load each address into a register in
26356 two parts.  Then pieces of each address form separate immediate
26357 operands.
26359  The code generated to initialize the trampoline must store the variable
26360 parts--the static chain value and the function address--into the
26361 immediate operands of the instructions.  On a CISC machine, this is
26362 simply a matter of copying each address to a memory reference at the
26363 proper offset from the start of the trampoline.  On a RISC machine, it
26364 may be necessary to take out pieces of the address and store them
26365 separately.
26367  -- Macro: TRAMPOLINE_TEMPLATE (FILE)
26368      A C statement to output, on the stream FILE, assembler code for a
26369      block of data that contains the constant parts of a trampoline.
26370      This code should not include a label--the label is taken care of
26371      automatically.
26373      If you do not define this macro, it means no template is needed
26374      for the target.  Do not define this macro on systems where the
26375      block move code to copy the trampoline into place would be larger
26376      than the code to generate it on the spot.
26378  -- Macro: TRAMPOLINE_SECTION
26379      Return the section into which the trampoline template is to be
26380      placed (*note Sections::).  The default value is
26381      `readonly_data_section'.
26383  -- Macro: TRAMPOLINE_SIZE
26384      A C expression for the size in bytes of the trampoline, as an
26385      integer.
26387  -- Macro: TRAMPOLINE_ALIGNMENT
26388      Alignment required for trampolines, in bits.
26390      If you don't define this macro, the value of `BIGGEST_ALIGNMENT'
26391      is used for aligning trampolines.
26393  -- Macro: INITIALIZE_TRAMPOLINE (ADDR, FNADDR, STATIC_CHAIN)
26394      A C statement to initialize the variable parts of a trampoline.
26395      ADDR is an RTX for the address of the trampoline; FNADDR is an RTX
26396      for the address of the nested function; STATIC_CHAIN is an RTX for
26397      the static chain value that should be passed to the function when
26398      it is called.
26400  -- Macro: TRAMPOLINE_ADJUST_ADDRESS (ADDR)
26401      A C statement that should perform any machine-specific adjustment
26402      in the address of the trampoline.  Its argument contains the
26403      address that was passed to `INITIALIZE_TRAMPOLINE'.  In case the
26404      address to be used for a function call should be different from
26405      the address in which the template was stored, the different
26406      address should be assigned to ADDR.  If this macro is not defined,
26407      ADDR will be used for function calls.
26409      If this macro is not defined, by default the trampoline is
26410      allocated as a stack slot.  This default is right for most
26411      machines.  The exceptions are machines where it is impossible to
26412      execute instructions in the stack area.  On such machines, you may
26413      have to implement a separate stack, using this macro in
26414      conjunction with `TARGET_ASM_FUNCTION_PROLOGUE' and
26415      `TARGET_ASM_FUNCTION_EPILOGUE'.
26417      FP points to a data structure, a `struct function', which
26418      describes the compilation status of the immediate containing
26419      function of the function which the trampoline is for.  The stack
26420      slot for the trampoline is in the stack frame of this containing
26421      function.  Other allocation strategies probably must do something
26422      analogous with this information.
26424  Implementing trampolines is difficult on many machines because they
26425 have separate instruction and data caches.  Writing into a stack
26426 location fails to clear the memory in the instruction cache, so when
26427 the program jumps to that location, it executes the old contents.
26429  Here are two possible solutions.  One is to clear the relevant parts of
26430 the instruction cache whenever a trampoline is set up.  The other is to
26431 make all trampolines identical, by having them jump to a standard
26432 subroutine.  The former technique makes trampoline execution faster; the
26433 latter makes initialization faster.
26435  To clear the instruction cache when a trampoline is initialized, define
26436 the following macro.
26438  -- Macro: CLEAR_INSN_CACHE (BEG, END)
26439      If defined, expands to a C expression clearing the _instruction
26440      cache_ in the specified interval.  The definition of this macro
26441      would typically be a series of `asm' statements.  Both BEG and END
26442      are both pointer expressions.
26444  The operating system may also require the stack to be made executable
26445 before calling the trampoline.  To implement this requirement, define
26446 the following macro.
26448  -- Macro: ENABLE_EXECUTE_STACK
26449      Define this macro if certain operations must be performed before
26450      executing code located on the stack.  The macro should expand to a
26451      series of C file-scope constructs (e.g. functions) and provide a
26452      unique entry point named `__enable_execute_stack'.  The target is
26453      responsible for emitting calls to the entry point in the code, for
26454      example from the `INITIALIZE_TRAMPOLINE' macro.
26456  To use a standard subroutine, define the following macro.  In addition,
26457 you must make sure that the instructions in a trampoline fill an entire
26458 cache line with identical instructions, or else ensure that the
26459 beginning of the trampoline code is always aligned at the same point in
26460 its cache line.  Look in `m68k.h' as a guide.
26462  -- Macro: TRANSFER_FROM_TRAMPOLINE
26463      Define this macro if trampolines need a special subroutine to do
26464      their work.  The macro should expand to a series of `asm'
26465      statements which will be compiled with GCC.  They go in a library
26466      function named `__transfer_from_trampoline'.
26468      If you need to avoid executing the ordinary prologue code of a
26469      compiled C function when you jump to the subroutine, you can do so
26470      by placing a special label of your own in the assembler code.  Use
26471      one `asm' statement to generate an assembler label, and another to
26472      make the label global.  Then trampolines can use that label to
26473      jump directly to your special assembler code.
26475 \x1f
26476 File: gccint.info,  Node: Library Calls,  Next: Addressing Modes,  Prev: Trampolines,  Up: Target Macros
26478 15.13 Implicit Calls to Library Routines
26479 ========================================
26481 Here is an explanation of implicit calls to library routines.
26483  -- Macro: DECLARE_LIBRARY_RENAMES
26484      This macro, if defined, should expand to a piece of C code that
26485      will get expanded when compiling functions for libgcc.a.  It can
26486      be used to provide alternate names for GCC's internal library
26487      functions if there are ABI-mandated names that the compiler should
26488      provide.
26490  -- Target Hook: void TARGET_INIT_LIBFUNCS (void)
26491      This hook should declare additional library routines or rename
26492      existing ones, using the functions `set_optab_libfunc' and
26493      `init_one_libfunc' defined in `optabs.c'.  `init_optabs' calls
26494      this macro after initializing all the normal library routines.
26496      The default is to do nothing.  Most ports don't need to define
26497      this hook.
26499  -- Macro: FLOAT_LIB_COMPARE_RETURNS_BOOL (MODE, COMPARISON)
26500      This macro should return `true' if the library routine that
26501      implements the floating point comparison operator COMPARISON in
26502      mode MODE will return a boolean, and FALSE if it will return a
26503      tristate.
26505      GCC's own floating point libraries return tristates from the
26506      comparison operators, so the default returns false always.  Most
26507      ports don't need to define this macro.
26509  -- Macro: TARGET_LIB_INT_CMP_BIASED
26510      This macro should evaluate to `true' if the integer comparison
26511      functions (like `__cmpdi2') return 0 to indicate that the first
26512      operand is smaller than the second, 1 to indicate that they are
26513      equal, and 2 to indicate that the first operand is greater than
26514      the second.  If this macro evaluates to `false' the comparison
26515      functions return -1, 0, and 1 instead of 0, 1, and 2.  If the
26516      target uses the routines in `libgcc.a', you do not need to define
26517      this macro.
26519  -- Macro: US_SOFTWARE_GOFAST
26520      Define this macro if your system C library uses the US Software
26521      GOFAST library to provide floating point emulation.
26523      In addition to defining this macro, your architecture must set
26524      `TARGET_INIT_LIBFUNCS' to `gofast_maybe_init_libfuncs', or else
26525      call that function from its version of that hook.  It is defined
26526      in `config/gofast.h', which must be included by your
26527      architecture's `CPU.c' file.  See `sparc/sparc.c' for an example.
26529      If this macro is defined, the
26530      `TARGET_FLOAT_LIB_COMPARE_RETURNS_BOOL' target hook must return
26531      false for `SFmode' and `DFmode' comparisons.
26533  -- Macro: TARGET_EDOM
26534      The value of `EDOM' on the target machine, as a C integer constant
26535      expression.  If you don't define this macro, GCC does not attempt
26536      to deposit the value of `EDOM' into `errno' directly.  Look in
26537      `/usr/include/errno.h' to find the value of `EDOM' on your system.
26539      If you do not define `TARGET_EDOM', then compiled code reports
26540      domain errors by calling the library function and letting it
26541      report the error.  If mathematical functions on your system use
26542      `matherr' when there is an error, then you should leave
26543      `TARGET_EDOM' undefined so that `matherr' is used normally.
26545  -- Macro: GEN_ERRNO_RTX
26546      Define this macro as a C expression to create an rtl expression
26547      that refers to the global "variable" `errno'.  (On certain systems,
26548      `errno' may not actually be a variable.)  If you don't define this
26549      macro, a reasonable default is used.
26551  -- Macro: TARGET_C99_FUNCTIONS
26552      When this macro is nonzero, GCC will implicitly optimize `sin'
26553      calls into `sinf' and similarly for other functions defined by C99
26554      standard.  The default is nonzero that should be proper value for
26555      most modern systems, however number of existing systems lacks
26556      support for these functions in the runtime so they needs this
26557      macro to be redefined to 0.
26559  -- Macro: TARGET_HAS_SINCOS
26560      When this macro is nonzero, GCC will implicitly optimize calls to
26561      `sin' and `cos' with the same argument to a call to `sincos'.  The
26562      default is zero.  The target has to provide the following
26563      functions:
26564           void sincos(double x, double *sin, double *cos);
26565           void sincosf(float x, float *sin, float *cos);
26566           void sincosl(long double x, long double *sin, long double *cos);
26568  -- Macro: NEXT_OBJC_RUNTIME
26569      Define this macro to generate code for Objective-C message sending
26570      using the calling convention of the NeXT system.  This calling
26571      convention involves passing the object, the selector and the
26572      method arguments all at once to the method-lookup library function.
26574      The default calling convention passes just the object and the
26575      selector to the lookup function, which returns a pointer to the
26576      method.
26578 \x1f
26579 File: gccint.info,  Node: Addressing Modes,  Next: Anchored Addresses,  Prev: Library Calls,  Up: Target Macros
26581 15.14 Addressing Modes
26582 ======================
26584 This is about addressing modes.
26586  -- Macro: HAVE_PRE_INCREMENT
26587  -- Macro: HAVE_PRE_DECREMENT
26588  -- Macro: HAVE_POST_INCREMENT
26589  -- Macro: HAVE_POST_DECREMENT
26590      A C expression that is nonzero if the machine supports
26591      pre-increment, pre-decrement, post-increment, or post-decrement
26592      addressing respectively.
26594  -- Macro: HAVE_PRE_MODIFY_DISP
26595  -- Macro: HAVE_POST_MODIFY_DISP
26596      A C expression that is nonzero if the machine supports pre- or
26597      post-address side-effect generation involving constants other than
26598      the size of the memory operand.
26600  -- Macro: HAVE_PRE_MODIFY_REG
26601  -- Macro: HAVE_POST_MODIFY_REG
26602      A C expression that is nonzero if the machine supports pre- or
26603      post-address side-effect generation involving a register
26604      displacement.
26606  -- Macro: CONSTANT_ADDRESS_P (X)
26607      A C expression that is 1 if the RTX X is a constant which is a
26608      valid address.  On most machines, this can be defined as
26609      `CONSTANT_P (X)', but a few machines are more restrictive in which
26610      constant addresses are supported.
26612  -- Macro: CONSTANT_P (X)
26613      `CONSTANT_P', which is defined by target-independent code, accepts
26614      integer-values expressions whose values are not explicitly known,
26615      such as `symbol_ref', `label_ref', and `high' expressions and
26616      `const' arithmetic expressions, in addition to `const_int' and
26617      `const_double' expressions.
26619  -- Macro: MAX_REGS_PER_ADDRESS
26620      A number, the maximum number of registers that can appear in a
26621      valid memory address.  Note that it is up to you to specify a
26622      value equal to the maximum number that `GO_IF_LEGITIMATE_ADDRESS'
26623      would ever accept.
26625  -- Macro: GO_IF_LEGITIMATE_ADDRESS (MODE, X, LABEL)
26626      A C compound statement with a conditional `goto LABEL;' executed
26627      if X (an RTX) is a legitimate memory address on the target machine
26628      for a memory operand of mode MODE.
26630      It usually pays to define several simpler macros to serve as
26631      subroutines for this one.  Otherwise it may be too complicated to
26632      understand.
26634      This macro must exist in two variants: a strict variant and a
26635      non-strict one.  The strict variant is used in the reload pass.  It
26636      must be defined so that any pseudo-register that has not been
26637      allocated a hard register is considered a memory reference.  In
26638      contexts where some kind of register is required, a pseudo-register
26639      with no hard register must be rejected.
26641      The non-strict variant is used in other passes.  It must be
26642      defined to accept all pseudo-registers in every context where some
26643      kind of register is required.
26645      Compiler source files that want to use the strict variant of this
26646      macro define the macro `REG_OK_STRICT'.  You should use an `#ifdef
26647      REG_OK_STRICT' conditional to define the strict variant in that
26648      case and the non-strict variant otherwise.
26650      Subroutines to check for acceptable registers for various purposes
26651      (one for base registers, one for index registers, and so on) are
26652      typically among the subroutines used to define
26653      `GO_IF_LEGITIMATE_ADDRESS'.  Then only these subroutine macros
26654      need have two variants; the higher levels of macros may be the
26655      same whether strict or not.
26657      Normally, constant addresses which are the sum of a `symbol_ref'
26658      and an integer are stored inside a `const' RTX to mark them as
26659      constant.  Therefore, there is no need to recognize such sums
26660      specifically as legitimate addresses.  Normally you would simply
26661      recognize any `const' as legitimate.
26663      Usually `PRINT_OPERAND_ADDRESS' is not prepared to handle constant
26664      sums that are not marked with  `const'.  It assumes that a naked
26665      `plus' indicates indexing.  If so, then you _must_ reject such
26666      naked constant sums as illegitimate addresses, so that none of
26667      them will be given to `PRINT_OPERAND_ADDRESS'.
26669      On some machines, whether a symbolic address is legitimate depends
26670      on the section that the address refers to.  On these machines,
26671      define the target hook `TARGET_ENCODE_SECTION_INFO' to store the
26672      information into the `symbol_ref', and then check for it here.
26673      When you see a `const', you will have to look inside it to find the
26674      `symbol_ref' in order to determine the section.  *Note Assembler
26675      Format::.
26677  -- Macro: FIND_BASE_TERM (X)
26678      A C expression to determine the base term of address X.  This
26679      macro is used in only one place: `find_base_term' in alias.c.
26681      It is always safe for this macro to not be defined.  It exists so
26682      that alias analysis can understand machine-dependent addresses.
26684      The typical use of this macro is to handle addresses containing a
26685      label_ref or symbol_ref within an UNSPEC.
26687  -- Macro: LEGITIMIZE_ADDRESS (X, OLDX, MODE, WIN)
26688      A C compound statement that attempts to replace X with a valid
26689      memory address for an operand of mode MODE.  WIN will be a C
26690      statement label elsewhere in the code; the macro definition may use
26692           GO_IF_LEGITIMATE_ADDRESS (MODE, X, WIN);
26694      to avoid further processing if the address has become legitimate.
26696      X will always be the result of a call to `break_out_memory_refs',
26697      and OLDX will be the operand that was given to that function to
26698      produce X.
26700      The code generated by this macro should not alter the substructure
26701      of X.  If it transforms X into a more legitimate form, it should
26702      assign X (which will always be a C variable) a new value.
26704      It is not necessary for this macro to come up with a legitimate
26705      address.  The compiler has standard ways of doing so in all cases.
26706      In fact, it is safe to omit this macro.  But often a
26707      machine-dependent strategy can generate better code.
26709  -- Macro: LEGITIMIZE_RELOAD_ADDRESS (X, MODE, OPNUM, TYPE, IND_LEVELS,
26710           WIN)
26711      A C compound statement that attempts to replace X, which is an
26712      address that needs reloading, with a valid memory address for an
26713      operand of mode MODE.  WIN will be a C statement label elsewhere
26714      in the code.  It is not necessary to define this macro, but it
26715      might be useful for performance reasons.
26717      For example, on the i386, it is sometimes possible to use a single
26718      reload register instead of two by reloading a sum of two pseudo
26719      registers into a register.  On the other hand, for number of RISC
26720      processors offsets are limited so that often an intermediate
26721      address needs to be generated in order to address a stack slot.
26722      By defining `LEGITIMIZE_RELOAD_ADDRESS' appropriately, the
26723      intermediate addresses generated for adjacent some stack slots can
26724      be made identical, and thus be shared.
26726      _Note_: This macro should be used with caution.  It is necessary
26727      to know something of how reload works in order to effectively use
26728      this, and it is quite easy to produce macros that build in too
26729      much knowledge of reload internals.
26731      _Note_: This macro must be able to reload an address created by a
26732      previous invocation of this macro.  If it fails to handle such
26733      addresses then the compiler may generate incorrect code or abort.
26735      The macro definition should use `push_reload' to indicate parts
26736      that need reloading; OPNUM, TYPE and IND_LEVELS are usually
26737      suitable to be passed unaltered to `push_reload'.
26739      The code generated by this macro must not alter the substructure of
26740      X.  If it transforms X into a more legitimate form, it should
26741      assign X (which will always be a C variable) a new value.  This
26742      also applies to parts that you change indirectly by calling
26743      `push_reload'.
26745      The macro definition may use `strict_memory_address_p' to test if
26746      the address has become legitimate.
26748      If you want to change only a part of X, one standard way of doing
26749      this is to use `copy_rtx'.  Note, however, that it unshares only a
26750      single level of rtl.  Thus, if the part to be changed is not at the
26751      top level, you'll need to replace first the top level.  It is not
26752      necessary for this macro to come up with a legitimate address;
26753      but often a machine-dependent strategy can generate better code.
26755  -- Macro: GO_IF_MODE_DEPENDENT_ADDRESS (ADDR, LABEL)
26756      A C statement or compound statement with a conditional `goto
26757      LABEL;' executed if memory address X (an RTX) can have different
26758      meanings depending on the machine mode of the memory reference it
26759      is used for or if the address is valid for some modes but not
26760      others.
26762      Autoincrement and autodecrement addresses typically have
26763      mode-dependent effects because the amount of the increment or
26764      decrement is the size of the operand being addressed.  Some
26765      machines have other mode-dependent addresses.  Many RISC machines
26766      have no mode-dependent addresses.
26768      You may assume that ADDR is a valid address for the machine.
26770  -- Macro: LEGITIMATE_CONSTANT_P (X)
26771      A C expression that is nonzero if X is a legitimate constant for
26772      an immediate operand on the target machine.  You can assume that X
26773      satisfies `CONSTANT_P', so you need not check this.  In fact, `1'
26774      is a suitable definition for this macro on machines where anything
26775      `CONSTANT_P' is valid.
26777  -- Target Hook: rtx TARGET_DELEGITIMIZE_ADDRESS (rtx X)
26778      This hook is used to undo the possibly obfuscating effects of the
26779      `LEGITIMIZE_ADDRESS' and `LEGITIMIZE_RELOAD_ADDRESS' target
26780      macros.  Some backend implementations of these macros wrap symbol
26781      references inside an `UNSPEC' rtx to represent PIC or similar
26782      addressing modes.  This target hook allows GCC's optimizers to
26783      understand the semantics of these opaque `UNSPEC's by converting
26784      them back into their original form.
26786  -- Target Hook: bool TARGET_CANNOT_FORCE_CONST_MEM (rtx X)
26787      This hook should return true if X is of a form that cannot (or
26788      should not) be spilled to the constant pool.  The default version
26789      of this hook returns false.
26791      The primary reason to define this hook is to prevent reload from
26792      deciding that a non-legitimate constant would be better reloaded
26793      from the constant pool instead of spilling and reloading a register
26794      holding the constant.  This restriction is often true of addresses
26795      of TLS symbols for various targets.
26797  -- Target Hook: bool TARGET_USE_BLOCKS_FOR_CONSTANT_P (enum
26798           machine_mode MODE, rtx X)
26799      This hook should return true if pool entries for constant X can be
26800      placed in an `object_block' structure.  MODE is the mode of X.
26802      The default version returns false for all constants.
26804  -- Target Hook: tree TARGET_BUILTIN_RECIPROCAL (enum tree_code FN,
26805           bool TM_FN, bool SQRT)
26806      This hook should return the DECL of a function that implements
26807      reciprocal of the builtin function with builtin function code FN,
26808      or `NULL_TREE' if such a function is not available.  TM_FN is true
26809      when FN is a code of a machine-dependent builtin function.  When
26810      SQRT is true, additional optimizations that apply only to the
26811      reciprocal of a square root function are performed, and only
26812      reciprocals of `sqrt' function are valid.
26814  -- Target Hook: tree TARGET_VECTORIZE_BUILTIN_MASK_FOR_LOAD (void)
26815      This hook should return the DECL of a function F that given an
26816      address ADDR as an argument returns a mask M that can be used to
26817      extract from two vectors the relevant data that resides in ADDR in
26818      case ADDR is not properly aligned.
26820      The autovectorizer, when vectorizing a load operation from an
26821      address ADDR that may be unaligned, will generate two vector loads
26822      from the two aligned addresses around ADDR. It then generates a
26823      `REALIGN_LOAD' operation to extract the relevant data from the two
26824      loaded vectors. The first two arguments to `REALIGN_LOAD', V1 and
26825      V2, are the two vectors, each of size VS, and the third argument,
26826      OFF, defines how the data will be extracted from these two
26827      vectors: if OFF is 0, then the returned vector is V2; otherwise,
26828      the returned vector is composed from the last VS-OFF elements of
26829      V1 concatenated to the first OFF elements of V2.
26831      If this hook is defined, the autovectorizer will generate a call
26832      to F (using the DECL tree that this hook returns) and will use the
26833      return value of F as the argument OFF to `REALIGN_LOAD'.
26834      Therefore, the mask M returned by F should comply with the
26835      semantics expected by `REALIGN_LOAD' described above.  If this
26836      hook is not defined, then ADDR will be used as the argument OFF to
26837      `REALIGN_LOAD', in which case the low log2(VS)-1 bits of ADDR will
26838      be considered.
26840  -- Target Hook: tree TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_EVEN (tree X)
26841      This hook should return the DECL of a function F that implements
26842      widening multiplication of the even elements of two input vectors
26843      of type X.
26845      If this hook is defined, the autovectorizer will use it along with
26846      the `TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_ODD' target hook when
26847      vectorizing widening multiplication in cases that the order of the
26848      results does not have to be preserved (e.g. used only by a
26849      reduction computation). Otherwise, the `widen_mult_hi/lo' idioms
26850      will be used.
26852  -- Target Hook: tree TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_ODD (tree X)
26853      This hook should return the DECL of a function F that implements
26854      widening multiplication of the odd elements of two input vectors
26855      of type X.
26857      If this hook is defined, the autovectorizer will use it along with
26858      the `TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_EVEN' target hook when
26859      vectorizing widening multiplication in cases that the order of the
26860      results does not have to be preserved (e.g. used only by a
26861      reduction computation). Otherwise, the `widen_mult_hi/lo' idioms
26862      will be used.
26864  -- Target Hook: tree TARGET_VECTORIZE_BUILTIN_CONVERSION (enum
26865           tree_code CODE, tree TYPE)
26866      This hook should return the DECL of a function that implements
26867      conversion of the input vector of type TYPE.  If TYPE is an
26868      integral type, the result of the conversion is a vector of
26869      floating-point type of the same size.  If TYPE is a floating-point
26870      type, the result of the conversion is a vector of integral type of
26871      the same size.  CODE specifies how the conversion is to be applied
26872      (truncation, rounding, etc.).
26874      If this hook is defined, the autovectorizer will use the
26875      `TARGET_VECTORIZE_BUILTIN_CONVERSION' target hook when vectorizing
26876      conversion. Otherwise, it will return `NULL_TREE'.
26878  -- Target Hook: tree TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION
26879           (enum built_in_function CODE, tree VEC_TYPE_OUT, tree
26880           VEC_TYPE_IN)
26881      This hook should return the decl of a function that implements the
26882      vectorized variant of the builtin function with builtin function
26883      code CODE or `NULL_TREE' if such a function is not available.  The
26884      return type of the vectorized function shall be of vector type
26885      VEC_TYPE_OUT and the argument types should be VEC_TYPE_IN.
26887 \x1f
26888 File: gccint.info,  Node: Anchored Addresses,  Next: Condition Code,  Prev: Addressing Modes,  Up: Target Macros
26890 15.15 Anchored Addresses
26891 ========================
26893 GCC usually addresses every static object as a separate entity.  For
26894 example, if we have:
26896      static int a, b, c;
26897      int foo (void) { return a + b + c; }
26899  the code for `foo' will usually calculate three separate symbolic
26900 addresses: those of `a', `b' and `c'.  On some targets, it would be
26901 better to calculate just one symbolic address and access the three
26902 variables relative to it.  The equivalent pseudocode would be something
26903 like:
26905      int foo (void)
26906      {
26907        register int *xr = &x;
26908        return xr[&a - &x] + xr[&b - &x] + xr[&c - &x];
26909      }
26911  (which isn't valid C).  We refer to shared addresses like `x' as
26912 "section anchors".  Their use is controlled by `-fsection-anchors'.
26914  The hooks below describe the target properties that GCC needs to know
26915 in order to make effective use of section anchors.  It won't use
26916 section anchors at all unless either `TARGET_MIN_ANCHOR_OFFSET' or
26917 `TARGET_MAX_ANCHOR_OFFSET' is set to a nonzero value.
26919  -- Variable: Target Hook HOST_WIDE_INT TARGET_MIN_ANCHOR_OFFSET
26920      The minimum offset that should be applied to a section anchor.  On
26921      most targets, it should be the smallest offset that can be applied
26922      to a base register while still giving a legitimate address for
26923      every mode.  The default value is 0.
26925  -- Variable: Target Hook HOST_WIDE_INT TARGET_MAX_ANCHOR_OFFSET
26926      Like `TARGET_MIN_ANCHOR_OFFSET', but the maximum (inclusive)
26927      offset that should be applied to section anchors.  The default
26928      value is 0.
26930  -- Target Hook: void TARGET_ASM_OUTPUT_ANCHOR (rtx X)
26931      Write the assembly code to define section anchor X, which is a
26932      `SYMBOL_REF' for which `SYMBOL_REF_ANCHOR_P (X)' is true.  The
26933      hook is called with the assembly output position set to the
26934      beginning of `SYMBOL_REF_BLOCK (X)'.
26936      If `ASM_OUTPUT_DEF' is available, the hook's default definition
26937      uses it to define the symbol as `. + SYMBOL_REF_BLOCK_OFFSET (X)'.
26938      If `ASM_OUTPUT_DEF' is not available, the hook's default definition
26939      is `NULL', which disables the use of section anchors altogether.
26941  -- Target Hook: bool TARGET_USE_ANCHORS_FOR_SYMBOL_P (rtx X)
26942      Return true if GCC should attempt to use anchors to access
26943      `SYMBOL_REF' X.  You can assume `SYMBOL_REF_HAS_BLOCK_INFO_P (X)'
26944      and `!SYMBOL_REF_ANCHOR_P (X)'.
26946      The default version is correct for most targets, but you might
26947      need to intercept this hook to handle things like target-specific
26948      attributes or target-specific sections.
26950 \x1f
26951 File: gccint.info,  Node: Condition Code,  Next: Costs,  Prev: Anchored Addresses,  Up: Target Macros
26953 15.16 Condition Code Status
26954 ===========================
26956 This describes the condition code status.
26958  The file `conditions.h' defines a variable `cc_status' to describe how
26959 the condition code was computed (in case the interpretation of the
26960 condition code depends on the instruction that it was set by).  This
26961 variable contains the RTL expressions on which the condition code is
26962 currently based, and several standard flags.
26964  Sometimes additional machine-specific flags must be defined in the
26965 machine description header file.  It can also add additional
26966 machine-specific information by defining `CC_STATUS_MDEP'.
26968  -- Macro: CC_STATUS_MDEP
26969      C code for a data type which is used for declaring the `mdep'
26970      component of `cc_status'.  It defaults to `int'.
26972      This macro is not used on machines that do not use `cc0'.
26974  -- Macro: CC_STATUS_MDEP_INIT
26975      A C expression to initialize the `mdep' field to "empty".  The
26976      default definition does nothing, since most machines don't use the
26977      field anyway.  If you want to use the field, you should probably
26978      define this macro to initialize it.
26980      This macro is not used on machines that do not use `cc0'.
26982  -- Macro: NOTICE_UPDATE_CC (EXP, INSN)
26983      A C compound statement to set the components of `cc_status'
26984      appropriately for an insn INSN whose body is EXP.  It is this
26985      macro's responsibility to recognize insns that set the condition
26986      code as a byproduct of other activity as well as those that
26987      explicitly set `(cc0)'.
26989      This macro is not used on machines that do not use `cc0'.
26991      If there are insns that do not set the condition code but do alter
26992      other machine registers, this macro must check to see whether they
26993      invalidate the expressions that the condition code is recorded as
26994      reflecting.  For example, on the 68000, insns that store in address
26995      registers do not set the condition code, which means that usually
26996      `NOTICE_UPDATE_CC' can leave `cc_status' unaltered for such insns.
26997      But suppose that the previous insn set the condition code based
26998      on location `a4@(102)' and the current insn stores a new value in
26999      `a4'.  Although the condition code is not changed by this, it will
27000      no longer be true that it reflects the contents of `a4@(102)'.
27001      Therefore, `NOTICE_UPDATE_CC' must alter `cc_status' in this case
27002      to say that nothing is known about the condition code value.
27004      The definition of `NOTICE_UPDATE_CC' must be prepared to deal with
27005      the results of peephole optimization: insns whose patterns are
27006      `parallel' RTXs containing various `reg', `mem' or constants which
27007      are just the operands.  The RTL structure of these insns is not
27008      sufficient to indicate what the insns actually do.  What
27009      `NOTICE_UPDATE_CC' should do when it sees one is just to run
27010      `CC_STATUS_INIT'.
27012      A possible definition of `NOTICE_UPDATE_CC' is to call a function
27013      that looks at an attribute (*note Insn Attributes::) named, for
27014      example, `cc'.  This avoids having detailed information about
27015      patterns in two places, the `md' file and in `NOTICE_UPDATE_CC'.
27017  -- Macro: SELECT_CC_MODE (OP, X, Y)
27018      Returns a mode from class `MODE_CC' to be used when comparison
27019      operation code OP is applied to rtx X and Y.  For example, on the
27020      SPARC, `SELECT_CC_MODE' is defined as (see *note Jump Patterns::
27021      for a description of the reason for this definition)
27023           #define SELECT_CC_MODE(OP,X,Y) \
27024             (GET_MODE_CLASS (GET_MODE (X)) == MODE_FLOAT          \
27025              ? ((OP == EQ || OP == NE) ? CCFPmode : CCFPEmode)    \
27026              : ((GET_CODE (X) == PLUS || GET_CODE (X) == MINUS    \
27027                  || GET_CODE (X) == NEG) \
27028                 ? CC_NOOVmode : CCmode))
27030      You should define this macro if and only if you define extra CC
27031      modes in `MACHINE-modes.def'.
27033  -- Macro: CANONICALIZE_COMPARISON (CODE, OP0, OP1)
27034      On some machines not all possible comparisons are defined, but you
27035      can convert an invalid comparison into a valid one.  For example,
27036      the Alpha does not have a `GT' comparison, but you can use an `LT'
27037      comparison instead and swap the order of the operands.
27039      On such machines, define this macro to be a C statement to do any
27040      required conversions.  CODE is the initial comparison code and OP0
27041      and OP1 are the left and right operands of the comparison,
27042      respectively.  You should modify CODE, OP0, and OP1 as required.
27044      GCC will not assume that the comparison resulting from this macro
27045      is valid but will see if the resulting insn matches a pattern in
27046      the `md' file.
27048      You need not define this macro if it would never change the
27049      comparison code or operands.
27051  -- Macro: REVERSIBLE_CC_MODE (MODE)
27052      A C expression whose value is one if it is always safe to reverse a
27053      comparison whose mode is MODE.  If `SELECT_CC_MODE' can ever
27054      return MODE for a floating-point inequality comparison, then
27055      `REVERSIBLE_CC_MODE (MODE)' must be zero.
27057      You need not define this macro if it would always returns zero or
27058      if the floating-point format is anything other than
27059      `IEEE_FLOAT_FORMAT'.  For example, here is the definition used on
27060      the SPARC, where floating-point inequality comparisons are always
27061      given `CCFPEmode':
27063           #define REVERSIBLE_CC_MODE(MODE)  ((MODE) != CCFPEmode)
27065  -- Macro: REVERSE_CONDITION (CODE, MODE)
27066      A C expression whose value is reversed condition code of the CODE
27067      for comparison done in CC_MODE MODE.  The macro is used only in
27068      case `REVERSIBLE_CC_MODE (MODE)' is nonzero.  Define this macro in
27069      case machine has some non-standard way how to reverse certain
27070      conditionals.  For instance in case all floating point conditions
27071      are non-trapping, compiler may freely convert unordered compares
27072      to ordered one.  Then definition may look like:
27074           #define REVERSE_CONDITION(CODE, MODE) \
27075              ((MODE) != CCFPmode ? reverse_condition (CODE) \
27076               : reverse_condition_maybe_unordered (CODE))
27078  -- Macro: REVERSE_CONDEXEC_PREDICATES_P (OP1, OP2)
27079      A C expression that returns true if the conditional execution
27080      predicate OP1, a comparison operation, is the inverse of OP2 and
27081      vice versa.  Define this to return 0 if the target has conditional
27082      execution predicates that cannot be reversed safely.  There is no
27083      need to validate that the arguments of op1 and op2 are the same,
27084      this is done separately.  If no expansion is specified, this macro
27085      is defined as follows:
27087           #define REVERSE_CONDEXEC_PREDICATES_P (x, y) \
27088              (GET_CODE ((x)) == reversed_comparison_code ((y), NULL))
27090  -- Target Hook: bool TARGET_FIXED_CONDITION_CODE_REGS (unsigned int *,
27091           unsigned int *)
27092      On targets which do not use `(cc0)', and which use a hard register
27093      rather than a pseudo-register to hold condition codes, the regular
27094      CSE passes are often not able to identify cases in which the hard
27095      register is set to a common value.  Use this hook to enable a
27096      small pass which optimizes such cases.  This hook should return
27097      true to enable this pass, and it should set the integers to which
27098      its arguments point to the hard register numbers used for
27099      condition codes.  When there is only one such register, as is true
27100      on most systems, the integer pointed to by the second argument
27101      should be set to `INVALID_REGNUM'.
27103      The default version of this hook returns false.
27105  -- Target Hook: enum machine_mode TARGET_CC_MODES_COMPATIBLE (enum
27106           machine_mode, enum machine_mode)
27107      On targets which use multiple condition code modes in class
27108      `MODE_CC', it is sometimes the case that a comparison can be
27109      validly done in more than one mode.  On such a system, define this
27110      target hook to take two mode arguments and to return a mode in
27111      which both comparisons may be validly done.  If there is no such
27112      mode, return `VOIDmode'.
27114      The default version of this hook checks whether the modes are the
27115      same.  If they are, it returns that mode.  If they are different,
27116      it returns `VOIDmode'.
27118 \x1f
27119 File: gccint.info,  Node: Costs,  Next: Scheduling,  Prev: Condition Code,  Up: Target Macros
27121 15.17 Describing Relative Costs of Operations
27122 =============================================
27124 These macros let you describe the relative speed of various operations
27125 on the target machine.
27127  -- Macro: REGISTER_MOVE_COST (MODE, FROM, TO)
27128      A C expression for the cost of moving data of mode MODE from a
27129      register in class FROM to one in class TO.  The classes are
27130      expressed using the enumeration values such as `GENERAL_REGS'.  A
27131      value of 2 is the default; other values are interpreted relative to
27132      that.
27134      It is not required that the cost always equal 2 when FROM is the
27135      same as TO; on some machines it is expensive to move between
27136      registers if they are not general registers.
27138      If reload sees an insn consisting of a single `set' between two
27139      hard registers, and if `REGISTER_MOVE_COST' applied to their
27140      classes returns a value of 2, reload does not check to ensure that
27141      the constraints of the insn are met.  Setting a cost of other than
27142      2 will allow reload to verify that the constraints are met.  You
27143      should do this if the `movM' pattern's constraints do not allow
27144      such copying.
27146  -- Macro: MEMORY_MOVE_COST (MODE, CLASS, IN)
27147      A C expression for the cost of moving data of mode MODE between a
27148      register of class CLASS and memory; IN is zero if the value is to
27149      be written to memory, nonzero if it is to be read in.  This cost
27150      is relative to those in `REGISTER_MOVE_COST'.  If moving between
27151      registers and memory is more expensive than between two registers,
27152      you should define this macro to express the relative cost.
27154      If you do not define this macro, GCC uses a default cost of 4 plus
27155      the cost of copying via a secondary reload register, if one is
27156      needed.  If your machine requires a secondary reload register to
27157      copy between memory and a register of CLASS but the reload
27158      mechanism is more complex than copying via an intermediate, define
27159      this macro to reflect the actual cost of the move.
27161      GCC defines the function `memory_move_secondary_cost' if secondary
27162      reloads are needed.  It computes the costs due to copying via a
27163      secondary register.  If your machine copies from memory using a
27164      secondary register in the conventional way but the default base
27165      value of 4 is not correct for your machine, define this macro to
27166      add some other value to the result of that function.  The
27167      arguments to that function are the same as to this macro.
27169  -- Macro: BRANCH_COST
27170      A C expression for the cost of a branch instruction.  A value of 1
27171      is the default; other values are interpreted relative to that.
27173  Here are additional macros which do not specify precise relative costs,
27174 but only that certain actions are more expensive than GCC would
27175 ordinarily expect.
27177  -- Macro: SLOW_BYTE_ACCESS
27178      Define this macro as a C expression which is nonzero if accessing
27179      less than a word of memory (i.e. a `char' or a `short') is no
27180      faster than accessing a word of memory, i.e., if such access
27181      require more than one instruction or if there is no difference in
27182      cost between byte and (aligned) word loads.
27184      When this macro is not defined, the compiler will access a field by
27185      finding the smallest containing object; when it is defined, a
27186      fullword load will be used if alignment permits.  Unless bytes
27187      accesses are faster than word accesses, using word accesses is
27188      preferable since it may eliminate subsequent memory access if
27189      subsequent accesses occur to other fields in the same word of the
27190      structure, but to different bytes.
27192  -- Macro: SLOW_UNALIGNED_ACCESS (MODE, ALIGNMENT)
27193      Define this macro to be the value 1 if memory accesses described
27194      by the MODE and ALIGNMENT parameters have a cost many times greater
27195      than aligned accesses, for example if they are emulated in a trap
27196      handler.
27198      When this macro is nonzero, the compiler will act as if
27199      `STRICT_ALIGNMENT' were nonzero when generating code for block
27200      moves.  This can cause significantly more instructions to be
27201      produced.  Therefore, do not set this macro nonzero if unaligned
27202      accesses only add a cycle or two to the time for a memory access.
27204      If the value of this macro is always zero, it need not be defined.
27205      If this macro is defined, it should produce a nonzero value when
27206      `STRICT_ALIGNMENT' is nonzero.
27208  -- Macro: MOVE_RATIO
27209      The threshold of number of scalar memory-to-memory move insns,
27210      _below_ which a sequence of insns should be generated instead of a
27211      string move insn or a library call.  Increasing the value will
27212      always make code faster, but eventually incurs high cost in
27213      increased code size.
27215      Note that on machines where the corresponding move insn is a
27216      `define_expand' that emits a sequence of insns, this macro counts
27217      the number of such sequences.
27219      If you don't define this, a reasonable default is used.
27221  -- Macro: MOVE_BY_PIECES_P (SIZE, ALIGNMENT)
27222      A C expression used to determine whether `move_by_pieces' will be
27223      used to copy a chunk of memory, or whether some other block move
27224      mechanism will be used.  Defaults to 1 if `move_by_pieces_ninsns'
27225      returns less than `MOVE_RATIO'.
27227  -- Macro: MOVE_MAX_PIECES
27228      A C expression used by `move_by_pieces' to determine the largest
27229      unit a load or store used to copy memory is.  Defaults to
27230      `MOVE_MAX'.
27232  -- Macro: CLEAR_RATIO
27233      The threshold of number of scalar move insns, _below_ which a
27234      sequence of insns should be generated to clear memory instead of a
27235      string clear insn or a library call.  Increasing the value will
27236      always make code faster, but eventually incurs high cost in
27237      increased code size.
27239      If you don't define this, a reasonable default is used.
27241  -- Macro: CLEAR_BY_PIECES_P (SIZE, ALIGNMENT)
27242      A C expression used to determine whether `clear_by_pieces' will be
27243      used to clear a chunk of memory, or whether some other block clear
27244      mechanism will be used.  Defaults to 1 if `move_by_pieces_ninsns'
27245      returns less than `CLEAR_RATIO'.
27247  -- Macro: SET_RATIO
27248      The threshold of number of scalar move insns, _below_ which a
27249      sequence of insns should be generated to set memory to a constant
27250      value, instead of a block set insn or a library call.  Increasing
27251      the value will always make code faster, but eventually incurs high
27252      cost in increased code size.
27254      If you don't define this, it defaults to the value of `MOVE_RATIO'.
27256  -- Macro: SET_BY_PIECES_P (SIZE, ALIGNMENT)
27257      A C expression used to determine whether `store_by_pieces' will be
27258      used to set a chunk of memory to a constant value, or whether some
27259      other mechanism will be used.  Used by `__builtin_memset' when
27260      storing values other than constant zero.  Defaults to 1 if
27261      `move_by_pieces_ninsns' returns less than `SET_RATIO'.
27263  -- Macro: STORE_BY_PIECES_P (SIZE, ALIGNMENT)
27264      A C expression used to determine whether `store_by_pieces' will be
27265      used to set a chunk of memory to a constant string value, or
27266      whether some other mechanism will be used.  Used by
27267      `__builtin_strcpy' when called with a constant source string.
27268      Defaults to 1 if `move_by_pieces_ninsns' returns less than
27269      `MOVE_RATIO'.
27271  -- Macro: USE_LOAD_POST_INCREMENT (MODE)
27272      A C expression used to determine whether a load postincrement is a
27273      good thing to use for a given mode.  Defaults to the value of
27274      `HAVE_POST_INCREMENT'.
27276  -- Macro: USE_LOAD_POST_DECREMENT (MODE)
27277      A C expression used to determine whether a load postdecrement is a
27278      good thing to use for a given mode.  Defaults to the value of
27279      `HAVE_POST_DECREMENT'.
27281  -- Macro: USE_LOAD_PRE_INCREMENT (MODE)
27282      A C expression used to determine whether a load preincrement is a
27283      good thing to use for a given mode.  Defaults to the value of
27284      `HAVE_PRE_INCREMENT'.
27286  -- Macro: USE_LOAD_PRE_DECREMENT (MODE)
27287      A C expression used to determine whether a load predecrement is a
27288      good thing to use for a given mode.  Defaults to the value of
27289      `HAVE_PRE_DECREMENT'.
27291  -- Macro: USE_STORE_POST_INCREMENT (MODE)
27292      A C expression used to determine whether a store postincrement is
27293      a good thing to use for a given mode.  Defaults to the value of
27294      `HAVE_POST_INCREMENT'.
27296  -- Macro: USE_STORE_POST_DECREMENT (MODE)
27297      A C expression used to determine whether a store postdecrement is
27298      a good thing to use for a given mode.  Defaults to the value of
27299      `HAVE_POST_DECREMENT'.
27301  -- Macro: USE_STORE_PRE_INCREMENT (MODE)
27302      This macro is used to determine whether a store preincrement is a
27303      good thing to use for a given mode.  Defaults to the value of
27304      `HAVE_PRE_INCREMENT'.
27306  -- Macro: USE_STORE_PRE_DECREMENT (MODE)
27307      This macro is used to determine whether a store predecrement is a
27308      good thing to use for a given mode.  Defaults to the value of
27309      `HAVE_PRE_DECREMENT'.
27311  -- Macro: NO_FUNCTION_CSE
27312      Define this macro if it is as good or better to call a constant
27313      function address than to call an address kept in a register.
27315  -- Macro: RANGE_TEST_NON_SHORT_CIRCUIT
27316      Define this macro if a non-short-circuit operation produced by
27317      `fold_range_test ()' is optimal.  This macro defaults to true if
27318      `BRANCH_COST' is greater than or equal to the value 2.
27320  -- Target Hook: bool TARGET_RTX_COSTS (rtx X, int CODE, int
27321           OUTER_CODE, int *TOTAL)
27322      This target hook describes the relative costs of RTL expressions.
27324      The cost may depend on the precise form of the expression, which is
27325      available for examination in X, and the rtx code of the expression
27326      in which it is contained, found in OUTER_CODE.  CODE is the
27327      expression code--redundant, since it can be obtained with
27328      `GET_CODE (X)'.
27330      In implementing this hook, you can use the construct
27331      `COSTS_N_INSNS (N)' to specify a cost equal to N fast instructions.
27333      On entry to the hook, `*TOTAL' contains a default estimate for the
27334      cost of the expression.  The hook should modify this value as
27335      necessary.  Traditionally, the default costs are `COSTS_N_INSNS
27336      (5)' for multiplications, `COSTS_N_INSNS (7)' for division and
27337      modulus operations, and `COSTS_N_INSNS (1)' for all other
27338      operations.
27340      When optimizing for code size, i.e. when `optimize_size' is
27341      nonzero, this target hook should be used to estimate the relative
27342      size cost of an expression, again relative to `COSTS_N_INSNS'.
27344      The hook returns true when all subexpressions of X have been
27345      processed, and false when `rtx_cost' should recurse.
27347  -- Target Hook: int TARGET_ADDRESS_COST (rtx ADDRESS)
27348      This hook computes the cost of an addressing mode that contains
27349      ADDRESS.  If not defined, the cost is computed from the ADDRESS
27350      expression and the `TARGET_RTX_COST' hook.
27352      For most CISC machines, the default cost is a good approximation
27353      of the true cost of the addressing mode.  However, on RISC
27354      machines, all instructions normally have the same length and
27355      execution time.  Hence all addresses will have equal costs.
27357      In cases where more than one form of an address is known, the form
27358      with the lowest cost will be used.  If multiple forms have the
27359      same, lowest, cost, the one that is the most complex will be used.
27361      For example, suppose an address that is equal to the sum of a
27362      register and a constant is used twice in the same basic block.
27363      When this macro is not defined, the address will be computed in a
27364      register and memory references will be indirect through that
27365      register.  On machines where the cost of the addressing mode
27366      containing the sum is no higher than that of a simple indirect
27367      reference, this will produce an additional instruction and
27368      possibly require an additional register.  Proper specification of
27369      this macro eliminates this overhead for such machines.
27371      This hook is never called with an invalid address.
27373      On machines where an address involving more than one register is as
27374      cheap as an address computation involving only one register,
27375      defining `TARGET_ADDRESS_COST' to reflect this can cause two
27376      registers to be live over a region of code where only one would
27377      have been if `TARGET_ADDRESS_COST' were not defined in that
27378      manner.  This effect should be considered in the definition of
27379      this macro.  Equivalent costs should probably only be given to
27380      addresses with different numbers of registers on machines with
27381      lots of registers.
27383 \x1f
27384 File: gccint.info,  Node: Scheduling,  Next: Sections,  Prev: Costs,  Up: Target Macros
27386 15.18 Adjusting the Instruction Scheduler
27387 =========================================
27389 The instruction scheduler may need a fair amount of machine-specific
27390 adjustment in order to produce good code.  GCC provides several target
27391 hooks for this purpose.  It is usually enough to define just a few of
27392 them: try the first ones in this list first.
27394  -- Target Hook: int TARGET_SCHED_ISSUE_RATE (void)
27395      This hook returns the maximum number of instructions that can ever
27396      issue at the same time on the target machine.  The default is one.
27397      Although the insn scheduler can define itself the possibility of
27398      issue an insn on the same cycle, the value can serve as an
27399      additional constraint to issue insns on the same simulated
27400      processor cycle (see hooks `TARGET_SCHED_REORDER' and
27401      `TARGET_SCHED_REORDER2').  This value must be constant over the
27402      entire compilation.  If you need it to vary depending on what the
27403      instructions are, you must use `TARGET_SCHED_VARIABLE_ISSUE'.
27405  -- Target Hook: int TARGET_SCHED_VARIABLE_ISSUE (FILE *FILE, int
27406           VERBOSE, rtx INSN, int MORE)
27407      This hook is executed by the scheduler after it has scheduled an
27408      insn from the ready list.  It should return the number of insns
27409      which can still be issued in the current cycle.  The default is
27410      `MORE - 1' for insns other than `CLOBBER' and `USE', which
27411      normally are not counted against the issue rate.  You should
27412      define this hook if some insns take more machine resources than
27413      others, so that fewer insns can follow them in the same cycle.
27414      FILE is either a null pointer, or a stdio stream to write any
27415      debug output to.  VERBOSE is the verbose level provided by
27416      `-fsched-verbose-N'.  INSN is the instruction that was scheduled.
27418  -- Target Hook: int TARGET_SCHED_ADJUST_COST (rtx INSN, rtx LINK, rtx
27419           DEP_INSN, int COST)
27420      This function corrects the value of COST based on the relationship
27421      between INSN and DEP_INSN through the dependence LINK.  It should
27422      return the new value.  The default is to make no adjustment to
27423      COST.  This can be used for example to specify to the scheduler
27424      using the traditional pipeline description that an output- or
27425      anti-dependence does not incur the same cost as a data-dependence.
27426      If the scheduler using the automaton based pipeline description,
27427      the cost of anti-dependence is zero and the cost of
27428      output-dependence is maximum of one and the difference of latency
27429      times of the first and the second insns.  If these values are not
27430      acceptable, you could use the hook to modify them too.  See also
27431      *note Processor pipeline description::.
27433  -- Target Hook: int TARGET_SCHED_ADJUST_PRIORITY (rtx INSN, int
27434           PRIORITY)
27435      This hook adjusts the integer scheduling priority PRIORITY of
27436      INSN.  It should return the new priority.  Increase the priority to
27437      execute INSN earlier, reduce the priority to execute INSN later.
27438      Do not define this hook if you do not need to adjust the
27439      scheduling priorities of insns.
27441  -- Target Hook: int TARGET_SCHED_REORDER (FILE *FILE, int VERBOSE, rtx
27442           *READY, int *N_READYP, int CLOCK)
27443      This hook is executed by the scheduler after it has scheduled the
27444      ready list, to allow the machine description to reorder it (for
27445      example to combine two small instructions together on `VLIW'
27446      machines).  FILE is either a null pointer, or a stdio stream to
27447      write any debug output to.  VERBOSE is the verbose level provided
27448      by `-fsched-verbose-N'.  READY is a pointer to the ready list of
27449      instructions that are ready to be scheduled.  N_READYP is a
27450      pointer to the number of elements in the ready list.  The scheduler
27451      reads the ready list in reverse order, starting with
27452      READY[*N_READYP-1] and going to READY[0].  CLOCK is the timer tick
27453      of the scheduler.  You may modify the ready list and the number of
27454      ready insns.  The return value is the number of insns that can
27455      issue this cycle; normally this is just `issue_rate'.  See also
27456      `TARGET_SCHED_REORDER2'.
27458  -- Target Hook: int TARGET_SCHED_REORDER2 (FILE *FILE, int VERBOSE,
27459           rtx *READY, int *N_READY, CLOCK)
27460      Like `TARGET_SCHED_REORDER', but called at a different time.  That
27461      function is called whenever the scheduler starts a new cycle.
27462      This one is called once per iteration over a cycle, immediately
27463      after `TARGET_SCHED_VARIABLE_ISSUE'; it can reorder the ready list
27464      and return the number of insns to be scheduled in the same cycle.
27465      Defining this hook can be useful if there are frequent situations
27466      where scheduling one insn causes other insns to become ready in
27467      the same cycle.  These other insns can then be taken into account
27468      properly.
27470  -- Target Hook: void TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK (rtx
27471           HEAD, rtx TAIL)
27472      This hook is called after evaluation forward dependencies of insns
27473      in chain given by two parameter values (HEAD and TAIL
27474      correspondingly) but before insns scheduling of the insn chain.
27475      For example, it can be used for better insn classification if it
27476      requires analysis of dependencies.  This hook can use backward and
27477      forward dependencies of the insn scheduler because they are already
27478      calculated.
27480  -- Target Hook: void TARGET_SCHED_INIT (FILE *FILE, int VERBOSE, int
27481           MAX_READY)
27482      This hook is executed by the scheduler at the beginning of each
27483      block of instructions that are to be scheduled.  FILE is either a
27484      null pointer, or a stdio stream to write any debug output to.
27485      VERBOSE is the verbose level provided by `-fsched-verbose-N'.
27486      MAX_READY is the maximum number of insns in the current scheduling
27487      region that can be live at the same time.  This can be used to
27488      allocate scratch space if it is needed, e.g. by
27489      `TARGET_SCHED_REORDER'.
27491  -- Target Hook: void TARGET_SCHED_FINISH (FILE *FILE, int VERBOSE)
27492      This hook is executed by the scheduler at the end of each block of
27493      instructions that are to be scheduled.  It can be used to perform
27494      cleanup of any actions done by the other scheduling hooks.  FILE
27495      is either a null pointer, or a stdio stream to write any debug
27496      output to.  VERBOSE is the verbose level provided by
27497      `-fsched-verbose-N'.
27499  -- Target Hook: void TARGET_SCHED_INIT_GLOBAL (FILE *FILE, int
27500           VERBOSE, int OLD_MAX_UID)
27501      This hook is executed by the scheduler after function level
27502      initializations.  FILE is either a null pointer, or a stdio stream
27503      to write any debug output to.  VERBOSE is the verbose level
27504      provided by `-fsched-verbose-N'.  OLD_MAX_UID is the maximum insn
27505      uid when scheduling begins.
27507  -- Target Hook: void TARGET_SCHED_FINISH_GLOBAL (FILE *FILE, int
27508           VERBOSE)
27509      This is the cleanup hook corresponding to
27510      `TARGET_SCHED_INIT_GLOBAL'.  FILE is either a null pointer, or a
27511      stdio stream to write any debug output to.  VERBOSE is the verbose
27512      level provided by `-fsched-verbose-N'.
27514  -- Target Hook: int TARGET_SCHED_DFA_PRE_CYCLE_INSN (void)
27515      The hook returns an RTL insn.  The automaton state used in the
27516      pipeline hazard recognizer is changed as if the insn were scheduled
27517      when the new simulated processor cycle starts.  Usage of the hook
27518      may simplify the automaton pipeline description for some VLIW
27519      processors.  If the hook is defined, it is used only for the
27520      automaton based pipeline description.  The default is not to
27521      change the state when the new simulated processor cycle starts.
27523  -- Target Hook: void TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN (void)
27524      The hook can be used to initialize data used by the previous hook.
27526  -- Target Hook: int TARGET_SCHED_DFA_POST_CYCLE_INSN (void)
27527      The hook is analogous to `TARGET_SCHED_DFA_PRE_CYCLE_INSN' but used
27528      to changed the state as if the insn were scheduled when the new
27529      simulated processor cycle finishes.
27531  -- Target Hook: void TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN (void)
27532      The hook is analogous to `TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN' but
27533      used to initialize data used by the previous hook.
27535  -- Target Hook: void TARGET_SCHED_DFA_PRE_CYCLE_ADVANCE (void)
27536      The hook to notify target that the current simulated cycle is
27537      about to finish.  The hook is analogous to
27538      `TARGET_SCHED_DFA_PRE_CYCLE_INSN' but used to change the state in
27539      more complicated situations - e.g., when advancing state on a
27540      single insn is not enough.
27542  -- Target Hook: void TARGET_SCHED_DFA_POST_CYCLE_ADVANCE (void)
27543      The hook to notify target that new simulated cycle has just
27544      started.  The hook is analogous to
27545      `TARGET_SCHED_DFA_POST_CYCLE_INSN' but used to change the state in
27546      more complicated situations - e.g., when advancing state on a
27547      single insn is not enough.
27549  -- Target Hook: int TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD
27550           (void)
27551      This hook controls better choosing an insn from the ready insn
27552      queue for the DFA-based insn scheduler.  Usually the scheduler
27553      chooses the first insn from the queue.  If the hook returns a
27554      positive value, an additional scheduler code tries all
27555      permutations of `TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD
27556      ()' subsequent ready insns to choose an insn whose issue will
27557      result in maximal number of issued insns on the same cycle.  For
27558      the VLIW processor, the code could actually solve the problem of
27559      packing simple insns into the VLIW insn.  Of course, if the rules
27560      of VLIW packing are described in the automaton.
27562      This code also could be used for superscalar RISC processors.  Let
27563      us consider a superscalar RISC processor with 3 pipelines.  Some
27564      insns can be executed in pipelines A or B, some insns can be
27565      executed only in pipelines B or C, and one insn can be executed in
27566      pipeline B.  The processor may issue the 1st insn into A and the
27567      2nd one into B.  In this case, the 3rd insn will wait for freeing B
27568      until the next cycle.  If the scheduler issues the 3rd insn the
27569      first, the processor could issue all 3 insns per cycle.
27571      Actually this code demonstrates advantages of the automaton based
27572      pipeline hazard recognizer.  We try quickly and easy many insn
27573      schedules to choose the best one.
27575      The default is no multipass scheduling.
27577  -- Target Hook: int
27578 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD (rtx)
27579      This hook controls what insns from the ready insn queue will be
27580      considered for the multipass insn scheduling.  If the hook returns
27581      zero for insn passed as the parameter, the insn will be not chosen
27582      to be issued.
27584      The default is that any ready insns can be chosen to be issued.
27586  -- Target Hook: int TARGET_SCHED_DFA_NEW_CYCLE (FILE *, int, rtx, int,
27587           int, int *)
27588      This hook is called by the insn scheduler before issuing insn
27589      passed as the third parameter on given cycle.  If the hook returns
27590      nonzero, the insn is not issued on given processors cycle.
27591      Instead of that, the processor cycle is advanced.  If the value
27592      passed through the last parameter is zero, the insn ready queue is
27593      not sorted on the new cycle start as usually.  The first parameter
27594      passes file for debugging output.  The second one passes the
27595      scheduler verbose level of the debugging output.  The forth and
27596      the fifth parameter values are correspondingly processor cycle on
27597      which the previous insn has been issued and the current processor
27598      cycle.
27600  -- Target Hook: bool TARGET_SCHED_IS_COSTLY_DEPENDENCE (struct dep_def
27601           *_DEP, int COST, int DISTANCE)
27602      This hook is used to define which dependences are considered
27603      costly by the target, so costly that it is not advisable to
27604      schedule the insns that are involved in the dependence too close
27605      to one another.  The parameters to this hook are as follows:  The
27606      first parameter _DEP is the dependence being evaluated.  The
27607      second parameter COST is the cost of the dependence, and the third
27608      parameter DISTANCE is the distance in cycles between the two insns.
27609      The hook returns `true' if considering the distance between the two
27610      insns the dependence between them is considered costly by the
27611      target, and `false' otherwise.
27613      Defining this hook can be useful in multiple-issue out-of-order
27614      machines, where (a) it's practically hopeless to predict the
27615      actual data/resource delays, however: (b) there's a better chance
27616      to predict the actual grouping that will be formed, and (c)
27617      correctly emulating the grouping can be very important.  In such
27618      targets one may want to allow issuing dependent insns closer to
27619      one another--i.e., closer than the dependence distance;  however,
27620      not in cases of "costly dependences", which this hooks allows to
27621      define.
27623  -- Target Hook: void TARGET_SCHED_H_I_D_EXTENDED (void)
27624      This hook is called by the insn scheduler after emitting a new
27625      instruction to the instruction stream.  The hook notifies a target
27626      backend to extend its per instruction data structures.
27628  -- Target Hook: int TARGET_SCHED_SPECULATE_INSN (rtx INSN, int
27629           REQUEST, rtx *NEW_PAT)
27630      This hook is called by the insn scheduler when INSN has only
27631      speculative dependencies and therefore can be scheduled
27632      speculatively.  The hook is used to check if the pattern of INSN
27633      has a speculative version and, in case of successful check, to
27634      generate that speculative pattern.  The hook should return 1, if
27635      the instruction has a speculative form, or -1, if it doesn't.
27636      REQUEST describes the type of requested speculation.  If the
27637      return value equals 1 then NEW_PAT is assigned the generated
27638      speculative pattern.
27640  -- Target Hook: int TARGET_SCHED_NEEDS_BLOCK_P (rtx INSN)
27641      This hook is called by the insn scheduler during generation of
27642      recovery code for INSN.  It should return nonzero, if the
27643      corresponding check instruction should branch to recovery code, or
27644      zero otherwise.
27646  -- Target Hook: rtx TARGET_SCHED_GEN_CHECK (rtx INSN, rtx LABEL, int
27647           MUTATE_P)
27648      This hook is called by the insn scheduler to generate a pattern
27649      for recovery check instruction.  If MUTATE_P is zero, then INSN is
27650      a speculative instruction for which the check should be generated.
27651      LABEL is either a label of a basic block, where recovery code
27652      should be emitted, or a null pointer, when requested check doesn't
27653      branch to recovery code (a simple check).  If MUTATE_P is nonzero,
27654      then a pattern for a branchy check corresponding to a simple check
27655      denoted by INSN should be generated.  In this case LABEL can't be
27656      null.
27658  -- Target Hook: int
27659 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC (rtx INSN)
27660      This hook is used as a workaround for
27661      `TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD' not being
27662      called on the first instruction of the ready list.  The hook is
27663      used to discard speculative instruction that stand first in the
27664      ready list from being scheduled on the current cycle.  For
27665      non-speculative instructions, the hook should always return
27666      nonzero.  For example, in the ia64 backend the hook is used to
27667      cancel data speculative insns when the ALAT table is nearly full.
27669  -- Target Hook: void TARGET_SCHED_SET_SCHED_FLAGS (unsigned int
27670           *FLAGS, spec_info_t SPEC_INFO)
27671      This hook is used by the insn scheduler to find out what features
27672      should be enabled/used.  FLAGS initially may have either the
27673      SCHED_RGN or SCHED_EBB bit set.  This denotes the scheduler pass
27674      for which the data should be provided.  The target backend should
27675      modify FLAGS by modifying the bits corresponding to the following
27676      features: USE_DEPS_LIST, USE_GLAT, DETACH_LIFE_INFO, and
27677      DO_SPECULATION.  For the DO_SPECULATION feature an additional
27678      structure SPEC_INFO should be filled by the target.  The structure
27679      describes speculation types that can be used in the scheduler.
27681  -- Target Hook: int TARGET_SCHED_SMS_RES_MII (struct ddg *G)
27682      This hook is called by the swing modulo scheduler to calculate a
27683      resource-based lower bound which is based on the resources
27684      available in the machine and the resources required by each
27685      instruction.  The target backend can use G to calculate such
27686      bound.  A very simple lower bound will be used in case this hook
27687      is not implemented: the total number of instructions divided by
27688      the issue rate.
27690 \x1f
27691 File: gccint.info,  Node: Sections,  Next: PIC,  Prev: Scheduling,  Up: Target Macros
27693 15.19 Dividing the Output into Sections (Texts, Data, ...)
27694 ==========================================================
27696 An object file is divided into sections containing different types of
27697 data.  In the most common case, there are three sections: the "text
27698 section", which holds instructions and read-only data; the "data
27699 section", which holds initialized writable data; and the "bss section",
27700 which holds uninitialized data.  Some systems have other kinds of
27701 sections.
27703  `varasm.c' provides several well-known sections, such as
27704 `text_section', `data_section' and `bss_section'.  The normal way of
27705 controlling a `FOO_section' variable is to define the associated
27706 `FOO_SECTION_ASM_OP' macro, as described below.  The macros are only
27707 read once, when `varasm.c' initializes itself, so their values must be
27708 run-time constants.  They may however depend on command-line flags.
27710  _Note:_ Some run-time files, such `crtstuff.c', also make use of the
27711 `FOO_SECTION_ASM_OP' macros, and expect them to be string literals.
27713  Some assemblers require a different string to be written every time a
27714 section is selected.  If your assembler falls into this category, you
27715 should define the `TARGET_ASM_INIT_SECTIONS' hook and use
27716 `get_unnamed_section' to set up the sections.
27718  You must always create a `text_section', either by defining
27719 `TEXT_SECTION_ASM_OP' or by initializing `text_section' in
27720 `TARGET_ASM_INIT_SECTIONS'.  The same is true of `data_section' and
27721 `DATA_SECTION_ASM_OP'.  If you do not create a distinct
27722 `readonly_data_section', the default is to reuse `text_section'.
27724  All the other `varasm.c' sections are optional, and are null if the
27725 target does not provide them.
27727  -- Macro: TEXT_SECTION_ASM_OP
27728      A C expression whose value is a string, including spacing,
27729      containing the assembler operation that should precede
27730      instructions and read-only data.  Normally `"\t.text"' is right.
27732  -- Macro: HOT_TEXT_SECTION_NAME
27733      If defined, a C string constant for the name of the section
27734      containing most frequently executed functions of the program.  If
27735      not defined, GCC will provide a default definition if the target
27736      supports named sections.
27738  -- Macro: UNLIKELY_EXECUTED_TEXT_SECTION_NAME
27739      If defined, a C string constant for the name of the section
27740      containing unlikely executed functions in the program.
27742  -- Macro: DATA_SECTION_ASM_OP
27743      A C expression whose value is a string, including spacing,
27744      containing the assembler operation to identify the following data
27745      as writable initialized data.  Normally `"\t.data"' is right.
27747  -- Macro: SDATA_SECTION_ASM_OP
27748      If defined, a C expression whose value is a string, including
27749      spacing, containing the assembler operation to identify the
27750      following data as initialized, writable small data.
27752  -- Macro: READONLY_DATA_SECTION_ASM_OP
27753      A C expression whose value is a string, including spacing,
27754      containing the assembler operation to identify the following data
27755      as read-only initialized data.
27757  -- Macro: BSS_SECTION_ASM_OP
27758      If defined, a C expression whose value is a string, including
27759      spacing, containing the assembler operation to identify the
27760      following data as uninitialized global data.  If not defined, and
27761      neither `ASM_OUTPUT_BSS' nor `ASM_OUTPUT_ALIGNED_BSS' are defined,
27762      uninitialized global data will be output in the data section if
27763      `-fno-common' is passed, otherwise `ASM_OUTPUT_COMMON' will be
27764      used.
27766  -- Macro: SBSS_SECTION_ASM_OP
27767      If defined, a C expression whose value is a string, including
27768      spacing, containing the assembler operation to identify the
27769      following data as uninitialized, writable small data.
27771  -- Macro: INIT_SECTION_ASM_OP
27772      If defined, a C expression whose value is a string, including
27773      spacing, containing the assembler operation to identify the
27774      following data as initialization code.  If not defined, GCC will
27775      assume such a section does not exist.  This section has no
27776      corresponding `init_section' variable; it is used entirely in
27777      runtime code.
27779  -- Macro: FINI_SECTION_ASM_OP
27780      If defined, a C expression whose value is a string, including
27781      spacing, containing the assembler operation to identify the
27782      following data as finalization code.  If not defined, GCC will
27783      assume such a section does not exist.  This section has no
27784      corresponding `fini_section' variable; it is used entirely in
27785      runtime code.
27787  -- Macro: INIT_ARRAY_SECTION_ASM_OP
27788      If defined, a C expression whose value is a string, including
27789      spacing, containing the assembler operation to identify the
27790      following data as part of the `.init_array' (or equivalent)
27791      section.  If not defined, GCC will assume such a section does not
27792      exist.  Do not define both this macro and `INIT_SECTION_ASM_OP'.
27794  -- Macro: FINI_ARRAY_SECTION_ASM_OP
27795      If defined, a C expression whose value is a string, including
27796      spacing, containing the assembler operation to identify the
27797      following data as part of the `.fini_array' (or equivalent)
27798      section.  If not defined, GCC will assume such a section does not
27799      exist.  Do not define both this macro and `FINI_SECTION_ASM_OP'.
27801  -- Macro: CRT_CALL_STATIC_FUNCTION (SECTION_OP, FUNCTION)
27802      If defined, an ASM statement that switches to a different section
27803      via SECTION_OP, calls FUNCTION, and switches back to the text
27804      section.  This is used in `crtstuff.c' if `INIT_SECTION_ASM_OP' or
27805      `FINI_SECTION_ASM_OP' to calls to initialization and finalization
27806      functions from the init and fini sections.  By default, this macro
27807      uses a simple function call.  Some ports need hand-crafted
27808      assembly code to avoid dependencies on registers initialized in
27809      the function prologue or to ensure that constant pools don't end
27810      up too far way in the text section.
27812  -- Macro: TARGET_LIBGCC_SDATA_SECTION
27813      If defined, a string which names the section into which small
27814      variables defined in crtstuff and libgcc should go.  This is useful
27815      when the target has options for optimizing access to small data,
27816      and you want the crtstuff and libgcc routines to be conservative
27817      in what they expect of your application yet liberal in what your
27818      application expects.  For example, for targets with a `.sdata'
27819      section (like MIPS), you could compile crtstuff with `-G 0' so
27820      that it doesn't require small data support from your application,
27821      but use this macro to put small data into `.sdata' so that your
27822      application can access these variables whether it uses small data
27823      or not.
27825  -- Macro: FORCE_CODE_SECTION_ALIGN
27826      If defined, an ASM statement that aligns a code section to some
27827      arbitrary boundary.  This is used to force all fragments of the
27828      `.init' and `.fini' sections to have to same alignment and thus
27829      prevent the linker from having to add any padding.
27831  -- Macro: JUMP_TABLES_IN_TEXT_SECTION
27832      Define this macro to be an expression with a nonzero value if jump
27833      tables (for `tablejump' insns) should be output in the text
27834      section, along with the assembler instructions.  Otherwise, the
27835      readonly data section is used.
27837      This macro is irrelevant if there is no separate readonly data
27838      section.
27840  -- Target Hook: void TARGET_ASM_INIT_SECTIONS (void)
27841      Define this hook if you need to do something special to set up the
27842      `varasm.c' sections, or if your target has some special sections
27843      of its own that you need to create.
27845      GCC calls this hook after processing the command line, but before
27846      writing any assembly code, and before calling any of the
27847      section-returning hooks described below.
27849  -- Target Hook: TARGET_ASM_RELOC_RW_MASK (void)
27850      Return a mask describing how relocations should be treated when
27851      selecting sections.  Bit 1 should be set if global relocations
27852      should be placed in a read-write section; bit 0 should be set if
27853      local relocations should be placed in a read-write section.
27855      The default version of this function returns 3 when `-fpic' is in
27856      effect, and 0 otherwise.  The hook is typically redefined when the
27857      target cannot support (some kinds of) dynamic relocations in
27858      read-only sections even in executables.
27860  -- Target Hook: section * TARGET_ASM_SELECT_SECTION (tree EXP, int
27861           RELOC, unsigned HOST_WIDE_INT ALIGN)
27862      Return the section into which EXP should be placed.  You can
27863      assume that EXP is either a `VAR_DECL' node or a constant of some
27864      sort.  RELOC indicates whether the initial value of EXP requires
27865      link-time relocations.  Bit 0 is set when variable contains local
27866      relocations only, while bit 1 is set for global relocations.
27867      ALIGN is the constant alignment in bits.
27869      The default version of this function takes care of putting
27870      read-only variables in `readonly_data_section'.
27872      See also USE_SELECT_SECTION_FOR_FUNCTIONS.
27874  -- Macro: USE_SELECT_SECTION_FOR_FUNCTIONS
27875      Define this macro if you wish TARGET_ASM_SELECT_SECTION to be
27876      called for `FUNCTION_DECL's as well as for variables and constants.
27878      In the case of a `FUNCTION_DECL', RELOC will be zero if the
27879      function has been determined to be likely to be called, and
27880      nonzero if it is unlikely to be called.
27882  -- Target Hook: void TARGET_ASM_UNIQUE_SECTION (tree DECL, int RELOC)
27883      Build up a unique section name, expressed as a `STRING_CST' node,
27884      and assign it to `DECL_SECTION_NAME (DECL)'.  As with
27885      `TARGET_ASM_SELECT_SECTION', RELOC indicates whether the initial
27886      value of EXP requires link-time relocations.
27888      The default version of this function appends the symbol name to the
27889      ELF section name that would normally be used for the symbol.  For
27890      example, the function `foo' would be placed in `.text.foo'.
27891      Whatever the actual target object format, this is often good
27892      enough.
27894  -- Target Hook: section * TARGET_ASM_FUNCTION_RODATA_SECTION (tree
27895           DECL)
27896      Return the readonly data section associated with
27897      `DECL_SECTION_NAME (DECL)'.  The default version of this function
27898      selects `.gnu.linkonce.r.name' if the function's section is
27899      `.gnu.linkonce.t.name', `.rodata.name' if function is in
27900      `.text.name', and the normal readonly-data section otherwise.
27902  -- Target Hook: section * TARGET_ASM_SELECT_RTX_SECTION (enum
27903           machine_mode MODE, rtx X, unsigned HOST_WIDE_INT ALIGN)
27904      Return the section into which a constant X, of mode MODE, should
27905      be placed.  You can assume that X is some kind of constant in RTL.
27906      The argument MODE is redundant except in the case of a
27907      `const_int' rtx.  ALIGN is the constant alignment in bits.
27909      The default version of this function takes care of putting symbolic
27910      constants in `flag_pic' mode in `data_section' and everything else
27911      in `readonly_data_section'.
27913  -- Target Hook: void TARGET_MANGLE_DECL_ASSEMBLER_NAME (tree DECL,
27914           tree ID)
27915      Define this hook if you need to postprocess the assembler name
27916      generated by target-independent code.  The ID provided to this
27917      hook will be the computed name (e.g., the macro `DECL_NAME' of the
27918      DECL in C, or the mangled name of the DECL in C++).  The return
27919      value of the hook is an `IDENTIFIER_NODE' for the appropriate
27920      mangled name on your target system.  The default implementation of
27921      this hook just returns the ID provided.
27923  -- Target Hook: void TARGET_ENCODE_SECTION_INFO (tree DECL, rtx RTL,
27924           int NEW_DECL_P)
27925      Define this hook if references to a symbol or a constant must be
27926      treated differently depending on something about the variable or
27927      function named by the symbol (such as what section it is in).
27929      The hook is executed immediately after rtl has been created for
27930      DECL, which may be a variable or function declaration or an entry
27931      in the constant pool.  In either case, RTL is the rtl in question.
27932      Do _not_ use `DECL_RTL (DECL)' in this hook; that field may not
27933      have been initialized yet.
27935      In the case of a constant, it is safe to assume that the rtl is a
27936      `mem' whose address is a `symbol_ref'.  Most decls will also have
27937      this form, but that is not guaranteed.  Global register variables,
27938      for instance, will have a `reg' for their rtl.  (Normally the
27939      right thing to do with such unusual rtl is leave it alone.)
27941      The NEW_DECL_P argument will be true if this is the first time
27942      that `TARGET_ENCODE_SECTION_INFO' has been invoked on this decl.
27943      It will be false for subsequent invocations, which will happen for
27944      duplicate declarations.  Whether or not anything must be done for
27945      the duplicate declaration depends on whether the hook examines
27946      `DECL_ATTRIBUTES'.  NEW_DECL_P is always true when the hook is
27947      called for a constant.
27949      The usual thing for this hook to do is to record flags in the
27950      `symbol_ref', using `SYMBOL_REF_FLAG' or `SYMBOL_REF_FLAGS'.
27951      Historically, the name string was modified if it was necessary to
27952      encode more than one bit of information, but this practice is now
27953      discouraged; use `SYMBOL_REF_FLAGS'.
27955      The default definition of this hook, `default_encode_section_info'
27956      in `varasm.c', sets a number of commonly-useful bits in
27957      `SYMBOL_REF_FLAGS'.  Check whether the default does what you need
27958      before overriding it.
27960  -- Target Hook: const char *TARGET_STRIP_NAME_ENCODING (const char
27961           *name)
27962      Decode NAME and return the real name part, sans the characters
27963      that `TARGET_ENCODE_SECTION_INFO' may have added.
27965  -- Target Hook: bool TARGET_IN_SMALL_DATA_P (tree EXP)
27966      Returns true if EXP should be placed into a "small data" section.
27967      The default version of this hook always returns false.
27969  -- Variable: Target Hook bool TARGET_HAVE_SRODATA_SECTION
27970      Contains the value true if the target places read-only "small
27971      data" into a separate section.  The default value is false.
27973  -- Target Hook: bool TARGET_BINDS_LOCAL_P (tree EXP)
27974      Returns true if EXP names an object for which name resolution
27975      rules must resolve to the current "module" (dynamic shared library
27976      or executable image).
27978      The default version of this hook implements the name resolution
27979      rules for ELF, which has a looser model of global name binding
27980      than other currently supported object file formats.
27982  -- Variable: Target Hook bool TARGET_HAVE_TLS
27983      Contains the value true if the target supports thread-local
27984      storage.  The default value is false.
27986 \x1f
27987 File: gccint.info,  Node: PIC,  Next: Assembler Format,  Prev: Sections,  Up: Target Macros
27989 15.20 Position Independent Code
27990 ===============================
27992 This section describes macros that help implement generation of position
27993 independent code.  Simply defining these macros is not enough to
27994 generate valid PIC; you must also add support to the macros
27995 `GO_IF_LEGITIMATE_ADDRESS' and `PRINT_OPERAND_ADDRESS', as well as
27996 `LEGITIMIZE_ADDRESS'.  You must modify the definition of `movsi' to do
27997 something appropriate when the source operand contains a symbolic
27998 address.  You may also need to alter the handling of switch statements
27999 so that they use relative addresses.
28001  -- Macro: PIC_OFFSET_TABLE_REGNUM
28002      The register number of the register used to address a table of
28003      static data addresses in memory.  In some cases this register is
28004      defined by a processor's "application binary interface" (ABI).
28005      When this macro is defined, RTL is generated for this register
28006      once, as with the stack pointer and frame pointer registers.  If
28007      this macro is not defined, it is up to the machine-dependent files
28008      to allocate such a register (if necessary).  Note that this
28009      register must be fixed when in use (e.g.  when `flag_pic' is true).
28011  -- Macro: PIC_OFFSET_TABLE_REG_CALL_CLOBBERED
28012      Define this macro if the register defined by
28013      `PIC_OFFSET_TABLE_REGNUM' is clobbered by calls.  Do not define
28014      this macro if `PIC_OFFSET_TABLE_REGNUM' is not defined.
28016  -- Macro: LEGITIMATE_PIC_OPERAND_P (X)
28017      A C expression that is nonzero if X is a legitimate immediate
28018      operand on the target machine when generating position independent
28019      code.  You can assume that X satisfies `CONSTANT_P', so you need
28020      not check this.  You can also assume FLAG_PIC is true, so you need
28021      not check it either.  You need not define this macro if all
28022      constants (including `SYMBOL_REF') can be immediate operands when
28023      generating position independent code.
28025 \x1f
28026 File: gccint.info,  Node: Assembler Format,  Next: Debugging Info,  Prev: PIC,  Up: Target Macros
28028 15.21 Defining the Output Assembler Language
28029 ============================================
28031 This section describes macros whose principal purpose is to describe how
28032 to write instructions in assembler language--rather than what the
28033 instructions do.
28035 * Menu:
28037 * File Framework::       Structural information for the assembler file.
28038 * Data Output::          Output of constants (numbers, strings, addresses).
28039 * Uninitialized Data::   Output of uninitialized variables.
28040 * Label Output::         Output and generation of labels.
28041 * Initialization::       General principles of initialization
28042                            and termination routines.
28043 * Macros for Initialization::
28044                          Specific macros that control the handling of
28045                            initialization and termination routines.
28046 * Instruction Output::   Output of actual instructions.
28047 * Dispatch Tables::      Output of jump tables.
28048 * Exception Region Output:: Output of exception region code.
28049 * Alignment Output::     Pseudo ops for alignment and skipping data.
28051 \x1f
28052 File: gccint.info,  Node: File Framework,  Next: Data Output,  Up: Assembler Format
28054 15.21.1 The Overall Framework of an Assembler File
28055 --------------------------------------------------
28057 This describes the overall framework of an assembly file.
28059  -- Target Hook: void TARGET_ASM_FILE_START ()
28060      Output to `asm_out_file' any text which the assembler expects to
28061      find at the beginning of a file.  The default behavior is
28062      controlled by two flags, documented below.  Unless your target's
28063      assembler is quite unusual, if you override the default, you
28064      should call `default_file_start' at some point in your target
28065      hook.  This lets other target files rely on these variables.
28067  -- Target Hook: bool TARGET_ASM_FILE_START_APP_OFF
28068      If this flag is true, the text of the macro `ASM_APP_OFF' will be
28069      printed as the very first line in the assembly file, unless
28070      `-fverbose-asm' is in effect.  (If that macro has been defined to
28071      the empty string, this variable has no effect.)  With the normal
28072      definition of `ASM_APP_OFF', the effect is to notify the GNU
28073      assembler that it need not bother stripping comments or extra
28074      whitespace from its input.  This allows it to work a bit faster.
28076      The default is false.  You should not set it to true unless you
28077      have verified that your port does not generate any extra
28078      whitespace or comments that will cause GAS to issue errors in
28079      NO_APP mode.
28081  -- Target Hook: bool TARGET_ASM_FILE_START_FILE_DIRECTIVE
28082      If this flag is true, `output_file_directive' will be called for
28083      the primary source file, immediately after printing `ASM_APP_OFF'
28084      (if that is enabled).  Most ELF assemblers expect this to be done.
28085      The default is false.
28087  -- Target Hook: void TARGET_ASM_FILE_END ()
28088      Output to `asm_out_file' any text which the assembler expects to
28089      find at the end of a file.  The default is to output nothing.
28091  -- Function: void file_end_indicate_exec_stack ()
28092      Some systems use a common convention, the `.note.GNU-stack'
28093      special section, to indicate whether or not an object file relies
28094      on the stack being executable.  If your system uses this
28095      convention, you should define `TARGET_ASM_FILE_END' to this
28096      function.  If you need to do other things in that hook, have your
28097      hook function call this function.
28099  -- Macro: ASM_COMMENT_START
28100      A C string constant describing how to begin a comment in the target
28101      assembler language.  The compiler assumes that the comment will
28102      end at the end of the line.
28104  -- Macro: ASM_APP_ON
28105      A C string constant for text to be output before each `asm'
28106      statement or group of consecutive ones.  Normally this is
28107      `"#APP"', which is a comment that has no effect on most assemblers
28108      but tells the GNU assembler that it must check the lines that
28109      follow for all valid assembler constructs.
28111  -- Macro: ASM_APP_OFF
28112      A C string constant for text to be output after each `asm'
28113      statement or group of consecutive ones.  Normally this is
28114      `"#NO_APP"', which tells the GNU assembler to resume making the
28115      time-saving assumptions that are valid for ordinary compiler
28116      output.
28118  -- Macro: ASM_OUTPUT_SOURCE_FILENAME (STREAM, NAME)
28119      A C statement to output COFF information or DWARF debugging
28120      information which indicates that filename NAME is the current
28121      source file to the stdio stream STREAM.
28123      This macro need not be defined if the standard form of output for
28124      the file format in use is appropriate.
28126  -- Macro: OUTPUT_QUOTED_STRING (STREAM, STRING)
28127      A C statement to output the string STRING to the stdio stream
28128      STREAM.  If you do not call the function `output_quoted_string' in
28129      your config files, GCC will only call it to output filenames to
28130      the assembler source.  So you can use it to canonicalize the format
28131      of the filename using this macro.
28133  -- Macro: ASM_OUTPUT_IDENT (STREAM, STRING)
28134      A C statement to output something to the assembler file to handle a
28135      `#ident' directive containing the text STRING.  If this macro is
28136      not defined, nothing is output for a `#ident' directive.
28138  -- Target Hook: void TARGET_ASM_NAMED_SECTION (const char *NAME,
28139           unsigned int FLAGS, unsigned int ALIGN)
28140      Output assembly directives to switch to section NAME.  The section
28141      should have attributes as specified by FLAGS, which is a bit mask
28142      of the `SECTION_*' flags defined in `output.h'.  If ALIGN is
28143      nonzero, it contains an alignment in bytes to be used for the
28144      section, otherwise some target default should be used.  Only
28145      targets that must specify an alignment within the section
28146      directive need pay attention to ALIGN - we will still use
28147      `ASM_OUTPUT_ALIGN'.
28149  -- Target Hook: bool TARGET_HAVE_NAMED_SECTIONS
28150      This flag is true if the target supports
28151      `TARGET_ASM_NAMED_SECTION'.
28153  -- Target Hook: bool TARGET_HAVE_SWITCHABLE_BSS_SECTIONS
28154      This flag is true if we can create zeroed data by switching to a
28155      BSS section and then using `ASM_OUTPUT_SKIP' to allocate the space.
28156      This is true on most ELF targets.
28158  -- Target Hook: unsigned int TARGET_SECTION_TYPE_FLAGS (tree DECL,
28159           const char *NAME, int RELOC)
28160      Choose a set of section attributes for use by
28161      `TARGET_ASM_NAMED_SECTION' based on a variable or function decl, a
28162      section name, and whether or not the declaration's initializer may
28163      contain runtime relocations.  DECL may be  null, in which case
28164      read-write data should be assumed.
28166      The default version of this function handles choosing code vs data,
28167      read-only vs read-write data, and `flag_pic'.  You should only
28168      need to override this if your target has special flags that might
28169      be set via `__attribute__'.
28171  -- Target Hook: int TARGET_ASM_RECORD_GCC_SWITCHES (print_switch_type
28172           TYPE, const char * TEXT)
28173      Provides the target with the ability to record the gcc command line
28174      switches that have been passed to the compiler, and options that
28175      are enabled.  The TYPE argument specifies what is being recorded.
28176      It can take the following values:
28178     `SWITCH_TYPE_PASSED'
28179           TEXT is a command line switch that has been set by the user.
28181     `SWITCH_TYPE_ENABLED'
28182           TEXT is an option which has been enabled.  This might be as a
28183           direct result of a command line switch, or because it is
28184           enabled by default or because it has been enabled as a side
28185           effect of a different command line switch.  For example, the
28186           `-O2' switch enables various different individual
28187           optimization passes.
28189     `SWITCH_TYPE_DESCRIPTIVE'
28190           TEXT is either NULL or some descriptive text which should be
28191           ignored.  If TEXT is NULL then it is being used to warn the
28192           target hook that either recording is starting or ending.  The
28193           first time TYPE is SWITCH_TYPE_DESCRIPTIVE and TEXT is NULL,
28194           the warning is for start up and the second time the warning
28195           is for wind down.  This feature is to allow the target hook
28196           to make any necessary preparations before it starts to record
28197           switches and to perform any necessary tidying up after it has
28198           finished recording switches.
28200     `SWITCH_TYPE_LINE_START'
28201           This option can be ignored by this target hook.
28203     `SWITCH_TYPE_LINE_END'
28204           This option can be ignored by this target hook.
28206      The hook's return value must be zero.  Other return values may be
28207      supported in the future.
28209      By default this hook is set to NULL, but an example implementation
28210      is provided for ELF based targets.  Called ELF_RECORD_GCC_SWITCHES,
28211      it records the switches as ASCII text inside a new, string
28212      mergeable section in the assembler output file.  The name of the
28213      new section is provided by the
28214      `TARGET_ASM_RECORD_GCC_SWITCHES_SECTION' target hook.
28216  -- Target Hook: const char * TARGET_ASM_RECORD_GCC_SWITCHES_SECTION
28217      This is the name of the section that will be created by the example
28218      ELF implementation of the `TARGET_ASM_RECORD_GCC_SWITCHES' target
28219      hook.
28221 \x1f
28222 File: gccint.info,  Node: Data Output,  Next: Uninitialized Data,  Prev: File Framework,  Up: Assembler Format
28224 15.21.2 Output of Data
28225 ----------------------
28227  -- Target Hook: const char * TARGET_ASM_BYTE_OP
28228  -- Target Hook: const char * TARGET_ASM_ALIGNED_HI_OP
28229  -- Target Hook: const char * TARGET_ASM_ALIGNED_SI_OP
28230  -- Target Hook: const char * TARGET_ASM_ALIGNED_DI_OP
28231  -- Target Hook: const char * TARGET_ASM_ALIGNED_TI_OP
28232  -- Target Hook: const char * TARGET_ASM_UNALIGNED_HI_OP
28233  -- Target Hook: const char * TARGET_ASM_UNALIGNED_SI_OP
28234  -- Target Hook: const char * TARGET_ASM_UNALIGNED_DI_OP
28235  -- Target Hook: const char * TARGET_ASM_UNALIGNED_TI_OP
28236      These hooks specify assembly directives for creating certain kinds
28237      of integer object.  The `TARGET_ASM_BYTE_OP' directive creates a
28238      byte-sized object, the `TARGET_ASM_ALIGNED_HI_OP' one creates an
28239      aligned two-byte object, and so on.  Any of the hooks may be
28240      `NULL', indicating that no suitable directive is available.
28242      The compiler will print these strings at the start of a new line,
28243      followed immediately by the object's initial value.  In most cases,
28244      the string should contain a tab, a pseudo-op, and then another tab.
28246  -- Target Hook: bool TARGET_ASM_INTEGER (rtx X, unsigned int SIZE, int
28247           ALIGNED_P)
28248      The `assemble_integer' function uses this hook to output an
28249      integer object.  X is the object's value, SIZE is its size in
28250      bytes and ALIGNED_P indicates whether it is aligned.  The function
28251      should return `true' if it was able to output the object.  If it
28252      returns false, `assemble_integer' will try to split the object
28253      into smaller parts.
28255      The default implementation of this hook will use the
28256      `TARGET_ASM_BYTE_OP' family of strings, returning `false' when the
28257      relevant string is `NULL'.
28259  -- Macro: OUTPUT_ADDR_CONST_EXTRA (STREAM, X, FAIL)
28260      A C statement to recognize RTX patterns that `output_addr_const'
28261      can't deal with, and output assembly code to STREAM corresponding
28262      to the pattern X.  This may be used to allow machine-dependent
28263      `UNSPEC's to appear within constants.
28265      If `OUTPUT_ADDR_CONST_EXTRA' fails to recognize a pattern, it must
28266      `goto fail', so that a standard error message is printed.  If it
28267      prints an error message itself, by calling, for example,
28268      `output_operand_lossage', it may just complete normally.
28270  -- Macro: ASM_OUTPUT_ASCII (STREAM, PTR, LEN)
28271      A C statement to output to the stdio stream STREAM an assembler
28272      instruction to assemble a string constant containing the LEN bytes
28273      at PTR.  PTR will be a C expression of type `char *' and LEN a C
28274      expression of type `int'.
28276      If the assembler has a `.ascii' pseudo-op as found in the Berkeley
28277      Unix assembler, do not define the macro `ASM_OUTPUT_ASCII'.
28279  -- Macro: ASM_OUTPUT_FDESC (STREAM, DECL, N)
28280      A C statement to output word N of a function descriptor for DECL.
28281      This must be defined if `TARGET_VTABLE_USES_DESCRIPTORS' is
28282      defined, and is otherwise unused.
28284  -- Macro: CONSTANT_POOL_BEFORE_FUNCTION
28285      You may define this macro as a C expression.  You should define the
28286      expression to have a nonzero value if GCC should output the
28287      constant pool for a function before the code for the function, or
28288      a zero value if GCC should output the constant pool after the
28289      function.  If you do not define this macro, the usual case, GCC
28290      will output the constant pool before the function.
28292  -- Macro: ASM_OUTPUT_POOL_PROLOGUE (FILE, FUNNAME, FUNDECL, SIZE)
28293      A C statement to output assembler commands to define the start of
28294      the constant pool for a function.  FUNNAME is a string giving the
28295      name of the function.  Should the return type of the function be
28296      required, it can be obtained via FUNDECL.  SIZE is the size, in
28297      bytes, of the constant pool that will be written immediately after
28298      this call.
28300      If no constant-pool prefix is required, the usual case, this macro
28301      need not be defined.
28303  -- Macro: ASM_OUTPUT_SPECIAL_POOL_ENTRY (FILE, X, MODE, ALIGN,
28304           LABELNO, JUMPTO)
28305      A C statement (with or without semicolon) to output a constant in
28306      the constant pool, if it needs special treatment.  (This macro
28307      need not do anything for RTL expressions that can be output
28308      normally.)
28310      The argument FILE is the standard I/O stream to output the
28311      assembler code on.  X is the RTL expression for the constant to
28312      output, and MODE is the machine mode (in case X is a `const_int').
28313      ALIGN is the required alignment for the value X; you should
28314      output an assembler directive to force this much alignment.
28316      The argument LABELNO is a number to use in an internal label for
28317      the address of this pool entry.  The definition of this macro is
28318      responsible for outputting the label definition at the proper
28319      place.  Here is how to do this:
28321           `(*targetm.asm_out.internal_label)' (FILE, "LC", LABELNO);
28323      When you output a pool entry specially, you should end with a
28324      `goto' to the label JUMPTO.  This will prevent the same pool entry
28325      from being output a second time in the usual manner.
28327      You need not define this macro if it would do nothing.
28329  -- Macro: ASM_OUTPUT_POOL_EPILOGUE (FILE FUNNAME FUNDECL SIZE)
28330      A C statement to output assembler commands to at the end of the
28331      constant pool for a function.  FUNNAME is a string giving the name
28332      of the function.  Should the return type of the function be
28333      required, you can obtain it via FUNDECL.  SIZE is the size, in
28334      bytes, of the constant pool that GCC wrote immediately before this
28335      call.
28337      If no constant-pool epilogue is required, the usual case, you need
28338      not define this macro.
28340  -- Macro: IS_ASM_LOGICAL_LINE_SEPARATOR (C, STR)
28341      Define this macro as a C expression which is nonzero if C is used
28342      as a logical line separator by the assembler.  STR points to the
28343      position in the string where C was found; this can be used if a
28344      line separator uses multiple characters.
28346      If you do not define this macro, the default is that only the
28347      character `;' is treated as a logical line separator.
28349  -- Target Hook: const char * TARGET_ASM_OPEN_PAREN
28350  -- Target Hook: const char * TARGET_ASM_CLOSE_PAREN
28351      These target hooks are C string constants, describing the syntax
28352      in the assembler for grouping arithmetic expressions.  If not
28353      overridden, they default to normal parentheses, which is correct
28354      for most assemblers.
28356  These macros are provided by `real.h' for writing the definitions of
28357 `ASM_OUTPUT_DOUBLE' and the like:
28359  -- Macro: REAL_VALUE_TO_TARGET_SINGLE (X, L)
28360  -- Macro: REAL_VALUE_TO_TARGET_DOUBLE (X, L)
28361  -- Macro: REAL_VALUE_TO_TARGET_LONG_DOUBLE (X, L)
28362  -- Macro: REAL_VALUE_TO_TARGET_DECIMAL32 (X, L)
28363  -- Macro: REAL_VALUE_TO_TARGET_DECIMAL64 (X, L)
28364  -- Macro: REAL_VALUE_TO_TARGET_DECIMAL128 (X, L)
28365      These translate X, of type `REAL_VALUE_TYPE', to the target's
28366      floating point representation, and store its bit pattern in the
28367      variable L.  For `REAL_VALUE_TO_TARGET_SINGLE' and
28368      `REAL_VALUE_TO_TARGET_DECIMAL32', this variable should be a simple
28369      `long int'.  For the others, it should be an array of `long int'.
28370      The number of elements in this array is determined by the size of
28371      the desired target floating point data type: 32 bits of it go in
28372      each `long int' array element.  Each array element holds 32 bits
28373      of the result, even if `long int' is wider than 32 bits on the
28374      host machine.
28376      The array element values are designed so that you can print them
28377      out using `fprintf' in the order they should appear in the target
28378      machine's memory.
28380 \x1f
28381 File: gccint.info,  Node: Uninitialized Data,  Next: Label Output,  Prev: Data Output,  Up: Assembler Format
28383 15.21.3 Output of Uninitialized Variables
28384 -----------------------------------------
28386 Each of the macros in this section is used to do the whole job of
28387 outputting a single uninitialized variable.
28389  -- Macro: ASM_OUTPUT_COMMON (STREAM, NAME, SIZE, ROUNDED)
28390      A C statement (sans semicolon) to output to the stdio stream
28391      STREAM the assembler definition of a common-label named NAME whose
28392      size is SIZE bytes.  The variable ROUNDED is the size rounded up
28393      to whatever alignment the caller wants.
28395      Use the expression `assemble_name (STREAM, NAME)' to output the
28396      name itself; before and after that, output the additional
28397      assembler syntax for defining the name, and a newline.
28399      This macro controls how the assembler definitions of uninitialized
28400      common global variables are output.
28402  -- Macro: ASM_OUTPUT_ALIGNED_COMMON (STREAM, NAME, SIZE, ALIGNMENT)
28403      Like `ASM_OUTPUT_COMMON' except takes the required alignment as a
28404      separate, explicit argument.  If you define this macro, it is used
28405      in place of `ASM_OUTPUT_COMMON', and gives you more flexibility in
28406      handling the required alignment of the variable.  The alignment is
28407      specified as the number of bits.
28409  -- Macro: ASM_OUTPUT_ALIGNED_DECL_COMMON (STREAM, DECL, NAME, SIZE,
28410           ALIGNMENT)
28411      Like `ASM_OUTPUT_ALIGNED_COMMON' except that DECL of the variable
28412      to be output, if there is one, or `NULL_TREE' if there is no
28413      corresponding variable.  If you define this macro, GCC will use it
28414      in place of both `ASM_OUTPUT_COMMON' and
28415      `ASM_OUTPUT_ALIGNED_COMMON'.  Define this macro when you need to
28416      see the variable's decl in order to chose what to output.
28418  -- Macro: ASM_OUTPUT_BSS (STREAM, DECL, NAME, SIZE, ROUNDED)
28419      A C statement (sans semicolon) to output to the stdio stream
28420      STREAM the assembler definition of uninitialized global DECL named
28421      NAME whose size is SIZE bytes.  The variable ROUNDED is the size
28422      rounded up to whatever alignment the caller wants.
28424      Try to use function `asm_output_bss' defined in `varasm.c' when
28425      defining this macro.  If unable, use the expression `assemble_name
28426      (STREAM, NAME)' to output the name itself; before and after that,
28427      output the additional assembler syntax for defining the name, and
28428      a newline.
28430      There are two ways of handling global BSS.  One is to define either
28431      this macro or its aligned counterpart, `ASM_OUTPUT_ALIGNED_BSS'.
28432      The other is to have `TARGET_ASM_SELECT_SECTION' return a
28433      switchable BSS section (*note
28434      TARGET_HAVE_SWITCHABLE_BSS_SECTIONS::).  You do not need to do
28435      both.
28437      Some languages do not have `common' data, and require a non-common
28438      form of global BSS in order to handle uninitialized globals
28439      efficiently.  C++ is one example of this.  However, if the target
28440      does not support global BSS, the front end may choose to make
28441      globals common in order to save space in the object file.
28443  -- Macro: ASM_OUTPUT_ALIGNED_BSS (STREAM, DECL, NAME, SIZE, ALIGNMENT)
28444      Like `ASM_OUTPUT_BSS' except takes the required alignment as a
28445      separate, explicit argument.  If you define this macro, it is used
28446      in place of `ASM_OUTPUT_BSS', and gives you more flexibility in
28447      handling the required alignment of the variable.  The alignment is
28448      specified as the number of bits.
28450      Try to use function `asm_output_aligned_bss' defined in file
28451      `varasm.c' when defining this macro.
28453  -- Macro: ASM_OUTPUT_LOCAL (STREAM, NAME, SIZE, ROUNDED)
28454      A C statement (sans semicolon) to output to the stdio stream
28455      STREAM the assembler definition of a local-common-label named NAME
28456      whose size is SIZE bytes.  The variable ROUNDED is the size
28457      rounded up to whatever alignment the caller wants.
28459      Use the expression `assemble_name (STREAM, NAME)' to output the
28460      name itself; before and after that, output the additional
28461      assembler syntax for defining the name, and a newline.
28463      This macro controls how the assembler definitions of uninitialized
28464      static variables are output.
28466  -- Macro: ASM_OUTPUT_ALIGNED_LOCAL (STREAM, NAME, SIZE, ALIGNMENT)
28467      Like `ASM_OUTPUT_LOCAL' except takes the required alignment as a
28468      separate, explicit argument.  If you define this macro, it is used
28469      in place of `ASM_OUTPUT_LOCAL', and gives you more flexibility in
28470      handling the required alignment of the variable.  The alignment is
28471      specified as the number of bits.
28473  -- Macro: ASM_OUTPUT_ALIGNED_DECL_LOCAL (STREAM, DECL, NAME, SIZE,
28474           ALIGNMENT)
28475      Like `ASM_OUTPUT_ALIGNED_DECL' except that DECL of the variable to
28476      be output, if there is one, or `NULL_TREE' if there is no
28477      corresponding variable.  If you define this macro, GCC will use it
28478      in place of both `ASM_OUTPUT_DECL' and `ASM_OUTPUT_ALIGNED_DECL'.
28479      Define this macro when you need to see the variable's decl in
28480      order to chose what to output.
28482 \x1f
28483 File: gccint.info,  Node: Label Output,  Next: Initialization,  Prev: Uninitialized Data,  Up: Assembler Format
28485 15.21.4 Output and Generation of Labels
28486 ---------------------------------------
28488 This is about outputting labels.
28490  -- Macro: ASM_OUTPUT_LABEL (STREAM, NAME)
28491      A C statement (sans semicolon) to output to the stdio stream
28492      STREAM the assembler definition of a label named NAME.  Use the
28493      expression `assemble_name (STREAM, NAME)' to output the name
28494      itself; before and after that, output the additional assembler
28495      syntax for defining the name, and a newline.  A default definition
28496      of this macro is provided which is correct for most systems.
28498  -- Macro: ASM_OUTPUT_INTERNAL_LABEL (STREAM, NAME)
28499      Identical to `ASM_OUTPUT_LABEL', except that NAME is known to
28500      refer to a compiler-generated label.  The default definition uses
28501      `assemble_name_raw', which is like `assemble_name' except that it
28502      is more efficient.
28504  -- Macro: SIZE_ASM_OP
28505      A C string containing the appropriate assembler directive to
28506      specify the size of a symbol, without any arguments.  On systems
28507      that use ELF, the default (in `config/elfos.h') is `"\t.size\t"';
28508      on other systems, the default is not to define this macro.
28510      Define this macro only if it is correct to use the default
28511      definitions of `ASM_OUTPUT_SIZE_DIRECTIVE' and
28512      `ASM_OUTPUT_MEASURED_SIZE' for your system.  If you need your own
28513      custom definitions of those macros, or if you do not need explicit
28514      symbol sizes at all, do not define this macro.
28516  -- Macro: ASM_OUTPUT_SIZE_DIRECTIVE (STREAM, NAME, SIZE)
28517      A C statement (sans semicolon) to output to the stdio stream
28518      STREAM a directive telling the assembler that the size of the
28519      symbol NAME is SIZE.  SIZE is a `HOST_WIDE_INT'.  If you define
28520      `SIZE_ASM_OP', a default definition of this macro is provided.
28522  -- Macro: ASM_OUTPUT_MEASURED_SIZE (STREAM, NAME)
28523      A C statement (sans semicolon) to output to the stdio stream
28524      STREAM a directive telling the assembler to calculate the size of
28525      the symbol NAME by subtracting its address from the current
28526      address.
28528      If you define `SIZE_ASM_OP', a default definition of this macro is
28529      provided.  The default assumes that the assembler recognizes a
28530      special `.' symbol as referring to the current address, and can
28531      calculate the difference between this and another symbol.  If your
28532      assembler does not recognize `.' or cannot do calculations with
28533      it, you will need to redefine `ASM_OUTPUT_MEASURED_SIZE' to use
28534      some other technique.
28536  -- Macro: TYPE_ASM_OP
28537      A C string containing the appropriate assembler directive to
28538      specify the type of a symbol, without any arguments.  On systems
28539      that use ELF, the default (in `config/elfos.h') is `"\t.type\t"';
28540      on other systems, the default is not to define this macro.
28542      Define this macro only if it is correct to use the default
28543      definition of `ASM_OUTPUT_TYPE_DIRECTIVE' for your system.  If you
28544      need your own custom definition of this macro, or if you do not
28545      need explicit symbol types at all, do not define this macro.
28547  -- Macro: TYPE_OPERAND_FMT
28548      A C string which specifies (using `printf' syntax) the format of
28549      the second operand to `TYPE_ASM_OP'.  On systems that use ELF, the
28550      default (in `config/elfos.h') is `"@%s"'; on other systems, the
28551      default is not to define this macro.
28553      Define this macro only if it is correct to use the default
28554      definition of `ASM_OUTPUT_TYPE_DIRECTIVE' for your system.  If you
28555      need your own custom definition of this macro, or if you do not
28556      need explicit symbol types at all, do not define this macro.
28558  -- Macro: ASM_OUTPUT_TYPE_DIRECTIVE (STREAM, TYPE)
28559      A C statement (sans semicolon) to output to the stdio stream
28560      STREAM a directive telling the assembler that the type of the
28561      symbol NAME is TYPE.  TYPE is a C string; currently, that string
28562      is always either `"function"' or `"object"', but you should not
28563      count on this.
28565      If you define `TYPE_ASM_OP' and `TYPE_OPERAND_FMT', a default
28566      definition of this macro is provided.
28568  -- Macro: ASM_DECLARE_FUNCTION_NAME (STREAM, NAME, DECL)
28569      A C statement (sans semicolon) to output to the stdio stream
28570      STREAM any text necessary for declaring the name NAME of a
28571      function which is being defined.  This macro is responsible for
28572      outputting the label definition (perhaps using
28573      `ASM_OUTPUT_LABEL').  The argument DECL is the `FUNCTION_DECL'
28574      tree node representing the function.
28576      If this macro is not defined, then the function name is defined in
28577      the usual manner as a label (by means of `ASM_OUTPUT_LABEL').
28579      You may wish to use `ASM_OUTPUT_TYPE_DIRECTIVE' in the definition
28580      of this macro.
28582  -- Macro: ASM_DECLARE_FUNCTION_SIZE (STREAM, NAME, DECL)
28583      A C statement (sans semicolon) to output to the stdio stream
28584      STREAM any text necessary for declaring the size of a function
28585      which is being defined.  The argument NAME is the name of the
28586      function.  The argument DECL is the `FUNCTION_DECL' tree node
28587      representing the function.
28589      If this macro is not defined, then the function size is not
28590      defined.
28592      You may wish to use `ASM_OUTPUT_MEASURED_SIZE' in the definition
28593      of this macro.
28595  -- Macro: ASM_DECLARE_OBJECT_NAME (STREAM, NAME, DECL)
28596      A C statement (sans semicolon) to output to the stdio stream
28597      STREAM any text necessary for declaring the name NAME of an
28598      initialized variable which is being defined.  This macro must
28599      output the label definition (perhaps using `ASM_OUTPUT_LABEL').
28600      The argument DECL is the `VAR_DECL' tree node representing the
28601      variable.
28603      If this macro is not defined, then the variable name is defined in
28604      the usual manner as a label (by means of `ASM_OUTPUT_LABEL').
28606      You may wish to use `ASM_OUTPUT_TYPE_DIRECTIVE' and/or
28607      `ASM_OUTPUT_SIZE_DIRECTIVE' in the definition of this macro.
28609  -- Macro: ASM_DECLARE_CONSTANT_NAME (STREAM, NAME, EXP, SIZE)
28610      A C statement (sans semicolon) to output to the stdio stream
28611      STREAM any text necessary for declaring the name NAME of a
28612      constant which is being defined.  This macro is responsible for
28613      outputting the label definition (perhaps using
28614      `ASM_OUTPUT_LABEL').  The argument EXP is the value of the
28615      constant, and SIZE is the size of the constant in bytes.  NAME
28616      will be an internal label.
28618      If this macro is not defined, then the NAME is defined in the
28619      usual manner as a label (by means of `ASM_OUTPUT_LABEL').
28621      You may wish to use `ASM_OUTPUT_TYPE_DIRECTIVE' in the definition
28622      of this macro.
28624  -- Macro: ASM_DECLARE_REGISTER_GLOBAL (STREAM, DECL, REGNO, NAME)
28625      A C statement (sans semicolon) to output to the stdio stream
28626      STREAM any text necessary for claiming a register REGNO for a
28627      global variable DECL with name NAME.
28629      If you don't define this macro, that is equivalent to defining it
28630      to do nothing.
28632  -- Macro: ASM_FINISH_DECLARE_OBJECT (STREAM, DECL, TOPLEVEL, ATEND)
28633      A C statement (sans semicolon) to finish up declaring a variable
28634      name once the compiler has processed its initializer fully and
28635      thus has had a chance to determine the size of an array when
28636      controlled by an initializer.  This is used on systems where it's
28637      necessary to declare something about the size of the object.
28639      If you don't define this macro, that is equivalent to defining it
28640      to do nothing.
28642      You may wish to use `ASM_OUTPUT_SIZE_DIRECTIVE' and/or
28643      `ASM_OUTPUT_MEASURED_SIZE' in the definition of this macro.
28645  -- Target Hook: void TARGET_ASM_GLOBALIZE_LABEL (FILE *STREAM, const
28646           char *NAME)
28647      This target hook is a function to output to the stdio stream
28648      STREAM some commands that will make the label NAME global; that
28649      is, available for reference from other files.
28651      The default implementation relies on a proper definition of
28652      `GLOBAL_ASM_OP'.
28654  -- Target Hook: void TARGET_ASM_GLOBALIZE_DECL_NAME (FILE *STREAM,
28655           tree DECL)
28656      This target hook is a function to output to the stdio stream
28657      STREAM some commands that will make the name associated with DECL
28658      global; that is, available for reference from other files.
28660      The default implementation uses the TARGET_ASM_GLOBALIZE_LABEL
28661      target hook.
28663  -- Macro: ASM_WEAKEN_LABEL (STREAM, NAME)
28664      A C statement (sans semicolon) to output to the stdio stream
28665      STREAM some commands that will make the label NAME weak; that is,
28666      available for reference from other files but only used if no other
28667      definition is available.  Use the expression `assemble_name
28668      (STREAM, NAME)' to output the name itself; before and after that,
28669      output the additional assembler syntax for making that name weak,
28670      and a newline.
28672      If you don't define this macro or `ASM_WEAKEN_DECL', GCC will not
28673      support weak symbols and you should not define the `SUPPORTS_WEAK'
28674      macro.
28676  -- Macro: ASM_WEAKEN_DECL (STREAM, DECL, NAME, VALUE)
28677      Combines (and replaces) the function of `ASM_WEAKEN_LABEL' and
28678      `ASM_OUTPUT_WEAK_ALIAS', allowing access to the associated function
28679      or variable decl.  If VALUE is not `NULL', this C statement should
28680      output to the stdio stream STREAM assembler code which defines
28681      (equates) the weak symbol NAME to have the value VALUE.  If VALUE
28682      is `NULL', it should output commands to make NAME weak.
28684  -- Macro: ASM_OUTPUT_WEAKREF (STREAM, DECL, NAME, VALUE)
28685      Outputs a directive that enables NAME to be used to refer to
28686      symbol VALUE with weak-symbol semantics.  `decl' is the
28687      declaration of `name'.
28689  -- Macro: SUPPORTS_WEAK
28690      A C expression which evaluates to true if the target supports weak
28691      symbols.
28693      If you don't define this macro, `defaults.h' provides a default
28694      definition.  If either `ASM_WEAKEN_LABEL' or `ASM_WEAKEN_DECL' is
28695      defined, the default definition is `1'; otherwise, it is `0'.
28696      Define this macro if you want to control weak symbol support with
28697      a compiler flag such as `-melf'.
28699  -- Macro: MAKE_DECL_ONE_ONLY (DECL)
28700      A C statement (sans semicolon) to mark DECL to be emitted as a
28701      public symbol such that extra copies in multiple translation units
28702      will be discarded by the linker.  Define this macro if your object
28703      file format provides support for this concept, such as the `COMDAT'
28704      section flags in the Microsoft Windows PE/COFF format, and this
28705      support requires changes to DECL, such as putting it in a separate
28706      section.
28708  -- Macro: SUPPORTS_ONE_ONLY
28709      A C expression which evaluates to true if the target supports
28710      one-only semantics.
28712      If you don't define this macro, `varasm.c' provides a default
28713      definition.  If `MAKE_DECL_ONE_ONLY' is defined, the default
28714      definition is `1'; otherwise, it is `0'.  Define this macro if you
28715      want to control one-only symbol support with a compiler flag, or if
28716      setting the `DECL_ONE_ONLY' flag is enough to mark a declaration to
28717      be emitted as one-only.
28719  -- Target Hook: void TARGET_ASM_ASSEMBLE_VISIBILITY (tree DECL, const
28720           char *VISIBILITY)
28721      This target hook is a function to output to ASM_OUT_FILE some
28722      commands that will make the symbol(s) associated with DECL have
28723      hidden, protected or internal visibility as specified by
28724      VISIBILITY.
28726  -- Macro: TARGET_WEAK_NOT_IN_ARCHIVE_TOC
28727      A C expression that evaluates to true if the target's linker
28728      expects that weak symbols do not appear in a static archive's
28729      table of contents.  The default is `0'.
28731      Leaving weak symbols out of an archive's table of contents means
28732      that, if a symbol will only have a definition in one translation
28733      unit and will have undefined references from other translation
28734      units, that symbol should not be weak.  Defining this macro to be
28735      nonzero will thus have the effect that certain symbols that would
28736      normally be weak (explicit template instantiations, and vtables
28737      for polymorphic classes with noninline key methods) will instead
28738      be nonweak.
28740      The C++ ABI requires this macro to be zero.  Define this macro for
28741      targets where full C++ ABI compliance is impossible and where
28742      linker restrictions require weak symbols to be left out of a
28743      static archive's table of contents.
28745  -- Macro: ASM_OUTPUT_EXTERNAL (STREAM, DECL, NAME)
28746      A C statement (sans semicolon) to output to the stdio stream
28747      STREAM any text necessary for declaring the name of an external
28748      symbol named NAME which is referenced in this compilation but not
28749      defined.  The value of DECL is the tree node for the declaration.
28751      This macro need not be defined if it does not need to output
28752      anything.  The GNU assembler and most Unix assemblers don't
28753      require anything.
28755  -- Target Hook: void TARGET_ASM_EXTERNAL_LIBCALL (rtx SYMREF)
28756      This target hook is a function to output to ASM_OUT_FILE an
28757      assembler pseudo-op to declare a library function name external.
28758      The name of the library function is given by SYMREF, which is a
28759      `symbol_ref'.
28761  -- Target Hook: void TARGET_ASM_MARK_DECL_PRESERVED (tree DECL)
28762      This target hook is a function to output to ASM_OUT_FILE an
28763      assembler directive to annotate used symbol.  Darwin target use
28764      .no_dead_code_strip directive.
28766  -- Macro: ASM_OUTPUT_LABELREF (STREAM, NAME)
28767      A C statement (sans semicolon) to output to the stdio stream
28768      STREAM a reference in assembler syntax to a label named NAME.
28769      This should add `_' to the front of the name, if that is customary
28770      on your operating system, as it is in most Berkeley Unix systems.
28771      This macro is used in `assemble_name'.
28773  -- Macro: ASM_OUTPUT_SYMBOL_REF (STREAM, SYM)
28774      A C statement (sans semicolon) to output a reference to
28775      `SYMBOL_REF' SYM.  If not defined, `assemble_name' will be used to
28776      output the name of the symbol.  This macro may be used to modify
28777      the way a symbol is referenced depending on information encoded by
28778      `TARGET_ENCODE_SECTION_INFO'.
28780  -- Macro: ASM_OUTPUT_LABEL_REF (STREAM, BUF)
28781      A C statement (sans semicolon) to output a reference to BUF, the
28782      result of `ASM_GENERATE_INTERNAL_LABEL'.  If not defined,
28783      `assemble_name' will be used to output the name of the symbol.
28784      This macro is not used by `output_asm_label', or the `%l'
28785      specifier that calls it; the intention is that this macro should
28786      be set when it is necessary to output a label differently when its
28787      address is being taken.
28789  -- Target Hook: void TARGET_ASM_INTERNAL_LABEL (FILE *STREAM, const
28790           char *PREFIX, unsigned long LABELNO)
28791      A function to output to the stdio stream STREAM a label whose name
28792      is made from the string PREFIX and the number LABELNO.
28794      It is absolutely essential that these labels be distinct from the
28795      labels used for user-level functions and variables.  Otherwise,
28796      certain programs will have name conflicts with internal labels.
28798      It is desirable to exclude internal labels from the symbol table
28799      of the object file.  Most assemblers have a naming convention for
28800      labels that should be excluded; on many systems, the letter `L' at
28801      the beginning of a label has this effect.  You should find out what
28802      convention your system uses, and follow it.
28804      The default version of this function utilizes
28805      `ASM_GENERATE_INTERNAL_LABEL'.
28807  -- Macro: ASM_OUTPUT_DEBUG_LABEL (STREAM, PREFIX, NUM)
28808      A C statement to output to the stdio stream STREAM a debug info
28809      label whose name is made from the string PREFIX and the number
28810      NUM.  This is useful for VLIW targets, where debug info labels may
28811      need to be treated differently than branch target labels.  On some
28812      systems, branch target labels must be at the beginning of
28813      instruction bundles, but debug info labels can occur in the middle
28814      of instruction bundles.
28816      If this macro is not defined, then
28817      `(*targetm.asm_out.internal_label)' will be used.
28819  -- Macro: ASM_GENERATE_INTERNAL_LABEL (STRING, PREFIX, NUM)
28820      A C statement to store into the string STRING a label whose name
28821      is made from the string PREFIX and the number NUM.
28823      This string, when output subsequently by `assemble_name', should
28824      produce the output that `(*targetm.asm_out.internal_label)' would
28825      produce with the same PREFIX and NUM.
28827      If the string begins with `*', then `assemble_name' will output
28828      the rest of the string unchanged.  It is often convenient for
28829      `ASM_GENERATE_INTERNAL_LABEL' to use `*' in this way.  If the
28830      string doesn't start with `*', then `ASM_OUTPUT_LABELREF' gets to
28831      output the string, and may change it.  (Of course,
28832      `ASM_OUTPUT_LABELREF' is also part of your machine description, so
28833      you should know what it does on your machine.)
28835  -- Macro: ASM_FORMAT_PRIVATE_NAME (OUTVAR, NAME, NUMBER)
28836      A C expression to assign to OUTVAR (which is a variable of type
28837      `char *') a newly allocated string made from the string NAME and
28838      the number NUMBER, with some suitable punctuation added.  Use
28839      `alloca' to get space for the string.
28841      The string will be used as an argument to `ASM_OUTPUT_LABELREF' to
28842      produce an assembler label for an internal static variable whose
28843      name is NAME.  Therefore, the string must be such as to result in
28844      valid assembler code.  The argument NUMBER is different each time
28845      this macro is executed; it prevents conflicts between
28846      similarly-named internal static variables in different scopes.
28848      Ideally this string should not be a valid C identifier, to prevent
28849      any conflict with the user's own symbols.  Most assemblers allow
28850      periods or percent signs in assembler symbols; putting at least
28851      one of these between the name and the number will suffice.
28853      If this macro is not defined, a default definition will be provided
28854      which is correct for most systems.
28856  -- Macro: ASM_OUTPUT_DEF (STREAM, NAME, VALUE)
28857      A C statement to output to the stdio stream STREAM assembler code
28858      which defines (equates) the symbol NAME to have the value VALUE.
28860      If `SET_ASM_OP' is defined, a default definition is provided which
28861      is correct for most systems.
28863  -- Macro: ASM_OUTPUT_DEF_FROM_DECLS (STREAM, DECL_OF_NAME,
28864           DECL_OF_VALUE)
28865      A C statement to output to the stdio stream STREAM assembler code
28866      which defines (equates) the symbol whose tree node is DECL_OF_NAME
28867      to have the value of the tree node DECL_OF_VALUE.  This macro will
28868      be used in preference to `ASM_OUTPUT_DEF' if it is defined and if
28869      the tree nodes are available.
28871      If `SET_ASM_OP' is defined, a default definition is provided which
28872      is correct for most systems.
28874  -- Macro: TARGET_DEFERRED_OUTPUT_DEFS (DECL_OF_NAME, DECL_OF_VALUE)
28875      A C statement that evaluates to true if the assembler code which
28876      defines (equates) the symbol whose tree node is DECL_OF_NAME to
28877      have the value of the tree node DECL_OF_VALUE should be emitted
28878      near the end of the current compilation unit.  The default is to
28879      not defer output of defines.  This macro affects defines output by
28880      `ASM_OUTPUT_DEF' and `ASM_OUTPUT_DEF_FROM_DECLS'.
28882  -- Macro: ASM_OUTPUT_WEAK_ALIAS (STREAM, NAME, VALUE)
28883      A C statement to output to the stdio stream STREAM assembler code
28884      which defines (equates) the weak symbol NAME to have the value
28885      VALUE.  If VALUE is `NULL', it defines NAME as an undefined weak
28886      symbol.
28888      Define this macro if the target only supports weak aliases; define
28889      `ASM_OUTPUT_DEF' instead if possible.
28891  -- Macro: OBJC_GEN_METHOD_LABEL (BUF, IS_INST, CLASS_NAME, CAT_NAME,
28892           SEL_NAME)
28893      Define this macro to override the default assembler names used for
28894      Objective-C methods.
28896      The default name is a unique method number followed by the name of
28897      the class (e.g. `_1_Foo').  For methods in categories, the name of
28898      the category is also included in the assembler name (e.g.
28899      `_1_Foo_Bar').
28901      These names are safe on most systems, but make debugging difficult
28902      since the method's selector is not present in the name.
28903      Therefore, particular systems define other ways of computing names.
28905      BUF is an expression of type `char *' which gives you a buffer in
28906      which to store the name; its length is as long as CLASS_NAME,
28907      CAT_NAME and SEL_NAME put together, plus 50 characters extra.
28909      The argument IS_INST specifies whether the method is an instance
28910      method or a class method; CLASS_NAME is the name of the class;
28911      CAT_NAME is the name of the category (or `NULL' if the method is
28912      not in a category); and SEL_NAME is the name of the selector.
28914      On systems where the assembler can handle quoted names, you can
28915      use this macro to provide more human-readable names.
28917  -- Macro: ASM_DECLARE_CLASS_REFERENCE (STREAM, NAME)
28918      A C statement (sans semicolon) to output to the stdio stream
28919      STREAM commands to declare that the label NAME is an Objective-C
28920      class reference.  This is only needed for targets whose linkers
28921      have special support for NeXT-style runtimes.
28923  -- Macro: ASM_DECLARE_UNRESOLVED_REFERENCE (STREAM, NAME)
28924      A C statement (sans semicolon) to output to the stdio stream
28925      STREAM commands to declare that the label NAME is an unresolved
28926      Objective-C class reference.  This is only needed for targets
28927      whose linkers have special support for NeXT-style runtimes.
28929 \x1f
28930 File: gccint.info,  Node: Initialization,  Next: Macros for Initialization,  Prev: Label Output,  Up: Assembler Format
28932 15.21.5 How Initialization Functions Are Handled
28933 ------------------------------------------------
28935 The compiled code for certain languages includes "constructors" (also
28936 called "initialization routines")--functions to initialize data in the
28937 program when the program is started.  These functions need to be called
28938 before the program is "started"--that is to say, before `main' is
28939 called.
28941  Compiling some languages generates "destructors" (also called
28942 "termination routines") that should be called when the program
28943 terminates.
28945  To make the initialization and termination functions work, the compiler
28946 must output something in the assembler code to cause those functions to
28947 be called at the appropriate time.  When you port the compiler to a new
28948 system, you need to specify how to do this.
28950  There are two major ways that GCC currently supports the execution of
28951 initialization and termination functions.  Each way has two variants.
28952 Much of the structure is common to all four variations.
28954  The linker must build two lists of these functions--a list of
28955 initialization functions, called `__CTOR_LIST__', and a list of
28956 termination functions, called `__DTOR_LIST__'.
28958  Each list always begins with an ignored function pointer (which may
28959 hold 0, -1, or a count of the function pointers after it, depending on
28960 the environment).  This is followed by a series of zero or more function
28961 pointers to constructors (or destructors), followed by a function
28962 pointer containing zero.
28964  Depending on the operating system and its executable file format,
28965 either `crtstuff.c' or `libgcc2.c' traverses these lists at startup
28966 time and exit time.  Constructors are called in reverse order of the
28967 list; destructors in forward order.
28969  The best way to handle static constructors works only for object file
28970 formats which provide arbitrarily-named sections.  A section is set
28971 aside for a list of constructors, and another for a list of destructors.
28972 Traditionally these are called `.ctors' and `.dtors'.  Each object file
28973 that defines an initialization function also puts a word in the
28974 constructor section to point to that function.  The linker accumulates
28975 all these words into one contiguous `.ctors' section.  Termination
28976 functions are handled similarly.
28978  This method will be chosen as the default by `target-def.h' if
28979 `TARGET_ASM_NAMED_SECTION' is defined.  A target that does not support
28980 arbitrary sections, but does support special designated constructor and
28981 destructor sections may define `CTORS_SECTION_ASM_OP' and
28982 `DTORS_SECTION_ASM_OP' to achieve the same effect.
28984  When arbitrary sections are available, there are two variants,
28985 depending upon how the code in `crtstuff.c' is called.  On systems that
28986 support a ".init" section which is executed at program startup, parts
28987 of `crtstuff.c' are compiled into that section.  The program is linked
28988 by the `gcc' driver like this:
28990      ld -o OUTPUT_FILE crti.o crtbegin.o ... -lgcc crtend.o crtn.o
28992  The prologue of a function (`__init') appears in the `.init' section
28993 of `crti.o'; the epilogue appears in `crtn.o'.  Likewise for the
28994 function `__fini' in the ".fini" section.  Normally these files are
28995 provided by the operating system or by the GNU C library, but are
28996 provided by GCC for a few targets.
28998  The objects `crtbegin.o' and `crtend.o' are (for most targets)
28999 compiled from `crtstuff.c'.  They contain, among other things, code
29000 fragments within the `.init' and `.fini' sections that branch to
29001 routines in the `.text' section.  The linker will pull all parts of a
29002 section together, which results in a complete `__init' function that
29003 invokes the routines we need at startup.
29005  To use this variant, you must define the `INIT_SECTION_ASM_OP' macro
29006 properly.
29008  If no init section is available, when GCC compiles any function called
29009 `main' (or more accurately, any function designated as a program entry
29010 point by the language front end calling `expand_main_function'), it
29011 inserts a procedure call to `__main' as the first executable code after
29012 the function prologue.  The `__main' function is defined in `libgcc2.c'
29013 and runs the global constructors.
29015  In file formats that don't support arbitrary sections, there are again
29016 two variants.  In the simplest variant, the GNU linker (GNU `ld') and
29017 an `a.out' format must be used.  In this case, `TARGET_ASM_CONSTRUCTOR'
29018 is defined to produce a `.stabs' entry of type `N_SETT', referencing
29019 the name `__CTOR_LIST__', and with the address of the void function
29020 containing the initialization code as its value.  The GNU linker
29021 recognizes this as a request to add the value to a "set"; the values
29022 are accumulated, and are eventually placed in the executable as a
29023 vector in the format described above, with a leading (ignored) count
29024 and a trailing zero element.  `TARGET_ASM_DESTRUCTOR' is handled
29025 similarly.  Since no init section is available, the absence of
29026 `INIT_SECTION_ASM_OP' causes the compilation of `main' to call `__main'
29027 as above, starting the initialization process.
29029  The last variant uses neither arbitrary sections nor the GNU linker.
29030 This is preferable when you want to do dynamic linking and when using
29031 file formats which the GNU linker does not support, such as `ECOFF'.  In
29032 this case, `TARGET_HAVE_CTORS_DTORS' is false, initialization and
29033 termination functions are recognized simply by their names.  This
29034 requires an extra program in the linkage step, called `collect2'.  This
29035 program pretends to be the linker, for use with GCC; it does its job by
29036 running the ordinary linker, but also arranges to include the vectors of
29037 initialization and termination functions.  These functions are called
29038 via `__main' as described above.  In order to use this method,
29039 `use_collect2' must be defined in the target in `config.gcc'.
29041  The following section describes the specific macros that control and
29042 customize the handling of initialization and termination functions.
29044 \x1f
29045 File: gccint.info,  Node: Macros for Initialization,  Next: Instruction Output,  Prev: Initialization,  Up: Assembler Format
29047 15.21.6 Macros Controlling Initialization Routines
29048 --------------------------------------------------
29050 Here are the macros that control how the compiler handles initialization
29051 and termination functions:
29053  -- Macro: INIT_SECTION_ASM_OP
29054      If defined, a C string constant, including spacing, for the
29055      assembler operation to identify the following data as
29056      initialization code.  If not defined, GCC will assume such a
29057      section does not exist.  When you are using special sections for
29058      initialization and termination functions, this macro also controls
29059      how `crtstuff.c' and `libgcc2.c' arrange to run the initialization
29060      functions.
29062  -- Macro: HAS_INIT_SECTION
29063      If defined, `main' will not call `__main' as described above.
29064      This macro should be defined for systems that control start-up code
29065      on a symbol-by-symbol basis, such as OSF/1, and should not be
29066      defined explicitly for systems that support `INIT_SECTION_ASM_OP'.
29068  -- Macro: LD_INIT_SWITCH
29069      If defined, a C string constant for a switch that tells the linker
29070      that the following symbol is an initialization routine.
29072  -- Macro: LD_FINI_SWITCH
29073      If defined, a C string constant for a switch that tells the linker
29074      that the following symbol is a finalization routine.
29076  -- Macro: COLLECT_SHARED_INIT_FUNC (STREAM, FUNC)
29077      If defined, a C statement that will write a function that can be
29078      automatically called when a shared library is loaded.  The function
29079      should call FUNC, which takes no arguments.  If not defined, and
29080      the object format requires an explicit initialization function,
29081      then a function called `_GLOBAL__DI' will be generated.
29083      This function and the following one are used by collect2 when
29084      linking a shared library that needs constructors or destructors,
29085      or has DWARF2 exception tables embedded in the code.
29087  -- Macro: COLLECT_SHARED_FINI_FUNC (STREAM, FUNC)
29088      If defined, a C statement that will write a function that can be
29089      automatically called when a shared library is unloaded.  The
29090      function should call FUNC, which takes no arguments.  If not
29091      defined, and the object format requires an explicit finalization
29092      function, then a function called `_GLOBAL__DD' will be generated.
29094  -- Macro: INVOKE__main
29095      If defined, `main' will call `__main' despite the presence of
29096      `INIT_SECTION_ASM_OP'.  This macro should be defined for systems
29097      where the init section is not actually run automatically, but is
29098      still useful for collecting the lists of constructors and
29099      destructors.
29101  -- Macro: SUPPORTS_INIT_PRIORITY
29102      If nonzero, the C++ `init_priority' attribute is supported and the
29103      compiler should emit instructions to control the order of
29104      initialization of objects.  If zero, the compiler will issue an
29105      error message upon encountering an `init_priority' attribute.
29107  -- Target Hook: bool TARGET_HAVE_CTORS_DTORS
29108      This value is true if the target supports some "native" method of
29109      collecting constructors and destructors to be run at startup and
29110      exit.  It is false if we must use `collect2'.
29112  -- Target Hook: void TARGET_ASM_CONSTRUCTOR (rtx SYMBOL, int PRIORITY)
29113      If defined, a function that outputs assembler code to arrange to
29114      call the function referenced by SYMBOL at initialization time.
29116      Assume that SYMBOL is a `SYMBOL_REF' for a function taking no
29117      arguments and with no return value.  If the target supports
29118      initialization priorities, PRIORITY is a value between 0 and
29119      `MAX_INIT_PRIORITY'; otherwise it must be `DEFAULT_INIT_PRIORITY'.
29121      If this macro is not defined by the target, a suitable default will
29122      be chosen if (1) the target supports arbitrary section names, (2)
29123      the target defines `CTORS_SECTION_ASM_OP', or (3) `USE_COLLECT2'
29124      is not defined.
29126  -- Target Hook: void TARGET_ASM_DESTRUCTOR (rtx SYMBOL, int PRIORITY)
29127      This is like `TARGET_ASM_CONSTRUCTOR' but used for termination
29128      functions rather than initialization functions.
29130  If `TARGET_HAVE_CTORS_DTORS' is true, the initialization routine
29131 generated for the generated object file will have static linkage.
29133  If your system uses `collect2' as the means of processing
29134 constructors, then that program normally uses `nm' to scan an object
29135 file for constructor functions to be called.
29137  On certain kinds of systems, you can define this macro to make
29138 `collect2' work faster (and, in some cases, make it work at all):
29140  -- Macro: OBJECT_FORMAT_COFF
29141      Define this macro if the system uses COFF (Common Object File
29142      Format) object files, so that `collect2' can assume this format
29143      and scan object files directly for dynamic constructor/destructor
29144      functions.
29146      This macro is effective only in a native compiler; `collect2' as
29147      part of a cross compiler always uses `nm' for the target machine.
29149  -- Macro: REAL_NM_FILE_NAME
29150      Define this macro as a C string constant containing the file name
29151      to use to execute `nm'.  The default is to search the path
29152      normally for `nm'.
29154      If your system supports shared libraries and has a program to list
29155      the dynamic dependencies of a given library or executable, you can
29156      define these macros to enable support for running initialization
29157      and termination functions in shared libraries:
29159  -- Macro: LDD_SUFFIX
29160      Define this macro to a C string constant containing the name of
29161      the program which lists dynamic dependencies, like `"ldd"' under
29162      SunOS 4.
29164  -- Macro: PARSE_LDD_OUTPUT (PTR)
29165      Define this macro to be C code that extracts filenames from the
29166      output of the program denoted by `LDD_SUFFIX'.  PTR is a variable
29167      of type `char *' that points to the beginning of a line of output
29168      from `LDD_SUFFIX'.  If the line lists a dynamic dependency, the
29169      code must advance PTR to the beginning of the filename on that
29170      line.  Otherwise, it must set PTR to `NULL'.
29172  -- Macro: SHLIB_SUFFIX
29173      Define this macro to a C string constant containing the default
29174      shared library extension of the target (e.g., `".so"').  `collect2'
29175      strips version information after this suffix when generating global
29176      constructor and destructor names.  This define is only needed on
29177      targets that use `collect2' to process constructors and
29178      destructors.
29180 \x1f
29181 File: gccint.info,  Node: Instruction Output,  Next: Dispatch Tables,  Prev: Macros for Initialization,  Up: Assembler Format
29183 15.21.7 Output of Assembler Instructions
29184 ----------------------------------------
29186 This describes assembler instruction output.
29188  -- Macro: REGISTER_NAMES
29189      A C initializer containing the assembler's names for the machine
29190      registers, each one as a C string constant.  This is what
29191      translates register numbers in the compiler into assembler
29192      language.
29194  -- Macro: ADDITIONAL_REGISTER_NAMES
29195      If defined, a C initializer for an array of structures containing
29196      a name and a register number.  This macro defines additional names
29197      for hard registers, thus allowing the `asm' option in declarations
29198      to refer to registers using alternate names.
29200  -- Macro: ASM_OUTPUT_OPCODE (STREAM, PTR)
29201      Define this macro if you are using an unusual assembler that
29202      requires different names for the machine instructions.
29204      The definition is a C statement or statements which output an
29205      assembler instruction opcode to the stdio stream STREAM.  The
29206      macro-operand PTR is a variable of type `char *' which points to
29207      the opcode name in its "internal" form--the form that is written
29208      in the machine description.  The definition should output the
29209      opcode name to STREAM, performing any translation you desire, and
29210      increment the variable PTR to point at the end of the opcode so
29211      that it will not be output twice.
29213      In fact, your macro definition may process less than the entire
29214      opcode name, or more than the opcode name; but if you want to
29215      process text that includes `%'-sequences to substitute operands,
29216      you must take care of the substitution yourself.  Just be sure to
29217      increment PTR over whatever text should not be output normally.
29219      If you need to look at the operand values, they can be found as the
29220      elements of `recog_data.operand'.
29222      If the macro definition does nothing, the instruction is output in
29223      the usual way.
29225  -- Macro: FINAL_PRESCAN_INSN (INSN, OPVEC, NOPERANDS)
29226      If defined, a C statement to be executed just prior to the output
29227      of assembler code for INSN, to modify the extracted operands so
29228      they will be output differently.
29230      Here the argument OPVEC is the vector containing the operands
29231      extracted from INSN, and NOPERANDS is the number of elements of
29232      the vector which contain meaningful data for this insn.  The
29233      contents of this vector are what will be used to convert the insn
29234      template into assembler code, so you can change the assembler
29235      output by changing the contents of the vector.
29237      This macro is useful when various assembler syntaxes share a single
29238      file of instruction patterns; by defining this macro differently,
29239      you can cause a large class of instructions to be output
29240      differently (such as with rearranged operands).  Naturally,
29241      variations in assembler syntax affecting individual insn patterns
29242      ought to be handled by writing conditional output routines in
29243      those patterns.
29245      If this macro is not defined, it is equivalent to a null statement.
29247  -- Macro: PRINT_OPERAND (STREAM, X, CODE)
29248      A C compound statement to output to stdio stream STREAM the
29249      assembler syntax for an instruction operand X.  X is an RTL
29250      expression.
29252      CODE is a value that can be used to specify one of several ways of
29253      printing the operand.  It is used when identical operands must be
29254      printed differently depending on the context.  CODE comes from the
29255      `%' specification that was used to request printing of the
29256      operand.  If the specification was just `%DIGIT' then CODE is 0;
29257      if the specification was `%LTR DIGIT' then CODE is the ASCII code
29258      for LTR.
29260      If X is a register, this macro should print the register's name.
29261      The names can be found in an array `reg_names' whose type is `char
29262      *[]'.  `reg_names' is initialized from `REGISTER_NAMES'.
29264      When the machine description has a specification `%PUNCT' (a `%'
29265      followed by a punctuation character), this macro is called with a
29266      null pointer for X and the punctuation character for CODE.
29268  -- Macro: PRINT_OPERAND_PUNCT_VALID_P (CODE)
29269      A C expression which evaluates to true if CODE is a valid
29270      punctuation character for use in the `PRINT_OPERAND' macro.  If
29271      `PRINT_OPERAND_PUNCT_VALID_P' is not defined, it means that no
29272      punctuation characters (except for the standard one, `%') are used
29273      in this way.
29275  -- Macro: PRINT_OPERAND_ADDRESS (STREAM, X)
29276      A C compound statement to output to stdio stream STREAM the
29277      assembler syntax for an instruction operand that is a memory
29278      reference whose address is X.  X is an RTL expression.
29280      On some machines, the syntax for a symbolic address depends on the
29281      section that the address refers to.  On these machines, define the
29282      hook `TARGET_ENCODE_SECTION_INFO' to store the information into the
29283      `symbol_ref', and then check for it here.  *Note Assembler
29284      Format::.
29286  -- Macro: DBR_OUTPUT_SEQEND (FILE)
29287      A C statement, to be executed after all slot-filler instructions
29288      have been output.  If necessary, call `dbr_sequence_length' to
29289      determine the number of slots filled in a sequence (zero if not
29290      currently outputting a sequence), to decide how many no-ops to
29291      output, or whatever.
29293      Don't define this macro if it has nothing to do, but it is helpful
29294      in reading assembly output if the extent of the delay sequence is
29295      made explicit (e.g. with white space).
29297  Note that output routines for instructions with delay slots must be
29298 prepared to deal with not being output as part of a sequence (i.e. when
29299 the scheduling pass is not run, or when no slot fillers could be
29300 found.)  The variable `final_sequence' is null when not processing a
29301 sequence, otherwise it contains the `sequence' rtx being output.
29303  -- Macro: REGISTER_PREFIX
29304  -- Macro: LOCAL_LABEL_PREFIX
29305  -- Macro: USER_LABEL_PREFIX
29306  -- Macro: IMMEDIATE_PREFIX
29307      If defined, C string expressions to be used for the `%R', `%L',
29308      `%U', and `%I' options of `asm_fprintf' (see `final.c').  These
29309      are useful when a single `md' file must support multiple assembler
29310      formats.  In that case, the various `tm.h' files can define these
29311      macros differently.
29313  -- Macro: ASM_FPRINTF_EXTENSIONS (FILE, ARGPTR, FORMAT)
29314      If defined this macro should expand to a series of `case'
29315      statements which will be parsed inside the `switch' statement of
29316      the `asm_fprintf' function.  This allows targets to define extra
29317      printf formats which may useful when generating their assembler
29318      statements.  Note that uppercase letters are reserved for future
29319      generic extensions to asm_fprintf, and so are not available to
29320      target specific code.  The output file is given by the parameter
29321      FILE.  The varargs input pointer is ARGPTR and the rest of the
29322      format string, starting the character after the one that is being
29323      switched upon, is pointed to by FORMAT.
29325  -- Macro: ASSEMBLER_DIALECT
29326      If your target supports multiple dialects of assembler language
29327      (such as different opcodes), define this macro as a C expression
29328      that gives the numeric index of the assembler language dialect to
29329      use, with zero as the first variant.
29331      If this macro is defined, you may use constructs of the form
29332           `{option0|option1|option2...}'
29333      in the output templates of patterns (*note Output Template::) or
29334      in the first argument of `asm_fprintf'.  This construct outputs
29335      `option0', `option1', `option2', etc., if the value of
29336      `ASSEMBLER_DIALECT' is zero, one, two, etc.  Any special characters
29337      within these strings retain their usual meaning.  If there are
29338      fewer alternatives within the braces than the value of
29339      `ASSEMBLER_DIALECT', the construct outputs nothing.
29341      If you do not define this macro, the characters `{', `|' and `}'
29342      do not have any special meaning when used in templates or operands
29343      to `asm_fprintf'.
29345      Define the macros `REGISTER_PREFIX', `LOCAL_LABEL_PREFIX',
29346      `USER_LABEL_PREFIX' and `IMMEDIATE_PREFIX' if you can express the
29347      variations in assembler language syntax with that mechanism.
29348      Define `ASSEMBLER_DIALECT' and use the `{option0|option1}' syntax
29349      if the syntax variant are larger and involve such things as
29350      different opcodes or operand order.
29352  -- Macro: ASM_OUTPUT_REG_PUSH (STREAM, REGNO)
29353      A C expression to output to STREAM some assembler code which will
29354      push hard register number REGNO onto the stack.  The code need not
29355      be optimal, since this macro is used only when profiling.
29357  -- Macro: ASM_OUTPUT_REG_POP (STREAM, REGNO)
29358      A C expression to output to STREAM some assembler code which will
29359      pop hard register number REGNO off of the stack.  The code need
29360      not be optimal, since this macro is used only when profiling.
29362 \x1f
29363 File: gccint.info,  Node: Dispatch Tables,  Next: Exception Region Output,  Prev: Instruction Output,  Up: Assembler Format
29365 15.21.8 Output of Dispatch Tables
29366 ---------------------------------
29368 This concerns dispatch tables.
29370  -- Macro: ASM_OUTPUT_ADDR_DIFF_ELT (STREAM, BODY, VALUE, REL)
29371      A C statement to output to the stdio stream STREAM an assembler
29372      pseudo-instruction to generate a difference between two labels.
29373      VALUE and REL are the numbers of two internal labels.  The
29374      definitions of these labels are output using
29375      `(*targetm.asm_out.internal_label)', and they must be printed in
29376      the same way here.  For example,
29378           fprintf (STREAM, "\t.word L%d-L%d\n",
29379                    VALUE, REL)
29381      You must provide this macro on machines where the addresses in a
29382      dispatch table are relative to the table's own address.  If
29383      defined, GCC will also use this macro on all machines when
29384      producing PIC.  BODY is the body of the `ADDR_DIFF_VEC'; it is
29385      provided so that the mode and flags can be read.
29387  -- Macro: ASM_OUTPUT_ADDR_VEC_ELT (STREAM, VALUE)
29388      This macro should be provided on machines where the addresses in a
29389      dispatch table are absolute.
29391      The definition should be a C statement to output to the stdio
29392      stream STREAM an assembler pseudo-instruction to generate a
29393      reference to a label.  VALUE is the number of an internal label
29394      whose definition is output using
29395      `(*targetm.asm_out.internal_label)'.  For example,
29397           fprintf (STREAM, "\t.word L%d\n", VALUE)
29399  -- Macro: ASM_OUTPUT_CASE_LABEL (STREAM, PREFIX, NUM, TABLE)
29400      Define this if the label before a jump-table needs to be output
29401      specially.  The first three arguments are the same as for
29402      `(*targetm.asm_out.internal_label)'; the fourth argument is the
29403      jump-table which follows (a `jump_insn' containing an `addr_vec'
29404      or `addr_diff_vec').
29406      This feature is used on system V to output a `swbeg' statement for
29407      the table.
29409      If this macro is not defined, these labels are output with
29410      `(*targetm.asm_out.internal_label)'.
29412  -- Macro: ASM_OUTPUT_CASE_END (STREAM, NUM, TABLE)
29413      Define this if something special must be output at the end of a
29414      jump-table.  The definition should be a C statement to be executed
29415      after the assembler code for the table is written.  It should write
29416      the appropriate code to stdio stream STREAM.  The argument TABLE
29417      is the jump-table insn, and NUM is the label-number of the
29418      preceding label.
29420      If this macro is not defined, nothing special is output at the end
29421      of the jump-table.
29423  -- Target Hook: void TARGET_ASM_EMIT_UNWIND_LABEL (STREAM, DECL,
29424           FOR_EH, EMPTY)
29425      This target hook emits a label at the beginning of each FDE.  It
29426      should be defined on targets where FDEs need special labels, and it
29427      should write the appropriate label, for the FDE associated with the
29428      function declaration DECL, to the stdio stream STREAM.  The third
29429      argument, FOR_EH, is a boolean: true if this is for an exception
29430      table.  The fourth argument, EMPTY, is a boolean: true if this is
29431      a placeholder label for an omitted FDE.
29433      The default is that FDEs are not given nonlocal labels.
29435  -- Target Hook: void TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL (STREAM)
29436      This target hook emits a label at the beginning of the exception
29437      table.  It should be defined on targets where it is desirable for
29438      the table to be broken up according to function.
29440      The default is that no label is emitted.
29442  -- Target Hook: void TARGET_UNWIND_EMIT (FILE * STREAM, rtx INSN)
29443      This target hook emits and assembly directives required to unwind
29444      the given instruction.  This is only used when TARGET_UNWIND_INFO
29445      is set.
29447 \x1f
29448 File: gccint.info,  Node: Exception Region Output,  Next: Alignment Output,  Prev: Dispatch Tables,  Up: Assembler Format
29450 15.21.9 Assembler Commands for Exception Regions
29451 ------------------------------------------------
29453 This describes commands marking the start and the end of an exception
29454 region.
29456  -- Macro: EH_FRAME_SECTION_NAME
29457      If defined, a C string constant for the name of the section
29458      containing exception handling frame unwind information.  If not
29459      defined, GCC will provide a default definition if the target
29460      supports named sections.  `crtstuff.c' uses this macro to switch
29461      to the appropriate section.
29463      You should define this symbol if your target supports DWARF 2 frame
29464      unwind information and the default definition does not work.
29466  -- Macro: EH_FRAME_IN_DATA_SECTION
29467      If defined, DWARF 2 frame unwind information will be placed in the
29468      data section even though the target supports named sections.  This
29469      might be necessary, for instance, if the system linker does garbage
29470      collection and sections cannot be marked as not to be collected.
29472      Do not define this macro unless `TARGET_ASM_NAMED_SECTION' is also
29473      defined.
29475  -- Macro: EH_TABLES_CAN_BE_READ_ONLY
29476      Define this macro to 1 if your target is such that no frame unwind
29477      information encoding used with non-PIC code will ever require a
29478      runtime relocation, but the linker may not support merging
29479      read-only and read-write sections into a single read-write section.
29481  -- Macro: MASK_RETURN_ADDR
29482      An rtx used to mask the return address found via
29483      `RETURN_ADDR_RTX', so that it does not contain any extraneous set
29484      bits in it.
29486  -- Macro: DWARF2_UNWIND_INFO
29487      Define this macro to 0 if your target supports DWARF 2 frame unwind
29488      information, but it does not yet work with exception handling.
29489      Otherwise, if your target supports this information (if it defines
29490      `INCOMING_RETURN_ADDR_RTX' and either `UNALIGNED_INT_ASM_OP' or
29491      `OBJECT_FORMAT_ELF'), GCC will provide a default definition of 1.
29493      If `TARGET_UNWIND_INFO' is defined, the target specific unwinder
29494      will be used in all cases.  Defining this macro will enable the
29495      generation of DWARF 2 frame debugging information.
29497      If `TARGET_UNWIND_INFO' is not defined, and this macro is defined
29498      to 1, the DWARF 2 unwinder will be the default exception handling
29499      mechanism; otherwise, the `setjmp'/`longjmp'-based scheme will be
29500      used by default.
29502  -- Macro: TARGET_UNWIND_INFO
29503      Define this macro if your target has ABI specified unwind tables.
29504      Usually these will be output by `TARGET_UNWIND_EMIT'.
29506  -- Variable: Target Hook bool TARGET_UNWIND_TABLES_DEFAULT
29507      This variable should be set to `true' if the target ABI requires
29508      unwinding tables even when exceptions are not used.
29510  -- Macro: MUST_USE_SJLJ_EXCEPTIONS
29511      This macro need only be defined if `DWARF2_UNWIND_INFO' is
29512      runtime-variable.  In that case, `except.h' cannot correctly
29513      determine the corresponding definition of
29514      `MUST_USE_SJLJ_EXCEPTIONS', so the target must provide it directly.
29516  -- Macro: DONT_USE_BUILTIN_SETJMP
29517      Define this macro to 1 if the `setjmp'/`longjmp'-based scheme
29518      should use the `setjmp'/`longjmp' functions from the C library
29519      instead of the `__builtin_setjmp'/`__builtin_longjmp' machinery.
29521  -- Macro: DWARF_CIE_DATA_ALIGNMENT
29522      This macro need only be defined if the target might save registers
29523      in the function prologue at an offset to the stack pointer that is
29524      not aligned to `UNITS_PER_WORD'.  The definition should be the
29525      negative minimum alignment if `STACK_GROWS_DOWNWARD' is defined,
29526      and the positive minimum alignment otherwise.  *Note SDB and
29527      DWARF::.  Only applicable if the target supports DWARF 2 frame
29528      unwind information.
29530  -- Variable: Target Hook bool TARGET_TERMINATE_DW2_EH_FRAME_INFO
29531      Contains the value true if the target should add a zero word onto
29532      the end of a Dwarf-2 frame info section when used for exception
29533      handling.  Default value is false if `EH_FRAME_SECTION_NAME' is
29534      defined, and true otherwise.
29536  -- Target Hook: rtx TARGET_DWARF_REGISTER_SPAN (rtx REG)
29537      Given a register, this hook should return a parallel of registers
29538      to represent where to find the register pieces.  Define this hook
29539      if the register and its mode are represented in Dwarf in
29540      non-contiguous locations, or if the register should be represented
29541      in more than one register in Dwarf.  Otherwise, this hook should
29542      return `NULL_RTX'.  If not defined, the default is to return
29543      `NULL_RTX'.
29545  -- Target Hook: void TARGET_INIT_DWARF_REG_SIZES_EXTRA (tree ADDRESS)
29546      If some registers are represented in Dwarf-2 unwind information in
29547      multiple pieces, define this hook to fill in information about the
29548      sizes of those pieces in the table used by the unwinder at runtime.
29549      It will be called by `expand_builtin_init_dwarf_reg_sizes' after
29550      filling in a single size corresponding to each hard register;
29551      ADDRESS is the address of the table.
29553  -- Target Hook: bool TARGET_ASM_TTYPE (rtx SYM)
29554      This hook is used to output a reference from a frame unwinding
29555      table to the type_info object identified by SYM.  It should return
29556      `true' if the reference was output.  Returning `false' will cause
29557      the reference to be output using the normal Dwarf2 routines.
29559  -- Target Hook: bool TARGET_ARM_EABI_UNWINDER
29560      This hook should be set to `true' on targets that use an ARM EABI
29561      based unwinding library, and `false' on other targets.  This
29562      effects the format of unwinding tables, and how the unwinder in
29563      entered after running a cleanup.  The default is `false'.
29565 \x1f
29566 File: gccint.info,  Node: Alignment Output,  Prev: Exception Region Output,  Up: Assembler Format
29568 15.21.10 Assembler Commands for Alignment
29569 -----------------------------------------
29571 This describes commands for alignment.
29573  -- Macro: JUMP_ALIGN (LABEL)
29574      The alignment (log base 2) to put in front of LABEL, which is a
29575      common destination of jumps and has no fallthru incoming edge.
29577      This macro need not be defined if you don't want any special
29578      alignment to be done at such a time.  Most machine descriptions do
29579      not currently define the macro.
29581      Unless it's necessary to inspect the LABEL parameter, it is better
29582      to set the variable ALIGN_JUMPS in the target's
29583      `OVERRIDE_OPTIONS'.  Otherwise, you should try to honor the user's
29584      selection in ALIGN_JUMPS in a `JUMP_ALIGN' implementation.
29586  -- Macro: LABEL_ALIGN_AFTER_BARRIER (LABEL)
29587      The alignment (log base 2) to put in front of LABEL, which follows
29588      a `BARRIER'.
29590      This macro need not be defined if you don't want any special
29591      alignment to be done at such a time.  Most machine descriptions do
29592      not currently define the macro.
29594  -- Macro: LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP
29595      The maximum number of bytes to skip when applying
29596      `LABEL_ALIGN_AFTER_BARRIER'.  This works only if
29597      `ASM_OUTPUT_MAX_SKIP_ALIGN' is defined.
29599  -- Macro: LOOP_ALIGN (LABEL)
29600      The alignment (log base 2) to put in front of LABEL, which follows
29601      a `NOTE_INSN_LOOP_BEG' note.
29603      This macro need not be defined if you don't want any special
29604      alignment to be done at such a time.  Most machine descriptions do
29605      not currently define the macro.
29607      Unless it's necessary to inspect the LABEL parameter, it is better
29608      to set the variable `align_loops' in the target's
29609      `OVERRIDE_OPTIONS'.  Otherwise, you should try to honor the user's
29610      selection in `align_loops' in a `LOOP_ALIGN' implementation.
29612  -- Macro: LOOP_ALIGN_MAX_SKIP
29613      The maximum number of bytes to skip when applying `LOOP_ALIGN'.
29614      This works only if `ASM_OUTPUT_MAX_SKIP_ALIGN' is defined.
29616  -- Macro: LABEL_ALIGN (LABEL)
29617      The alignment (log base 2) to put in front of LABEL.  If
29618      `LABEL_ALIGN_AFTER_BARRIER' / `LOOP_ALIGN' specify a different
29619      alignment, the maximum of the specified values is used.
29621      Unless it's necessary to inspect the LABEL parameter, it is better
29622      to set the variable `align_labels' in the target's
29623      `OVERRIDE_OPTIONS'.  Otherwise, you should try to honor the user's
29624      selection in `align_labels' in a `LABEL_ALIGN' implementation.
29626  -- Macro: LABEL_ALIGN_MAX_SKIP
29627      The maximum number of bytes to skip when applying `LABEL_ALIGN'.
29628      This works only if `ASM_OUTPUT_MAX_SKIP_ALIGN' is defined.
29630  -- Macro: ASM_OUTPUT_SKIP (STREAM, NBYTES)
29631      A C statement to output to the stdio stream STREAM an assembler
29632      instruction to advance the location counter by NBYTES bytes.
29633      Those bytes should be zero when loaded.  NBYTES will be a C
29634      expression of type `unsigned HOST_WIDE_INT'.
29636  -- Macro: ASM_NO_SKIP_IN_TEXT
29637      Define this macro if `ASM_OUTPUT_SKIP' should not be used in the
29638      text section because it fails to put zeros in the bytes that are
29639      skipped.  This is true on many Unix systems, where the pseudo-op
29640      to skip bytes produces no-op instructions rather than zeros when
29641      used in the text section.
29643  -- Macro: ASM_OUTPUT_ALIGN (STREAM, POWER)
29644      A C statement to output to the stdio stream STREAM an assembler
29645      command to advance the location counter to a multiple of 2 to the
29646      POWER bytes.  POWER will be a C expression of type `int'.
29648  -- Macro: ASM_OUTPUT_ALIGN_WITH_NOP (STREAM, POWER)
29649      Like `ASM_OUTPUT_ALIGN', except that the "nop" instruction is used
29650      for padding, if necessary.
29652  -- Macro: ASM_OUTPUT_MAX_SKIP_ALIGN (STREAM, POWER, MAX_SKIP)
29653      A C statement to output to the stdio stream STREAM an assembler
29654      command to advance the location counter to a multiple of 2 to the
29655      POWER bytes, but only if MAX_SKIP or fewer bytes are needed to
29656      satisfy the alignment request.  POWER and MAX_SKIP will be a C
29657      expression of type `int'.
29659 \x1f
29660 File: gccint.info,  Node: Debugging Info,  Next: Floating Point,  Prev: Assembler Format,  Up: Target Macros
29662 15.22 Controlling Debugging Information Format
29663 ==============================================
29665 This describes how to specify debugging information.
29667 * Menu:
29669 * All Debuggers::      Macros that affect all debugging formats uniformly.
29670 * DBX Options::        Macros enabling specific options in DBX format.
29671 * DBX Hooks::          Hook macros for varying DBX format.
29672 * File Names and DBX:: Macros controlling output of file names in DBX format.
29673 * SDB and DWARF::      Macros for SDB (COFF) and DWARF formats.
29674 * VMS Debug::          Macros for VMS debug format.
29676 \x1f
29677 File: gccint.info,  Node: All Debuggers,  Next: DBX Options,  Up: Debugging Info
29679 15.22.1 Macros Affecting All Debugging Formats
29680 ----------------------------------------------
29682 These macros affect all debugging formats.
29684  -- Macro: DBX_REGISTER_NUMBER (REGNO)
29685      A C expression that returns the DBX register number for the
29686      compiler register number REGNO.  In the default macro provided,
29687      the value of this expression will be REGNO itself.  But sometimes
29688      there are some registers that the compiler knows about and DBX
29689      does not, or vice versa.  In such cases, some register may need to
29690      have one number in the compiler and another for DBX.
29692      If two registers have consecutive numbers inside GCC, and they can
29693      be used as a pair to hold a multiword value, then they _must_ have
29694      consecutive numbers after renumbering with `DBX_REGISTER_NUMBER'.
29695      Otherwise, debuggers will be unable to access such a pair, because
29696      they expect register pairs to be consecutive in their own
29697      numbering scheme.
29699      If you find yourself defining `DBX_REGISTER_NUMBER' in way that
29700      does not preserve register pairs, then what you must do instead is
29701      redefine the actual register numbering scheme.
29703  -- Macro: DEBUGGER_AUTO_OFFSET (X)
29704      A C expression that returns the integer offset value for an
29705      automatic variable having address X (an RTL expression).  The
29706      default computation assumes that X is based on the frame-pointer
29707      and gives the offset from the frame-pointer.  This is required for
29708      targets that produce debugging output for DBX or COFF-style
29709      debugging output for SDB and allow the frame-pointer to be
29710      eliminated when the `-g' options is used.
29712  -- Macro: DEBUGGER_ARG_OFFSET (OFFSET, X)
29713      A C expression that returns the integer offset value for an
29714      argument having address X (an RTL expression).  The nominal offset
29715      is OFFSET.
29717  -- Macro: PREFERRED_DEBUGGING_TYPE
29718      A C expression that returns the type of debugging output GCC should
29719      produce when the user specifies just `-g'.  Define this if you
29720      have arranged for GCC to support more than one format of debugging
29721      output.  Currently, the allowable values are `DBX_DEBUG',
29722      `SDB_DEBUG', `DWARF_DEBUG', `DWARF2_DEBUG', `XCOFF_DEBUG',
29723      `VMS_DEBUG', and `VMS_AND_DWARF2_DEBUG'.
29725      When the user specifies `-ggdb', GCC normally also uses the value
29726      of this macro to select the debugging output format, but with two
29727      exceptions.  If `DWARF2_DEBUGGING_INFO' is defined, GCC uses the
29728      value `DWARF2_DEBUG'.  Otherwise, if `DBX_DEBUGGING_INFO' is
29729      defined, GCC uses `DBX_DEBUG'.
29731      The value of this macro only affects the default debugging output;
29732      the user can always get a specific type of output by using
29733      `-gstabs', `-gcoff', `-gdwarf-2', `-gxcoff', or `-gvms'.
29735 \x1f
29736 File: gccint.info,  Node: DBX Options,  Next: DBX Hooks,  Prev: All Debuggers,  Up: Debugging Info
29738 15.22.2 Specific Options for DBX Output
29739 ---------------------------------------
29741 These are specific options for DBX output.
29743  -- Macro: DBX_DEBUGGING_INFO
29744      Define this macro if GCC should produce debugging output for DBX
29745      in response to the `-g' option.
29747  -- Macro: XCOFF_DEBUGGING_INFO
29748      Define this macro if GCC should produce XCOFF format debugging
29749      output in response to the `-g' option.  This is a variant of DBX
29750      format.
29752  -- Macro: DEFAULT_GDB_EXTENSIONS
29753      Define this macro to control whether GCC should by default generate
29754      GDB's extended version of DBX debugging information (assuming
29755      DBX-format debugging information is enabled at all).  If you don't
29756      define the macro, the default is 1: always generate the extended
29757      information if there is any occasion to.
29759  -- Macro: DEBUG_SYMS_TEXT
29760      Define this macro if all `.stabs' commands should be output while
29761      in the text section.
29763  -- Macro: ASM_STABS_OP
29764      A C string constant, including spacing, naming the assembler
29765      pseudo op to use instead of `"\t.stabs\t"' to define an ordinary
29766      debugging symbol.  If you don't define this macro, `"\t.stabs\t"'
29767      is used.  This macro applies only to DBX debugging information
29768      format.
29770  -- Macro: ASM_STABD_OP
29771      A C string constant, including spacing, naming the assembler
29772      pseudo op to use instead of `"\t.stabd\t"' to define a debugging
29773      symbol whose value is the current location.  If you don't define
29774      this macro, `"\t.stabd\t"' is used.  This macro applies only to
29775      DBX debugging information format.
29777  -- Macro: ASM_STABN_OP
29778      A C string constant, including spacing, naming the assembler
29779      pseudo op to use instead of `"\t.stabn\t"' to define a debugging
29780      symbol with no name.  If you don't define this macro,
29781      `"\t.stabn\t"' is used.  This macro applies only to DBX debugging
29782      information format.
29784  -- Macro: DBX_NO_XREFS
29785      Define this macro if DBX on your system does not support the
29786      construct `xsTAGNAME'.  On some systems, this construct is used to
29787      describe a forward reference to a structure named TAGNAME.  On
29788      other systems, this construct is not supported at all.
29790  -- Macro: DBX_CONTIN_LENGTH
29791      A symbol name in DBX-format debugging information is normally
29792      continued (split into two separate `.stabs' directives) when it
29793      exceeds a certain length (by default, 80 characters).  On some
29794      operating systems, DBX requires this splitting; on others,
29795      splitting must not be done.  You can inhibit splitting by defining
29796      this macro with the value zero.  You can override the default
29797      splitting-length by defining this macro as an expression for the
29798      length you desire.
29800  -- Macro: DBX_CONTIN_CHAR
29801      Normally continuation is indicated by adding a `\' character to
29802      the end of a `.stabs' string when a continuation follows.  To use
29803      a different character instead, define this macro as a character
29804      constant for the character you want to use.  Do not define this
29805      macro if backslash is correct for your system.
29807  -- Macro: DBX_STATIC_STAB_DATA_SECTION
29808      Define this macro if it is necessary to go to the data section
29809      before outputting the `.stabs' pseudo-op for a non-global static
29810      variable.
29812  -- Macro: DBX_TYPE_DECL_STABS_CODE
29813      The value to use in the "code" field of the `.stabs' directive for
29814      a typedef.  The default is `N_LSYM'.
29816  -- Macro: DBX_STATIC_CONST_VAR_CODE
29817      The value to use in the "code" field of the `.stabs' directive for
29818      a static variable located in the text section.  DBX format does not
29819      provide any "right" way to do this.  The default is `N_FUN'.
29821  -- Macro: DBX_REGPARM_STABS_CODE
29822      The value to use in the "code" field of the `.stabs' directive for
29823      a parameter passed in registers.  DBX format does not provide any
29824      "right" way to do this.  The default is `N_RSYM'.
29826  -- Macro: DBX_REGPARM_STABS_LETTER
29827      The letter to use in DBX symbol data to identify a symbol as a
29828      parameter passed in registers.  DBX format does not customarily
29829      provide any way to do this.  The default is `'P''.
29831  -- Macro: DBX_FUNCTION_FIRST
29832      Define this macro if the DBX information for a function and its
29833      arguments should precede the assembler code for the function.
29834      Normally, in DBX format, the debugging information entirely
29835      follows the assembler code.
29837  -- Macro: DBX_BLOCKS_FUNCTION_RELATIVE
29838      Define this macro, with value 1, if the value of a symbol
29839      describing the scope of a block (`N_LBRAC' or `N_RBRAC') should be
29840      relative to the start of the enclosing function.  Normally, GCC
29841      uses an absolute address.
29843  -- Macro: DBX_LINES_FUNCTION_RELATIVE
29844      Define this macro, with value 1, if the value of a symbol
29845      indicating the current line number (`N_SLINE') should be relative
29846      to the start of the enclosing function.  Normally, GCC uses an
29847      absolute address.
29849  -- Macro: DBX_USE_BINCL
29850      Define this macro if GCC should generate `N_BINCL' and `N_EINCL'
29851      stabs for included header files, as on Sun systems.  This macro
29852      also directs GCC to output a type number as a pair of a file
29853      number and a type number within the file.  Normally, GCC does not
29854      generate `N_BINCL' or `N_EINCL' stabs, and it outputs a single
29855      number for a type number.
29857 \x1f
29858 File: gccint.info,  Node: DBX Hooks,  Next: File Names and DBX,  Prev: DBX Options,  Up: Debugging Info
29860 15.22.3 Open-Ended Hooks for DBX Format
29861 ---------------------------------------
29863 These are hooks for DBX format.
29865  -- Macro: DBX_OUTPUT_LBRAC (STREAM, NAME)
29866      Define this macro to say how to output to STREAM the debugging
29867      information for the start of a scope level for variable names.  The
29868      argument NAME is the name of an assembler symbol (for use with
29869      `assemble_name') whose value is the address where the scope begins.
29871  -- Macro: DBX_OUTPUT_RBRAC (STREAM, NAME)
29872      Like `DBX_OUTPUT_LBRAC', but for the end of a scope level.
29874  -- Macro: DBX_OUTPUT_NFUN (STREAM, LSCOPE_LABEL, DECL)
29875      Define this macro if the target machine requires special handling
29876      to output an `N_FUN' entry for the function DECL.
29878  -- Macro: DBX_OUTPUT_SOURCE_LINE (STREAM, LINE, COUNTER)
29879      A C statement to output DBX debugging information before code for
29880      line number LINE of the current source file to the stdio stream
29881      STREAM.  COUNTER is the number of time the macro was invoked,
29882      including the current invocation; it is intended to generate
29883      unique labels in the assembly output.
29885      This macro should not be defined if the default output is correct,
29886      or if it can be made correct by defining
29887      `DBX_LINES_FUNCTION_RELATIVE'.
29889  -- Macro: NO_DBX_FUNCTION_END
29890      Some stabs encapsulation formats (in particular ECOFF), cannot
29891      handle the `.stabs "",N_FUN,,0,0,Lscope-function-1' gdb dbx
29892      extension construct.  On those machines, define this macro to turn
29893      this feature off without disturbing the rest of the gdb extensions.
29895  -- Macro: NO_DBX_BNSYM_ENSYM
29896      Some assemblers cannot handle the `.stabd BNSYM/ENSYM,0,0' gdb dbx
29897      extension construct.  On those machines, define this macro to turn
29898      this feature off without disturbing the rest of the gdb extensions.
29900 \x1f
29901 File: gccint.info,  Node: File Names and DBX,  Next: SDB and DWARF,  Prev: DBX Hooks,  Up: Debugging Info
29903 15.22.4 File Names in DBX Format
29904 --------------------------------
29906 This describes file names in DBX format.
29908  -- Macro: DBX_OUTPUT_MAIN_SOURCE_FILENAME (STREAM, NAME)
29909      A C statement to output DBX debugging information to the stdio
29910      stream STREAM, which indicates that file NAME is the main source
29911      file--the file specified as the input file for compilation.  This
29912      macro is called only once, at the beginning of compilation.
29914      This macro need not be defined if the standard form of output for
29915      DBX debugging information is appropriate.
29917      It may be necessary to refer to a label equal to the beginning of
29918      the text section.  You can use `assemble_name (stream,
29919      ltext_label_name)' to do so.  If you do this, you must also set
29920      the variable USED_LTEXT_LABEL_NAME to `true'.
29922  -- Macro: NO_DBX_MAIN_SOURCE_DIRECTORY
29923      Define this macro, with value 1, if GCC should not emit an
29924      indication of the current directory for compilation and current
29925      source language at the beginning of the file.
29927  -- Macro: NO_DBX_GCC_MARKER
29928      Define this macro, with value 1, if GCC should not emit an
29929      indication that this object file was compiled by GCC.  The default
29930      is to emit an `N_OPT' stab at the beginning of every source file,
29931      with `gcc2_compiled.' for the string and value 0.
29933  -- Macro: DBX_OUTPUT_MAIN_SOURCE_FILE_END (STREAM, NAME)
29934      A C statement to output DBX debugging information at the end of
29935      compilation of the main source file NAME.  Output should be
29936      written to the stdio stream STREAM.
29938      If you don't define this macro, nothing special is output at the
29939      end of compilation, which is correct for most machines.
29941  -- Macro: DBX_OUTPUT_NULL_N_SO_AT_MAIN_SOURCE_FILE_END
29942      Define this macro _instead of_ defining
29943      `DBX_OUTPUT_MAIN_SOURCE_FILE_END', if what needs to be output at
29944      the end of compilation is a `N_SO' stab with an empty string,
29945      whose value is the highest absolute text address in the file.
29947 \x1f
29948 File: gccint.info,  Node: SDB and DWARF,  Next: VMS Debug,  Prev: File Names and DBX,  Up: Debugging Info
29950 15.22.5 Macros for SDB and DWARF Output
29951 ---------------------------------------
29953 Here are macros for SDB and DWARF output.
29955  -- Macro: SDB_DEBUGGING_INFO
29956      Define this macro if GCC should produce COFF-style debugging output
29957      for SDB in response to the `-g' option.
29959  -- Macro: DWARF2_DEBUGGING_INFO
29960      Define this macro if GCC should produce dwarf version 2 format
29961      debugging output in response to the `-g' option.
29963       -- Target Hook: int TARGET_DWARF_CALLING_CONVENTION (tree
29964                FUNCTION)
29965           Define this to enable the dwarf attribute
29966           `DW_AT_calling_convention' to be emitted for each function.
29967           Instead of an integer return the enum value for the `DW_CC_'
29968           tag.
29970      To support optional call frame debugging information, you must also
29971      define `INCOMING_RETURN_ADDR_RTX' and either set
29972      `RTX_FRAME_RELATED_P' on the prologue insns if you use RTL for the
29973      prologue, or call `dwarf2out_def_cfa' and `dwarf2out_reg_save' as
29974      appropriate from `TARGET_ASM_FUNCTION_PROLOGUE' if you don't.
29976  -- Macro: DWARF2_FRAME_INFO
29977      Define this macro to a nonzero value if GCC should always output
29978      Dwarf 2 frame information.  If `DWARF2_UNWIND_INFO' (*note
29979      Exception Region Output:: is nonzero, GCC will output this
29980      information not matter how you define `DWARF2_FRAME_INFO'.
29982  -- Macro: DWARF2_ASM_LINE_DEBUG_INFO
29983      Define this macro to be a nonzero value if the assembler can
29984      generate Dwarf 2 line debug info sections.  This will result in
29985      much more compact line number tables, and hence is desirable if it
29986      works.
29988  -- Macro: ASM_OUTPUT_DWARF_DELTA (STREAM, SIZE, LABEL1, LABEL2)
29989      A C statement to issue assembly directives that create a difference
29990      LAB1 minus LAB2, using an integer of the given SIZE.
29992  -- Macro: ASM_OUTPUT_DWARF_OFFSET (STREAM, SIZE, LABEL, SECTION)
29993      A C statement to issue assembly directives that create a
29994      section-relative reference to the given LABEL, using an integer of
29995      the given SIZE.  The label is known to be defined in the given
29996      SECTION.
29998  -- Macro: ASM_OUTPUT_DWARF_PCREL (STREAM, SIZE, LABEL)
29999      A C statement to issue assembly directives that create a
30000      self-relative reference to the given LABEL, using an integer of
30001      the given SIZE.
30003  -- Target Hook: void TARGET_ASM_OUTPUT_DWARF_DTPREL (FILE *FILE, int
30004           SIZE, rtx X)
30005      If defined, this target hook is a function which outputs a
30006      DTP-relative reference to the given TLS symbol of the specified
30007      size.
30009  -- Macro: PUT_SDB_...
30010      Define these macros to override the assembler syntax for the
30011      special SDB assembler directives.  See `sdbout.c' for a list of
30012      these macros and their arguments.  If the standard syntax is used,
30013      you need not define them yourself.
30015  -- Macro: SDB_DELIM
30016      Some assemblers do not support a semicolon as a delimiter, even
30017      between SDB assembler directives.  In that case, define this macro
30018      to be the delimiter to use (usually `\n').  It is not necessary to
30019      define a new set of `PUT_SDB_OP' macros if this is the only change
30020      required.
30022  -- Macro: SDB_ALLOW_UNKNOWN_REFERENCES
30023      Define this macro to allow references to unknown structure, union,
30024      or enumeration tags to be emitted.  Standard COFF does not allow
30025      handling of unknown references, MIPS ECOFF has support for it.
30027  -- Macro: SDB_ALLOW_FORWARD_REFERENCES
30028      Define this macro to allow references to structure, union, or
30029      enumeration tags that have not yet been seen to be handled.  Some
30030      assemblers choke if forward tags are used, while some require it.
30032  -- Macro: SDB_OUTPUT_SOURCE_LINE (STREAM, LINE)
30033      A C statement to output SDB debugging information before code for
30034      line number LINE of the current source file to the stdio stream
30035      STREAM.  The default is to emit an `.ln' directive.
30037 \x1f
30038 File: gccint.info,  Node: VMS Debug,  Prev: SDB and DWARF,  Up: Debugging Info
30040 15.22.6 Macros for VMS Debug Format
30041 -----------------------------------
30043 Here are macros for VMS debug format.
30045  -- Macro: VMS_DEBUGGING_INFO
30046      Define this macro if GCC should produce debugging output for VMS
30047      in response to the `-g' option.  The default behavior for VMS is
30048      to generate minimal debug info for a traceback in the absence of
30049      `-g' unless explicitly overridden with `-g0'.  This behavior is
30050      controlled by `OPTIMIZATION_OPTIONS' and `OVERRIDE_OPTIONS'.
30052 \x1f
30053 File: gccint.info,  Node: Floating Point,  Next: Mode Switching,  Prev: Debugging Info,  Up: Target Macros
30055 15.23 Cross Compilation and Floating Point
30056 ==========================================
30058 While all modern machines use twos-complement representation for
30059 integers, there are a variety of representations for floating point
30060 numbers.  This means that in a cross-compiler the representation of
30061 floating point numbers in the compiled program may be different from
30062 that used in the machine doing the compilation.
30064  Because different representation systems may offer different amounts of
30065 range and precision, all floating point constants must be represented in
30066 the target machine's format.  Therefore, the cross compiler cannot
30067 safely use the host machine's floating point arithmetic; it must emulate
30068 the target's arithmetic.  To ensure consistency, GCC always uses
30069 emulation to work with floating point values, even when the host and
30070 target floating point formats are identical.
30072  The following macros are provided by `real.h' for the compiler to use.
30073 All parts of the compiler which generate or optimize floating-point
30074 calculations must use these macros.  They may evaluate their operands
30075 more than once, so operands must not have side effects.
30077  -- Macro: REAL_VALUE_TYPE
30078      The C data type to be used to hold a floating point value in the
30079      target machine's format.  Typically this is a `struct' containing
30080      an array of `HOST_WIDE_INT', but all code should treat it as an
30081      opaque quantity.
30083  -- Macro: int REAL_VALUES_EQUAL (REAL_VALUE_TYPE X, REAL_VALUE_TYPE Y)
30084      Compares for equality the two values, X and Y.  If the target
30085      floating point format supports negative zeroes and/or NaNs,
30086      `REAL_VALUES_EQUAL (-0.0, 0.0)' is true, and `REAL_VALUES_EQUAL
30087      (NaN, NaN)' is false.
30089  -- Macro: int REAL_VALUES_LESS (REAL_VALUE_TYPE X, REAL_VALUE_TYPE Y)
30090      Tests whether X is less than Y.
30092  -- Macro: HOST_WIDE_INT REAL_VALUE_FIX (REAL_VALUE_TYPE X)
30093      Truncates X to a signed integer, rounding toward zero.
30095  -- Macro: unsigned HOST_WIDE_INT REAL_VALUE_UNSIGNED_FIX
30096           (REAL_VALUE_TYPE X)
30097      Truncates X to an unsigned integer, rounding toward zero.  If X is
30098      negative, returns zero.
30100  -- Macro: REAL_VALUE_TYPE REAL_VALUE_ATOF (const char *STRING, enum
30101           machine_mode MODE)
30102      Converts STRING into a floating point number in the target
30103      machine's representation for mode MODE.  This routine can handle
30104      both decimal and hexadecimal floating point constants, using the
30105      syntax defined by the C language for both.
30107  -- Macro: int REAL_VALUE_NEGATIVE (REAL_VALUE_TYPE X)
30108      Returns 1 if X is negative (including negative zero), 0 otherwise.
30110  -- Macro: int REAL_VALUE_ISINF (REAL_VALUE_TYPE X)
30111      Determines whether X represents infinity (positive or negative).
30113  -- Macro: int REAL_VALUE_ISNAN (REAL_VALUE_TYPE X)
30114      Determines whether X represents a "NaN" (not-a-number).
30116  -- Macro: void REAL_ARITHMETIC (REAL_VALUE_TYPE OUTPUT, enum tree_code
30117           CODE, REAL_VALUE_TYPE X, REAL_VALUE_TYPE Y)
30118      Calculates an arithmetic operation on the two floating point values
30119      X and Y, storing the result in OUTPUT (which must be a variable).
30121      The operation to be performed is specified by CODE.  Only the
30122      following codes are supported: `PLUS_EXPR', `MINUS_EXPR',
30123      `MULT_EXPR', `RDIV_EXPR', `MAX_EXPR', `MIN_EXPR'.
30125      If `REAL_ARITHMETIC' is asked to evaluate division by zero and the
30126      target's floating point format cannot represent infinity, it will
30127      call `abort'.  Callers should check for this situation first, using
30128      `MODE_HAS_INFINITIES'.  *Note Storage Layout::.
30130  -- Macro: REAL_VALUE_TYPE REAL_VALUE_NEGATE (REAL_VALUE_TYPE X)
30131      Returns the negative of the floating point value X.
30133  -- Macro: REAL_VALUE_TYPE REAL_VALUE_ABS (REAL_VALUE_TYPE X)
30134      Returns the absolute value of X.
30136  -- Macro: REAL_VALUE_TYPE REAL_VALUE_TRUNCATE (REAL_VALUE_TYPE MODE,
30137           enum machine_mode X)
30138      Truncates the floating point value X to fit in MODE.  The return
30139      value is still a full-size `REAL_VALUE_TYPE', but it has an
30140      appropriate bit pattern to be output as a floating constant whose
30141      precision accords with mode MODE.
30143  -- Macro: void REAL_VALUE_TO_INT (HOST_WIDE_INT LOW, HOST_WIDE_INT
30144           HIGH, REAL_VALUE_TYPE X)
30145      Converts a floating point value X into a double-precision integer
30146      which is then stored into LOW and HIGH.  If the value is not
30147      integral, it is truncated.
30149  -- Macro: void REAL_VALUE_FROM_INT (REAL_VALUE_TYPE X, HOST_WIDE_INT
30150           LOW, HOST_WIDE_INT HIGH, enum machine_mode MODE)
30151      Converts a double-precision integer found in LOW and HIGH, into a
30152      floating point value which is then stored into X.  The value is
30153      truncated to fit in mode MODE.
30155 \x1f
30156 File: gccint.info,  Node: Mode Switching,  Next: Target Attributes,  Prev: Floating Point,  Up: Target Macros
30158 15.24 Mode Switching Instructions
30159 =================================
30161 The following macros control mode switching optimizations:
30163  -- Macro: OPTIMIZE_MODE_SWITCHING (ENTITY)
30164      Define this macro if the port needs extra instructions inserted
30165      for mode switching in an optimizing compilation.
30167      For an example, the SH4 can perform both single and double
30168      precision floating point operations, but to perform a single
30169      precision operation, the FPSCR PR bit has to be cleared, while for
30170      a double precision operation, this bit has to be set.  Changing
30171      the PR bit requires a general purpose register as a scratch
30172      register, hence these FPSCR sets have to be inserted before
30173      reload, i.e. you can't put this into instruction emitting or
30174      `TARGET_MACHINE_DEPENDENT_REORG'.
30176      You can have multiple entities that are mode-switched, and select
30177      at run time which entities actually need it.
30178      `OPTIMIZE_MODE_SWITCHING' should return nonzero for any ENTITY
30179      that needs mode-switching.  If you define this macro, you also
30180      have to define `NUM_MODES_FOR_MODE_SWITCHING', `MODE_NEEDED',
30181      `MODE_PRIORITY_TO_MODE' and `EMIT_MODE_SET'.  `MODE_AFTER',
30182      `MODE_ENTRY', and `MODE_EXIT' are optional.
30184  -- Macro: NUM_MODES_FOR_MODE_SWITCHING
30185      If you define `OPTIMIZE_MODE_SWITCHING', you have to define this as
30186      initializer for an array of integers.  Each initializer element N
30187      refers to an entity that needs mode switching, and specifies the
30188      number of different modes that might need to be set for this
30189      entity.  The position of the initializer in the
30190      initializer--starting counting at zero--determines the integer
30191      that is used to refer to the mode-switched entity in question.  In
30192      macros that take mode arguments / yield a mode result, modes are
30193      represented as numbers 0 ... N - 1.  N is used to specify that no
30194      mode switch is needed / supplied.
30196  -- Macro: MODE_NEEDED (ENTITY, INSN)
30197      ENTITY is an integer specifying a mode-switched entity.  If
30198      `OPTIMIZE_MODE_SWITCHING' is defined, you must define this macro to
30199      return an integer value not larger than the corresponding element
30200      in `NUM_MODES_FOR_MODE_SWITCHING', to denote the mode that ENTITY
30201      must be switched into prior to the execution of INSN.
30203  -- Macro: MODE_AFTER (MODE, INSN)
30204      If this macro is defined, it is evaluated for every INSN during
30205      mode switching.  It determines the mode that an insn results in (if
30206      different from the incoming mode).
30208  -- Macro: MODE_ENTRY (ENTITY)
30209      If this macro is defined, it is evaluated for every ENTITY that
30210      needs mode switching.  It should evaluate to an integer, which is
30211      a mode that ENTITY is assumed to be switched to at function entry.
30212      If `MODE_ENTRY' is defined then `MODE_EXIT' must be defined.
30214  -- Macro: MODE_EXIT (ENTITY)
30215      If this macro is defined, it is evaluated for every ENTITY that
30216      needs mode switching.  It should evaluate to an integer, which is
30217      a mode that ENTITY is assumed to be switched to at function exit.
30218      If `MODE_EXIT' is defined then `MODE_ENTRY' must be defined.
30220  -- Macro: MODE_PRIORITY_TO_MODE (ENTITY, N)
30221      This macro specifies the order in which modes for ENTITY are
30222      processed.  0 is the highest priority,
30223      `NUM_MODES_FOR_MODE_SWITCHING[ENTITY] - 1' the lowest.  The value
30224      of the macro should be an integer designating a mode for ENTITY.
30225      For any fixed ENTITY, `mode_priority_to_mode' (ENTITY, N) shall be
30226      a bijection in 0 ...  `num_modes_for_mode_switching[ENTITY] - 1'.
30228  -- Macro: EMIT_MODE_SET (ENTITY, MODE, HARD_REGS_LIVE)
30229      Generate one or more insns to set ENTITY to MODE.  HARD_REG_LIVE
30230      is the set of hard registers live at the point where the insn(s)
30231      are to be inserted.
30233 \x1f
30234 File: gccint.info,  Node: Target Attributes,  Next: MIPS Coprocessors,  Prev: Mode Switching,  Up: Target Macros
30236 15.25 Defining target-specific uses of `__attribute__'
30237 ======================================================
30239 Target-specific attributes may be defined for functions, data and types.
30240 These are described using the following target hooks; they also need to
30241 be documented in `extend.texi'.
30243  -- Target Hook: const struct attribute_spec * TARGET_ATTRIBUTE_TABLE
30244      If defined, this target hook points to an array of `struct
30245      attribute_spec' (defined in `tree.h') specifying the machine
30246      specific attributes for this target and some of the restrictions
30247      on the entities to which these attributes are applied and the
30248      arguments they take.
30250  -- Target Hook: int TARGET_COMP_TYPE_ATTRIBUTES (tree TYPE1, tree
30251           TYPE2)
30252      If defined, this target hook is a function which returns zero if
30253      the attributes on TYPE1 and TYPE2 are incompatible, one if they
30254      are compatible, and two if they are nearly compatible (which
30255      causes a warning to be generated).  If this is not defined,
30256      machine-specific attributes are supposed always to be compatible.
30258  -- Target Hook: void TARGET_SET_DEFAULT_TYPE_ATTRIBUTES (tree TYPE)
30259      If defined, this target hook is a function which assigns default
30260      attributes to newly defined TYPE.
30262  -- Target Hook: tree TARGET_MERGE_TYPE_ATTRIBUTES (tree TYPE1, tree
30263           TYPE2)
30264      Define this target hook if the merging of type attributes needs
30265      special handling.  If defined, the result is a list of the combined
30266      `TYPE_ATTRIBUTES' of TYPE1 and TYPE2.  It is assumed that
30267      `comptypes' has already been called and returned 1.  This function
30268      may call `merge_attributes' to handle machine-independent merging.
30270  -- Target Hook: tree TARGET_MERGE_DECL_ATTRIBUTES (tree OLDDECL, tree
30271           NEWDECL)
30272      Define this target hook if the merging of decl attributes needs
30273      special handling.  If defined, the result is a list of the combined
30274      `DECL_ATTRIBUTES' of OLDDECL and NEWDECL.  NEWDECL is a duplicate
30275      declaration of OLDDECL.  Examples of when this is needed are when
30276      one attribute overrides another, or when an attribute is nullified
30277      by a subsequent definition.  This function may call
30278      `merge_attributes' to handle machine-independent merging.
30280      If the only target-specific handling you require is `dllimport'
30281      for Microsoft Windows targets, you should define the macro
30282      `TARGET_DLLIMPORT_DECL_ATTRIBUTES' to `1'.  The compiler will then
30283      define a function called `merge_dllimport_decl_attributes' which
30284      can then be defined as the expansion of
30285      `TARGET_MERGE_DECL_ATTRIBUTES'.  You can also add
30286      `handle_dll_attribute' in the attribute table for your port to
30287      perform initial processing of the `dllimport' and `dllexport'
30288      attributes.  This is done in `i386/cygwin.h' and `i386/i386.c',
30289      for example.
30291  -- Target Hook: bool TARGET_VALID_DLLIMPORT_ATTRIBUTE_P (tree DECL)
30292      DECL is a variable or function with `__attribute__((dllimport))'
30293      specified. Use this hook if the target needs to add extra
30294      validation checks to `handle_dll_attribute'.
30296  -- Macro: TARGET_DECLSPEC
30297      Define this macro to a nonzero value if you want to treat
30298      `__declspec(X)' as equivalent to `__attribute((X))'.  By default,
30299      this behavior is enabled only for targets that define
30300      `TARGET_DLLIMPORT_DECL_ATTRIBUTES'.  The current implementation of
30301      `__declspec' is via a built-in macro, but you should not rely on
30302      this implementation detail.
30304  -- Target Hook: void TARGET_INSERT_ATTRIBUTES (tree NODE, tree
30305           *ATTR_PTR)
30306      Define this target hook if you want to be able to add attributes
30307      to a decl when it is being created.  This is normally useful for
30308      back ends which wish to implement a pragma by using the attributes
30309      which correspond to the pragma's effect.  The NODE argument is the
30310      decl which is being created.  The ATTR_PTR argument is a pointer
30311      to the attribute list for this decl.  The list itself should not
30312      be modified, since it may be shared with other decls, but
30313      attributes may be chained on the head of the list and `*ATTR_PTR'
30314      modified to point to the new attributes, or a copy of the list may
30315      be made if further changes are needed.
30317  -- Target Hook: bool TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P (tree
30318           FNDECL)
30319      This target hook returns `true' if it is ok to inline FNDECL into
30320      the current function, despite its having target-specific
30321      attributes, `false' otherwise.  By default, if a function has a
30322      target specific attribute attached to it, it will not be inlined.
30324 \x1f
30325 File: gccint.info,  Node: MIPS Coprocessors,  Next: PCH Target,  Prev: Target Attributes,  Up: Target Macros
30327 15.26 Defining coprocessor specifics for MIPS targets.
30328 ======================================================
30330 The MIPS specification allows MIPS implementations to have as many as 4
30331 coprocessors, each with as many as 32 private registers.  GCC supports
30332 accessing these registers and transferring values between the registers
30333 and memory using asm-ized variables.  For example:
30335        register unsigned int cp0count asm ("c0r1");
30336        unsigned int d;
30338        d = cp0count + 3;
30340  ("c0r1" is the default name of register 1 in coprocessor 0; alternate
30341 names may be added as described below, or the default names may be
30342 overridden entirely in `SUBTARGET_CONDITIONAL_REGISTER_USAGE'.)
30344  Coprocessor registers are assumed to be epilogue-used; sets to them
30345 will be preserved even if it does not appear that the register is used
30346 again later in the function.
30348  Another note: according to the MIPS spec, coprocessor 1 (if present) is
30349 the FPU.  One accesses COP1 registers through standard mips
30350 floating-point support; they are not included in this mechanism.
30352  There is one macro used in defining the MIPS coprocessor interface
30353 which you may want to override in subtargets; it is described below.
30355  -- Macro: ALL_COP_ADDITIONAL_REGISTER_NAMES
30356      A comma-separated list (with leading comma) of pairs describing the
30357      alternate names of coprocessor registers.  The format of each
30358      entry should be
30359           { ALTERNATENAME, REGISTER_NUMBER}
30360      Default: empty.
30362 \x1f
30363 File: gccint.info,  Node: PCH Target,  Next: C++ ABI,  Prev: MIPS Coprocessors,  Up: Target Macros
30365 15.27 Parameters for Precompiled Header Validity Checking
30366 =========================================================
30368  -- Target Hook: void *TARGET_GET_PCH_VALIDITY (size_t *SZ)
30369      This hook returns the data needed by `TARGET_PCH_VALID_P' and sets
30370      `*SZ' to the size of the data in bytes.
30372  -- Target Hook: const char *TARGET_PCH_VALID_P (const void *DATA,
30373           size_t SZ)
30374      This hook checks whether the options used to create a PCH file are
30375      compatible with the current settings.  It returns `NULL' if so and
30376      a suitable error message if not.  Error messages will be presented
30377      to the user and must be localized using `_(MSG)'.
30379      DATA is the data that was returned by `TARGET_GET_PCH_VALIDITY'
30380      when the PCH file was created and SZ is the size of that data in
30381      bytes.  It's safe to assume that the data was created by the same
30382      version of the compiler, so no format checking is needed.
30384      The default definition of `default_pch_valid_p' should be suitable
30385      for most targets.
30387  -- Target Hook: const char *TARGET_CHECK_PCH_TARGET_FLAGS (int
30388           PCH_FLAGS)
30389      If this hook is nonnull, the default implementation of
30390      `TARGET_PCH_VALID_P' will use it to check for compatible values of
30391      `target_flags'.  PCH_FLAGS specifies the value that `target_flags'
30392      had when the PCH file was created.  The return value is the same
30393      as for `TARGET_PCH_VALID_P'.
30395 \x1f
30396 File: gccint.info,  Node: C++ ABI,  Next: Misc,  Prev: PCH Target,  Up: Target Macros
30398 15.28 C++ ABI parameters
30399 ========================
30401  -- Target Hook: tree TARGET_CXX_GUARD_TYPE (void)
30402      Define this hook to override the integer type used for guard
30403      variables.  These are used to implement one-time construction of
30404      static objects.  The default is long_long_integer_type_node.
30406  -- Target Hook: bool TARGET_CXX_GUARD_MASK_BIT (void)
30407      This hook determines how guard variables are used.  It should
30408      return `false' (the default) if first byte should be used.  A
30409      return value of `true' indicates the least significant bit should
30410      be used.
30412  -- Target Hook: tree TARGET_CXX_GET_COOKIE_SIZE (tree TYPE)
30413      This hook returns the size of the cookie to use when allocating an
30414      array whose elements have the indicated TYPE.  Assumes that it is
30415      already known that a cookie is needed.  The default is `max(sizeof
30416      (size_t), alignof(type))', as defined in section 2.7 of the
30417      IA64/Generic C++ ABI.
30419  -- Target Hook: bool TARGET_CXX_COOKIE_HAS_SIZE (void)
30420      This hook should return `true' if the element size should be
30421      stored in array cookies.  The default is to return `false'.
30423  -- Target Hook: int TARGET_CXX_IMPORT_EXPORT_CLASS (tree TYPE, int
30424           IMPORT_EXPORT)
30425      If defined by a backend this hook allows the decision made to
30426      export class TYPE to be overruled.  Upon entry IMPORT_EXPORT will
30427      contain 1 if the class is going to be exported, -1 if it is going
30428      to be imported and 0 otherwise.  This function should return the
30429      modified value and perform any other actions necessary to support
30430      the backend's targeted operating system.
30432  -- Target Hook: bool TARGET_CXX_CDTOR_RETURNS_THIS (void)
30433      This hook should return `true' if constructors and destructors
30434      return the address of the object created/destroyed.  The default
30435      is to return `false'.
30437  -- Target Hook: bool TARGET_CXX_KEY_METHOD_MAY_BE_INLINE (void)
30438      This hook returns true if the key method for a class (i.e., the
30439      method which, if defined in the current translation unit, causes
30440      the virtual table to be emitted) may be an inline function.  Under
30441      the standard Itanium C++ ABI the key method may be an inline
30442      function so long as the function is not declared inline in the
30443      class definition.  Under some variants of the ABI, an inline
30444      function can never be the key method.  The default is to return
30445      `true'.
30447  -- Target Hook: void TARGET_CXX_DETERMINE_CLASS_DATA_VISIBILITY (tree
30448           DECL)
30449      DECL is a virtual table, virtual table table, typeinfo object, or
30450      other similar implicit class data object that will be emitted with
30451      external linkage in this translation unit.  No ELF visibility has
30452      been explicitly specified.  If the target needs to specify a
30453      visibility other than that of the containing class, use this hook
30454      to set `DECL_VISIBILITY' and `DECL_VISIBILITY_SPECIFIED'.
30456  -- Target Hook: bool TARGET_CXX_CLASS_DATA_ALWAYS_COMDAT (void)
30457      This hook returns true (the default) if virtual tables and other
30458      similar implicit class data objects are always COMDAT if they have
30459      external linkage.  If this hook returns false, then class data for
30460      classes whose virtual table will be emitted in only one translation
30461      unit will not be COMDAT.
30463  -- Target Hook: bool TARGET_CXX_LIBRARY_RTTI_COMDAT (void)
30464      This hook returns true (the default) if the RTTI information for
30465      the basic types which is defined in the C++ runtime should always
30466      be COMDAT, false if it should not be COMDAT.
30468  -- Target Hook: bool TARGET_CXX_USE_AEABI_ATEXIT (void)
30469      This hook returns true if `__aeabi_atexit' (as defined by the ARM
30470      EABI) should be used to register static destructors when
30471      `-fuse-cxa-atexit' is in effect.  The default is to return false
30472      to use `__cxa_atexit'.
30474  -- Target Hook: bool TARGET_CXX_USE_ATEXIT_FOR_CXA_ATEXIT (void)
30475      This hook returns true if the target `atexit' function can be used
30476      in the same manner as `__cxa_atexit' to register C++ static
30477      destructors. This requires that `atexit'-registered functions in
30478      shared libraries are run in the correct order when the libraries
30479      are unloaded. The default is to return false.
30481  -- Target Hook: void TARGET_CXX_ADJUST_CLASS_AT_DEFINITION (tree TYPE)
30482      TYPE is a C++ class (i.e., RECORD_TYPE or UNION_TYPE) that has
30483      just been defined.  Use this hook to make adjustments to the class
30484      (eg, tweak visibility or perform any other required target
30485      modifications).
30487 \x1f
30488 File: gccint.info,  Node: Misc,  Prev: C++ ABI,  Up: Target Macros
30490 15.29 Miscellaneous Parameters
30491 ==============================
30493 Here are several miscellaneous parameters.
30495  -- Macro: HAS_LONG_COND_BRANCH
30496      Define this boolean macro to indicate whether or not your
30497      architecture has conditional branches that can span all of memory.
30498      It is used in conjunction with an optimization that partitions
30499      hot and cold basic blocks into separate sections of the
30500      executable.  If this macro is set to false, gcc will convert any
30501      conditional branches that attempt to cross between sections into
30502      unconditional branches or indirect jumps.
30504  -- Macro: HAS_LONG_UNCOND_BRANCH
30505      Define this boolean macro to indicate whether or not your
30506      architecture has unconditional branches that can span all of
30507      memory.  It is used in conjunction with an optimization that
30508      partitions hot and cold basic blocks into separate sections of the
30509      executable.  If this macro is set to false, gcc will convert any
30510      unconditional branches that attempt to cross between sections into
30511      indirect jumps.
30513  -- Macro: CASE_VECTOR_MODE
30514      An alias for a machine mode name.  This is the machine mode that
30515      elements of a jump-table should have.
30517  -- Macro: CASE_VECTOR_SHORTEN_MODE (MIN_OFFSET, MAX_OFFSET, BODY)
30518      Optional: return the preferred mode for an `addr_diff_vec' when
30519      the minimum and maximum offset are known.  If you define this, it
30520      enables extra code in branch shortening to deal with
30521      `addr_diff_vec'.  To make this work, you also have to define
30522      `INSN_ALIGN' and make the alignment for `addr_diff_vec' explicit.
30523      The BODY argument is provided so that the offset_unsigned and scale
30524      flags can be updated.
30526  -- Macro: CASE_VECTOR_PC_RELATIVE
30527      Define this macro to be a C expression to indicate when jump-tables
30528      should contain relative addresses.  You need not define this macro
30529      if jump-tables never contain relative addresses, or jump-tables
30530      should contain relative addresses only when `-fPIC' or `-fPIC' is
30531      in effect.
30533  -- Macro: CASE_VALUES_THRESHOLD
30534      Define this to be the smallest number of different values for
30535      which it is best to use a jump-table instead of a tree of
30536      conditional branches.  The default is four for machines with a
30537      `casesi' instruction and five otherwise.  This is best for most
30538      machines.
30540  -- Macro: CASE_USE_BIT_TESTS
30541      Define this macro to be a C expression to indicate whether C switch
30542      statements may be implemented by a sequence of bit tests.  This is
30543      advantageous on processors that can efficiently implement left
30544      shift of 1 by the number of bits held in a register, but
30545      inappropriate on targets that would require a loop.  By default,
30546      this macro returns `true' if the target defines an `ashlsi3'
30547      pattern, and `false' otherwise.
30549  -- Macro: WORD_REGISTER_OPERATIONS
30550      Define this macro if operations between registers with integral
30551      mode smaller than a word are always performed on the entire
30552      register.  Most RISC machines have this property and most CISC
30553      machines do not.
30555  -- Macro: LOAD_EXTEND_OP (MEM_MODE)
30556      Define this macro to be a C expression indicating when insns that
30557      read memory in MEM_MODE, an integral mode narrower than a word,
30558      set the bits outside of MEM_MODE to be either the sign-extension
30559      or the zero-extension of the data read.  Return `SIGN_EXTEND' for
30560      values of MEM_MODE for which the insn sign-extends, `ZERO_EXTEND'
30561      for which it zero-extends, and `UNKNOWN' for other modes.
30563      This macro is not called with MEM_MODE non-integral or with a width
30564      greater than or equal to `BITS_PER_WORD', so you may return any
30565      value in this case.  Do not define this macro if it would always
30566      return `UNKNOWN'.  On machines where this macro is defined, you
30567      will normally define it as the constant `SIGN_EXTEND' or
30568      `ZERO_EXTEND'.
30570      You may return a non-`UNKNOWN' value even if for some hard
30571      registers the sign extension is not performed, if for the
30572      `REGNO_REG_CLASS' of these hard registers
30573      `CANNOT_CHANGE_MODE_CLASS' returns nonzero when the FROM mode is
30574      MEM_MODE and the TO mode is any integral mode larger than this but
30575      not larger than `word_mode'.
30577      You must return `UNKNOWN' if for some hard registers that allow
30578      this mode, `CANNOT_CHANGE_MODE_CLASS' says that they cannot change
30579      to `word_mode', but that they can change to another integral mode
30580      that is larger then MEM_MODE but still smaller than `word_mode'.
30582  -- Macro: SHORT_IMMEDIATES_SIGN_EXTEND
30583      Define this macro if loading short immediate values into registers
30584      sign extends.
30586  -- Macro: FIXUNS_TRUNC_LIKE_FIX_TRUNC
30587      Define this macro if the same instructions that convert a floating
30588      point number to a signed fixed point number also convert validly
30589      to an unsigned one.
30591  -- Target Hook: int TARGET_MIN_DIVISIONS_FOR_RECIP_MUL (enum
30592           machine_mode MODE)
30593      When `-ffast-math' is in effect, GCC tries to optimize divisions
30594      by the same divisor, by turning them into multiplications by the
30595      reciprocal.  This target hook specifies the minimum number of
30596      divisions that should be there for GCC to perform the optimization
30597      for a variable of mode MODE.  The default implementation returns 3
30598      if the machine has an instruction for the division, and 2 if it
30599      does not.
30601  -- Macro: MOVE_MAX
30602      The maximum number of bytes that a single instruction can move
30603      quickly between memory and registers or between two memory
30604      locations.
30606  -- Macro: MAX_MOVE_MAX
30607      The maximum number of bytes that a single instruction can move
30608      quickly between memory and registers or between two memory
30609      locations.  If this is undefined, the default is `MOVE_MAX'.
30610      Otherwise, it is the constant value that is the largest value that
30611      `MOVE_MAX' can have at run-time.
30613  -- Macro: SHIFT_COUNT_TRUNCATED
30614      A C expression that is nonzero if on this machine the number of
30615      bits actually used for the count of a shift operation is equal to
30616      the number of bits needed to represent the size of the object
30617      being shifted.  When this macro is nonzero, the compiler will
30618      assume that it is safe to omit a sign-extend, zero-extend, and
30619      certain bitwise `and' instructions that truncates the count of a
30620      shift operation.  On machines that have instructions that act on
30621      bit-fields at variable positions, which may include `bit test'
30622      instructions, a nonzero `SHIFT_COUNT_TRUNCATED' also enables
30623      deletion of truncations of the values that serve as arguments to
30624      bit-field instructions.
30626      If both types of instructions truncate the count (for shifts) and
30627      position (for bit-field operations), or if no variable-position
30628      bit-field instructions exist, you should define this macro.
30630      However, on some machines, such as the 80386 and the 680x0,
30631      truncation only applies to shift operations and not the (real or
30632      pretended) bit-field operations.  Define `SHIFT_COUNT_TRUNCATED'
30633      to be zero on such machines.  Instead, add patterns to the `md'
30634      file that include the implied truncation of the shift instructions.
30636      You need not define this macro if it would always have the value
30637      of zero.
30639  -- Target Hook: int TARGET_SHIFT_TRUNCATION_MASK (enum machine_mode
30640           MODE)
30641      This function describes how the standard shift patterns for MODE
30642      deal with shifts by negative amounts or by more than the width of
30643      the mode.  *Note shift patterns::.
30645      On many machines, the shift patterns will apply a mask M to the
30646      shift count, meaning that a fixed-width shift of X by Y is
30647      equivalent to an arbitrary-width shift of X by Y & M.  If this is
30648      true for mode MODE, the function should return M, otherwise it
30649      should return 0.  A return value of 0 indicates that no particular
30650      behavior is guaranteed.
30652      Note that, unlike `SHIFT_COUNT_TRUNCATED', this function does
30653      _not_ apply to general shift rtxes; it applies only to instructions
30654      that are generated by the named shift patterns.
30656      The default implementation of this function returns
30657      `GET_MODE_BITSIZE (MODE) - 1' if `SHIFT_COUNT_TRUNCATED' and 0
30658      otherwise.  This definition is always safe, but if
30659      `SHIFT_COUNT_TRUNCATED' is false, and some shift patterns
30660      nevertheless truncate the shift count, you may get better code by
30661      overriding it.
30663  -- Macro: TRULY_NOOP_TRUNCATION (OUTPREC, INPREC)
30664      A C expression which is nonzero if on this machine it is safe to
30665      "convert" an integer of INPREC bits to one of OUTPREC bits (where
30666      OUTPREC is smaller than INPREC) by merely operating on it as if it
30667      had only OUTPREC bits.
30669      On many machines, this expression can be 1.
30671      When `TRULY_NOOP_TRUNCATION' returns 1 for a pair of sizes for
30672      modes for which `MODES_TIEABLE_P' is 0, suboptimal code can result.
30673      If this is the case, making `TRULY_NOOP_TRUNCATION' return 0 in
30674      such cases may improve things.
30676  -- Target Hook: int TARGET_MODE_REP_EXTENDED (enum machine_mode MODE,
30677           enum machine_mode REP_MODE)
30678      The representation of an integral mode can be such that the values
30679      are always extended to a wider integral mode.  Return
30680      `SIGN_EXTEND' if values of MODE are represented in sign-extended
30681      form to REP_MODE.  Return `UNKNOWN' otherwise.  (Currently, none
30682      of the targets use zero-extended representation this way so unlike
30683      `LOAD_EXTEND_OP', `TARGET_MODE_REP_EXTENDED' is expected to return
30684      either `SIGN_EXTEND' or `UNKNOWN'.  Also no target extends MODE to
30685      MODE_REP so that MODE_REP is not the next widest integral mode and
30686      currently we take advantage of this fact.)
30688      Similarly to `LOAD_EXTEND_OP' you may return a non-`UNKNOWN' value
30689      even if the extension is not performed on certain hard registers
30690      as long as for the `REGNO_REG_CLASS' of these hard registers
30691      `CANNOT_CHANGE_MODE_CLASS' returns nonzero.
30693      Note that `TARGET_MODE_REP_EXTENDED' and `LOAD_EXTEND_OP' describe
30694      two related properties.  If you define `TARGET_MODE_REP_EXTENDED
30695      (mode, word_mode)' you probably also want to define
30696      `LOAD_EXTEND_OP (mode)' to return the same type of extension.
30698      In order to enforce the representation of `mode',
30699      `TRULY_NOOP_TRUNCATION' should return false when truncating to
30700      `mode'.
30702  -- Macro: STORE_FLAG_VALUE
30703      A C expression describing the value returned by a comparison
30704      operator with an integral mode and stored by a store-flag
30705      instruction (`sCOND') when the condition is true.  This
30706      description must apply to _all_ the `sCOND' patterns and all the
30707      comparison operators whose results have a `MODE_INT' mode.
30709      A value of 1 or -1 means that the instruction implementing the
30710      comparison operator returns exactly 1 or -1 when the comparison is
30711      true and 0 when the comparison is false.  Otherwise, the value
30712      indicates which bits of the result are guaranteed to be 1 when the
30713      comparison is true.  This value is interpreted in the mode of the
30714      comparison operation, which is given by the mode of the first
30715      operand in the `sCOND' pattern.  Either the low bit or the sign
30716      bit of `STORE_FLAG_VALUE' be on.  Presently, only those bits are
30717      used by the compiler.
30719      If `STORE_FLAG_VALUE' is neither 1 or -1, the compiler will
30720      generate code that depends only on the specified bits.  It can also
30721      replace comparison operators with equivalent operations if they
30722      cause the required bits to be set, even if the remaining bits are
30723      undefined.  For example, on a machine whose comparison operators
30724      return an `SImode' value and where `STORE_FLAG_VALUE' is defined as
30725      `0x80000000', saying that just the sign bit is relevant, the
30726      expression
30728           (ne:SI (and:SI X (const_int POWER-OF-2)) (const_int 0))
30730      can be converted to
30732           (ashift:SI X (const_int N))
30734      where N is the appropriate shift count to move the bit being
30735      tested into the sign bit.
30737      There is no way to describe a machine that always sets the
30738      low-order bit for a true value, but does not guarantee the value
30739      of any other bits, but we do not know of any machine that has such
30740      an instruction.  If you are trying to port GCC to such a machine,
30741      include an instruction to perform a logical-and of the result with
30742      1 in the pattern for the comparison operators and let us know at
30743      <gcc@gcc.gnu.org>.
30745      Often, a machine will have multiple instructions that obtain a
30746      value from a comparison (or the condition codes).  Here are rules
30747      to guide the choice of value for `STORE_FLAG_VALUE', and hence the
30748      instructions to be used:
30750         * Use the shortest sequence that yields a valid definition for
30751           `STORE_FLAG_VALUE'.  It is more efficient for the compiler to
30752           "normalize" the value (convert it to, e.g., 1 or 0) than for
30753           the comparison operators to do so because there may be
30754           opportunities to combine the normalization with other
30755           operations.
30757         * For equal-length sequences, use a value of 1 or -1, with -1
30758           being slightly preferred on machines with expensive jumps and
30759           1 preferred on other machines.
30761         * As a second choice, choose a value of `0x80000001' if
30762           instructions exist that set both the sign and low-order bits
30763           but do not define the others.
30765         * Otherwise, use a value of `0x80000000'.
30767      Many machines can produce both the value chosen for
30768      `STORE_FLAG_VALUE' and its negation in the same number of
30769      instructions.  On those machines, you should also define a pattern
30770      for those cases, e.g., one matching
30772           (set A (neg:M (ne:M B C)))
30774      Some machines can also perform `and' or `plus' operations on
30775      condition code values with less instructions than the corresponding
30776      `sCOND' insn followed by `and' or `plus'.  On those machines,
30777      define the appropriate patterns.  Use the names `incscc' and
30778      `decscc', respectively, for the patterns which perform `plus' or
30779      `minus' operations on condition code values.  See `rs6000.md' for
30780      some examples.  The GNU Superoptizer can be used to find such
30781      instruction sequences on other machines.
30783      If this macro is not defined, the default value, 1, is used.  You
30784      need not define `STORE_FLAG_VALUE' if the machine has no store-flag
30785      instructions, or if the value generated by these instructions is 1.
30787  -- Macro: FLOAT_STORE_FLAG_VALUE (MODE)
30788      A C expression that gives a nonzero `REAL_VALUE_TYPE' value that is
30789      returned when comparison operators with floating-point results are
30790      true.  Define this macro on machines that have comparison
30791      operations that return floating-point values.  If there are no
30792      such operations, do not define this macro.
30794  -- Macro: VECTOR_STORE_FLAG_VALUE (MODE)
30795      A C expression that gives a rtx representing the nonzero true
30796      element for vector comparisons.  The returned rtx should be valid
30797      for the inner mode of MODE which is guaranteed to be a vector
30798      mode.  Define this macro on machines that have vector comparison
30799      operations that return a vector result.  If there are no such
30800      operations, do not define this macro.  Typically, this macro is
30801      defined as `const1_rtx' or `constm1_rtx'.  This macro may return
30802      `NULL_RTX' to prevent the compiler optimizing such vector
30803      comparison operations for the given mode.
30805  -- Macro: CLZ_DEFINED_VALUE_AT_ZERO (MODE, VALUE)
30806  -- Macro: CTZ_DEFINED_VALUE_AT_ZERO (MODE, VALUE)
30807      A C expression that indicates whether the architecture defines a
30808      value for `clz' or `ctz' with a zero operand.  A result of `0'
30809      indicates the value is undefined.  If the value is defined for
30810      only the RTL expression, the macro should evaluate to `1'; if the
30811      value applies also to the corresponding optab entry (which is
30812      normally the case if it expands directly into the corresponding
30813      RTL), then the macro should evaluate to `2'.  In the cases where
30814      the value is defined, VALUE should be set to this value.
30816      If this macro is not defined, the value of `clz' or `ctz' at zero
30817      is assumed to be undefined.
30819      This macro must be defined if the target's expansion for `ffs'
30820      relies on a particular value to get correct results.  Otherwise it
30821      is not necessary, though it may be used to optimize some corner
30822      cases, and to provide a default expansion for the `ffs' optab.
30824      Note that regardless of this macro the "definedness" of `clz' and
30825      `ctz' at zero do _not_ extend to the builtin functions visible to
30826      the user.  Thus one may be free to adjust the value at will to
30827      match the target expansion of these operations without fear of
30828      breaking the API.
30830  -- Macro: Pmode
30831      An alias for the machine mode for pointers.  On most machines,
30832      define this to be the integer mode corresponding to the width of a
30833      hardware pointer; `SImode' on 32-bit machine or `DImode' on 64-bit
30834      machines.  On some machines you must define this to be one of the
30835      partial integer modes, such as `PSImode'.
30837      The width of `Pmode' must be at least as large as the value of
30838      `POINTER_SIZE'.  If it is not equal, you must define the macro
30839      `POINTERS_EXTEND_UNSIGNED' to specify how pointers are extended to
30840      `Pmode'.
30842  -- Macro: FUNCTION_MODE
30843      An alias for the machine mode used for memory references to
30844      functions being called, in `call' RTL expressions.  On most CISC
30845      machines, where an instruction can begin at any byte address, this
30846      should be `QImode'.  On most RISC machines, where all instructions
30847      have fixed size and alignment, this should be a mode with the same
30848      size and alignment as the machine instruction words - typically
30849      `SImode' or `HImode'.
30851  -- Macro: STDC_0_IN_SYSTEM_HEADERS
30852      In normal operation, the preprocessor expands `__STDC__' to the
30853      constant 1, to signify that GCC conforms to ISO Standard C.  On
30854      some hosts, like Solaris, the system compiler uses a different
30855      convention, where `__STDC__' is normally 0, but is 1 if the user
30856      specifies strict conformance to the C Standard.
30858      Defining `STDC_0_IN_SYSTEM_HEADERS' makes GNU CPP follows the host
30859      convention when processing system header files, but when
30860      processing user files `__STDC__' will always expand to 1.
30862  -- Macro: NO_IMPLICIT_EXTERN_C
30863      Define this macro if the system header files support C++ as well
30864      as C.  This macro inhibits the usual method of using system header
30865      files in C++, which is to pretend that the file's contents are
30866      enclosed in `extern "C" {...}'.
30868  -- Macro: REGISTER_TARGET_PRAGMAS ()
30869      Define this macro if you want to implement any target-specific
30870      pragmas.  If defined, it is a C expression which makes a series of
30871      calls to `c_register_pragma' or `c_register_pragma_with_expansion'
30872      for each pragma.  The macro may also do any setup required for the
30873      pragmas.
30875      The primary reason to define this macro is to provide
30876      compatibility with other compilers for the same target.  In
30877      general, we discourage definition of target-specific pragmas for
30878      GCC.
30880      If the pragma can be implemented by attributes then you should
30881      consider defining the target hook `TARGET_INSERT_ATTRIBUTES' as
30882      well.
30884      Preprocessor macros that appear on pragma lines are not expanded.
30885      All `#pragma' directives that do not match any registered pragma
30886      are silently ignored, unless the user specifies
30887      `-Wunknown-pragmas'.
30889  -- Function: void c_register_pragma (const char *SPACE, const char
30890           *NAME, void (*CALLBACK) (struct cpp_reader *))
30891  -- Function: void c_register_pragma_with_expansion (const char *SPACE,
30892           const char *NAME, void (*CALLBACK) (struct cpp_reader *))
30893      Each call to `c_register_pragma' or
30894      `c_register_pragma_with_expansion' establishes one pragma.  The
30895      CALLBACK routine will be called when the preprocessor encounters a
30896      pragma of the form
30898           #pragma [SPACE] NAME ...
30900      SPACE is the case-sensitive namespace of the pragma, or `NULL' to
30901      put the pragma in the global namespace.  The callback routine
30902      receives PFILE as its first argument, which can be passed on to
30903      cpplib's functions if necessary.  You can lex tokens after the
30904      NAME by calling `pragma_lex'.  Tokens that are not read by the
30905      callback will be silently ignored.  The end of the line is
30906      indicated by a token of type `CPP_EOF'.  Macro expansion occurs on
30907      the arguments of pragmas registered with
30908      `c_register_pragma_with_expansion' but not on the arguments of
30909      pragmas registered with `c_register_pragma'.
30911      Note that the use of `pragma_lex' is specific to the C and C++
30912      compilers.  It will not work in the Java or Fortran compilers, or
30913      any other language compilers for that matter.  Thus if
30914      `pragma_lex' is going to be called from target-specific code, it
30915      must only be done so when building the C and C++ compilers.  This
30916      can be done by defining the variables `c_target_objs' and
30917      `cxx_target_objs' in the target entry in the `config.gcc' file.
30918      These variables should name the target-specific, language-specific
30919      object file which contains the code that uses `pragma_lex'.  Note
30920      it will also be necessary to add a rule to the makefile fragment
30921      pointed to by `tmake_file' that shows how to build this object
30922      file.
30924  -- Macro: HANDLE_SYSV_PRAGMA
30925      Define this macro (to a value of 1) if you want the System V style
30926      pragmas `#pragma pack(<n>)' and `#pragma weak <name> [=<value>]'
30927      to be supported by gcc.
30929      The pack pragma specifies the maximum alignment (in bytes) of
30930      fields within a structure, in much the same way as the
30931      `__aligned__' and `__packed__' `__attribute__'s do.  A pack value
30932      of zero resets the behavior to the default.
30934      A subtlety for Microsoft Visual C/C++ style bit-field packing
30935      (e.g. -mms-bitfields) for targets that support it: When a
30936      bit-field is inserted into a packed record, the whole size of the
30937      underlying type is used by one or more same-size adjacent
30938      bit-fields (that is, if its long:3, 32 bits is used in the record,
30939      and any additional adjacent long bit-fields are packed into the
30940      same chunk of 32 bits.  However, if the size changes, a new field
30941      of that size is allocated).
30943      If both MS bit-fields and `__attribute__((packed))' are used, the
30944      latter will take precedence.  If `__attribute__((packed))' is used
30945      on a single field when MS bit-fields are in use, it will take
30946      precedence for that field, but the alignment of the rest of the
30947      structure may affect its placement.
30949      The weak pragma only works if `SUPPORTS_WEAK' and
30950      `ASM_WEAKEN_LABEL' are defined.  If enabled it allows the creation
30951      of specifically named weak labels, optionally with a value.
30953  -- Macro: HANDLE_PRAGMA_PACK_PUSH_POP
30954      Define this macro (to a value of 1) if you want to support the
30955      Win32 style pragmas `#pragma pack(push[,N])' and `#pragma
30956      pack(pop)'.  The `pack(push,[N])' pragma specifies the maximum
30957      alignment (in bytes) of fields within a structure, in much the
30958      same way as the `__aligned__' and `__packed__' `__attribute__'s
30959      do.  A pack value of zero resets the behavior to the default.
30960      Successive invocations of this pragma cause the previous values to
30961      be stacked, so that invocations of `#pragma pack(pop)' will return
30962      to the previous value.
30964  -- Macro: HANDLE_PRAGMA_PACK_WITH_EXPANSION
30965      Define this macro, as well as `HANDLE_SYSV_PRAGMA', if macros
30966      should be expanded in the arguments of `#pragma pack'.
30968  -- Macro: TARGET_DEFAULT_PACK_STRUCT
30969      If your target requires a structure packing default other than 0
30970      (meaning the machine default), define this macro to the necessary
30971      value (in bytes).  This must be a value that would also be valid
30972      to use with `#pragma pack()' (that is, a small power of two).
30974  -- Macro: HANDLE_PRAGMA_PUSH_POP_MACRO
30975      Define this macro if you want to support the Win32 style pragmas
30976      `#pragma push_macro(macro-name-as-string)' and `#pragma
30977      pop_macro(macro-name-as-string)'.  The `#pragma push_macro(
30978      macro-name-as-string)' pragma saves the named macro and via
30979      `#pragma pop_macro(macro-name-as-string)' it will return to the
30980      previous value.
30982  -- Macro: DOLLARS_IN_IDENTIFIERS
30983      Define this macro to control use of the character `$' in
30984      identifier names for the C family of languages.  0 means `$' is
30985      not allowed by default; 1 means it is allowed.  1 is the default;
30986      there is no need to define this macro in that case.
30988  -- Macro: NO_DOLLAR_IN_LABEL
30989      Define this macro if the assembler does not accept the character
30990      `$' in label names.  By default constructors and destructors in
30991      G++ have `$' in the identifiers.  If this macro is defined, `.' is
30992      used instead.
30994  -- Macro: NO_DOT_IN_LABEL
30995      Define this macro if the assembler does not accept the character
30996      `.' in label names.  By default constructors and destructors in G++
30997      have names that use `.'.  If this macro is defined, these names
30998      are rewritten to avoid `.'.
31000  -- Macro: INSN_SETS_ARE_DELAYED (INSN)
31001      Define this macro as a C expression that is nonzero if it is safe
31002      for the delay slot scheduler to place instructions in the delay
31003      slot of INSN, even if they appear to use a resource set or
31004      clobbered in INSN.  INSN is always a `jump_insn' or an `insn'; GCC
31005      knows that every `call_insn' has this behavior.  On machines where
31006      some `insn' or `jump_insn' is really a function call and hence has
31007      this behavior, you should define this macro.
31009      You need not define this macro if it would always return zero.
31011  -- Macro: INSN_REFERENCES_ARE_DELAYED (INSN)
31012      Define this macro as a C expression that is nonzero if it is safe
31013      for the delay slot scheduler to place instructions in the delay
31014      slot of INSN, even if they appear to set or clobber a resource
31015      referenced in INSN.  INSN is always a `jump_insn' or an `insn'.
31016      On machines where some `insn' or `jump_insn' is really a function
31017      call and its operands are registers whose use is actually in the
31018      subroutine it calls, you should define this macro.  Doing so
31019      allows the delay slot scheduler to move instructions which copy
31020      arguments into the argument registers into the delay slot of INSN.
31022      You need not define this macro if it would always return zero.
31024  -- Macro: MULTIPLE_SYMBOL_SPACES
31025      Define this macro as a C expression that is nonzero if, in some
31026      cases, global symbols from one translation unit may not be bound
31027      to undefined symbols in another translation unit without user
31028      intervention.  For instance, under Microsoft Windows symbols must
31029      be explicitly imported from shared libraries (DLLs).
31031      You need not define this macro if it would always evaluate to zero.
31033  -- Target Hook: tree TARGET_MD_ASM_CLOBBERS (tree OUTPUTS, tree
31034           INPUTS, tree CLOBBERS)
31035      This target hook should add to CLOBBERS `STRING_CST' trees for any
31036      hard regs the port wishes to automatically clobber for an asm.  It
31037      should return the result of the last `tree_cons' used to add a
31038      clobber.  The OUTPUTS, INPUTS and CLOBBER lists are the
31039      corresponding parameters to the asm and may be inspected to avoid
31040      clobbering a register that is an input or output of the asm.  You
31041      can use `tree_overlaps_hard_reg_set', declared in `tree.h', to test
31042      for overlap with regards to asm-declared registers.
31044  -- Macro: MATH_LIBRARY
31045      Define this macro as a C string constant for the linker argument
31046      to link in the system math library, or `""' if the target does not
31047      have a separate math library.
31049      You need only define this macro if the default of `"-lm"' is wrong.
31051  -- Macro: LIBRARY_PATH_ENV
31052      Define this macro as a C string constant for the environment
31053      variable that specifies where the linker should look for libraries.
31055      You need only define this macro if the default of `"LIBRARY_PATH"'
31056      is wrong.
31058  -- Macro: TARGET_POSIX_IO
31059      Define this macro if the target supports the following POSIX file
31060      functions, access, mkdir and  file locking with fcntl / F_SETLKW.
31061      Defining `TARGET_POSIX_IO' will enable the test coverage code to
31062      use file locking when exiting a program, which avoids race
31063      conditions if the program has forked. It will also create
31064      directories at run-time for cross-profiling.
31066  -- Macro: MAX_CONDITIONAL_EXECUTE
31067      A C expression for the maximum number of instructions to execute
31068      via conditional execution instructions instead of a branch.  A
31069      value of `BRANCH_COST'+1 is the default if the machine does not
31070      use cc0, and 1 if it does use cc0.
31072  -- Macro: IFCVT_MODIFY_TESTS (CE_INFO, TRUE_EXPR, FALSE_EXPR)
31073      Used if the target needs to perform machine-dependent
31074      modifications on the conditionals used for turning basic blocks
31075      into conditionally executed code.  CE_INFO points to a data
31076      structure, `struct ce_if_block', which contains information about
31077      the currently processed blocks.  TRUE_EXPR and FALSE_EXPR are the
31078      tests that are used for converting the then-block and the
31079      else-block, respectively.  Set either TRUE_EXPR or FALSE_EXPR to a
31080      null pointer if the tests cannot be converted.
31082  -- Macro: IFCVT_MODIFY_MULTIPLE_TESTS (CE_INFO, BB, TRUE_EXPR,
31083           FALSE_EXPR)
31084      Like `IFCVT_MODIFY_TESTS', but used when converting more
31085      complicated if-statements into conditions combined by `and' and
31086      `or' operations.  BB contains the basic block that contains the
31087      test that is currently being processed and about to be turned into
31088      a condition.
31090  -- Macro: IFCVT_MODIFY_INSN (CE_INFO, PATTERN, INSN)
31091      A C expression to modify the PATTERN of an INSN that is to be
31092      converted to conditional execution format.  CE_INFO points to a
31093      data structure, `struct ce_if_block', which contains information
31094      about the currently processed blocks.
31096  -- Macro: IFCVT_MODIFY_FINAL (CE_INFO)
31097      A C expression to perform any final machine dependent
31098      modifications in converting code to conditional execution.  The
31099      involved basic blocks can be found in the `struct ce_if_block'
31100      structure that is pointed to by CE_INFO.
31102  -- Macro: IFCVT_MODIFY_CANCEL (CE_INFO)
31103      A C expression to cancel any machine dependent modifications in
31104      converting code to conditional execution.  The involved basic
31105      blocks can be found in the `struct ce_if_block' structure that is
31106      pointed to by CE_INFO.
31108  -- Macro: IFCVT_INIT_EXTRA_FIELDS (CE_INFO)
31109      A C expression to initialize any extra fields in a `struct
31110      ce_if_block' structure, which are defined by the
31111      `IFCVT_EXTRA_FIELDS' macro.
31113  -- Macro: IFCVT_EXTRA_FIELDS
31114      If defined, it should expand to a set of field declarations that
31115      will be added to the `struct ce_if_block' structure.  These should
31116      be initialized by the `IFCVT_INIT_EXTRA_FIELDS' macro.
31118  -- Target Hook: void TARGET_MACHINE_DEPENDENT_REORG ()
31119      If non-null, this hook performs a target-specific pass over the
31120      instruction stream.  The compiler will run it at all optimization
31121      levels, just before the point at which it normally does
31122      delayed-branch scheduling.
31124      The exact purpose of the hook varies from target to target.  Some
31125      use it to do transformations that are necessary for correctness,
31126      such as laying out in-function constant pools or avoiding hardware
31127      hazards.  Others use it as an opportunity to do some
31128      machine-dependent optimizations.
31130      You need not implement the hook if it has nothing to do.  The
31131      default definition is null.
31133  -- Target Hook: void TARGET_INIT_BUILTINS ()
31134      Define this hook if you have any machine-specific built-in
31135      functions that need to be defined.  It should be a function that
31136      performs the necessary setup.
31138      Machine specific built-in functions can be useful to expand
31139      special machine instructions that would otherwise not normally be
31140      generated because they have no equivalent in the source language
31141      (for example, SIMD vector instructions or prefetch instructions).
31143      To create a built-in function, call the function
31144      `lang_hooks.builtin_function' which is defined by the language
31145      front end.  You can use any type nodes set up by
31146      `build_common_tree_nodes' and `build_common_tree_nodes_2'; only
31147      language front ends that use those two functions will call
31148      `TARGET_INIT_BUILTINS'.
31150  -- Target Hook: rtx TARGET_EXPAND_BUILTIN (tree EXP, rtx TARGET, rtx
31151           SUBTARGET, enum machine_mode MODE, int IGNORE)
31152      Expand a call to a machine specific built-in function that was set
31153      up by `TARGET_INIT_BUILTINS'.  EXP is the expression for the
31154      function call; the result should go to TARGET if that is
31155      convenient, and have mode MODE if that is convenient.  SUBTARGET
31156      may be used as the target for computing one of EXP's operands.
31157      IGNORE is nonzero if the value is to be ignored.  This function
31158      should return the result of the call to the built-in function.
31160  -- Target Hook: tree TARGET_RESOLVE_OVERLOADED_BUILTIN (tree FNDECL,
31161           tree ARGLIST)
31162      Select a replacement for a machine specific built-in function that
31163      was set up by `TARGET_INIT_BUILTINS'.  This is done _before_
31164      regular type checking, and so allows the target to implement a
31165      crude form of function overloading.  FNDECL is the declaration of
31166      the built-in function.  ARGLIST is the list of arguments passed to
31167      the built-in function.  The result is a complete expression that
31168      implements the operation, usually another `CALL_EXPR'.
31170  -- Target Hook: tree TARGET_FOLD_BUILTIN (tree FNDECL, tree ARGLIST,
31171           bool IGNORE)
31172      Fold a call to a machine specific built-in function that was set
31173      up by `TARGET_INIT_BUILTINS'.  FNDECL is the declaration of the
31174      built-in function.  ARGLIST is the list of arguments passed to the
31175      built-in function.  The result is another tree containing a
31176      simplified expression for the call's result.  If IGNORE is true
31177      the value will be ignored.
31179  -- Target Hook: const char * TARGET_INVALID_WITHIN_DOLOOP (rtx INSN)
31180      Take an instruction in INSN and return NULL if it is valid within a
31181      low-overhead loop, otherwise return a string why doloop could not
31182      be applied.
31184      Many targets use special registers for low-overhead looping. For
31185      any instruction that clobbers these this function should return a
31186      string indicating the reason why the doloop could not be applied.
31187      By default, the RTL loop optimizer does not use a present doloop
31188      pattern for loops containing function calls or branch on table
31189      instructions.
31191  -- Macro: MD_CAN_REDIRECT_BRANCH (BRANCH1, BRANCH2)
31192      Take a branch insn in BRANCH1 and another in BRANCH2.  Return true
31193      if redirecting BRANCH1 to the destination of BRANCH2 is possible.
31195      On some targets, branches may have a limited range.  Optimizing the
31196      filling of delay slots can result in branches being redirected,
31197      and this may in turn cause a branch offset to overflow.
31199  -- Target Hook: bool TARGET_COMMUTATIVE_P (rtx X, OUTER_CODE)
31200      This target hook returns `true' if X is considered to be
31201      commutative.  Usually, this is just COMMUTATIVE_P (X), but the HP
31202      PA doesn't consider PLUS to be commutative inside a MEM.
31203      OUTER_CODE is the rtx code of the enclosing rtl, if known,
31204      otherwise it is UNKNOWN.
31206  -- Target Hook: rtx TARGET_ALLOCATE_INITIAL_VALUE (rtx HARD_REG)
31207      When the initial value of a hard register has been copied in a
31208      pseudo register, it is often not necessary to actually allocate
31209      another register to this pseudo register, because the original
31210      hard register or a stack slot it has been saved into can be used.
31211      `TARGET_ALLOCATE_INITIAL_VALUE' is called at the start of register
31212      allocation once for each hard register that had its initial value
31213      copied by using `get_func_hard_reg_initial_val' or
31214      `get_hard_reg_initial_val'.  Possible values are `NULL_RTX', if
31215      you don't want to do any special allocation, a `REG' rtx--that
31216      would typically be the hard register itself, if it is known not to
31217      be clobbered--or a `MEM'.  If you are returning a `MEM', this is
31218      only a hint for the allocator; it might decide to use another
31219      register anyways.  You may use `current_function_leaf_function' in
31220      the hook, functions that use `REG_N_SETS', to determine if the hard
31221      register in question will not be clobbered.  The default value of
31222      this hook is `NULL', which disables any special allocation.
31224  -- Target Hook: int TARGET_UNSPEC_MAY_TRAP_P (const_rtx X, unsigned
31225           FLAGS)
31226      This target hook returns nonzero if X, an `unspec' or
31227      `unspec_volatile' operation, might cause a trap.  Targets can use
31228      this hook to enhance precision of analysis for `unspec' and
31229      `unspec_volatile' operations.  You may call `may_trap_p_1' to
31230      analyze inner elements of X in which case FLAGS should be passed
31231      along.
31233  -- Target Hook: void TARGET_SET_CURRENT_FUNCTION (tree DECL)
31234      The compiler invokes this hook whenever it changes its current
31235      function context (`cfun').  You can define this function if the
31236      back end needs to perform any initialization or reset actions on a
31237      per-function basis.  For example, it may be used to implement
31238      function attributes that affect register usage or code generation
31239      patterns.  The argument DECL is the declaration for the new
31240      function context, and may be null to indicate that the compiler
31241      has left a function context and is returning to processing at the
31242      top level.  The default hook function does nothing.
31244      GCC sets `cfun' to a dummy function context during initialization
31245      of some parts of the back end.  The hook function is not invoked
31246      in this situation; you need not worry about the hook being invoked
31247      recursively, or when the back end is in a partially-initialized
31248      state.
31250  -- Macro: TARGET_OBJECT_SUFFIX
31251      Define this macro to be a C string representing the suffix for
31252      object files on your target machine.  If you do not define this
31253      macro, GCC will use `.o' as the suffix for object files.
31255  -- Macro: TARGET_EXECUTABLE_SUFFIX
31256      Define this macro to be a C string representing the suffix to be
31257      automatically added to executable files on your target machine.
31258      If you do not define this macro, GCC will use the null string as
31259      the suffix for executable files.
31261  -- Macro: COLLECT_EXPORT_LIST
31262      If defined, `collect2' will scan the individual object files
31263      specified on its command line and create an export list for the
31264      linker.  Define this macro for systems like AIX, where the linker
31265      discards object files that are not referenced from `main' and uses
31266      export lists.
31268  -- Macro: MODIFY_JNI_METHOD_CALL (MDECL)
31269      Define this macro to a C expression representing a variant of the
31270      method call MDECL, if Java Native Interface (JNI) methods must be
31271      invoked differently from other methods on your target.  For
31272      example, on 32-bit Microsoft Windows, JNI methods must be invoked
31273      using the `stdcall' calling convention and this macro is then
31274      defined as this expression:
31276           build_type_attribute_variant (MDECL,
31277                                         build_tree_list
31278                                         (get_identifier ("stdcall"),
31279                                          NULL))
31281  -- Target Hook: bool TARGET_CANNOT_MODIFY_JUMPS_P (void)
31282      This target hook returns `true' past the point in which new jump
31283      instructions could be created.  On machines that require a
31284      register for every jump such as the SHmedia ISA of SH5, this point
31285      would typically be reload, so this target hook should be defined
31286      to a function such as:
31288           static bool
31289           cannot_modify_jumps_past_reload_p ()
31290           {
31291             return (reload_completed || reload_in_progress);
31292           }
31294  -- Target Hook: int TARGET_BRANCH_TARGET_REGISTER_CLASS (void)
31295      This target hook returns a register class for which branch target
31296      register optimizations should be applied.  All registers in this
31297      class should be usable interchangeably.  After reload, registers
31298      in this class will be re-allocated and loads will be hoisted out
31299      of loops and be subjected to inter-block scheduling.
31301  -- Target Hook: bool TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED (bool
31302           AFTER_PROLOGUE_EPILOGUE_GEN)
31303      Branch target register optimization will by default exclude
31304      callee-saved registers that are not already live during the
31305      current function; if this target hook returns true, they will be
31306      included.  The target code must than make sure that all target
31307      registers in the class returned by
31308      `TARGET_BRANCH_TARGET_REGISTER_CLASS' that might need saving are
31309      saved.  AFTER_PROLOGUE_EPILOGUE_GEN indicates if prologues and
31310      epilogues have already been generated.  Note, even if you only
31311      return true when AFTER_PROLOGUE_EPILOGUE_GEN is false, you still
31312      are likely to have to make special provisions in
31313      `INITIAL_ELIMINATION_OFFSET' to reserve space for caller-saved
31314      target registers.
31316  -- Macro: POWI_MAX_MULTS
31317      If defined, this macro is interpreted as a signed integer C
31318      expression that specifies the maximum number of floating point
31319      multiplications that should be emitted when expanding
31320      exponentiation by an integer constant inline.  When this value is
31321      defined, exponentiation requiring more than this number of
31322      multiplications is implemented by calling the system library's
31323      `pow', `powf' or `powl' routines.  The default value places no
31324      upper bound on the multiplication count.
31326  -- Macro: void TARGET_EXTRA_INCLUDES (const char *SYSROOT, const char
31327           *IPREFIX, int STDINC)
31328      This target hook should register any extra include files for the
31329      target.  The parameter STDINC indicates if normal include files
31330      are present.  The parameter SYSROOT is the system root directory.
31331      The parameter IPREFIX is the prefix for the gcc directory.
31333  -- Macro: void TARGET_EXTRA_PRE_INCLUDES (const char *SYSROOT, const
31334           char *IPREFIX, int STDINC)
31335      This target hook should register any extra include files for the
31336      target before any standard headers.  The parameter STDINC
31337      indicates if normal include files are present.  The parameter
31338      SYSROOT is the system root directory.  The parameter IPREFIX is
31339      the prefix for the gcc directory.
31341  -- Macro: void TARGET_OPTF (char *PATH)
31342      This target hook should register special include paths for the
31343      target.  The parameter PATH is the include to register.  On Darwin
31344      systems, this is used for Framework includes, which have semantics
31345      that are different from `-I'.
31347  -- Target Hook: bool TARGET_USE_LOCAL_THUNK_ALIAS_P (tree FNDECL)
31348      This target hook returns `true' if it is safe to use a local alias
31349      for a virtual function FNDECL when constructing thunks, `false'
31350      otherwise.  By default, the hook returns `true' for all functions,
31351      if a target supports aliases (i.e. defines `ASM_OUTPUT_DEF'),
31352      `false' otherwise,
31354  -- Macro: TARGET_FORMAT_TYPES
31355      If defined, this macro is the name of a global variable containing
31356      target-specific format checking information for the `-Wformat'
31357      option.  The default is to have no target-specific format checks.
31359  -- Macro: TARGET_N_FORMAT_TYPES
31360      If defined, this macro is the number of entries in
31361      `TARGET_FORMAT_TYPES'.
31363  -- Target Hook: bool TARGET_RELAXED_ORDERING
31364      If set to `true', means that the target's memory model does not
31365      guarantee that loads which do not depend on one another will access
31366      main memory in the order of the instruction stream; if ordering is
31367      important, an explicit memory barrier must be used.  This is true
31368      of many recent processors which implement a policy of "relaxed,"
31369      "weak," or "release" memory consistency, such as Alpha, PowerPC,
31370      and ia64.  The default is `false'.
31372  -- Target Hook: const char *TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN
31373           (tree TYPELIST, tree FUNCDECL, tree VAL)
31374      If defined, this macro returns the diagnostic message when it is
31375      illegal to pass argument VAL to function FUNCDECL with prototype
31376      TYPELIST.
31378  -- Target Hook: const char * TARGET_INVALID_CONVERSION (tree FROMTYPE,
31379           tree TOTYPE)
31380      If defined, this macro returns the diagnostic message when it is
31381      invalid to convert from FROMTYPE to TOTYPE, or `NULL' if validity
31382      should be determined by the front end.
31384  -- Target Hook: const char * TARGET_INVALID_UNARY_OP (int OP, tree
31385           TYPE)
31386      If defined, this macro returns the diagnostic message when it is
31387      invalid to apply operation OP (where unary plus is denoted by
31388      `CONVERT_EXPR') to an operand of type TYPE, or `NULL' if validity
31389      should be determined by the front end.
31391  -- Target Hook: const char * TARGET_INVALID_BINARY_OP (int OP, tree
31392           TYPE1, tree TYPE2)
31393      If defined, this macro returns the diagnostic message when it is
31394      invalid to apply operation OP to operands of types TYPE1 and
31395      TYPE2, or `NULL' if validity should be determined by the front end.
31397  -- Macro: TARGET_USE_JCR_SECTION
31398      This macro determines whether to use the JCR section to register
31399      Java classes. By default, TARGET_USE_JCR_SECTION is defined to 1
31400      if both SUPPORTS_WEAK and TARGET_HAVE_NAMED_SECTIONS are true,
31401      else 0.
31403  -- Macro: OBJC_JBLEN
31404      This macro determines the size of the objective C jump buffer for
31405      the NeXT runtime. By default, OBJC_JBLEN is defined to an
31406      innocuous value.
31408  -- Macro: LIBGCC2_UNWIND_ATTRIBUTE
31409      Define this macro if any target-specific attributes need to be
31410      attached to the functions in `libgcc' that provide low-level
31411      support for call stack unwinding.  It is used in declarations in
31412      `unwind-generic.h' and the associated definitions of those
31413      functions.
31415 \x1f
31416 File: gccint.info,  Node: Host Config,  Next: Fragments,  Prev: Target Macros,  Up: Top
31418 16 Host Configuration
31419 *********************
31421 Most details about the machine and system on which the compiler is
31422 actually running are detected by the `configure' script.  Some things
31423 are impossible for `configure' to detect; these are described in two
31424 ways, either by macros defined in a file named `xm-MACHINE.h' or by
31425 hook functions in the file specified by the OUT_HOST_HOOK_OBJ variable
31426 in `config.gcc'.  (The intention is that very few hosts will need a
31427 header file but nearly every fully supported host will need to override
31428 some hooks.)
31430  If you need to define only a few macros, and they have simple
31431 definitions, consider using the `xm_defines' variable in your
31432 `config.gcc' entry instead of creating a host configuration header.
31433 *Note System Config::.
31435 * Menu:
31437 * Host Common::         Things every host probably needs implemented.
31438 * Filesystem::          Your host can't have the letter `a' in filenames?
31439 * Host Misc::           Rare configuration options for hosts.
31441 \x1f
31442 File: gccint.info,  Node: Host Common,  Next: Filesystem,  Up: Host Config
31444 16.1 Host Common
31445 ================
31447 Some things are just not portable, even between similar operating
31448 systems, and are too difficult for autoconf to detect.  They get
31449 implemented using hook functions in the file specified by the
31450 HOST_HOOK_OBJ variable in `config.gcc'.
31452  -- Host Hook: void HOST_HOOKS_EXTRA_SIGNALS (void)
31453      This host hook is used to set up handling for extra signals.  The
31454      most common thing to do in this hook is to detect stack overflow.
31456  -- Host Hook: void * HOST_HOOKS_GT_PCH_GET_ADDRESS (size_t SIZE, int
31457           FD)
31458      This host hook returns the address of some space that is likely to
31459      be free in some subsequent invocation of the compiler.  We intend
31460      to load the PCH data at this address such that the data need not
31461      be relocated.  The area should be able to hold SIZE bytes.  If the
31462      host uses `mmap', FD is an open file descriptor that can be used
31463      for probing.
31465  -- Host Hook: int HOST_HOOKS_GT_PCH_USE_ADDRESS (void * ADDRESS,
31466           size_t SIZE, int FD, size_t OFFSET)
31467      This host hook is called when a PCH file is about to be loaded.
31468      We want to load SIZE bytes from FD at OFFSET into memory at
31469      ADDRESS.  The given address will be the result of a previous
31470      invocation of `HOST_HOOKS_GT_PCH_GET_ADDRESS'.  Return -1 if we
31471      couldn't allocate SIZE bytes at ADDRESS.  Return 0 if the memory
31472      is allocated but the data is not loaded.  Return 1 if the hook has
31473      performed everything.
31475      If the implementation uses reserved address space, free any
31476      reserved space beyond SIZE, regardless of the return value.  If no
31477      PCH will be loaded, this hook may be called with SIZE zero, in
31478      which case all reserved address space should be freed.
31480      Do not try to handle values of ADDRESS that could not have been
31481      returned by this executable; just return -1.  Such values usually
31482      indicate an out-of-date PCH file (built by some other GCC
31483      executable), and such a PCH file won't work.
31485  -- Host Hook: size_t HOST_HOOKS_GT_PCH_ALLOC_GRANULARITY (void);
31486      This host hook returns the alignment required for allocating
31487      virtual memory.  Usually this is the same as getpagesize, but on
31488      some hosts the alignment for reserving memory differs from the
31489      pagesize for committing memory.
31491 \x1f
31492 File: gccint.info,  Node: Filesystem,  Next: Host Misc,  Prev: Host Common,  Up: Host Config
31494 16.2 Host Filesystem
31495 ====================
31497 GCC needs to know a number of things about the semantics of the host
31498 machine's filesystem.  Filesystems with Unix and MS-DOS semantics are
31499 automatically detected.  For other systems, you can define the
31500 following macros in `xm-MACHINE.h'.
31502 `HAVE_DOS_BASED_FILE_SYSTEM'
31503      This macro is automatically defined by `system.h' if the host file
31504      system obeys the semantics defined by MS-DOS instead of Unix.  DOS
31505      file systems are case insensitive, file specifications may begin
31506      with a drive letter, and both forward slash and backslash (`/' and
31507      `\') are directory separators.
31509 `DIR_SEPARATOR'
31510 `DIR_SEPARATOR_2'
31511      If defined, these macros expand to character constants specifying
31512      separators for directory names within a file specification.
31513      `system.h' will automatically give them appropriate values on Unix
31514      and MS-DOS file systems.  If your file system is neither of these,
31515      define one or both appropriately in `xm-MACHINE.h'.
31517      However, operating systems like VMS, where constructing a pathname
31518      is more complicated than just stringing together directory names
31519      separated by a special character, should not define either of these
31520      macros.
31522 `PATH_SEPARATOR'
31523      If defined, this macro should expand to a character constant
31524      specifying the separator for elements of search paths.  The default
31525      value is a colon (`:').  DOS-based systems usually, but not
31526      always, use semicolon (`;').
31528 `VMS'
31529      Define this macro if the host system is VMS.
31531 `HOST_OBJECT_SUFFIX'
31532      Define this macro to be a C string representing the suffix for
31533      object files on your host machine.  If you do not define this
31534      macro, GCC will use `.o' as the suffix for object files.
31536 `HOST_EXECUTABLE_SUFFIX'
31537      Define this macro to be a C string representing the suffix for
31538      executable files on your host machine.  If you do not define this
31539      macro, GCC will use the null string as the suffix for executable
31540      files.
31542 `HOST_BIT_BUCKET'
31543      A pathname defined by the host operating system, which can be
31544      opened as a file and written to, but all the information written
31545      is discarded.  This is commonly known as a "bit bucket" or "null
31546      device".  If you do not define this macro, GCC will use
31547      `/dev/null' as the bit bucket.  If the host does not support a bit
31548      bucket, define this macro to an invalid filename.
31550 `UPDATE_PATH_HOST_CANONICALIZE (PATH)'
31551      If defined, a C statement (sans semicolon) that performs
31552      host-dependent canonicalization when a path used in a compilation
31553      driver or preprocessor is canonicalized.  PATH is a malloc-ed path
31554      to be canonicalized.  If the C statement does canonicalize PATH
31555      into a different buffer, the old path should be freed and the new
31556      buffer should have been allocated with malloc.
31558 `DUMPFILE_FORMAT'
31559      Define this macro to be a C string representing the format to use
31560      for constructing the index part of debugging dump file names.  The
31561      resultant string must fit in fifteen bytes.  The full filename
31562      will be the concatenation of: the prefix of the assembler file
31563      name, the string resulting from applying this format to an index
31564      number, and a string unique to each dump file kind, e.g. `rtl'.
31566      If you do not define this macro, GCC will use `.%02d.'.  You should
31567      define this macro if using the default will create an invalid file
31568      name.
31570 `DELETE_IF_ORDINARY'
31571      Define this macro to be a C statement (sans semicolon) that
31572      performs host-dependent removal of ordinary temp files in the
31573      compilation driver.
31575      If you do not define this macro, GCC will use the default version.
31576      You should define this macro if the default version does not
31577      reliably remove the temp file as, for example, on VMS which allows
31578      multiple versions of a file.
31580 `HOST_LACKS_INODE_NUMBERS'
31581      Define this macro if the host filesystem does not report
31582      meaningful inode numbers in struct stat.
31584 \x1f
31585 File: gccint.info,  Node: Host Misc,  Prev: Filesystem,  Up: Host Config
31587 16.3 Host Misc
31588 ==============
31590 `FATAL_EXIT_CODE'
31591      A C expression for the status code to be returned when the compiler
31592      exits after serious errors.  The default is the system-provided
31593      macro `EXIT_FAILURE', or `1' if the system doesn't define that
31594      macro.  Define this macro only if these defaults are incorrect.
31596 `SUCCESS_EXIT_CODE'
31597      A C expression for the status code to be returned when the compiler
31598      exits without serious errors.  (Warnings are not serious errors.)
31599      The default is the system-provided macro `EXIT_SUCCESS', or `0' if
31600      the system doesn't define that macro.  Define this macro only if
31601      these defaults are incorrect.
31603 `USE_C_ALLOCA'
31604      Define this macro if GCC should use the C implementation of
31605      `alloca' provided by `libiberty.a'.  This only affects how some
31606      parts of the compiler itself allocate memory.  It does not change
31607      code generation.
31609      When GCC is built with a compiler other than itself, the C `alloca'
31610      is always used.  This is because most other implementations have
31611      serious bugs.  You should define this macro only on a system where
31612      no stack-based `alloca' can possibly work.  For instance, if a
31613      system has a small limit on the size of the stack, GCC's builtin
31614      `alloca' will not work reliably.
31616 `COLLECT2_HOST_INITIALIZATION'
31617      If defined, a C statement (sans semicolon) that performs
31618      host-dependent initialization when `collect2' is being initialized.
31620 `GCC_DRIVER_HOST_INITIALIZATION'
31621      If defined, a C statement (sans semicolon) that performs
31622      host-dependent initialization when a compilation driver is being
31623      initialized.
31625 `HOST_LONG_LONG_FORMAT'
31626      If defined, the string used to indicate an argument of type `long
31627      long' to functions like `printf'.  The default value is `"ll"'.
31629  In addition, if `configure' generates an incorrect definition of any
31630 of the macros in `auto-host.h', you can override that definition in a
31631 host configuration header.  If you need to do this, first see if it is
31632 possible to fix `configure'.
31634 \x1f
31635 File: gccint.info,  Node: Fragments,  Next: Collect2,  Prev: Host Config,  Up: Top
31637 17 Makefile Fragments
31638 *********************
31640 When you configure GCC using the `configure' script, it will construct
31641 the file `Makefile' from the template file `Makefile.in'.  When it does
31642 this, it can incorporate makefile fragments from the `config'
31643 directory.  These are used to set Makefile parameters that are not
31644 amenable to being calculated by autoconf.  The list of fragments to
31645 incorporate is set by `config.gcc' (and occasionally `config.build' and
31646 `config.host'); *Note System Config::.
31648  Fragments are named either `t-TARGET' or `x-HOST', depending on
31649 whether they are relevant to configuring GCC to produce code for a
31650 particular target, or to configuring GCC to run on a particular host.
31651 Here TARGET and HOST are mnemonics which usually have some relationship
31652 to the canonical system name, but no formal connection.
31654  If these files do not exist, it means nothing needs to be added for a
31655 given target or host.  Most targets need a few `t-TARGET' fragments,
31656 but needing `x-HOST' fragments is rare.
31658 * Menu:
31660 * Target Fragment:: Writing `t-TARGET' files.
31661 * Host Fragment::   Writing `x-HOST' files.
31663 \x1f
31664 File: gccint.info,  Node: Target Fragment,  Next: Host Fragment,  Up: Fragments
31666 17.1 Target Makefile Fragments
31667 ==============================
31669 Target makefile fragments can set these Makefile variables.
31671 `LIBGCC2_CFLAGS'
31672      Compiler flags to use when compiling `libgcc2.c'.
31674 `LIB2FUNCS_EXTRA'
31675      A list of source file names to be compiled or assembled and
31676      inserted into `libgcc.a'.
31678 `Floating Point Emulation'
31679      To have GCC include software floating point libraries in `libgcc.a'
31680      define `FPBIT' and `DPBIT' along with a few rules as follows:
31681           # We want fine grained libraries, so use the new code
31682           # to build the floating point emulation libraries.
31683           FPBIT = fp-bit.c
31684           DPBIT = dp-bit.c
31687           fp-bit.c: $(srcdir)/config/fp-bit.c
31688                   echo '#define FLOAT' > fp-bit.c
31689                   cat $(srcdir)/config/fp-bit.c >> fp-bit.c
31691           dp-bit.c: $(srcdir)/config/fp-bit.c
31692                   cat $(srcdir)/config/fp-bit.c > dp-bit.c
31694      You may need to provide additional #defines at the beginning of
31695      `fp-bit.c' and `dp-bit.c' to control target endianness and other
31696      options.
31698 `CRTSTUFF_T_CFLAGS'
31699      Special flags used when compiling `crtstuff.c'.  *Note
31700      Initialization::.
31702 `CRTSTUFF_T_CFLAGS_S'
31703      Special flags used when compiling `crtstuff.c' for shared linking.
31704      Used if you use `crtbeginS.o' and `crtendS.o' in `EXTRA-PARTS'.
31705      *Note Initialization::.
31707 `MULTILIB_OPTIONS'
31708      For some targets, invoking GCC in different ways produces objects
31709      that can not be linked together.  For example, for some targets GCC
31710      produces both big and little endian code.  For these targets, you
31711      must arrange for multiple versions of `libgcc.a' to be compiled,
31712      one for each set of incompatible options.  When GCC invokes the
31713      linker, it arranges to link in the right version of `libgcc.a',
31714      based on the command line options used.
31716      The `MULTILIB_OPTIONS' macro lists the set of options for which
31717      special versions of `libgcc.a' must be built.  Write options that
31718      are mutually incompatible side by side, separated by a slash.
31719      Write options that may be used together separated by a space.  The
31720      build procedure will build all combinations of compatible options.
31722      For example, if you set `MULTILIB_OPTIONS' to `m68000/m68020
31723      msoft-float', `Makefile' will build special versions of `libgcc.a'
31724      using the following sets of options:  `-m68000', `-m68020',
31725      `-msoft-float', `-m68000 -msoft-float', and `-m68020 -msoft-float'.
31727 `MULTILIB_DIRNAMES'
31728      If `MULTILIB_OPTIONS' is used, this variable specifies the
31729      directory names that should be used to hold the various libraries.
31730      Write one element in `MULTILIB_DIRNAMES' for each element in
31731      `MULTILIB_OPTIONS'.  If `MULTILIB_DIRNAMES' is not used, the
31732      default value will be `MULTILIB_OPTIONS', with all slashes treated
31733      as spaces.
31735      For example, if `MULTILIB_OPTIONS' is set to `m68000/m68020
31736      msoft-float', then the default value of `MULTILIB_DIRNAMES' is
31737      `m68000 m68020 msoft-float'.  You may specify a different value if
31738      you desire a different set of directory names.
31740 `MULTILIB_MATCHES'
31741      Sometimes the same option may be written in two different ways.
31742      If an option is listed in `MULTILIB_OPTIONS', GCC needs to know
31743      about any synonyms.  In that case, set `MULTILIB_MATCHES' to a
31744      list of items of the form `option=option' to describe all relevant
31745      synonyms.  For example, `m68000=mc68000 m68020=mc68020'.
31747 `MULTILIB_EXCEPTIONS'
31748      Sometimes when there are multiple sets of `MULTILIB_OPTIONS' being
31749      specified, there are combinations that should not be built.  In
31750      that case, set `MULTILIB_EXCEPTIONS' to be all of the switch
31751      exceptions in shell case syntax that should not be built.
31753      For example the ARM processor cannot execute both hardware floating
31754      point instructions and the reduced size THUMB instructions at the
31755      same time, so there is no need to build libraries with both of
31756      these options enabled.  Therefore `MULTILIB_EXCEPTIONS' is set to:
31757           *mthumb/*mhard-float*
31759 `MULTILIB_EXTRA_OPTS'
31760      Sometimes it is desirable that when building multiple versions of
31761      `libgcc.a' certain options should always be passed on to the
31762      compiler.  In that case, set `MULTILIB_EXTRA_OPTS' to be the list
31763      of options to be used for all builds.  If you set this, you should
31764      probably set `CRTSTUFF_T_CFLAGS' to a dash followed by it.
31766 `NATIVE_SYSTEM_HEADER_DIR'
31767      If the default location for system headers is not `/usr/include',
31768      you must set this to the directory containing the headers.  This
31769      value should match the value of the `SYSTEM_INCLUDE_DIR' macro.
31771 `SPECS'
31772      Unfortunately, setting `MULTILIB_EXTRA_OPTS' is not enough, since
31773      it does not affect the build of target libraries, at least not the
31774      build of the default multilib.  One possible work-around is to use
31775      `DRIVER_SELF_SPECS' to bring options from the `specs' file as if
31776      they had been passed in the compiler driver command line.
31777      However, you don't want to be adding these options after the
31778      toolchain is installed, so you can instead tweak the `specs' file
31779      that will be used during the toolchain build, while you still
31780      install the original, built-in `specs'.  The trick is to set
31781      `SPECS' to some other filename (say `specs.install'), that will
31782      then be created out of the built-in specs, and introduce a
31783      `Makefile' rule to generate the `specs' file that's going to be
31784      used at build time out of your `specs.install'.
31786 \x1f
31787 File: gccint.info,  Node: Host Fragment,  Prev: Target Fragment,  Up: Fragments
31789 17.2 Host Makefile Fragments
31790 ============================
31792 The use of `x-HOST' fragments is discouraged.  You should do so only if
31793 there is no other mechanism to get the behavior desired.  Host
31794 fragments should never forcibly override variables set by the configure
31795 script, as they may have been adjusted by the user.
31797  Variables provided for host fragments to set include:
31799 `X_CFLAGS'
31800 `X_CPPFLAGS'
31801      These are extra flags to pass to the C compiler and preprocessor,
31802      respectively.  They are used both when building GCC, and when
31803      compiling things with the just-built GCC.
31805 `XCFLAGS'
31806      These are extra flags to use when building the compiler.  They are
31807      not used when compiling `libgcc.a'.  However, they _are_ used when
31808      recompiling the compiler with itself in later stages of a
31809      bootstrap.
31811 `BOOT_LDFLAGS'
31812      Flags to be passed to the linker when recompiling the compiler with
31813      itself in later stages of a bootstrap.  You might need to use this
31814      if, for instance, one of the front ends needs more text space than
31815      the linker provides by default.
31817 `EXTRA_PROGRAMS'
31818      A list of additional programs required to use the compiler on this
31819      host, which should be compiled with GCC and installed alongside
31820      the front ends.  If you set this variable, you must also provide
31821      rules to build the extra programs.
31824 \x1f
31825 File: gccint.info,  Node: Collect2,  Next: Header Dirs,  Prev: Fragments,  Up: Top
31827 18 `collect2'
31828 *************
31830 GCC uses a utility called `collect2' on nearly all systems to arrange
31831 to call various initialization functions at start time.
31833  The program `collect2' works by linking the program once and looking
31834 through the linker output file for symbols with particular names
31835 indicating they are constructor functions.  If it finds any, it creates
31836 a new temporary `.c' file containing a table of them, compiles it, and
31837 links the program a second time including that file.
31839  The actual calls to the constructors are carried out by a subroutine
31840 called `__main', which is called (automatically) at the beginning of
31841 the body of `main' (provided `main' was compiled with GNU CC).  Calling
31842 `__main' is necessary, even when compiling C code, to allow linking C
31843 and C++ object code together.  (If you use `-nostdlib', you get an
31844 unresolved reference to `__main', since it's defined in the standard
31845 GCC library.  Include `-lgcc' at the end of your compiler command line
31846 to resolve this reference.)
31848  The program `collect2' is installed as `ld' in the directory where the
31849 passes of the compiler are installed.  When `collect2' needs to find
31850 the _real_ `ld', it tries the following file names:
31852    * `real-ld' in the directories listed in the compiler's search
31853      directories.
31855    * `real-ld' in the directories listed in the environment variable
31856      `PATH'.
31858    * The file specified in the `REAL_LD_FILE_NAME' configuration macro,
31859      if specified.
31861    * `ld' in the compiler's search directories, except that `collect2'
31862      will not execute itself recursively.
31864    * `ld' in `PATH'.
31866  "The compiler's search directories" means all the directories where
31867 `gcc' searches for passes of the compiler.  This includes directories
31868 that you specify with `-B'.
31870  Cross-compilers search a little differently:
31872    * `real-ld' in the compiler's search directories.
31874    * `TARGET-real-ld' in `PATH'.
31876    * The file specified in the `REAL_LD_FILE_NAME' configuration macro,
31877      if specified.
31879    * `ld' in the compiler's search directories.
31881    * `TARGET-ld' in `PATH'.
31883  `collect2' explicitly avoids running `ld' using the file name under
31884 which `collect2' itself was invoked.  In fact, it remembers up a list
31885 of such names--in case one copy of `collect2' finds another copy (or
31886 version) of `collect2' installed as `ld' in a second place in the
31887 search path.
31889  `collect2' searches for the utilities `nm' and `strip' using the same
31890 algorithm as above for `ld'.
31892 \x1f
31893 File: gccint.info,  Node: Header Dirs,  Next: Type Information,  Prev: Collect2,  Up: Top
31895 19 Standard Header File Directories
31896 ***********************************
31898 `GCC_INCLUDE_DIR' means the same thing for native and cross.  It is
31899 where GCC stores its private include files, and also where GCC stores
31900 the fixed include files.  A cross compiled GCC runs `fixincludes' on
31901 the header files in `$(tooldir)/include'.  (If the cross compilation
31902 header files need to be fixed, they must be installed before GCC is
31903 built.  If the cross compilation header files are already suitable for
31904 GCC, nothing special need be done).
31906  `GPLUSPLUS_INCLUDE_DIR' means the same thing for native and cross.  It
31907 is where `g++' looks first for header files.  The C++ library installs
31908 only target independent header files in that directory.
31910  `LOCAL_INCLUDE_DIR' is used only by native compilers.  GCC doesn't
31911 install anything there.  It is normally `/usr/local/include'.  This is
31912 where local additions to a packaged system should place header files.
31914  `CROSS_INCLUDE_DIR' is used only by cross compilers.  GCC doesn't
31915 install anything there.
31917  `TOOL_INCLUDE_DIR' is used for both native and cross compilers.  It is
31918 the place for other packages to install header files that GCC will use.
31919 For a cross-compiler, this is the equivalent of `/usr/include'.  When
31920 you build a cross-compiler, `fixincludes' processes any header files in
31921 this directory.
31923 \x1f
31924 File: gccint.info,  Node: Type Information,  Next: Funding,  Prev: Header Dirs,  Up: Top
31926 20 Memory Management and Type Information
31927 *****************************************
31929 GCC uses some fairly sophisticated memory management techniques, which
31930 involve determining information about GCC's data structures from GCC's
31931 source code and using this information to perform garbage collection and
31932 implement precompiled headers.
31934  A full C parser would be too complicated for this task, so a limited
31935 subset of C is interpreted and special markers are used to determine
31936 what parts of the source to look at.  All `struct' and `union'
31937 declarations that define data structures that are allocated under
31938 control of the garbage collector must be marked.  All global variables
31939 that hold pointers to garbage-collected memory must also be marked.
31940 Finally, all global variables that need to be saved and restored by a
31941 precompiled header must be marked.  (The precompiled header mechanism
31942 can only save static variables if they're scalar.  Complex data
31943 structures must be allocated in garbage-collected memory to be saved in
31944 a precompiled header.)
31946  The full format of a marker is
31947      GTY (([OPTION] [(PARAM)], [OPTION] [(PARAM)] ...))
31948  but in most cases no options are needed.  The outer double parentheses
31949 are still necessary, though: `GTY(())'.  Markers can appear:
31951    * In a structure definition, before the open brace;
31953    * In a global variable declaration, after the keyword `static' or
31954      `extern'; and
31956    * In a structure field definition, before the name of the field.
31958  Here are some examples of marking simple data structures and globals.
31960      struct TAG GTY(())
31961      {
31962        FIELDS...
31963      };
31965      typedef struct TAG GTY(())
31966      {
31967        FIELDS...
31968      } *TYPENAME;
31970      static GTY(()) struct TAG *LIST;   /* points to GC memory */
31971      static GTY(()) int COUNTER;        /* save counter in a PCH */
31973  The parser understands simple typedefs such as `typedef struct TAG
31974 *NAME;' and `typedef int NAME;'.  These don't need to be marked.
31976 * Menu:
31978 * GTY Options::         What goes inside a `GTY(())'.
31979 * GGC Roots::           Making global variables GGC roots.
31980 * Files::               How the generated files work.
31982 \x1f
31983 File: gccint.info,  Node: GTY Options,  Next: GGC Roots,  Up: Type Information
31985 20.1 The Inside of a `GTY(())'
31986 ==============================
31988 Sometimes the C code is not enough to fully describe the type
31989 structure.  Extra information can be provided with `GTY' options and
31990 additional markers.  Some options take a parameter, which may be either
31991 a string or a type name, depending on the parameter.  If an option
31992 takes no parameter, it is acceptable either to omit the parameter
31993 entirely, or to provide an empty string as a parameter.  For example,
31994 `GTY ((skip))' and `GTY ((skip ("")))' are equivalent.
31996  When the parameter is a string, often it is a fragment of C code.  Four
31997 special escapes may be used in these strings, to refer to pieces of the
31998 data structure being marked:
32000 `%h'
32001      The current structure.
32003 `%1'
32004      The structure that immediately contains the current structure.
32006 `%0'
32007      The outermost structure that contains the current structure.
32009 `%a'
32010      A partial expression of the form `[i1][i2]...' that indexes the
32011      array item currently being marked.
32013  For instance, suppose that you have a structure of the form
32014      struct A {
32015        ...
32016      };
32017      struct B {
32018        struct A foo[12];
32019      };
32020  and `b' is a variable of type `struct B'.  When marking `b.foo[11]',
32021 `%h' would expand to `b.foo[11]', `%0' and `%1' would both expand to
32022 `b', and `%a' would expand to `[11]'.
32024  As in ordinary C, adjacent strings will be concatenated; this is
32025 helpful when you have a complicated expression.
32026      GTY ((chain_next ("TREE_CODE (&%h.generic) == INTEGER_TYPE"
32027                        " ? TYPE_NEXT_VARIANT (&%h.generic)"
32028                        " : TREE_CHAIN (&%h.generic)")))
32030  The available options are:
32032 `length ("EXPRESSION")'
32033      There are two places the type machinery will need to be explicitly
32034      told the length of an array.  The first case is when a structure
32035      ends in a variable-length array, like this:
32036           struct rtvec_def GTY(()) {
32037             int num_elem;               /* number of elements */
32038             rtx GTY ((length ("%h.num_elem"))) elem[1];
32039           };
32041      In this case, the `length' option is used to override the specified
32042      array length (which should usually be `1').  The parameter of the
32043      option is a fragment of C code that calculates the length.
32045      The second case is when a structure or a global variable contains a
32046      pointer to an array, like this:
32047           tree *
32048             GTY ((length ("%h.regno_pointer_align_length"))) regno_decl;
32049      In this case, `regno_decl' has been allocated by writing something
32050      like
32051             x->regno_decl =
32052               ggc_alloc (x->regno_pointer_align_length * sizeof (tree));
32053      and the `length' provides the length of the field.
32055      This second use of `length' also works on global variables, like:
32056        static GTY((length ("reg_base_value_size")))
32057          rtx *reg_base_value;
32059 `skip'
32060      If `skip' is applied to a field, the type machinery will ignore it.
32061      This is somewhat dangerous; the only safe use is in a union when
32062      one field really isn't ever used.
32064 `desc ("EXPRESSION")'
32065 `tag ("CONSTANT")'
32066 `default'
32067      The type machinery needs to be told which field of a `union' is
32068      currently active.  This is done by giving each field a constant
32069      `tag' value, and then specifying a discriminator using `desc'.
32070      The value of the expression given by `desc' is compared against
32071      each `tag' value, each of which should be different.  If no `tag'
32072      is matched, the field marked with `default' is used if there is
32073      one, otherwise no field in the union will be marked.
32075      In the `desc' option, the "current structure" is the union that it
32076      discriminates.  Use `%1' to mean the structure containing it.
32077      There are no escapes available to the `tag' option, since it is a
32078      constant.
32080      For example,
32081           struct tree_binding GTY(())
32082           {
32083             struct tree_common common;
32084             union tree_binding_u {
32085               tree GTY ((tag ("0"))) scope;
32086               struct cp_binding_level * GTY ((tag ("1"))) level;
32087             } GTY ((desc ("BINDING_HAS_LEVEL_P ((tree)&%0)"))) xscope;
32088             tree value;
32089           };
32091      In this example, the value of BINDING_HAS_LEVEL_P when applied to a
32092      `struct tree_binding *' is presumed to be 0 or 1.  If 1, the type
32093      mechanism will treat the field `level' as being present and if 0,
32094      will treat the field `scope' as being present.
32096 `param_is (TYPE)'
32097 `use_param'
32098      Sometimes it's convenient to define some data structure to work on
32099      generic pointers (that is, `PTR') and then use it with a specific
32100      type.  `param_is' specifies the real type pointed to, and
32101      `use_param' says where in the generic data structure that type
32102      should be put.
32104      For instance, to have a `htab_t' that points to trees, one would
32105      write the definition of `htab_t' like this:
32106           typedef struct GTY(()) {
32107             ...
32108             void ** GTY ((use_param, ...)) entries;
32109             ...
32110           } htab_t;
32111      and then declare variables like this:
32112             static htab_t GTY ((param_is (union tree_node))) ict;
32114 `paramN_is (TYPE)'
32115 `use_paramN'
32116      In more complicated cases, the data structure might need to work on
32117      several different types, which might not necessarily all be
32118      pointers.  For this, `param1_is' through `param9_is' may be used to
32119      specify the real type of a field identified by `use_param1' through
32120      `use_param9'.
32122 `use_params'
32123      When a structure contains another structure that is parameterized,
32124      there's no need to do anything special, the inner structure
32125      inherits the parameters of the outer one.  When a structure
32126      contains a pointer to a parameterized structure, the type
32127      machinery won't automatically detect this (it could, it just
32128      doesn't yet), so it's necessary to tell it that the pointed-to
32129      structure should use the same parameters as the outer structure.
32130      This is done by marking the pointer with the `use_params' option.
32132 `deletable'
32133      `deletable', when applied to a global variable, indicates that when
32134      garbage collection runs, there's no need to mark anything pointed
32135      to by this variable, it can just be set to `NULL' instead.  This
32136      is used to keep a list of free structures around for re-use.
32138 `if_marked ("EXPRESSION")'
32139      Suppose you want some kinds of object to be unique, and so you put
32140      them in a hash table.  If garbage collection marks the hash table,
32141      these objects will never be freed, even if the last other
32142      reference to them goes away.  GGC has special handling to deal
32143      with this: if you use the `if_marked' option on a global hash
32144      table, GGC will call the routine whose name is the parameter to
32145      the option on each hash table entry.  If the routine returns
32146      nonzero, the hash table entry will be marked as usual.  If the
32147      routine returns zero, the hash table entry will be deleted.
32149      The routine `ggc_marked_p' can be used to determine if an element
32150      has been marked already; in fact, the usual case is to use
32151      `if_marked ("ggc_marked_p")'.
32153 `mark_hook ("HOOK-ROUTINE-NAME")'
32154      If provided for a structure or union type, the given
32155      HOOK-ROUTINE-NAME (between double-quotes) is the name of a routine
32156      called when the garbage collector has just marked the data as
32157      reachable. This routine should not change the data, or call any ggc
32158      routine. Its only argument is a pointer to the just marked (const)
32159      structure or union.
32161 `maybe_undef'
32162      When applied to a field, `maybe_undef' indicates that it's OK if
32163      the structure that this fields points to is never defined, so long
32164      as this field is always `NULL'.  This is used to avoid requiring
32165      backends to define certain optional structures.  It doesn't work
32166      with language frontends.
32168 `nested_ptr (TYPE, "TO EXPRESSION", "FROM EXPRESSION")'
32169      The type machinery expects all pointers to point to the start of an
32170      object.  Sometimes for abstraction purposes it's convenient to have
32171      a pointer which points inside an object.  So long as it's possible
32172      to convert the original object to and from the pointer, such
32173      pointers can still be used.  TYPE is the type of the original
32174      object, the TO EXPRESSION returns the pointer given the original
32175      object, and the FROM EXPRESSION returns the original object given
32176      the pointer.  The pointer will be available using the `%h' escape.
32178 `chain_next ("EXPRESSION")'
32179 `chain_prev ("EXPRESSION")'
32180 `chain_circular ("EXPRESSION")'
32181      It's helpful for the type machinery to know if objects are often
32182      chained together in long lists; this lets it generate code that
32183      uses less stack space by iterating along the list instead of
32184      recursing down it.  `chain_next' is an expression for the next
32185      item in the list, `chain_prev' is an expression for the previous
32186      item.  For singly linked lists, use only `chain_next'; for doubly
32187      linked lists, use both.  The machinery requires that taking the
32188      next item of the previous item gives the original item.
32189      `chain_circular' is similar to `chain_next', but can be used for
32190      circular single linked lists.
32192 `reorder ("FUNCTION NAME")'
32193      Some data structures depend on the relative ordering of pointers.
32194      If the precompiled header machinery needs to change that ordering,
32195      it will call the function referenced by the `reorder' option,
32196      before changing the pointers in the object that's pointed to by
32197      the field the option applies to.  The function must take four
32198      arguments, with the signature
32199      `void *, void *, gt_pointer_operator, void *'.  The first
32200      parameter is a pointer to the structure that contains the object
32201      being updated, or the object itself if there is no containing
32202      structure.  The second parameter is a cookie that should be
32203      ignored.  The third parameter is a routine that, given a pointer,
32204      will update it to its correct new value.  The fourth parameter is
32205      a cookie that must be passed to the second parameter.
32207      PCH cannot handle data structures that depend on the absolute
32208      values of pointers.  `reorder' functions can be expensive.  When
32209      possible, it is better to depend on properties of the data, like
32210      an ID number or the hash of a string instead.
32212 `special ("NAME")'
32213      The `special' option is used to mark types that have to be dealt
32214      with by special case machinery.  The parameter is the name of the
32215      special case.  See `gengtype.c' for further details.  Avoid adding
32216      new special cases unless there is no other alternative.
32218 \x1f
32219 File: gccint.info,  Node: GGC Roots,  Next: Files,  Prev: GTY Options,  Up: Type Information
32221 20.2 Marking Roots for the Garbage Collector
32222 ============================================
32224 In addition to keeping track of types, the type machinery also locates
32225 the global variables ("roots") that the garbage collector starts at.
32226 Roots must be declared using one of the following syntaxes:
32228    * `extern GTY(([OPTIONS])) TYPE NAME;'
32230    * `static GTY(([OPTIONS])) TYPE NAME;'
32231  The syntax
32232    * `GTY(([OPTIONS])) TYPE NAME;'
32233  is _not_ accepted.  There should be an `extern' declaration of such a
32234 variable in a header somewhere--mark that, not the definition.  Or, if
32235 the variable is only used in one file, make it `static'.
32237 \x1f
32238 File: gccint.info,  Node: Files,  Prev: GGC Roots,  Up: Type Information
32240 20.3 Source Files Containing Type Information
32241 =============================================
32243 Whenever you add `GTY' markers to a source file that previously had
32244 none, or create a new source file containing `GTY' markers, there are
32245 three things you need to do:
32247   1. You need to add the file to the list of source files the type
32248      machinery scans.  There are four cases:
32250        a. For a back-end file, this is usually done automatically; if
32251           not, you should add it to `target_gtfiles' in the appropriate
32252           port's entries in `config.gcc'.
32254        b. For files shared by all front ends, add the filename to the
32255           `GTFILES' variable in `Makefile.in'.
32257        c. For files that are part of one front end, add the filename to
32258           the `gtfiles' variable defined in the appropriate
32259           `config-lang.in'.  For C, the file is `c-config-lang.in'.
32261        d. For files that are part of some but not all front ends, add
32262           the filename to the `gtfiles' variable of _all_ the front ends
32263           that use it.
32265   2. If the file was a header file, you'll need to check that it's
32266      included in the right place to be visible to the generated files.
32267      For a back-end header file, this should be done automatically.
32268      For a front-end header file, it needs to be included by the same
32269      file that includes `gtype-LANG.h'.  For other header files, it
32270      needs to be included in `gtype-desc.c', which is a generated file,
32271      so add it to `ifiles' in `open_base_file' in `gengtype.c'.
32273      For source files that aren't header files, the machinery will
32274      generate a header file that should be included in the source file
32275      you just changed.  The file will be called `gt-PATH.h' where PATH
32276      is the pathname relative to the `gcc' directory with slashes
32277      replaced by -, so for example the header file to be included in
32278      `cp/parser.c' is called `gt-cp-parser.c'.  The generated header
32279      file should be included after everything else in the source file.
32280      Don't forget to mention this file as a dependency in the
32281      `Makefile'!
32284  For language frontends, there is another file that needs to be included
32285 somewhere.  It will be called `gtype-LANG.h', where LANG is the name of
32286 the subdirectory the language is contained in.
32288 \x1f
32289 File: gccint.info,  Node: Funding,  Next: GNU Project,  Prev: Type Information,  Up: Top
32291 Funding Free Software
32292 *********************
32294 If you want to have more free software a few years from now, it makes
32295 sense for you to help encourage people to contribute funds for its
32296 development.  The most effective approach known is to encourage
32297 commercial redistributors to donate.
32299  Users of free software systems can boost the pace of development by
32300 encouraging for-a-fee distributors to donate part of their selling price
32301 to free software developers--the Free Software Foundation, and others.
32303  The way to convince distributors to do this is to demand it and expect
32304 it from them.  So when you compare distributors, judge them partly by
32305 how much they give to free software development.  Show distributors
32306 they must compete to be the one who gives the most.
32308  To make this approach work, you must insist on numbers that you can
32309 compare, such as, "We will donate ten dollars to the Frobnitz project
32310 for each disk sold."  Don't be satisfied with a vague promise, such as
32311 "A portion of the profits are donated," since it doesn't give a basis
32312 for comparison.
32314  Even a precise fraction "of the profits from this disk" is not very
32315 meaningful, since creative accounting and unrelated business decisions
32316 can greatly alter what fraction of the sales price counts as profit.
32317 If the price you pay is $50, ten percent of the profit is probably less
32318 than a dollar; it might be a few cents, or nothing at all.
32320  Some redistributors do development work themselves.  This is useful
32321 too; but to keep everyone honest, you need to inquire how much they do,
32322 and what kind.  Some kinds of development make much more long-term
32323 difference than others.  For example, maintaining a separate version of
32324 a program contributes very little; maintaining the standard version of a
32325 program for the whole community contributes much.  Easy new ports
32326 contribute little, since someone else would surely do them; difficult
32327 ports such as adding a new CPU to the GNU Compiler Collection
32328 contribute more; major new features or packages contribute the most.
32330  By establishing the idea that supporting further development is "the
32331 proper thing to do" when distributing free software for a fee, we can
32332 assure a steady flow of resources into making more free software.
32334      Copyright (C) 1994 Free Software Foundation, Inc.
32335      Verbatim copying and redistribution of this section is permitted
32336      without royalty; alteration is not permitted.
32338 \x1f
32339 File: gccint.info,  Node: GNU Project,  Next: Copying,  Prev: Funding,  Up: Top
32341 The GNU Project and GNU/Linux
32342 *****************************
32344 The GNU Project was launched in 1984 to develop a complete Unix-like
32345 operating system which is free software: the GNU system.  (GNU is a
32346 recursive acronym for "GNU's Not Unix"; it is pronounced "guh-NEW".)
32347 Variants of the GNU operating system, which use the kernel Linux, are
32348 now widely used; though these systems are often referred to as "Linux",
32349 they are more accurately called GNU/Linux systems.
32351  For more information, see:
32352      `http://www.gnu.org/'
32353      `http://www.gnu.org/gnu/linux-and-gnu.html'
32355 \x1f
32356 File: gccint.info,  Node: Copying,  Next: GNU Free Documentation License,  Prev: GNU Project,  Up: Top
32358 GNU General Public License
32359 **************************
32361                         Version 3, 29 June 2007
32363      Copyright (C) 2007 Free Software Foundation, Inc. `http://fsf.org/'
32365      Everyone is permitted to copy and distribute verbatim copies of this
32366      license document, but changing it is not allowed.
32368 Preamble
32369 ========
32371 The GNU General Public License is a free, copyleft license for software
32372 and other kinds of works.
32374  The licenses for most software and other practical works are designed
32375 to take away your freedom to share and change the works.  By contrast,
32376 the GNU General Public License is intended to guarantee your freedom to
32377 share and change all versions of a program-to make sure it remains free
32378 software for all its users.  We, the Free Software Foundation, use the
32379 GNU General Public License for most of our software; it applies also to
32380 any other work released this way by its authors.  You can apply it to
32381 your programs, too.
32383  When we speak of free software, we are referring to freedom, not
32384 price.  Our General Public Licenses are designed to make sure that you
32385 have the freedom to distribute copies of free software (and charge for
32386 them if you wish), that you receive source code or can get it if you
32387 want it, that you can change the software or use pieces of it in new
32388 free programs, and that you know you can do these things.
32390  To protect your rights, we need to prevent others from denying you
32391 these rights or asking you to surrender the rights.  Therefore, you
32392 have certain responsibilities if you distribute copies of the software,
32393 or if you modify it: responsibilities to respect the freedom of others.
32395  For example, if you distribute copies of such a program, whether
32396 gratis or for a fee, you must pass on to the recipients the same
32397 freedoms that you received.  You must make sure that they, too, receive
32398 or can get the source code.  And you must show them these terms so they
32399 know their rights.
32401  Developers that use the GNU GPL protect your rights with two steps:
32402 (1) assert copyright on the software, and (2) offer you this License
32403 giving you legal permission to copy, distribute and/or modify it.
32405  For the developers' and authors' protection, the GPL clearly explains
32406 that there is no warranty for this free software.  For both users' and
32407 authors' sake, the GPL requires that modified versions be marked as
32408 changed, so that their problems will not be attributed erroneously to
32409 authors of previous versions.
32411  Some devices are designed to deny users access to install or run
32412 modified versions of the software inside them, although the
32413 manufacturer can do so.  This is fundamentally incompatible with the
32414 aim of protecting users' freedom to change the software.  The
32415 systematic pattern of such abuse occurs in the area of products for
32416 individuals to use, which is precisely where it is most unacceptable.
32417 Therefore, we have designed this version of the GPL to prohibit the
32418 practice for those products.  If such problems arise substantially in
32419 other domains, we stand ready to extend this provision to those domains
32420 in future versions of the GPL, as needed to protect the freedom of
32421 users.
32423  Finally, every program is threatened constantly by software patents.
32424 States should not allow patents to restrict development and use of
32425 software on general-purpose computers, but in those that do, we wish to
32426 avoid the special danger that patents applied to a free program could
32427 make it effectively proprietary.  To prevent this, the GPL assures that
32428 patents cannot be used to render the program non-free.
32430  The precise terms and conditions for copying, distribution and
32431 modification follow.
32433 TERMS AND CONDITIONS
32434 ====================
32436   0. Definitions.
32438      "This License" refers to version 3 of the GNU General Public
32439      License.
32441      "Copyright" also means copyright-like laws that apply to other
32442      kinds of works, such as semiconductor masks.
32444      "The Program" refers to any copyrightable work licensed under this
32445      License.  Each licensee is addressed as "you".  "Licensees" and
32446      "recipients" may be individuals or organizations.
32448      To "modify" a work means to copy from or adapt all or part of the
32449      work in a fashion requiring copyright permission, other than the
32450      making of an exact copy.  The resulting work is called a "modified
32451      version" of the earlier work or a work "based on" the earlier work.
32453      A "covered work" means either the unmodified Program or a work
32454      based on the Program.
32456      To "propagate" a work means to do anything with it that, without
32457      permission, would make you directly or secondarily liable for
32458      infringement under applicable copyright law, except executing it
32459      on a computer or modifying a private copy.  Propagation includes
32460      copying, distribution (with or without modification), making
32461      available to the public, and in some countries other activities as
32462      well.
32464      To "convey" a work means any kind of propagation that enables other
32465      parties to make or receive copies.  Mere interaction with a user
32466      through a computer network, with no transfer of a copy, is not
32467      conveying.
32469      An interactive user interface displays "Appropriate Legal Notices"
32470      to the extent that it includes a convenient and prominently visible
32471      feature that (1) displays an appropriate copyright notice, and (2)
32472      tells the user that there is no warranty for the work (except to
32473      the extent that warranties are provided), that licensees may
32474      convey the work under this License, and how to view a copy of this
32475      License.  If the interface presents a list of user commands or
32476      options, such as a menu, a prominent item in the list meets this
32477      criterion.
32479   1. Source Code.
32481      The "source code" for a work means the preferred form of the work
32482      for making modifications to it.  "Object code" means any
32483      non-source form of a work.
32485      A "Standard Interface" means an interface that either is an
32486      official standard defined by a recognized standards body, or, in
32487      the case of interfaces specified for a particular programming
32488      language, one that is widely used among developers working in that
32489      language.
32491      The "System Libraries" of an executable work include anything,
32492      other than the work as a whole, that (a) is included in the normal
32493      form of packaging a Major Component, but which is not part of that
32494      Major Component, and (b) serves only to enable use of the work
32495      with that Major Component, or to implement a Standard Interface
32496      for which an implementation is available to the public in source
32497      code form.  A "Major Component", in this context, means a major
32498      essential component (kernel, window system, and so on) of the
32499      specific operating system (if any) on which the executable work
32500      runs, or a compiler used to produce the work, or an object code
32501      interpreter used to run it.
32503      The "Corresponding Source" for a work in object code form means all
32504      the source code needed to generate, install, and (for an executable
32505      work) run the object code and to modify the work, including
32506      scripts to control those activities.  However, it does not include
32507      the work's System Libraries, or general-purpose tools or generally
32508      available free programs which are used unmodified in performing
32509      those activities but which are not part of the work.  For example,
32510      Corresponding Source includes interface definition files
32511      associated with source files for the work, and the source code for
32512      shared libraries and dynamically linked subprograms that the work
32513      is specifically designed to require, such as by intimate data
32514      communication or control flow between those subprograms and other
32515      parts of the work.
32517      The Corresponding Source need not include anything that users can
32518      regenerate automatically from other parts of the Corresponding
32519      Source.
32521      The Corresponding Source for a work in source code form is that
32522      same work.
32524   2. Basic Permissions.
32526      All rights granted under this License are granted for the term of
32527      copyright on the Program, and are irrevocable provided the stated
32528      conditions are met.  This License explicitly affirms your unlimited
32529      permission to run the unmodified Program.  The output from running
32530      a covered work is covered by this License only if the output,
32531      given its content, constitutes a covered work.  This License
32532      acknowledges your rights of fair use or other equivalent, as
32533      provided by copyright law.
32535      You may make, run and propagate covered works that you do not
32536      convey, without conditions so long as your license otherwise
32537      remains in force.  You may convey covered works to others for the
32538      sole purpose of having them make modifications exclusively for
32539      you, or provide you with facilities for running those works,
32540      provided that you comply with the terms of this License in
32541      conveying all material for which you do not control copyright.
32542      Those thus making or running the covered works for you must do so
32543      exclusively on your behalf, under your direction and control, on
32544      terms that prohibit them from making any copies of your
32545      copyrighted material outside their relationship with you.
32547      Conveying under any other circumstances is permitted solely under
32548      the conditions stated below.  Sublicensing is not allowed; section
32549      10 makes it unnecessary.
32551   3. Protecting Users' Legal Rights From Anti-Circumvention Law.
32553      No covered work shall be deemed part of an effective technological
32554      measure under any applicable law fulfilling obligations under
32555      article 11 of the WIPO copyright treaty adopted on 20 December
32556      1996, or similar laws prohibiting or restricting circumvention of
32557      such measures.
32559      When you convey a covered work, you waive any legal power to forbid
32560      circumvention of technological measures to the extent such
32561      circumvention is effected by exercising rights under this License
32562      with respect to the covered work, and you disclaim any intention
32563      to limit operation or modification of the work as a means of
32564      enforcing, against the work's users, your or third parties' legal
32565      rights to forbid circumvention of technological measures.
32567   4. Conveying Verbatim Copies.
32569      You may convey verbatim copies of the Program's source code as you
32570      receive it, in any medium, provided that you conspicuously and
32571      appropriately publish on each copy an appropriate copyright notice;
32572      keep intact all notices stating that this License and any
32573      non-permissive terms added in accord with section 7 apply to the
32574      code; keep intact all notices of the absence of any warranty; and
32575      give all recipients a copy of this License along with the Program.
32577      You may charge any price or no price for each copy that you convey,
32578      and you may offer support or warranty protection for a fee.
32580   5. Conveying Modified Source Versions.
32582      You may convey a work based on the Program, or the modifications to
32583      produce it from the Program, in the form of source code under the
32584      terms of section 4, provided that you also meet all of these
32585      conditions:
32587        a. The work must carry prominent notices stating that you
32588           modified it, and giving a relevant date.
32590        b. The work must carry prominent notices stating that it is
32591           released under this License and any conditions added under
32592           section 7.  This requirement modifies the requirement in
32593           section 4 to "keep intact all notices".
32595        c. You must license the entire work, as a whole, under this
32596           License to anyone who comes into possession of a copy.  This
32597           License will therefore apply, along with any applicable
32598           section 7 additional terms, to the whole of the work, and all
32599           its parts, regardless of how they are packaged.  This License
32600           gives no permission to license the work in any other way, but
32601           it does not invalidate such permission if you have separately
32602           received it.
32604        d. If the work has interactive user interfaces, each must display
32605           Appropriate Legal Notices; however, if the Program has
32606           interactive interfaces that do not display Appropriate Legal
32607           Notices, your work need not make them do so.
32609      A compilation of a covered work with other separate and independent
32610      works, which are not by their nature extensions of the covered
32611      work, and which are not combined with it such as to form a larger
32612      program, in or on a volume of a storage or distribution medium, is
32613      called an "aggregate" if the compilation and its resulting
32614      copyright are not used to limit the access or legal rights of the
32615      compilation's users beyond what the individual works permit.
32616      Inclusion of a covered work in an aggregate does not cause this
32617      License to apply to the other parts of the aggregate.
32619   6. Conveying Non-Source Forms.
32621      You may convey a covered work in object code form under the terms
32622      of sections 4 and 5, provided that you also convey the
32623      machine-readable Corresponding Source under the terms of this
32624      License, in one of these ways:
32626        a. Convey the object code in, or embodied in, a physical product
32627           (including a physical distribution medium), accompanied by the
32628           Corresponding Source fixed on a durable physical medium
32629           customarily used for software interchange.
32631        b. Convey the object code in, or embodied in, a physical product
32632           (including a physical distribution medium), accompanied by a
32633           written offer, valid for at least three years and valid for
32634           as long as you offer spare parts or customer support for that
32635           product model, to give anyone who possesses the object code
32636           either (1) a copy of the Corresponding Source for all the
32637           software in the product that is covered by this License, on a
32638           durable physical medium customarily used for software
32639           interchange, for a price no more than your reasonable cost of
32640           physically performing this conveying of source, or (2) access
32641           to copy the Corresponding Source from a network server at no
32642           charge.
32644        c. Convey individual copies of the object code with a copy of
32645           the written offer to provide the Corresponding Source.  This
32646           alternative is allowed only occasionally and noncommercially,
32647           and only if you received the object code with such an offer,
32648           in accord with subsection 6b.
32650        d. Convey the object code by offering access from a designated
32651           place (gratis or for a charge), and offer equivalent access
32652           to the Corresponding Source in the same way through the same
32653           place at no further charge.  You need not require recipients
32654           to copy the Corresponding Source along with the object code.
32655           If the place to copy the object code is a network server, the
32656           Corresponding Source may be on a different server (operated
32657           by you or a third party) that supports equivalent copying
32658           facilities, provided you maintain clear directions next to
32659           the object code saying where to find the Corresponding Source.
32660           Regardless of what server hosts the Corresponding Source, you
32661           remain obligated to ensure that it is available for as long
32662           as needed to satisfy these requirements.
32664        e. Convey the object code using peer-to-peer transmission,
32665           provided you inform other peers where the object code and
32666           Corresponding Source of the work are being offered to the
32667           general public at no charge under subsection 6d.
32670      A separable portion of the object code, whose source code is
32671      excluded from the Corresponding Source as a System Library, need
32672      not be included in conveying the object code work.
32674      A "User Product" is either (1) a "consumer product", which means
32675      any tangible personal property which is normally used for personal,
32676      family, or household purposes, or (2) anything designed or sold for
32677      incorporation into a dwelling.  In determining whether a product
32678      is a consumer product, doubtful cases shall be resolved in favor of
32679      coverage.  For a particular product received by a particular user,
32680      "normally used" refers to a typical or common use of that class of
32681      product, regardless of the status of the particular user or of the
32682      way in which the particular user actually uses, or expects or is
32683      expected to use, the product.  A product is a consumer product
32684      regardless of whether the product has substantial commercial,
32685      industrial or non-consumer uses, unless such uses represent the
32686      only significant mode of use of the product.
32688      "Installation Information" for a User Product means any methods,
32689      procedures, authorization keys, or other information required to
32690      install and execute modified versions of a covered work in that
32691      User Product from a modified version of its Corresponding Source.
32692      The information must suffice to ensure that the continued
32693      functioning of the modified object code is in no case prevented or
32694      interfered with solely because modification has been made.
32696      If you convey an object code work under this section in, or with,
32697      or specifically for use in, a User Product, and the conveying
32698      occurs as part of a transaction in which the right of possession
32699      and use of the User Product is transferred to the recipient in
32700      perpetuity or for a fixed term (regardless of how the transaction
32701      is characterized), the Corresponding Source conveyed under this
32702      section must be accompanied by the Installation Information.  But
32703      this requirement does not apply if neither you nor any third party
32704      retains the ability to install modified object code on the User
32705      Product (for example, the work has been installed in ROM).
32707      The requirement to provide Installation Information does not
32708      include a requirement to continue to provide support service,
32709      warranty, or updates for a work that has been modified or
32710      installed by the recipient, or for the User Product in which it
32711      has been modified or installed.  Access to a network may be denied
32712      when the modification itself materially and adversely affects the
32713      operation of the network or violates the rules and protocols for
32714      communication across the network.
32716      Corresponding Source conveyed, and Installation Information
32717      provided, in accord with this section must be in a format that is
32718      publicly documented (and with an implementation available to the
32719      public in source code form), and must require no special password
32720      or key for unpacking, reading or copying.
32722   7. Additional Terms.
32724      "Additional permissions" are terms that supplement the terms of
32725      this License by making exceptions from one or more of its
32726      conditions.  Additional permissions that are applicable to the
32727      entire Program shall be treated as though they were included in
32728      this License, to the extent that they are valid under applicable
32729      law.  If additional permissions apply only to part of the Program,
32730      that part may be used separately under those permissions, but the
32731      entire Program remains governed by this License without regard to
32732      the additional permissions.
32734      When you convey a copy of a covered work, you may at your option
32735      remove any additional permissions from that copy, or from any part
32736      of it.  (Additional permissions may be written to require their own
32737      removal in certain cases when you modify the work.)  You may place
32738      additional permissions on material, added by you to a covered work,
32739      for which you have or can give appropriate copyright permission.
32741      Notwithstanding any other provision of this License, for material
32742      you add to a covered work, you may (if authorized by the copyright
32743      holders of that material) supplement the terms of this License
32744      with terms:
32746        a. Disclaiming warranty or limiting liability differently from
32747           the terms of sections 15 and 16 of this License; or
32749        b. Requiring preservation of specified reasonable legal notices
32750           or author attributions in that material or in the Appropriate
32751           Legal Notices displayed by works containing it; or
32753        c. Prohibiting misrepresentation of the origin of that material,
32754           or requiring that modified versions of such material be
32755           marked in reasonable ways as different from the original
32756           version; or
32758        d. Limiting the use for publicity purposes of names of licensors
32759           or authors of the material; or
32761        e. Declining to grant rights under trademark law for use of some
32762           trade names, trademarks, or service marks; or
32764        f. Requiring indemnification of licensors and authors of that
32765           material by anyone who conveys the material (or modified
32766           versions of it) with contractual assumptions of liability to
32767           the recipient, for any liability that these contractual
32768           assumptions directly impose on those licensors and authors.
32770      All other non-permissive additional terms are considered "further
32771      restrictions" within the meaning of section 10.  If the Program as
32772      you received it, or any part of it, contains a notice stating that
32773      it is governed by this License along with a term that is a further
32774      restriction, you may remove that term.  If a license document
32775      contains a further restriction but permits relicensing or
32776      conveying under this License, you may add to a covered work
32777      material governed by the terms of that license document, provided
32778      that the further restriction does not survive such relicensing or
32779      conveying.
32781      If you add terms to a covered work in accord with this section, you
32782      must place, in the relevant source files, a statement of the
32783      additional terms that apply to those files, or a notice indicating
32784      where to find the applicable terms.
32786      Additional terms, permissive or non-permissive, may be stated in
32787      the form of a separately written license, or stated as exceptions;
32788      the above requirements apply either way.
32790   8. Termination.
32792      You may not propagate or modify a covered work except as expressly
32793      provided under this License.  Any attempt otherwise to propagate or
32794      modify it is void, and will automatically terminate your rights
32795      under this License (including any patent licenses granted under
32796      the third paragraph of section 11).
32798      However, if you cease all violation of this License, then your
32799      license from a particular copyright holder is reinstated (a)
32800      provisionally, unless and until the copyright holder explicitly
32801      and finally terminates your license, and (b) permanently, if the
32802      copyright holder fails to notify you of the violation by some
32803      reasonable means prior to 60 days after the cessation.
32805      Moreover, your license from a particular copyright holder is
32806      reinstated permanently if the copyright holder notifies you of the
32807      violation by some reasonable means, this is the first time you have
32808      received notice of violation of this License (for any work) from
32809      that copyright holder, and you cure the violation prior to 30 days
32810      after your receipt of the notice.
32812      Termination of your rights under this section does not terminate
32813      the licenses of parties who have received copies or rights from
32814      you under this License.  If your rights have been terminated and
32815      not permanently reinstated, you do not qualify to receive new
32816      licenses for the same material under section 10.
32818   9. Acceptance Not Required for Having Copies.
32820      You are not required to accept this License in order to receive or
32821      run a copy of the Program.  Ancillary propagation of a covered work
32822      occurring solely as a consequence of using peer-to-peer
32823      transmission to receive a copy likewise does not require
32824      acceptance.  However, nothing other than this License grants you
32825      permission to propagate or modify any covered work.  These actions
32826      infringe copyright if you do not accept this License.  Therefore,
32827      by modifying or propagating a covered work, you indicate your
32828      acceptance of this License to do so.
32830  10. Automatic Licensing of Downstream Recipients.
32832      Each time you convey a covered work, the recipient automatically
32833      receives a license from the original licensors, to run, modify and
32834      propagate that work, subject to this License.  You are not
32835      responsible for enforcing compliance by third parties with this
32836      License.
32838      An "entity transaction" is a transaction transferring control of an
32839      organization, or substantially all assets of one, or subdividing an
32840      organization, or merging organizations.  If propagation of a
32841      covered work results from an entity transaction, each party to that
32842      transaction who receives a copy of the work also receives whatever
32843      licenses to the work the party's predecessor in interest had or
32844      could give under the previous paragraph, plus a right to
32845      possession of the Corresponding Source of the work from the
32846      predecessor in interest, if the predecessor has it or can get it
32847      with reasonable efforts.
32849      You may not impose any further restrictions on the exercise of the
32850      rights granted or affirmed under this License.  For example, you
32851      may not impose a license fee, royalty, or other charge for
32852      exercise of rights granted under this License, and you may not
32853      initiate litigation (including a cross-claim or counterclaim in a
32854      lawsuit) alleging that any patent claim is infringed by making,
32855      using, selling, offering for sale, or importing the Program or any
32856      portion of it.
32858  11. Patents.
32860      A "contributor" is a copyright holder who authorizes use under this
32861      License of the Program or a work on which the Program is based.
32862      The work thus licensed is called the contributor's "contributor
32863      version".
32865      A contributor's "essential patent claims" are all patent claims
32866      owned or controlled by the contributor, whether already acquired or
32867      hereafter acquired, that would be infringed by some manner,
32868      permitted by this License, of making, using, or selling its
32869      contributor version, but do not include claims that would be
32870      infringed only as a consequence of further modification of the
32871      contributor version.  For purposes of this definition, "control"
32872      includes the right to grant patent sublicenses in a manner
32873      consistent with the requirements of this License.
32875      Each contributor grants you a non-exclusive, worldwide,
32876      royalty-free patent license under the contributor's essential
32877      patent claims, to make, use, sell, offer for sale, import and
32878      otherwise run, modify and propagate the contents of its
32879      contributor version.
32881      In the following three paragraphs, a "patent license" is any
32882      express agreement or commitment, however denominated, not to
32883      enforce a patent (such as an express permission to practice a
32884      patent or covenant not to sue for patent infringement).  To
32885      "grant" such a patent license to a party means to make such an
32886      agreement or commitment not to enforce a patent against the party.
32888      If you convey a covered work, knowingly relying on a patent
32889      license, and the Corresponding Source of the work is not available
32890      for anyone to copy, free of charge and under the terms of this
32891      License, through a publicly available network server or other
32892      readily accessible means, then you must either (1) cause the
32893      Corresponding Source to be so available, or (2) arrange to deprive
32894      yourself of the benefit of the patent license for this particular
32895      work, or (3) arrange, in a manner consistent with the requirements
32896      of this License, to extend the patent license to downstream
32897      recipients.  "Knowingly relying" means you have actual knowledge
32898      that, but for the patent license, your conveying the covered work
32899      in a country, or your recipient's use of the covered work in a
32900      country, would infringe one or more identifiable patents in that
32901      country that you have reason to believe are valid.
32903      If, pursuant to or in connection with a single transaction or
32904      arrangement, you convey, or propagate by procuring conveyance of, a
32905      covered work, and grant a patent license to some of the parties
32906      receiving the covered work authorizing them to use, propagate,
32907      modify or convey a specific copy of the covered work, then the
32908      patent license you grant is automatically extended to all
32909      recipients of the covered work and works based on it.
32911      A patent license is "discriminatory" if it does not include within
32912      the scope of its coverage, prohibits the exercise of, or is
32913      conditioned on the non-exercise of one or more of the rights that
32914      are specifically granted under this License.  You may not convey a
32915      covered work if you are a party to an arrangement with a third
32916      party that is in the business of distributing software, under
32917      which you make payment to the third party based on the extent of
32918      your activity of conveying the work, and under which the third
32919      party grants, to any of the parties who would receive the covered
32920      work from you, a discriminatory patent license (a) in connection
32921      with copies of the covered work conveyed by you (or copies made
32922      from those copies), or (b) primarily for and in connection with
32923      specific products or compilations that contain the covered work,
32924      unless you entered into that arrangement, or that patent license
32925      was granted, prior to 28 March 2007.
32927      Nothing in this License shall be construed as excluding or limiting
32928      any implied license or other defenses to infringement that may
32929      otherwise be available to you under applicable patent law.
32931  12. No Surrender of Others' Freedom.
32933      If conditions are imposed on you (whether by court order,
32934      agreement or otherwise) that contradict the conditions of this
32935      License, they do not excuse you from the conditions of this
32936      License.  If you cannot convey a covered work so as to satisfy
32937      simultaneously your obligations under this License and any other
32938      pertinent obligations, then as a consequence you may not convey it
32939      at all.  For example, if you agree to terms that obligate you to
32940      collect a royalty for further conveying from those to whom you
32941      convey the Program, the only way you could satisfy both those
32942      terms and this License would be to refrain entirely from conveying
32943      the Program.
32945  13. Use with the GNU Affero General Public License.
32947      Notwithstanding any other provision of this License, you have
32948      permission to link or combine any covered work with a work licensed
32949      under version 3 of the GNU Affero General Public License into a
32950      single combined work, and to convey the resulting work.  The terms
32951      of this License will continue to apply to the part which is the
32952      covered work, but the special requirements of the GNU Affero
32953      General Public License, section 13, concerning interaction through
32954      a network will apply to the combination as such.
32956  14. Revised Versions of this License.
32958      The Free Software Foundation may publish revised and/or new
32959      versions of the GNU General Public License from time to time.
32960      Such new versions will be similar in spirit to the present
32961      version, but may differ in detail to address new problems or
32962      concerns.
32964      Each version is given a distinguishing version number.  If the
32965      Program specifies that a certain numbered version of the GNU
32966      General Public License "or any later version" applies to it, you
32967      have the option of following the terms and conditions either of
32968      that numbered version or of any later version published by the
32969      Free Software Foundation.  If the Program does not specify a
32970      version number of the GNU General Public License, you may choose
32971      any version ever published by the Free Software Foundation.
32973      If the Program specifies that a proxy can decide which future
32974      versions of the GNU General Public License can be used, that
32975      proxy's public statement of acceptance of a version permanently
32976      authorizes you to choose that version for the Program.
32978      Later license versions may give you additional or different
32979      permissions.  However, no additional obligations are imposed on any
32980      author or copyright holder as a result of your choosing to follow a
32981      later version.
32983  15. Disclaimer of Warranty.
32985      THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
32986      APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE
32987      COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS"
32988      WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
32989      INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
32990      MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE
32991      RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.
32992      SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
32993      NECESSARY SERVICING, REPAIR OR CORRECTION.
32995  16. Limitation of Liability.
32997      IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
32998      WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES
32999      AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU
33000      FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
33001      CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE
33002      THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA
33003      BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
33004      PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
33005      PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF
33006      THE POSSIBILITY OF SUCH DAMAGES.
33008  17. Interpretation of Sections 15 and 16.
33010      If the disclaimer of warranty and limitation of liability provided
33011      above cannot be given local legal effect according to their terms,
33012      reviewing courts shall apply local law that most closely
33013      approximates an absolute waiver of all civil liability in
33014      connection with the Program, unless a warranty or assumption of
33015      liability accompanies a copy of the Program in return for a fee.
33018 END OF TERMS AND CONDITIONS
33019 ===========================
33021 How to Apply These Terms to Your New Programs
33022 =============================================
33024 If you develop a new program, and you want it to be of the greatest
33025 possible use to the public, the best way to achieve this is to make it
33026 free software which everyone can redistribute and change under these
33027 terms.
33029  To do so, attach the following notices to the program.  It is safest
33030 to attach them to the start of each source file to most effectively
33031 state the exclusion of warranty; and each file should have at least the
33032 "copyright" line and a pointer to where the full notice is found.
33034      ONE LINE TO GIVE THE PROGRAM'S NAME AND A BRIEF IDEA OF WHAT IT DOES.
33035      Copyright (C) YEAR NAME OF AUTHOR
33037      This program is free software: you can redistribute it and/or modify
33038      it under the terms of the GNU General Public License as published by
33039      the Free Software Foundation, either version 3 of the License, or (at
33040      your option) any later version.
33042      This program is distributed in the hope that it will be useful, but
33043      WITHOUT ANY WARRANTY; without even the implied warranty of
33044      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
33045      General Public License for more details.
33047      You should have received a copy of the GNU General Public License
33048      along with this program.  If not, see `http://www.gnu.org/licenses/'.
33050  Also add information on how to contact you by electronic and paper
33051 mail.
33053  If the program does terminal interaction, make it output a short
33054 notice like this when it starts in an interactive mode:
33056      PROGRAM Copyright (C) YEAR NAME OF AUTHOR
33057      This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
33058      This is free software, and you are welcome to redistribute it
33059      under certain conditions; type `show c' for details.
33061  The hypothetical commands `show w' and `show c' should show the
33062 appropriate parts of the General Public License.  Of course, your
33063 program's commands might be different; for a GUI interface, you would
33064 use an "about box".
33066  You should also get your employer (if you work as a programmer) or
33067 school, if any, to sign a "copyright disclaimer" for the program, if
33068 necessary.  For more information on this, and how to apply and follow
33069 the GNU GPL, see `http://www.gnu.org/licenses/'.
33071  The GNU General Public License does not permit incorporating your
33072 program into proprietary programs.  If your program is a subroutine
33073 library, you may consider it more useful to permit linking proprietary
33074 applications with the library.  If this is what you want to do, use the
33075 GNU Lesser General Public License instead of this License.  But first,
33076 please read `http://www.gnu.org/philosophy/why-not-lgpl.html'.
33078 \x1f
33079 File: gccint.info,  Node: GNU Free Documentation License,  Next: Contributors,  Prev: Copying,  Up: Top
33081 GNU Free Documentation License
33082 ******************************
33084                       Version 1.2, November 2002
33086      Copyright (C) 2000,2001,2002 Free Software Foundation, Inc.
33087      51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
33089      Everyone is permitted to copy and distribute verbatim copies
33090      of this license document, but changing it is not allowed.
33092   0. PREAMBLE
33094      The purpose of this License is to make a manual, textbook, or other
33095      functional and useful document "free" in the sense of freedom: to
33096      assure everyone the effective freedom to copy and redistribute it,
33097      with or without modifying it, either commercially or
33098      noncommercially.  Secondarily, this License preserves for the
33099      author and publisher a way to get credit for their work, while not
33100      being considered responsible for modifications made by others.
33102      This License is a kind of "copyleft", which means that derivative
33103      works of the document must themselves be free in the same sense.
33104      It complements the GNU General Public License, which is a copyleft
33105      license designed for free software.
33107      We have designed this License in order to use it for manuals for
33108      free software, because free software needs free documentation: a
33109      free program should come with manuals providing the same freedoms
33110      that the software does.  But this License is not limited to
33111      software manuals; it can be used for any textual work, regardless
33112      of subject matter or whether it is published as a printed book.
33113      We recommend this License principally for works whose purpose is
33114      instruction or reference.
33116   1. APPLICABILITY AND DEFINITIONS
33118      This License applies to any manual or other work, in any medium,
33119      that contains a notice placed by the copyright holder saying it
33120      can be distributed under the terms of this License.  Such a notice
33121      grants a world-wide, royalty-free license, unlimited in duration,
33122      to use that work under the conditions stated herein.  The
33123      "Document", below, refers to any such manual or work.  Any member
33124      of the public is a licensee, and is addressed as "you".  You
33125      accept the license if you copy, modify or distribute the work in a
33126      way requiring permission under copyright law.
33128      A "Modified Version" of the Document means any work containing the
33129      Document or a portion of it, either copied verbatim, or with
33130      modifications and/or translated into another language.
33132      A "Secondary Section" is a named appendix or a front-matter section
33133      of the Document that deals exclusively with the relationship of the
33134      publishers or authors of the Document to the Document's overall
33135      subject (or to related matters) and contains nothing that could
33136      fall directly within that overall subject.  (Thus, if the Document
33137      is in part a textbook of mathematics, a Secondary Section may not
33138      explain any mathematics.)  The relationship could be a matter of
33139      historical connection with the subject or with related matters, or
33140      of legal, commercial, philosophical, ethical or political position
33141      regarding them.
33143      The "Invariant Sections" are certain Secondary Sections whose
33144      titles are designated, as being those of Invariant Sections, in
33145      the notice that says that the Document is released under this
33146      License.  If a section does not fit the above definition of
33147      Secondary then it is not allowed to be designated as Invariant.
33148      The Document may contain zero Invariant Sections.  If the Document
33149      does not identify any Invariant Sections then there are none.
33151      The "Cover Texts" are certain short passages of text that are
33152      listed, as Front-Cover Texts or Back-Cover Texts, in the notice
33153      that says that the Document is released under this License.  A
33154      Front-Cover Text may be at most 5 words, and a Back-Cover Text may
33155      be at most 25 words.
33157      A "Transparent" copy of the Document means a machine-readable copy,
33158      represented in a format whose specification is available to the
33159      general public, that is suitable for revising the document
33160      straightforwardly with generic text editors or (for images
33161      composed of pixels) generic paint programs or (for drawings) some
33162      widely available drawing editor, and that is suitable for input to
33163      text formatters or for automatic translation to a variety of
33164      formats suitable for input to text formatters.  A copy made in an
33165      otherwise Transparent file format whose markup, or absence of
33166      markup, has been arranged to thwart or discourage subsequent
33167      modification by readers is not Transparent.  An image format is
33168      not Transparent if used for any substantial amount of text.  A
33169      copy that is not "Transparent" is called "Opaque".
33171      Examples of suitable formats for Transparent copies include plain
33172      ASCII without markup, Texinfo input format, LaTeX input format,
33173      SGML or XML using a publicly available DTD, and
33174      standard-conforming simple HTML, PostScript or PDF designed for
33175      human modification.  Examples of transparent image formats include
33176      PNG, XCF and JPG.  Opaque formats include proprietary formats that
33177      can be read and edited only by proprietary word processors, SGML or
33178      XML for which the DTD and/or processing tools are not generally
33179      available, and the machine-generated HTML, PostScript or PDF
33180      produced by some word processors for output purposes only.
33182      The "Title Page" means, for a printed book, the title page itself,
33183      plus such following pages as are needed to hold, legibly, the
33184      material this License requires to appear in the title page.  For
33185      works in formats which do not have any title page as such, "Title
33186      Page" means the text near the most prominent appearance of the
33187      work's title, preceding the beginning of the body of the text.
33189      A section "Entitled XYZ" means a named subunit of the Document
33190      whose title either is precisely XYZ or contains XYZ in parentheses
33191      following text that translates XYZ in another language.  (Here XYZ
33192      stands for a specific section name mentioned below, such as
33193      "Acknowledgements", "Dedications", "Endorsements", or "History".)
33194      To "Preserve the Title" of such a section when you modify the
33195      Document means that it remains a section "Entitled XYZ" according
33196      to this definition.
33198      The Document may include Warranty Disclaimers next to the notice
33199      which states that this License applies to the Document.  These
33200      Warranty Disclaimers are considered to be included by reference in
33201      this License, but only as regards disclaiming warranties: any other
33202      implication that these Warranty Disclaimers may have is void and
33203      has no effect on the meaning of this License.
33205   2. VERBATIM COPYING
33207      You may copy and distribute the Document in any medium, either
33208      commercially or noncommercially, provided that this License, the
33209      copyright notices, and the license notice saying this License
33210      applies to the Document are reproduced in all copies, and that you
33211      add no other conditions whatsoever to those of this License.  You
33212      may not use technical measures to obstruct or control the reading
33213      or further copying of the copies you make or distribute.  However,
33214      you may accept compensation in exchange for copies.  If you
33215      distribute a large enough number of copies you must also follow
33216      the conditions in section 3.
33218      You may also lend copies, under the same conditions stated above,
33219      and you may publicly display copies.
33221   3. COPYING IN QUANTITY
33223      If you publish printed copies (or copies in media that commonly
33224      have printed covers) of the Document, numbering more than 100, and
33225      the Document's license notice requires Cover Texts, you must
33226      enclose the copies in covers that carry, clearly and legibly, all
33227      these Cover Texts: Front-Cover Texts on the front cover, and
33228      Back-Cover Texts on the back cover.  Both covers must also clearly
33229      and legibly identify you as the publisher of these copies.  The
33230      front cover must present the full title with all words of the
33231      title equally prominent and visible.  You may add other material
33232      on the covers in addition.  Copying with changes limited to the
33233      covers, as long as they preserve the title of the Document and
33234      satisfy these conditions, can be treated as verbatim copying in
33235      other respects.
33237      If the required texts for either cover are too voluminous to fit
33238      legibly, you should put the first ones listed (as many as fit
33239      reasonably) on the actual cover, and continue the rest onto
33240      adjacent pages.
33242      If you publish or distribute Opaque copies of the Document
33243      numbering more than 100, you must either include a
33244      machine-readable Transparent copy along with each Opaque copy, or
33245      state in or with each Opaque copy a computer-network location from
33246      which the general network-using public has access to download
33247      using public-standard network protocols a complete Transparent
33248      copy of the Document, free of added material.  If you use the
33249      latter option, you must take reasonably prudent steps, when you
33250      begin distribution of Opaque copies in quantity, to ensure that
33251      this Transparent copy will remain thus accessible at the stated
33252      location until at least one year after the last time you
33253      distribute an Opaque copy (directly or through your agents or
33254      retailers) of that edition to the public.
33256      It is requested, but not required, that you contact the authors of
33257      the Document well before redistributing any large number of
33258      copies, to give them a chance to provide you with an updated
33259      version of the Document.
33261   4. MODIFICATIONS
33263      You may copy and distribute a Modified Version of the Document
33264      under the conditions of sections 2 and 3 above, provided that you
33265      release the Modified Version under precisely this License, with
33266      the Modified Version filling the role of the Document, thus
33267      licensing distribution and modification of the Modified Version to
33268      whoever possesses a copy of it.  In addition, you must do these
33269      things in the Modified Version:
33271        A. Use in the Title Page (and on the covers, if any) a title
33272           distinct from that of the Document, and from those of
33273           previous versions (which should, if there were any, be listed
33274           in the History section of the Document).  You may use the
33275           same title as a previous version if the original publisher of
33276           that version gives permission.
33278        B. List on the Title Page, as authors, one or more persons or
33279           entities responsible for authorship of the modifications in
33280           the Modified Version, together with at least five of the
33281           principal authors of the Document (all of its principal
33282           authors, if it has fewer than five), unless they release you
33283           from this requirement.
33285        C. State on the Title page the name of the publisher of the
33286           Modified Version, as the publisher.
33288        D. Preserve all the copyright notices of the Document.
33290        E. Add an appropriate copyright notice for your modifications
33291           adjacent to the other copyright notices.
33293        F. Include, immediately after the copyright notices, a license
33294           notice giving the public permission to use the Modified
33295           Version under the terms of this License, in the form shown in
33296           the Addendum below.
33298        G. Preserve in that license notice the full lists of Invariant
33299           Sections and required Cover Texts given in the Document's
33300           license notice.
33302        H. Include an unaltered copy of this License.
33304        I. Preserve the section Entitled "History", Preserve its Title,
33305           and add to it an item stating at least the title, year, new
33306           authors, and publisher of the Modified Version as given on
33307           the Title Page.  If there is no section Entitled "History" in
33308           the Document, create one stating the title, year, authors,
33309           and publisher of the Document as given on its Title Page,
33310           then add an item describing the Modified Version as stated in
33311           the previous sentence.
33313        J. Preserve the network location, if any, given in the Document
33314           for public access to a Transparent copy of the Document, and
33315           likewise the network locations given in the Document for
33316           previous versions it was based on.  These may be placed in
33317           the "History" section.  You may omit a network location for a
33318           work that was published at least four years before the
33319           Document itself, or if the original publisher of the version
33320           it refers to gives permission.
33322        K. For any section Entitled "Acknowledgements" or "Dedications",
33323           Preserve the Title of the section, and preserve in the
33324           section all the substance and tone of each of the contributor
33325           acknowledgements and/or dedications given therein.
33327        L. Preserve all the Invariant Sections of the Document,
33328           unaltered in their text and in their titles.  Section numbers
33329           or the equivalent are not considered part of the section
33330           titles.
33332        M. Delete any section Entitled "Endorsements".  Such a section
33333           may not be included in the Modified Version.
33335        N. Do not retitle any existing section to be Entitled
33336           "Endorsements" or to conflict in title with any Invariant
33337           Section.
33339        O. Preserve any Warranty Disclaimers.
33341      If the Modified Version includes new front-matter sections or
33342      appendices that qualify as Secondary Sections and contain no
33343      material copied from the Document, you may at your option
33344      designate some or all of these sections as invariant.  To do this,
33345      add their titles to the list of Invariant Sections in the Modified
33346      Version's license notice.  These titles must be distinct from any
33347      other section titles.
33349      You may add a section Entitled "Endorsements", provided it contains
33350      nothing but endorsements of your Modified Version by various
33351      parties--for example, statements of peer review or that the text
33352      has been approved by an organization as the authoritative
33353      definition of a standard.
33355      You may add a passage of up to five words as a Front-Cover Text,
33356      and a passage of up to 25 words as a Back-Cover Text, to the end
33357      of the list of Cover Texts in the Modified Version.  Only one
33358      passage of Front-Cover Text and one of Back-Cover Text may be
33359      added by (or through arrangements made by) any one entity.  If the
33360      Document already includes a cover text for the same cover,
33361      previously added by you or by arrangement made by the same entity
33362      you are acting on behalf of, you may not add another; but you may
33363      replace the old one, on explicit permission from the previous
33364      publisher that added the old one.
33366      The author(s) and publisher(s) of the Document do not by this
33367      License give permission to use their names for publicity for or to
33368      assert or imply endorsement of any Modified Version.
33370   5. COMBINING DOCUMENTS
33372      You may combine the Document with other documents released under
33373      this License, under the terms defined in section 4 above for
33374      modified versions, provided that you include in the combination
33375      all of the Invariant Sections of all of the original documents,
33376      unmodified, and list them all as Invariant Sections of your
33377      combined work in its license notice, and that you preserve all
33378      their Warranty Disclaimers.
33380      The combined work need only contain one copy of this License, and
33381      multiple identical Invariant Sections may be replaced with a single
33382      copy.  If there are multiple Invariant Sections with the same name
33383      but different contents, make the title of each such section unique
33384      by adding at the end of it, in parentheses, the name of the
33385      original author or publisher of that section if known, or else a
33386      unique number.  Make the same adjustment to the section titles in
33387      the list of Invariant Sections in the license notice of the
33388      combined work.
33390      In the combination, you must combine any sections Entitled
33391      "History" in the various original documents, forming one section
33392      Entitled "History"; likewise combine any sections Entitled
33393      "Acknowledgements", and any sections Entitled "Dedications".  You
33394      must delete all sections Entitled "Endorsements."
33396   6. COLLECTIONS OF DOCUMENTS
33398      You may make a collection consisting of the Document and other
33399      documents released under this License, and replace the individual
33400      copies of this License in the various documents with a single copy
33401      that is included in the collection, provided that you follow the
33402      rules of this License for verbatim copying of each of the
33403      documents in all other respects.
33405      You may extract a single document from such a collection, and
33406      distribute it individually under this License, provided you insert
33407      a copy of this License into the extracted document, and follow
33408      this License in all other respects regarding verbatim copying of
33409      that document.
33411   7. AGGREGATION WITH INDEPENDENT WORKS
33413      A compilation of the Document or its derivatives with other
33414      separate and independent documents or works, in or on a volume of
33415      a storage or distribution medium, is called an "aggregate" if the
33416      copyright resulting from the compilation is not used to limit the
33417      legal rights of the compilation's users beyond what the individual
33418      works permit.  When the Document is included in an aggregate, this
33419      License does not apply to the other works in the aggregate which
33420      are not themselves derivative works of the Document.
33422      If the Cover Text requirement of section 3 is applicable to these
33423      copies of the Document, then if the Document is less than one half
33424      of the entire aggregate, the Document's Cover Texts may be placed
33425      on covers that bracket the Document within the aggregate, or the
33426      electronic equivalent of covers if the Document is in electronic
33427      form.  Otherwise they must appear on printed covers that bracket
33428      the whole aggregate.
33430   8. TRANSLATION
33432      Translation is considered a kind of modification, so you may
33433      distribute translations of the Document under the terms of section
33434      4.  Replacing Invariant Sections with translations requires special
33435      permission from their copyright holders, but you may include
33436      translations of some or all Invariant Sections in addition to the
33437      original versions of these Invariant Sections.  You may include a
33438      translation of this License, and all the license notices in the
33439      Document, and any Warranty Disclaimers, provided that you also
33440      include the original English version of this License and the
33441      original versions of those notices and disclaimers.  In case of a
33442      disagreement between the translation and the original version of
33443      this License or a notice or disclaimer, the original version will
33444      prevail.
33446      If a section in the Document is Entitled "Acknowledgements",
33447      "Dedications", or "History", the requirement (section 4) to
33448      Preserve its Title (section 1) will typically require changing the
33449      actual title.
33451   9. TERMINATION
33453      You may not copy, modify, sublicense, or distribute the Document
33454      except as expressly provided for under this License.  Any other
33455      attempt to copy, modify, sublicense or distribute the Document is
33456      void, and will automatically terminate your rights under this
33457      License.  However, parties who have received copies, or rights,
33458      from you under this License will not have their licenses
33459      terminated so long as such parties remain in full compliance.
33461  10. FUTURE REVISIONS OF THIS LICENSE
33463      The Free Software Foundation may publish new, revised versions of
33464      the GNU Free Documentation License from time to time.  Such new
33465      versions will be similar in spirit to the present version, but may
33466      differ in detail to address new problems or concerns.  See
33467      `http://www.gnu.org/copyleft/'.
33469      Each version of the License is given a distinguishing version
33470      number.  If the Document specifies that a particular numbered
33471      version of this License "or any later version" applies to it, you
33472      have the option of following the terms and conditions either of
33473      that specified version or of any later version that has been
33474      published (not as a draft) by the Free Software Foundation.  If
33475      the Document does not specify a version number of this License,
33476      you may choose any version ever published (not as a draft) by the
33477      Free Software Foundation.
33479 ADDENDUM: How to use this License for your documents
33480 ====================================================
33482 To use this License in a document you have written, include a copy of
33483 the License in the document and put the following copyright and license
33484 notices just after the title page:
33486        Copyright (C)  YEAR  YOUR NAME.
33487        Permission is granted to copy, distribute and/or modify this document
33488        under the terms of the GNU Free Documentation License, Version 1.2
33489        or any later version published by the Free Software Foundation;
33490        with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
33491        Texts.  A copy of the license is included in the section entitled ``GNU
33492        Free Documentation License''.
33494  If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
33495 replace the "with...Texts." line with this:
33497          with the Invariant Sections being LIST THEIR TITLES, with
33498          the Front-Cover Texts being LIST, and with the Back-Cover Texts
33499          being LIST.
33501  If you have Invariant Sections without Cover Texts, or some other
33502 combination of the three, merge those two alternatives to suit the
33503 situation.
33505  If your document contains nontrivial examples of program code, we
33506 recommend releasing these examples in parallel under your choice of
33507 free software license, such as the GNU General Public License, to
33508 permit their use in free software.
33510 \x1f
33511 File: gccint.info,  Node: Contributors,  Next: Option Index,  Prev: GNU Free Documentation License,  Up: Top
33513 Contributors to GCC
33514 *******************
33516 The GCC project would like to thank its many contributors.  Without
33517 them the project would not have been nearly as successful as it has
33518 been.  Any omissions in this list are accidental.  Feel free to contact
33519 <law@redhat.com> or <gerald@pfeifer.com> if you have been left out or
33520 some of your contributions are not listed.  Please keep this list in
33521 alphabetical order.
33523    * Analog Devices helped implement the support for complex data types
33524      and iterators.
33526    * John David Anglin for threading-related fixes and improvements to
33527      libstdc++-v3, and the HP-UX port.
33529    * James van Artsdalen wrote the code that makes efficient use of the
33530      Intel 80387 register stack.
33532    * Abramo and Roberto Bagnara for the SysV68 Motorola 3300 Delta
33533      Series port.
33535    * Alasdair Baird for various bug fixes.
33537    * Giovanni Bajo for analyzing lots of complicated C++ problem
33538      reports.
33540    * Peter Barada for his work to improve code generation for new
33541      ColdFire cores.
33543    * Gerald Baumgartner added the signature extension to the C++ front
33544      end.
33546    * Godmar Back for his Java improvements and encouragement.
33548    * Scott Bambrough for help porting the Java compiler.
33550    * Wolfgang Bangerth for processing tons of bug reports.
33552    * Jon Beniston for his Microsoft Windows port of Java.
33554    * Daniel Berlin for better DWARF2 support, faster/better
33555      optimizations, improved alias analysis, plus migrating GCC to
33556      Bugzilla.
33558    * Geoff Berry for his Java object serialization work and various
33559      patches.
33561    * Uros Bizjak for the implementation of x87 math built-in functions
33562      and for various middle end and i386 back end improvements and bug
33563      fixes.
33565    * Eric Blake for helping to make GCJ and libgcj conform to the
33566      specifications.
33568    * Janne Blomqvist for contributions to GNU Fortran.
33570    * Segher Boessenkool for various fixes.
33572    * Hans-J. Boehm for his garbage collector, IA-64 libffi port, and
33573      other Java work.
33575    * Neil Booth for work on cpplib, lang hooks, debug hooks and other
33576      miscellaneous clean-ups.
33578    * Steven Bosscher for integrating the GNU Fortran front end into GCC
33579      and for contributing to the tree-ssa branch.
33581    * Eric Botcazou for fixing middle- and backend bugs left and right.
33583    * Per Bothner for his direction via the steering committee and
33584      various improvements to the infrastructure for supporting new
33585      languages.  Chill front end implementation.  Initial
33586      implementations of cpplib, fix-header, config.guess, libio, and
33587      past C++ library (libg++) maintainer.  Dreaming up, designing and
33588      implementing much of GCJ.
33590    * Devon Bowen helped port GCC to the Tahoe.
33592    * Don Bowman for mips-vxworks contributions.
33594    * Dave Brolley for work on cpplib and Chill.
33596    * Paul Brook for work on the ARM architecture and maintaining GNU
33597      Fortran.
33599    * Robert Brown implemented the support for Encore 32000 systems.
33601    * Christian Bruel for improvements to local store elimination.
33603    * Herman A.J. ten Brugge for various fixes.
33605    * Joerg Brunsmann for Java compiler hacking and help with the GCJ
33606      FAQ.
33608    * Joe Buck for his direction via the steering committee.
33610    * Craig Burley for leadership of the G77 Fortran effort.
33612    * Stephan Buys for contributing Doxygen notes for libstdc++.
33614    * Paolo Carlini for libstdc++ work: lots of efficiency improvements
33615      to the C++ strings, streambufs and formatted I/O, hard detective
33616      work on the frustrating localization issues, and keeping up with
33617      the problem reports.
33619    * John Carr for his alias work, SPARC hacking, infrastructure
33620      improvements, previous contributions to the steering committee,
33621      loop optimizations, etc.
33623    * Stephane Carrez for 68HC11 and 68HC12 ports.
33625    * Steve Chamberlain for support for the Renesas SH and H8 processors
33626      and the PicoJava processor, and for GCJ config fixes.
33628    * Glenn Chambers for help with the GCJ FAQ.
33630    * John-Marc Chandonia for various libgcj patches.
33632    * Scott Christley for his Objective-C contributions.
33634    * Eric Christopher for his Java porting help and clean-ups.
33636    * Branko Cibej for more warning contributions.
33638    * The GNU Classpath project for all of their merged runtime code.
33640    * Nick Clifton for arm, mcore, fr30, v850, m32r work, `--help', and
33641      other random hacking.
33643    * Michael Cook for libstdc++ cleanup patches to reduce warnings.
33645    * R. Kelley Cook for making GCC buildable from a read-only directory
33646      as well as other miscellaneous build process and documentation
33647      clean-ups.
33649    * Ralf Corsepius for SH testing and minor bug fixing.
33651    * Stan Cox for care and feeding of the x86 port and lots of behind
33652      the scenes hacking.
33654    * Alex Crain provided changes for the 3b1.
33656    * Ian Dall for major improvements to the NS32k port.
33658    * Paul Dale for his work to add uClinux platform support to the m68k
33659      backend.
33661    * Dario Dariol contributed the four varieties of sample programs
33662      that print a copy of their source.
33664    * Russell Davidson for fstream and stringstream fixes in libstdc++.
33666    * Bud Davis for work on the G77 and GNU Fortran compilers.
33668    * Mo DeJong for GCJ and libgcj bug fixes.
33670    * DJ Delorie for the DJGPP port, build and libiberty maintenance,
33671      various bug fixes, and the M32C port.
33673    * Arnaud Desitter for helping to debug GNU Fortran.
33675    * Gabriel Dos Reis for contributions to G++, contributions and
33676      maintenance of GCC diagnostics infrastructure, libstdc++-v3,
33677      including `valarray<>', `complex<>', maintaining the numerics
33678      library (including that pesky `<limits>' :-) and keeping
33679      up-to-date anything to do with numbers.
33681    * Ulrich Drepper for his work on glibc, testing of GCC using glibc,
33682      ISO C99 support, CFG dumping support, etc., plus support of the
33683      C++ runtime libraries including for all kinds of C interface
33684      issues, contributing and maintaining `complex<>', sanity checking
33685      and disbursement, configuration architecture, libio maintenance,
33686      and early math work.
33688    * Zdenek Dvorak for a new loop unroller and various fixes.
33690    * Richard Earnshaw for his ongoing work with the ARM.
33692    * David Edelsohn for his direction via the steering committee,
33693      ongoing work with the RS6000/PowerPC port, help cleaning up Haifa
33694      loop changes, doing the entire AIX port of libstdc++ with his bare
33695      hands, and for ensuring GCC properly keeps working on AIX.
33697    * Kevin Ediger for the floating point formatting of num_put::do_put
33698      in libstdc++.
33700    * Phil Edwards for libstdc++ work including configuration hackery,
33701      documentation maintainer, chief breaker of the web pages, the
33702      occasional iostream bug fix, and work on shared library symbol
33703      versioning.
33705    * Paul Eggert for random hacking all over GCC.
33707    * Mark Elbrecht for various DJGPP improvements, and for libstdc++
33708      configuration support for locales and fstream-related fixes.
33710    * Vadim Egorov for libstdc++ fixes in strings, streambufs, and
33711      iostreams.
33713    * Christian Ehrhardt for dealing with bug reports.
33715    * Ben Elliston for his work to move the Objective-C runtime into its
33716      own subdirectory and for his work on autoconf.
33718    * Revital Eres for work on the PowerPC 750CL port.
33720    * Marc Espie for OpenBSD support.
33722    * Doug Evans for much of the global optimization framework, arc,
33723      m32r, and SPARC work.
33725    * Christopher Faylor for his work on the Cygwin port and for caring
33726      and feeding the gcc.gnu.org box and saving its users tons of spam.
33728    * Fred Fish for BeOS support and Ada fixes.
33730    * Ivan Fontes Garcia for the Portuguese translation of the GCJ FAQ.
33732    * Peter Gerwinski for various bug fixes and the Pascal front end.
33734    * Kaveh R. Ghazi for his direction via the steering committee,
33735      amazing work to make `-W -Wall -W* -Werror' useful, and
33736      continuously testing GCC on a plethora of platforms.  Kaveh
33737      extends his gratitude to the CAIP Center at Rutgers University for
33738      providing him with computing resources to work on Free Software
33739      since the late 1980s.
33741    * John Gilmore for a donation to the FSF earmarked improving GNU
33742      Java.
33744    * Judy Goldberg for c++ contributions.
33746    * Torbjorn Granlund for various fixes and the c-torture testsuite,
33747      multiply- and divide-by-constant optimization, improved long long
33748      support, improved leaf function register allocation, and his
33749      direction via the steering committee.
33751    * Anthony Green for his `-Os' contributions and Java front end work.
33753    * Stu Grossman for gdb hacking, allowing GCJ developers to debug
33754      Java code.
33756    * Michael K. Gschwind contributed the port to the PDP-11.
33758    * Ron Guilmette implemented the `protoize' and `unprotoize' tools,
33759      the support for Dwarf symbolic debugging information, and much of
33760      the support for System V Release 4.  He has also worked heavily on
33761      the Intel 386 and 860 support.
33763    * Mostafa Hagog for Swing Modulo Scheduling (SMS) and post reload
33764      GCSE.
33766    * Bruno Haible for improvements in the runtime overhead for EH, new
33767      warnings and assorted bug fixes.
33769    * Andrew Haley for his amazing Java compiler and library efforts.
33771    * Chris Hanson assisted in making GCC work on HP-UX for the 9000
33772      series 300.
33774    * Michael Hayes for various thankless work he's done trying to get
33775      the c30/c40 ports functional.  Lots of loop and unroll
33776      improvements and fixes.
33778    * Dara Hazeghi for wading through myriads of target-specific bug
33779      reports.
33781    * Kate Hedstrom for staking the G77 folks with an initial testsuite.
33783    * Richard Henderson for his ongoing SPARC, alpha, ia32, and ia64
33784      work, loop opts, and generally fixing lots of old problems we've
33785      ignored for years, flow rewrite and lots of further stuff,
33786      including reviewing tons of patches.
33788    * Aldy Hernandez for working on the PowerPC port, SIMD support, and
33789      various fixes.
33791    * Nobuyuki Hikichi of Software Research Associates, Tokyo,
33792      contributed the support for the Sony NEWS machine.
33794    * Kazu Hirata for caring and feeding the Renesas H8/300 port and
33795      various fixes.
33797    * Katherine Holcomb for work on GNU Fortran.
33799    * Manfred Hollstein for his ongoing work to keep the m88k alive, lots
33800      of testing and bug fixing, particularly of GCC configury code.
33802    * Steve Holmgren for MachTen patches.
33804    * Jan Hubicka for his x86 port improvements.
33806    * Falk Hueffner for working on C and optimization bug reports.
33808    * Bernardo Innocenti for his m68k work, including merging of
33809      ColdFire improvements and uClinux support.
33811    * Christian Iseli for various bug fixes.
33813    * Kamil Iskra for general m68k hacking.
33815    * Lee Iverson for random fixes and MIPS testing.
33817    * Andreas Jaeger for testing and benchmarking of GCC and various bug
33818      fixes.
33820    * Jakub Jelinek for his SPARC work and sibling call optimizations as
33821      well as lots of bug fixes and test cases, and for improving the
33822      Java build system.
33824    * Janis Johnson for ia64 testing and fixes, her quality improvement
33825      sidetracks, and web page maintenance.
33827    * Kean Johnston for SCO OpenServer support and various fixes.
33829    * Tim Josling for the sample language treelang based originally on
33830      Richard Kenner's "toy" language.
33832    * Nicolai Josuttis for additional libstdc++ documentation.
33834    * Klaus Kaempf for his ongoing work to make alpha-vms a viable
33835      target.
33837    * Steven G. Kargl for work on GNU Fortran.
33839    * David Kashtan of SRI adapted GCC to VMS.
33841    * Ryszard Kabatek for many, many libstdc++ bug fixes and
33842      optimizations of strings, especially member functions, and for
33843      auto_ptr fixes.
33845    * Geoffrey Keating for his ongoing work to make the PPC work for
33846      GNU/Linux and his automatic regression tester.
33848    * Brendan Kehoe for his ongoing work with G++ and for a lot of early
33849      work in just about every part of libstdc++.
33851    * Oliver M. Kellogg of Deutsche Aerospace contributed the port to the
33852      MIL-STD-1750A.
33854    * Richard Kenner of the New York University Ultracomputer Research
33855      Laboratory wrote the machine descriptions for the AMD 29000, the
33856      DEC Alpha, the IBM RT PC, and the IBM RS/6000 as well as the
33857      support for instruction attributes.  He also made changes to
33858      better support RISC processors including changes to common
33859      subexpression elimination, strength reduction, function calling
33860      sequence handling, and condition code support, in addition to
33861      generalizing the code for frame pointer elimination and delay slot
33862      scheduling.  Richard Kenner was also the head maintainer of GCC
33863      for several years.
33865    * Mumit Khan for various contributions to the Cygwin and Mingw32
33866      ports and maintaining binary releases for Microsoft Windows hosts,
33867      and for massive libstdc++ porting work to Cygwin/Mingw32.
33869    * Robin Kirkham for cpu32 support.
33871    * Mark Klein for PA improvements.
33873    * Thomas Koenig for various bug fixes.
33875    * Bruce Korb for the new and improved fixincludes code.
33877    * Benjamin Kosnik for his G++ work and for leading the libstdc++-v3
33878      effort.
33880    * Charles LaBrec contributed the support for the Integrated Solutions
33881      68020 system.
33883    * Asher Langton and Mike Kumbera for contributing Cray pointer
33884      support to GNU Fortran, and for other GNU Fortran improvements.
33886    * Jeff Law for his direction via the steering committee,
33887      coordinating the entire egcs project and GCC 2.95, rolling out
33888      snapshots and releases, handling merges from GCC2, reviewing tons
33889      of patches that might have fallen through the cracks else, and
33890      random but extensive hacking.
33892    * Marc Lehmann for his direction via the steering committee and
33893      helping with analysis and improvements of x86 performance.
33895    * Victor Leikehman for work on GNU Fortran.
33897    * Ted Lemon wrote parts of the RTL reader and printer.
33899    * Kriang Lerdsuwanakij for C++ improvements including template as
33900      template parameter support, and many C++ fixes.
33902    * Warren Levy for tremendous work on libgcj (Java Runtime Library)
33903      and random work on the Java front end.
33905    * Alain Lichnewsky ported GCC to the MIPS CPU.
33907    * Oskar Liljeblad for hacking on AWT and his many Java bug reports
33908      and patches.
33910    * Robert Lipe for OpenServer support, new testsuites, testing, etc.
33912    * Chen Liqin for various S+core related fixes/improvement, and for
33913      maintaining the S+core port.
33915    * Weiwen Liu for testing and various bug fixes.
33917    * Manuel Lo'pez-Iba'n~ez for improving `-Wconversion' and many other
33918      diagnostics fixes and improvements.
33920    * Dave Love for his ongoing work with the Fortran front end and
33921      runtime libraries.
33923    * Martin von Lo"wis for internal consistency checking infrastructure,
33924      various C++ improvements including namespace support, and tons of
33925      assistance with libstdc++/compiler merges.
33927    * H.J. Lu for his previous contributions to the steering committee,
33928      many x86 bug reports, prototype patches, and keeping the GNU/Linux
33929      ports working.
33931    * Greg McGary for random fixes and (someday) bounded pointers.
33933    * Andrew MacLeod for his ongoing work in building a real EH system,
33934      various code generation improvements, work on the global
33935      optimizer, etc.
33937    * Vladimir Makarov for hacking some ugly i960 problems, PowerPC
33938      hacking improvements to compile-time performance, overall
33939      knowledge and direction in the area of instruction scheduling, and
33940      design and implementation of the automaton based instruction
33941      scheduler.
33943    * Bob Manson for his behind the scenes work on dejagnu.
33945    * Philip Martin for lots of libstdc++ string and vector iterator
33946      fixes and improvements, and string clean up and testsuites.
33948    * All of the Mauve project contributors, for Java test code.
33950    * Bryce McKinlay for numerous GCJ and libgcj fixes and improvements.
33952    * Adam Megacz for his work on the Microsoft Windows port of GCJ.
33954    * Michael Meissner for LRS framework, ia32, m32r, v850, m88k, MIPS,
33955      powerpc, haifa, ECOFF debug support, and other assorted hacking.
33957    * Jason Merrill for his direction via the steering committee and
33958      leading the G++ effort.
33960    * Martin Michlmayr for testing GCC on several architectures using the
33961      entire Debian archive.
33963    * David Miller for his direction via the steering committee, lots of
33964      SPARC work, improvements in jump.c and interfacing with the Linux
33965      kernel developers.
33967    * Gary Miller ported GCC to Charles River Data Systems machines.
33969    * Alfred Minarik for libstdc++ string and ios bug fixes, and turning
33970      the entire libstdc++ testsuite namespace-compatible.
33972    * Mark Mitchell for his direction via the steering committee,
33973      mountains of C++ work, load/store hoisting out of loops, alias
33974      analysis improvements, ISO C `restrict' support, and serving as
33975      release manager for GCC 3.x.
33977    * Alan Modra for various GNU/Linux bits and testing.
33979    * Toon Moene for his direction via the steering committee, Fortran
33980      maintenance, and his ongoing work to make us make Fortran run fast.
33982    * Jason Molenda for major help in the care and feeding of all the
33983      services on the gcc.gnu.org (formerly egcs.cygnus.com)
33984      machine--mail, web services, ftp services, etc etc.  Doing all
33985      this work on scrap paper and the backs of envelopes would have
33986      been... difficult.
33988    * Catherine Moore for fixing various ugly problems we have sent her
33989      way, including the haifa bug which was killing the Alpha & PowerPC
33990      Linux kernels.
33992    * Mike Moreton for his various Java patches.
33994    * David Mosberger-Tang for various Alpha improvements, and for the
33995      initial IA-64 port.
33997    * Stephen Moshier contributed the floating point emulator that
33998      assists in cross-compilation and permits support for floating
33999      point numbers wider than 64 bits and for ISO C99 support.
34001    * Bill Moyer for his behind the scenes work on various issues.
34003    * Philippe De Muyter for his work on the m68k port.
34005    * Joseph S. Myers for his work on the PDP-11 port, format checking
34006      and ISO C99 support, and continuous emphasis on (and contributions
34007      to) documentation.
34009    * Nathan Myers for his work on libstdc++-v3: architecture and
34010      authorship through the first three snapshots, including
34011      implementation of locale infrastructure, string, shadow C headers,
34012      and the initial project documentation (DESIGN, CHECKLIST, and so
34013      forth).  Later, more work on MT-safe string and shadow headers.
34015    * Felix Natter for documentation on porting libstdc++.
34017    * Nathanael Nerode for cleaning up the configuration/build process.
34019    * NeXT, Inc. donated the front end that supports the Objective-C
34020      language.
34022    * Hans-Peter Nilsson for the CRIS and MMIX ports, improvements to
34023      the search engine setup, various documentation fixes and other
34024      small fixes.
34026    * Geoff Noer for his work on getting cygwin native builds working.
34028    * Diego Novillo for his work on Tree SSA, OpenMP, SPEC performance
34029      tracking web pages and assorted fixes.
34031    * David O'Brien for the FreeBSD/alpha, FreeBSD/AMD x86-64,
34032      FreeBSD/ARM, FreeBSD/PowerPC, and FreeBSD/SPARC64 ports and
34033      related infrastructure improvements.
34035    * Alexandre Oliva for various build infrastructure improvements,
34036      scripts and amazing testing work, including keeping libtool issues
34037      sane and happy.
34039    * Stefan Olsson for work on mt_alloc.
34041    * Melissa O'Neill for various NeXT fixes.
34043    * Rainer Orth for random MIPS work, including improvements to GCC's
34044      o32 ABI support, improvements to dejagnu's MIPS support, Java
34045      configuration clean-ups and porting work, etc.
34047    * Hartmut Penner for work on the s390 port.
34049    * Paul Petersen wrote the machine description for the Alliant FX/8.
34051    * Alexandre Petit-Bianco for implementing much of the Java compiler
34052      and continued Java maintainership.
34054    * Matthias Pfaller for major improvements to the NS32k port.
34056    * Gerald Pfeifer for his direction via the steering committee,
34057      pointing out lots of problems we need to solve, maintenance of the
34058      web pages, and taking care of documentation maintenance in general.
34060    * Andrew Pinski for processing bug reports by the dozen.
34062    * Ovidiu Predescu for his work on the Objective-C front end and
34063      runtime libraries.
34065    * Jerry Quinn for major performance improvements in C++ formatted
34066      I/O.
34068    * Ken Raeburn for various improvements to checker, MIPS ports and
34069      various cleanups in the compiler.
34071    * Rolf W. Rasmussen for hacking on AWT.
34073    * David Reese of Sun Microsystems contributed to the Solaris on
34074      PowerPC port.
34076    * Volker Reichelt for keeping up with the problem reports.
34078    * Joern Rennecke for maintaining the sh port, loop, regmove & reload
34079      hacking.
34081    * Loren J. Rittle for improvements to libstdc++-v3 including the
34082      FreeBSD port, threading fixes, thread-related configury changes,
34083      critical threading documentation, and solutions to really tricky
34084      I/O problems, as well as keeping GCC properly working on FreeBSD
34085      and continuous testing.
34087    * Craig Rodrigues for processing tons of bug reports.
34089    * Ola Ro"nnerup for work on mt_alloc.
34091    * Gavin Romig-Koch for lots of behind the scenes MIPS work.
34093    * David Ronis inspired and encouraged Craig to rewrite the G77
34094      documentation in texinfo format by contributing a first pass at a
34095      translation of the old `g77-0.5.16/f/DOC' file.
34097    * Ken Rose for fixes to GCC's delay slot filling code.
34099    * Paul Rubin wrote most of the preprocessor.
34101    * Pe'tur Runo'lfsson for major performance improvements in C++
34102      formatted I/O and large file support in C++ filebuf.
34104    * Chip Salzenberg for libstdc++ patches and improvements to locales,
34105      traits, Makefiles, libio, libtool hackery, and "long long" support.
34107    * Juha Sarlin for improvements to the H8 code generator.
34109    * Greg Satz assisted in making GCC work on HP-UX for the 9000 series
34110      300.
34112    * Roger Sayle for improvements to constant folding and GCC's RTL
34113      optimizers as well as for fixing numerous bugs.
34115    * Bradley Schatz for his work on the GCJ FAQ.
34117    * Peter Schauer wrote the code to allow debugging to work on the
34118      Alpha.
34120    * William Schelter did most of the work on the Intel 80386 support.
34122    * Tobias Schlu"ter for work on GNU Fortran.
34124    * Bernd Schmidt for various code generation improvements and major
34125      work in the reload pass as well a serving as release manager for
34126      GCC 2.95.3.
34128    * Peter Schmid for constant testing of libstdc++--especially
34129      application testing, going above and beyond what was requested for
34130      the release criteria--and libstdc++ header file tweaks.
34132    * Jason Schroeder for jcf-dump patches.
34134    * Andreas Schwab for his work on the m68k port.
34136    * Lars Segerlund for work on GNU Fortran.
34138    * Joel Sherrill for his direction via the steering committee, RTEMS
34139      contributions and RTEMS testing.
34141    * Nathan Sidwell for many C++ fixes/improvements.
34143    * Jeffrey Siegal for helping RMS with the original design of GCC,
34144      some code which handles the parse tree and RTL data structures,
34145      constant folding and help with the original VAX & m68k ports.
34147    * Kenny Simpson for prompting libstdc++ fixes due to defect reports
34148      from the LWG (thereby keeping GCC in line with updates from the
34149      ISO).
34151    * Franz Sirl for his ongoing work with making the PPC port stable
34152      for GNU/Linux.
34154    * Andrey Slepuhin for assorted AIX hacking.
34156    * Trevor Smigiel for contributing the SPU port.
34158    * Christopher Smith did the port for Convex machines.
34160    * Danny Smith for his major efforts on the Mingw (and Cygwin) ports.
34162    * Randy Smith finished the Sun FPA support.
34164    * Scott Snyder for queue, iterator, istream, and string fixes and
34165      libstdc++ testsuite entries.  Also for providing the patch to G77
34166      to add rudimentary support for `INTEGER*1', `INTEGER*2', and
34167      `LOGICAL*1'.
34169    * Brad Spencer for contributions to the GLIBCPP_FORCE_NEW technique.
34171    * Richard Stallman, for writing the original GCC and launching the
34172      GNU project.
34174    * Jan Stein of the Chalmers Computer Society provided support for
34175      Genix, as well as part of the 32000 machine description.
34177    * Nigel Stephens for various mips16 related fixes/improvements.
34179    * Jonathan Stone wrote the machine description for the Pyramid
34180      computer.
34182    * Graham Stott for various infrastructure improvements.
34184    * John Stracke for his Java HTTP protocol fixes.
34186    * Mike Stump for his Elxsi port, G++ contributions over the years
34187      and more recently his vxworks contributions
34189    * Jeff Sturm for Java porting help, bug fixes, and encouragement.
34191    * Shigeya Suzuki for this fixes for the bsdi platforms.
34193    * Ian Lance Taylor for his mips16 work, general configury hacking,
34194      fixincludes, etc.
34196    * Holger Teutsch provided the support for the Clipper CPU.
34198    * Gary Thomas for his ongoing work to make the PPC work for
34199      GNU/Linux.
34201    * Philipp Thomas for random bug fixes throughout the compiler
34203    * Jason Thorpe for thread support in libstdc++ on NetBSD.
34205    * Kresten Krab Thorup wrote the run time support for the Objective-C
34206      language and the fantastic Java bytecode interpreter.
34208    * Michael Tiemann for random bug fixes, the first instruction
34209      scheduler, initial C++ support, function integration, NS32k, SPARC
34210      and M88k machine description work, delay slot scheduling.
34212    * Andreas Tobler for his work porting libgcj to Darwin.
34214    * Teemu Torma for thread safe exception handling support.
34216    * Leonard Tower wrote parts of the parser, RTL generator, and RTL
34217      definitions, and of the VAX machine description.
34219    * Tom Tromey for internationalization support and for his many Java
34220      contributions and libgcj maintainership.
34222    * Lassi Tuura for improvements to config.guess to determine HP
34223      processor types.
34225    * Petter Urkedal for libstdc++ CXXFLAGS, math, and algorithms fixes.
34227    * Andy Vaught for the design and initial implementation of the GNU
34228      Fortran front end.
34230    * Brent Verner for work with the libstdc++ cshadow files and their
34231      associated configure steps.
34233    * Todd Vierling for contributions for NetBSD ports.
34235    * Jonathan Wakely for contributing libstdc++ Doxygen notes and XHTML
34236      guidance.
34238    * Dean Wakerley for converting the install documentation from HTML
34239      to texinfo in time for GCC 3.0.
34241    * Krister Walfridsson for random bug fixes.
34243    * Feng Wang for contributions to GNU Fortran.
34245    * Stephen M. Webb for time and effort on making libstdc++ shadow
34246      files work with the tricky Solaris 8+ headers, and for pushing the
34247      build-time header tree.
34249    * John Wehle for various improvements for the x86 code generator,
34250      related infrastructure improvements to help x86 code generation,
34251      value range propagation and other work, WE32k port.
34253    * Ulrich Weigand for work on the s390 port.
34255    * Zack Weinberg for major work on cpplib and various other bug fixes.
34257    * Matt Welsh for help with Linux Threads support in GCJ.
34259    * Urban Widmark for help fixing java.io.
34261    * Mark Wielaard for new Java library code and his work integrating
34262      with Classpath.
34264    * Dale Wiles helped port GCC to the Tahoe.
34266    * Bob Wilson from Tensilica, Inc. for the Xtensa port.
34268    * Jim Wilson for his direction via the steering committee, tackling
34269      hard problems in various places that nobody else wanted to work
34270      on, strength reduction and other loop optimizations.
34272    * Paul Woegerer and Tal Agmon for the CRX port.
34274    * Carlo Wood for various fixes.
34276    * Tom Wood for work on the m88k port.
34278    * Canqun Yang for work on GNU Fortran.
34280    * Masanobu Yuhara of Fujitsu Laboratories implemented the machine
34281      description for the Tron architecture (specifically, the Gmicro).
34283    * Kevin Zachmann helped port GCC to the Tahoe.
34285    * Ayal Zaks for Swing Modulo Scheduling (SMS).
34287    * Xiaoqiang Zhang for work on GNU Fortran.
34289    * Gilles Zunino for help porting Java to Irix.
34292  The following people are recognized for their contributions to GNAT,
34293 the Ada front end of GCC:
34294    * Bernard Banner
34296    * Romain Berrendonner
34298    * Geert Bosch
34300    * Emmanuel Briot
34302    * Joel Brobecker
34304    * Ben Brosgol
34306    * Vincent Celier
34308    * Arnaud Charlet
34310    * Chien Chieng
34312    * Cyrille Comar
34314    * Cyrille Crozes
34316    * Robert Dewar
34318    * Gary Dismukes
34320    * Robert Duff
34322    * Ed Falis
34324    * Ramon Fernandez
34326    * Sam Figueroa
34328    * Vasiliy Fofanov
34330    * Michael Friess
34332    * Franco Gasperoni
34334    * Ted Giering
34336    * Matthew Gingell
34338    * Laurent Guerby
34340    * Jerome Guitton
34342    * Olivier Hainque
34344    * Jerome Hugues
34346    * Hristian Kirtchev
34348    * Jerome Lambourg
34350    * Bruno Leclerc
34352    * Albert Lee
34354    * Sean McNeil
34356    * Javier Miranda
34358    * Laurent Nana
34360    * Pascal Obry
34362    * Dong-Ik Oh
34364    * Laurent Pautet
34366    * Brett Porter
34368    * Thomas Quinot
34370    * Nicolas Roche
34372    * Pat Rogers
34374    * Jose Ruiz
34376    * Douglas Rupp
34378    * Sergey Rybin
34380    * Gail Schenker
34382    * Ed Schonberg
34384    * Nicolas Setton
34386    * Samuel Tardieu
34389  The following people are recognized for their contributions of new
34390 features, bug reports, testing and integration of classpath/libgcj for
34391 GCC version 4.1:
34392    * Lillian Angel for `JTree' implementation and lots Free Swing
34393      additions and bug fixes.
34395    * Wolfgang Baer for `GapContent' bug fixes.
34397    * Anthony Balkissoon for `JList', Free Swing 1.5 updates and mouse
34398      event fixes, lots of Free Swing work including `JTable' editing.
34400    * Stuart Ballard for RMI constant fixes.
34402    * Goffredo Baroncelli for `HTTPURLConnection' fixes.
34404    * Gary Benson for `MessageFormat' fixes.
34406    * Daniel Bonniot for `Serialization' fixes.
34408    * Chris Burdess for lots of gnu.xml and http protocol fixes, `StAX'
34409      and `DOM xml:id' support.
34411    * Ka-Hing Cheung for `TreePath' and `TreeSelection' fixes.
34413    * Archie Cobbs for build fixes, VM interface updates,
34414      `URLClassLoader' updates.
34416    * Kelley Cook for build fixes.
34418    * Martin Cordova for Suggestions for better `SocketTimeoutException'.
34420    * David Daney for `BitSet' bug fixes, `HttpURLConnection' rewrite
34421      and improvements.
34423    * Thomas Fitzsimmons for lots of upgrades to the gtk+ AWT and Cairo
34424      2D support. Lots of imageio framework additions, lots of AWT and
34425      Free Swing bug fixes.
34427    * Jeroen Frijters for `ClassLoader' and nio cleanups, serialization
34428      fixes, better `Proxy' support, bug fixes and IKVM integration.
34430    * Santiago Gala for `AccessControlContext' fixes.
34432    * Nicolas Geoffray for `VMClassLoader' and `AccessController'
34433      improvements.
34435    * David Gilbert for `basic' and `metal' icon and plaf support and
34436      lots of documenting, Lots of Free Swing and metal theme additions.
34437      `MetalIconFactory' implementation.
34439    * Anthony Green for `MIDI' framework, `ALSA' and `DSSI' providers.
34441    * Andrew Haley for `Serialization' and `URLClassLoader' fixes, gcj
34442      build speedups.
34444    * Kim Ho for `JFileChooser' implementation.
34446    * Andrew John Hughes for `Locale' and net fixes, URI RFC2986
34447      updates, `Serialization' fixes, `Properties' XML support and
34448      generic branch work, VMIntegration guide update.
34450    * Bastiaan Huisman for `TimeZone' bug fixing.
34452    * Andreas Jaeger for mprec updates.
34454    * Paul Jenner for better `-Werror' support.
34456    * Ito Kazumitsu for `NetworkInterface' implementation and updates.
34458    * Roman Kennke for `BoxLayout', `GrayFilter' and `SplitPane', plus
34459      bug fixes all over. Lots of Free Swing work including styled text.
34461    * Simon Kitching for `String' cleanups and optimization suggestions.
34463    * Michael Koch for configuration fixes, `Locale' updates, bug and
34464      build fixes.
34466    * Guilhem Lavaux for configuration, thread and channel fixes and
34467      Kaffe integration. JCL native `Pointer' updates. Logger bug fixes.
34469    * David Lichteblau for JCL support library global/local reference
34470      cleanups.
34472    * Aaron Luchko for JDWP updates and documentation fixes.
34474    * Ziga Mahkovec for `Graphics2D' upgraded to Cairo 0.5 and new regex
34475      features.
34477    * Sven de Marothy for BMP imageio support, CSS and `TextLayout'
34478      fixes. `GtkImage' rewrite, 2D, awt, free swing and date/time fixes
34479      and implementing the Qt4 peers.
34481    * Casey Marshall for crypto algorithm fixes, `FileChannel' lock,
34482      `SystemLogger' and `FileHandler' rotate implementations, NIO
34483      `FileChannel.map' support, security and policy updates.
34485    * Bryce McKinlay for RMI work.
34487    * Audrius Meskauskas for lots of Free Corba, RMI and HTML work plus
34488      testing and documenting.
34490    * Kalle Olavi Niemitalo for build fixes.
34492    * Rainer Orth for build fixes.
34494    * Andrew Overholt for `File' locking fixes.
34496    * Ingo Proetel for `Image', `Logger' and `URLClassLoader' updates.
34498    * Olga Rodimina for `MenuSelectionManager' implementation.
34500    * Jan Roehrich for `BasicTreeUI' and `JTree' fixes.
34502    * Julian Scheid for documentation updates and gjdoc support.
34504    * Christian Schlichtherle for zip fixes and cleanups.
34506    * Robert Schuster for documentation updates and beans fixes,
34507      `TreeNode' enumerations and `ActionCommand' and various fixes, XML
34508      and URL, AWT and Free Swing bug fixes.
34510    * Keith Seitz for lots of JDWP work.
34512    * Christian Thalinger for 64-bit cleanups, Configuration and VM
34513      interface fixes and `CACAO' integration, `fdlibm' updates.
34515    * Gael Thomas for `VMClassLoader' boot packages support suggestions.
34517    * Andreas Tobler for Darwin and Solaris testing and fixing, `Qt4'
34518      support for Darwin/OS X, `Graphics2D' support, `gtk+' updates.
34520    * Dalibor Topic for better `DEBUG' support, build cleanups and Kaffe
34521      integration. `Qt4' build infrastructure, `SHA1PRNG' and
34522      `GdkPixbugDecoder' updates.
34524    * Tom Tromey for Eclipse integration, generics work, lots of bug
34525      fixes and gcj integration including coordinating The Big Merge.
34527    * Mark Wielaard for bug fixes, packaging and release management,
34528      `Clipboard' implementation, system call interrupts and network
34529      timeouts and `GdkPixpufDecoder' fixes.
34532  In addition to the above, all of which also contributed time and
34533 energy in testing GCC, we would like to thank the following for their
34534 contributions to testing:
34536    * Michael Abd-El-Malek
34538    * Thomas Arend
34540    * Bonzo Armstrong
34542    * Steven Ashe
34544    * Chris Baldwin
34546    * David Billinghurst
34548    * Jim Blandy
34550    * Stephane Bortzmeyer
34552    * Horst von Brand
34554    * Frank Braun
34556    * Rodney Brown
34558    * Sidney Cadot
34560    * Bradford Castalia
34562    * Jonathan Corbet
34564    * Ralph Doncaster
34566    * Richard Emberson
34568    * Levente Farkas
34570    * Graham Fawcett
34572    * Mark Fernyhough
34574    * Robert A. French
34576    * Jo"rgen Freyh
34578    * Mark K. Gardner
34580    * Charles-Antoine Gauthier
34582    * Yung Shing Gene
34584    * David Gilbert
34586    * Simon Gornall
34588    * Fred Gray
34590    * John Griffin
34592    * Patrik Hagglund
34594    * Phil Hargett
34596    * Amancio Hasty
34598    * Takafumi Hayashi
34600    * Bryan W. Headley
34602    * Kevin B. Hendricks
34604    * Joep Jansen
34606    * Christian Joensson
34608    * Michel Kern
34610    * David Kidd
34612    * Tobias Kuipers
34614    * Anand Krishnaswamy
34616    * A. O. V. Le Blanc
34618    * llewelly
34620    * Damon Love
34622    * Brad Lucier
34624    * Matthias Klose
34626    * Martin Knoblauch
34628    * Rick Lutowski
34630    * Jesse Macnish
34632    * Stefan Morrell
34634    * Anon A. Mous
34636    * Matthias Mueller
34638    * Pekka Nikander
34640    * Rick Niles
34642    * Jon Olson
34644    * Magnus Persson
34646    * Chris Pollard
34648    * Richard Polton
34650    * Derk Reefman
34652    * David Rees
34654    * Paul Reilly
34656    * Tom Reilly
34658    * Torsten Rueger
34660    * Danny Sadinoff
34662    * Marc Schifer
34664    * Erik Schnetter
34666    * Wayne K. Schroll
34668    * David Schuler
34670    * Vin Shelton
34672    * Tim Souder
34674    * Adam Sulmicki
34676    * Bill Thorson
34678    * George Talbot
34680    * Pedro A. M. Vazquez
34682    * Gregory Warnes
34684    * Ian Watson
34686    * David E. Young
34688    * And many others
34690  And finally we'd like to thank everyone who uses the compiler, submits
34691 bug reports and generally reminds us why we're doing this work in the
34692 first place.
34694 \x1f
34695 File: gccint.info,  Node: Option Index,  Next: Concept Index,  Prev: Contributors,  Up: Top
34697 Option Index
34698 ************
34700 GCC's command line options are indexed here without any initial `-' or
34701 `--'.  Where an option has both positive and negative forms (such as
34702 `-fOPTION' and `-fno-OPTION'), relevant entries in the manual are
34703 indexed under the most appropriate form; it may sometimes be useful to
34704 look up both forms.
34706 \0\b[index\0\b]
34707 * Menu:
34709 * msoft-float:                           Soft float library routines.
34710                                                                 (line 6)
34712 \x1f
34713 File: gccint.info,  Node: Concept Index,  Prev: Option Index,  Up: Top
34715 Concept Index
34716 *************
34718 \0\b[index\0\b]
34719 * Menu:
34721 * ! in constraint:                       Multi-Alternative.  (line   47)
34722 * # in constraint:                       Modifiers.          (line   67)
34723 * # in template:                         Output Template.    (line   66)
34724 * #pragma:                               Misc.               (line  487)
34725 * % in constraint:                       Modifiers.          (line   45)
34726 * % in GTY option:                       GTY Options.        (line   18)
34727 * % in template:                         Output Template.    (line    6)
34728 * & in constraint:                       Modifiers.          (line   25)
34729 * (:                                     Sections.           (line  160)
34730 * (nil):                                 RTL Objects.        (line   73)
34731 * *:                                     Host Common.        (line   17)
34732 * * in constraint:                       Modifiers.          (line   72)
34733 * * in template:                         Output Statement.   (line   29)
34734 * *TARGET_GET_PCH_VALIDITY:              PCH Target.         (line    7)
34735 * + in constraint:                       Modifiers.          (line   12)
34736 * -fsection-anchors <1>:                 Anchored Addresses. (line    6)
34737 * -fsection-anchors:                     Special Accessors.  (line  106)
34738 * /c in RTL dump:                        Flags.              (line  219)
34739 * /f in RTL dump:                        Flags.              (line  224)
34740 * /i in RTL dump:                        Flags.              (line  276)
34741 * /j in RTL dump:                        Flags.              (line  289)
34742 * /s in RTL dump:                        Flags.              (line  240)
34743 * /u in RTL dump:                        Flags.              (line  299)
34744 * /v in RTL dump:                        Flags.              (line  331)
34745 * 0 in constraint:                       Simple Constraints. (line  118)
34746 * < in constraint:                       Simple Constraints. (line   46)
34747 * = in constraint:                       Modifiers.          (line    8)
34748 * > in constraint:                       Simple Constraints. (line   50)
34749 * ? in constraint:                       Multi-Alternative.  (line   41)
34750 * \:                                     Output Template.    (line   46)
34751 * __absvdi2:                             Integer library routines.
34752                                                              (line  107)
34753 * __absvsi2:                             Integer library routines.
34754                                                              (line  106)
34755 * __addda3:                              Fixed-point fractional library routines.
34756                                                              (line   45)
34757 * __adddf3:                              Soft float library routines.
34758                                                              (line   23)
34759 * __adddq3:                              Fixed-point fractional library routines.
34760                                                              (line   33)
34761 * __addha3:                              Fixed-point fractional library routines.
34762                                                              (line   43)
34763 * __addhq3:                              Fixed-point fractional library routines.
34764                                                              (line   30)
34765 * __addqq3:                              Fixed-point fractional library routines.
34766                                                              (line   29)
34767 * __addsa3:                              Fixed-point fractional library routines.
34768                                                              (line   44)
34769 * __addsf3:                              Soft float library routines.
34770                                                              (line   22)
34771 * __addsq3:                              Fixed-point fractional library routines.
34772                                                              (line   31)
34773 * __addta3:                              Fixed-point fractional library routines.
34774                                                              (line   47)
34775 * __addtf3:                              Soft float library routines.
34776                                                              (line   25)
34777 * __adduda3:                             Fixed-point fractional library routines.
34778                                                              (line   53)
34779 * __addudq3:                             Fixed-point fractional library routines.
34780                                                              (line   41)
34781 * __adduha3:                             Fixed-point fractional library routines.
34782                                                              (line   49)
34783 * __adduhq3:                             Fixed-point fractional library routines.
34784                                                              (line   37)
34785 * __adduqq3:                             Fixed-point fractional library routines.
34786                                                              (line   35)
34787 * __addusa3:                             Fixed-point fractional library routines.
34788                                                              (line   51)
34789 * __addusq3:                             Fixed-point fractional library routines.
34790                                                              (line   39)
34791 * __adduta3:                             Fixed-point fractional library routines.
34792                                                              (line   55)
34793 * __addvdi3:                             Integer library routines.
34794                                                              (line  111)
34795 * __addvsi3:                             Integer library routines.
34796                                                              (line  110)
34797 * __addxf3:                              Soft float library routines.
34798                                                              (line   27)
34799 * __ashlda3:                             Fixed-point fractional library routines.
34800                                                              (line  351)
34801 * __ashldi3:                             Integer library routines.
34802                                                              (line   14)
34803 * __ashldq3:                             Fixed-point fractional library routines.
34804                                                              (line  340)
34805 * __ashlha3:                             Fixed-point fractional library routines.
34806                                                              (line  349)
34807 * __ashlhq3:                             Fixed-point fractional library routines.
34808                                                              (line  337)
34809 * __ashlqq3:                             Fixed-point fractional library routines.
34810                                                              (line  336)
34811 * __ashlsa3:                             Fixed-point fractional library routines.
34812                                                              (line  350)
34813 * __ashlsi3:                             Integer library routines.
34814                                                              (line   13)
34815 * __ashlsq3:                             Fixed-point fractional library routines.
34816                                                              (line  338)
34817 * __ashlta3:                             Fixed-point fractional library routines.
34818                                                              (line  353)
34819 * __ashlti3:                             Integer library routines.
34820                                                              (line   15)
34821 * __ashluda3:                            Fixed-point fractional library routines.
34822                                                              (line  359)
34823 * __ashludq3:                            Fixed-point fractional library routines.
34824                                                              (line  348)
34825 * __ashluha3:                            Fixed-point fractional library routines.
34826                                                              (line  355)
34827 * __ashluhq3:                            Fixed-point fractional library routines.
34828                                                              (line  344)
34829 * __ashluqq3:                            Fixed-point fractional library routines.
34830                                                              (line  342)
34831 * __ashlusa3:                            Fixed-point fractional library routines.
34832                                                              (line  357)
34833 * __ashlusq3:                            Fixed-point fractional library routines.
34834                                                              (line  346)
34835 * __ashluta3:                            Fixed-point fractional library routines.
34836                                                              (line  361)
34837 * __ashrda3:                             Fixed-point fractional library routines.
34838                                                              (line  371)
34839 * __ashrdi3:                             Integer library routines.
34840                                                              (line   19)
34841 * __ashrdq3:                             Fixed-point fractional library routines.
34842                                                              (line  368)
34843 * __ashrha3:                             Fixed-point fractional library routines.
34844                                                              (line  369)
34845 * __ashrhq3:                             Fixed-point fractional library routines.
34846                                                              (line  365)
34847 * __ashrqq3:                             Fixed-point fractional library routines.
34848                                                              (line  364)
34849 * __ashrsa3:                             Fixed-point fractional library routines.
34850                                                              (line  370)
34851 * __ashrsi3:                             Integer library routines.
34852                                                              (line   18)
34853 * __ashrsq3:                             Fixed-point fractional library routines.
34854                                                              (line  366)
34855 * __ashrta3:                             Fixed-point fractional library routines.
34856                                                              (line  373)
34857 * __ashrti3:                             Integer library routines.
34858                                                              (line   20)
34859 * __bid_adddd3:                          Decimal float library routines.
34860                                                              (line   25)
34861 * __bid_addsd3:                          Decimal float library routines.
34862                                                              (line   21)
34863 * __bid_addtd3:                          Decimal float library routines.
34864                                                              (line   29)
34865 * __bid_divdd3:                          Decimal float library routines.
34866                                                              (line   68)
34867 * __bid_divsd3:                          Decimal float library routines.
34868                                                              (line   64)
34869 * __bid_divtd3:                          Decimal float library routines.
34870                                                              (line   72)
34871 * __bid_eqdd2:                           Decimal float library routines.
34872                                                              (line  259)
34873 * __bid_eqsd2:                           Decimal float library routines.
34874                                                              (line  257)
34875 * __bid_eqtd2:                           Decimal float library routines.
34876                                                              (line  261)
34877 * __bid_extendddtd2:                     Decimal float library routines.
34878                                                              (line   92)
34879 * __bid_extendddtf:                      Decimal float library routines.
34880                                                              (line  140)
34881 * __bid_extendddxf:                      Decimal float library routines.
34882                                                              (line  134)
34883 * __bid_extenddfdd:                      Decimal float library routines.
34884                                                              (line  147)
34885 * __bid_extenddftd:                      Decimal float library routines.
34886                                                              (line  107)
34887 * __bid_extendsddd2:                     Decimal float library routines.
34888                                                              (line   88)
34889 * __bid_extendsddf:                      Decimal float library routines.
34890                                                              (line  128)
34891 * __bid_extendsdtd2:                     Decimal float library routines.
34892                                                              (line   90)
34893 * __bid_extendsdtf:                      Decimal float library routines.
34894                                                              (line  138)
34895 * __bid_extendsdxf:                      Decimal float library routines.
34896                                                              (line  132)
34897 * __bid_extendsfdd:                      Decimal float library routines.
34898                                                              (line  103)
34899 * __bid_extendsfsd:                      Decimal float library routines.
34900                                                              (line  145)
34901 * __bid_extendsftd:                      Decimal float library routines.
34902                                                              (line  105)
34903 * __bid_extendtftd:                      Decimal float library routines.
34904                                                              (line  149)
34905 * __bid_extendxftd:                      Decimal float library routines.
34906                                                              (line  109)
34907 * __bid_fixdddi:                         Decimal float library routines.
34908                                                              (line  170)
34909 * __bid_fixddsi:                         Decimal float library routines.
34910                                                              (line  162)
34911 * __bid_fixsddi:                         Decimal float library routines.
34912                                                              (line  168)
34913 * __bid_fixsdsi:                         Decimal float library routines.
34914                                                              (line  160)
34915 * __bid_fixtddi:                         Decimal float library routines.
34916                                                              (line  172)
34917 * __bid_fixtdsi:                         Decimal float library routines.
34918                                                              (line  164)
34919 * __bid_fixunsdddi:                      Decimal float library routines.
34920                                                              (line  187)
34921 * __bid_fixunsddsi:                      Decimal float library routines.
34922                                                              (line  178)
34923 * __bid_fixunssddi:                      Decimal float library routines.
34924                                                              (line  185)
34925 * __bid_fixunssdsi:                      Decimal float library routines.
34926                                                              (line  176)
34927 * __bid_fixunstddi:                      Decimal float library routines.
34928                                                              (line  189)
34929 * __bid_fixunstdsi:                      Decimal float library routines.
34930                                                              (line  180)
34931 * __bid_floatdidd:                       Decimal float library routines.
34932                                                              (line  205)
34933 * __bid_floatdisd:                       Decimal float library routines.
34934                                                              (line  203)
34935 * __bid_floatditd:                       Decimal float library routines.
34936                                                              (line  207)
34937 * __bid_floatsidd:                       Decimal float library routines.
34938                                                              (line  196)
34939 * __bid_floatsisd:                       Decimal float library routines.
34940                                                              (line  194)
34941 * __bid_floatsitd:                       Decimal float library routines.
34942                                                              (line  198)
34943 * __bid_floatunsdidd:                    Decimal float library routines.
34944                                                              (line  223)
34945 * __bid_floatunsdisd:                    Decimal float library routines.
34946                                                              (line  221)
34947 * __bid_floatunsditd:                    Decimal float library routines.
34948                                                              (line  225)
34949 * __bid_floatunssidd:                    Decimal float library routines.
34950                                                              (line  214)
34951 * __bid_floatunssisd:                    Decimal float library routines.
34952                                                              (line  212)
34953 * __bid_floatunssitd:                    Decimal float library routines.
34954                                                              (line  216)
34955 * __bid_gedd2:                           Decimal float library routines.
34956                                                              (line  277)
34957 * __bid_gesd2:                           Decimal float library routines.
34958                                                              (line  275)
34959 * __bid_getd2:                           Decimal float library routines.
34960                                                              (line  279)
34961 * __bid_gtdd2:                           Decimal float library routines.
34962                                                              (line  304)
34963 * __bid_gtsd2:                           Decimal float library routines.
34964                                                              (line  302)
34965 * __bid_gttd2:                           Decimal float library routines.
34966                                                              (line  306)
34967 * __bid_ledd2:                           Decimal float library routines.
34968                                                              (line  295)
34969 * __bid_lesd2:                           Decimal float library routines.
34970                                                              (line  293)
34971 * __bid_letd2:                           Decimal float library routines.
34972                                                              (line  297)
34973 * __bid_ltdd2:                           Decimal float library routines.
34974                                                              (line  286)
34975 * __bid_ltsd2:                           Decimal float library routines.
34976                                                              (line  284)
34977 * __bid_lttd2:                           Decimal float library routines.
34978                                                              (line  288)
34979 * __bid_muldd3:                          Decimal float library routines.
34980                                                              (line   54)
34981 * __bid_mulsd3:                          Decimal float library routines.
34982                                                              (line   50)
34983 * __bid_multd3:                          Decimal float library routines.
34984                                                              (line   58)
34985 * __bid_nedd2:                           Decimal float library routines.
34986                                                              (line  268)
34987 * __bid_negdd2:                          Decimal float library routines.
34988                                                              (line   78)
34989 * __bid_negsd2:                          Decimal float library routines.
34990                                                              (line   76)
34991 * __bid_negtd2:                          Decimal float library routines.
34992                                                              (line   80)
34993 * __bid_nesd2:                           Decimal float library routines.
34994                                                              (line  266)
34995 * __bid_netd2:                           Decimal float library routines.
34996                                                              (line  270)
34997 * __bid_subdd3:                          Decimal float library routines.
34998                                                              (line   39)
34999 * __bid_subsd3:                          Decimal float library routines.
35000                                                              (line   35)
35001 * __bid_subtd3:                          Decimal float library routines.
35002                                                              (line   43)
35003 * __bid_truncdddf:                       Decimal float library routines.
35004                                                              (line  153)
35005 * __bid_truncddsd2:                      Decimal float library routines.
35006                                                              (line   94)
35007 * __bid_truncddsf:                       Decimal float library routines.
35008                                                              (line  124)
35009 * __bid_truncdfsd:                       Decimal float library routines.
35010                                                              (line  111)
35011 * __bid_truncsdsf:                       Decimal float library routines.
35012                                                              (line  151)
35013 * __bid_trunctddd2:                      Decimal float library routines.
35014                                                              (line   98)
35015 * __bid_trunctddf:                       Decimal float library routines.
35016                                                              (line  130)
35017 * __bid_trunctdsd2:                      Decimal float library routines.
35018                                                              (line   96)
35019 * __bid_trunctdsf:                       Decimal float library routines.
35020                                                              (line  126)
35021 * __bid_trunctdtf:                       Decimal float library routines.
35022                                                              (line  155)
35023 * __bid_trunctdxf:                       Decimal float library routines.
35024                                                              (line  136)
35025 * __bid_trunctfdd:                       Decimal float library routines.
35026                                                              (line  119)
35027 * __bid_trunctfsd:                       Decimal float library routines.
35028                                                              (line  115)
35029 * __bid_truncxfdd:                       Decimal float library routines.
35030                                                              (line  117)
35031 * __bid_truncxfsd:                       Decimal float library routines.
35032                                                              (line  113)
35033 * __bid_unorddd2:                        Decimal float library routines.
35034                                                              (line  235)
35035 * __bid_unordsd2:                        Decimal float library routines.
35036                                                              (line  233)
35037 * __bid_unordtd2:                        Decimal float library routines.
35038                                                              (line  237)
35039 * __bswapdi2:                            Integer library routines.
35040                                                              (line  162)
35041 * __bswapsi2:                            Integer library routines.
35042                                                              (line  161)
35043 * __builtin_args_info:                   Varargs.            (line   42)
35044 * __builtin_classify_type:               Varargs.            (line   76)
35045 * __builtin_next_arg:                    Varargs.            (line   66)
35046 * __builtin_saveregs:                    Varargs.            (line   24)
35047 * __clear_cache:                         Miscellaneous routines.
35048                                                              (line   10)
35049 * __clzdi2:                              Integer library routines.
35050                                                              (line  131)
35051 * __clzsi2:                              Integer library routines.
35052                                                              (line  130)
35053 * __clzti2:                              Integer library routines.
35054                                                              (line  132)
35055 * __cmpda2:                              Fixed-point fractional library routines.
35056                                                              (line  451)
35057 * __cmpdf2:                              Soft float library routines.
35058                                                              (line  164)
35059 * __cmpdi2:                              Integer library routines.
35060                                                              (line   87)
35061 * __cmpdq2:                              Fixed-point fractional library routines.
35062                                                              (line  441)
35063 * __cmpha2:                              Fixed-point fractional library routines.
35064                                                              (line  449)
35065 * __cmphq2:                              Fixed-point fractional library routines.
35066                                                              (line  438)
35067 * __cmpqq2:                              Fixed-point fractional library routines.
35068                                                              (line  437)
35069 * __cmpsa2:                              Fixed-point fractional library routines.
35070                                                              (line  450)
35071 * __cmpsf2:                              Soft float library routines.
35072                                                              (line  163)
35073 * __cmpsq2:                              Fixed-point fractional library routines.
35074                                                              (line  439)
35075 * __cmpta2:                              Fixed-point fractional library routines.
35076                                                              (line  453)
35077 * __cmptf2:                              Soft float library routines.
35078                                                              (line  165)
35079 * __cmpti2:                              Integer library routines.
35080                                                              (line   88)
35081 * __cmpuda2:                             Fixed-point fractional library routines.
35082                                                              (line  458)
35083 * __cmpudq2:                             Fixed-point fractional library routines.
35084                                                              (line  448)
35085 * __cmpuha2:                             Fixed-point fractional library routines.
35086                                                              (line  455)
35087 * __cmpuhq2:                             Fixed-point fractional library routines.
35088                                                              (line  444)
35089 * __cmpuqq2:                             Fixed-point fractional library routines.
35090                                                              (line  443)
35091 * __cmpusa2:                             Fixed-point fractional library routines.
35092                                                              (line  456)
35093 * __cmpusq2:                             Fixed-point fractional library routines.
35094                                                              (line  446)
35095 * __cmputa2:                             Fixed-point fractional library routines.
35096                                                              (line  460)
35097 * __CTOR_LIST__:                         Initialization.     (line   25)
35098 * __ctzdi2:                              Integer library routines.
35099                                                              (line  138)
35100 * __ctzsi2:                              Integer library routines.
35101                                                              (line  137)
35102 * __ctzti2:                              Integer library routines.
35103                                                              (line  139)
35104 * __divda3:                              Fixed-point fractional library routines.
35105                                                              (line  227)
35106 * __divdc3:                              Soft float library routines.
35107                                                              (line  252)
35108 * __divdf3:                              Soft float library routines.
35109                                                              (line   48)
35110 * __divdi3:                              Integer library routines.
35111                                                              (line   25)
35112 * __divdq3:                              Fixed-point fractional library routines.
35113                                                              (line  223)
35114 * __divha3:                              Fixed-point fractional library routines.
35115                                                              (line  225)
35116 * __divhq3:                              Fixed-point fractional library routines.
35117                                                              (line  220)
35118 * __divqq3:                              Fixed-point fractional library routines.
35119                                                              (line  219)
35120 * __divsa3:                              Fixed-point fractional library routines.
35121                                                              (line  226)
35122 * __divsc3:                              Soft float library routines.
35123                                                              (line  250)
35124 * __divsf3:                              Soft float library routines.
35125                                                              (line   47)
35126 * __divsi3:                              Integer library routines.
35127                                                              (line   24)
35128 * __divsq3:                              Fixed-point fractional library routines.
35129                                                              (line  221)
35130 * __divta3:                              Fixed-point fractional library routines.
35131                                                              (line  229)
35132 * __divtc3:                              Soft float library routines.
35133                                                              (line  254)
35134 * __divtf3:                              Soft float library routines.
35135                                                              (line   50)
35136 * __divti3:                              Integer library routines.
35137                                                              (line   26)
35138 * __divxc3:                              Soft float library routines.
35139                                                              (line  256)
35140 * __divxf3:                              Soft float library routines.
35141                                                              (line   52)
35142 * __dpd_adddd3:                          Decimal float library routines.
35143                                                              (line   23)
35144 * __dpd_addsd3:                          Decimal float library routines.
35145                                                              (line   19)
35146 * __dpd_addtd3:                          Decimal float library routines.
35147                                                              (line   27)
35148 * __dpd_divdd3:                          Decimal float library routines.
35149                                                              (line   66)
35150 * __dpd_divsd3:                          Decimal float library routines.
35151                                                              (line   62)
35152 * __dpd_divtd3:                          Decimal float library routines.
35153                                                              (line   70)
35154 * __dpd_eqdd2:                           Decimal float library routines.
35155                                                              (line  258)
35156 * __dpd_eqsd2:                           Decimal float library routines.
35157                                                              (line  256)
35158 * __dpd_eqtd2:                           Decimal float library routines.
35159                                                              (line  260)
35160 * __dpd_extendddtd2:                     Decimal float library routines.
35161                                                              (line   91)
35162 * __dpd_extendddtf:                      Decimal float library routines.
35163                                                              (line  139)
35164 * __dpd_extendddxf:                      Decimal float library routines.
35165                                                              (line  133)
35166 * __dpd_extenddfdd:                      Decimal float library routines.
35167                                                              (line  146)
35168 * __dpd_extenddftd:                      Decimal float library routines.
35169                                                              (line  106)
35170 * __dpd_extendsddd2:                     Decimal float library routines.
35171                                                              (line   87)
35172 * __dpd_extendsddf:                      Decimal float library routines.
35173                                                              (line  127)
35174 * __dpd_extendsdtd2:                     Decimal float library routines.
35175                                                              (line   89)
35176 * __dpd_extendsdtf:                      Decimal float library routines.
35177                                                              (line  137)
35178 * __dpd_extendsdxf:                      Decimal float library routines.
35179                                                              (line  131)
35180 * __dpd_extendsfdd:                      Decimal float library routines.
35181                                                              (line  102)
35182 * __dpd_extendsfsd:                      Decimal float library routines.
35183                                                              (line  144)
35184 * __dpd_extendsftd:                      Decimal float library routines.
35185                                                              (line  104)
35186 * __dpd_extendtftd:                      Decimal float library routines.
35187                                                              (line  148)
35188 * __dpd_extendxftd:                      Decimal float library routines.
35189                                                              (line  108)
35190 * __dpd_fixdddi:                         Decimal float library routines.
35191                                                              (line  169)
35192 * __dpd_fixddsi:                         Decimal float library routines.
35193                                                              (line  161)
35194 * __dpd_fixsddi:                         Decimal float library routines.
35195                                                              (line  167)
35196 * __dpd_fixsdsi:                         Decimal float library routines.
35197                                                              (line  159)
35198 * __dpd_fixtddi:                         Decimal float library routines.
35199                                                              (line  171)
35200 * __dpd_fixtdsi:                         Decimal float library routines.
35201                                                              (line  163)
35202 * __dpd_fixunsdddi:                      Decimal float library routines.
35203                                                              (line  186)
35204 * __dpd_fixunsddsi:                      Decimal float library routines.
35205                                                              (line  177)
35206 * __dpd_fixunssddi:                      Decimal float library routines.
35207                                                              (line  184)
35208 * __dpd_fixunssdsi:                      Decimal float library routines.
35209                                                              (line  175)
35210 * __dpd_fixunstddi:                      Decimal float library routines.
35211                                                              (line  188)
35212 * __dpd_fixunstdsi:                      Decimal float library routines.
35213                                                              (line  179)
35214 * __dpd_floatdidd:                       Decimal float library routines.
35215                                                              (line  204)
35216 * __dpd_floatdisd:                       Decimal float library routines.
35217                                                              (line  202)
35218 * __dpd_floatditd:                       Decimal float library routines.
35219                                                              (line  206)
35220 * __dpd_floatsidd:                       Decimal float library routines.
35221                                                              (line  195)
35222 * __dpd_floatsisd:                       Decimal float library routines.
35223                                                              (line  193)
35224 * __dpd_floatsitd:                       Decimal float library routines.
35225                                                              (line  197)
35226 * __dpd_floatunsdidd:                    Decimal float library routines.
35227                                                              (line  222)
35228 * __dpd_floatunsdisd:                    Decimal float library routines.
35229                                                              (line  220)
35230 * __dpd_floatunsditd:                    Decimal float library routines.
35231                                                              (line  224)
35232 * __dpd_floatunssidd:                    Decimal float library routines.
35233                                                              (line  213)
35234 * __dpd_floatunssisd:                    Decimal float library routines.
35235                                                              (line  211)
35236 * __dpd_floatunssitd:                    Decimal float library routines.
35237                                                              (line  215)
35238 * __dpd_gedd2:                           Decimal float library routines.
35239                                                              (line  276)
35240 * __dpd_gesd2:                           Decimal float library routines.
35241                                                              (line  274)
35242 * __dpd_getd2:                           Decimal float library routines.
35243                                                              (line  278)
35244 * __dpd_gtdd2:                           Decimal float library routines.
35245                                                              (line  303)
35246 * __dpd_gtsd2:                           Decimal float library routines.
35247                                                              (line  301)
35248 * __dpd_gttd2:                           Decimal float library routines.
35249                                                              (line  305)
35250 * __dpd_ledd2:                           Decimal float library routines.
35251                                                              (line  294)
35252 * __dpd_lesd2:                           Decimal float library routines.
35253                                                              (line  292)
35254 * __dpd_letd2:                           Decimal float library routines.
35255                                                              (line  296)
35256 * __dpd_ltdd2:                           Decimal float library routines.
35257                                                              (line  285)
35258 * __dpd_ltsd2:                           Decimal float library routines.
35259                                                              (line  283)
35260 * __dpd_lttd2:                           Decimal float library routines.
35261                                                              (line  287)
35262 * __dpd_muldd3:                          Decimal float library routines.
35263                                                              (line   52)
35264 * __dpd_mulsd3:                          Decimal float library routines.
35265                                                              (line   48)
35266 * __dpd_multd3:                          Decimal float library routines.
35267                                                              (line   56)
35268 * __dpd_nedd2:                           Decimal float library routines.
35269                                                              (line  267)
35270 * __dpd_negdd2:                          Decimal float library routines.
35271                                                              (line   77)
35272 * __dpd_negsd2:                          Decimal float library routines.
35273                                                              (line   75)
35274 * __dpd_negtd2:                          Decimal float library routines.
35275                                                              (line   79)
35276 * __dpd_nesd2:                           Decimal float library routines.
35277                                                              (line  265)
35278 * __dpd_netd2:                           Decimal float library routines.
35279                                                              (line  269)
35280 * __dpd_subdd3:                          Decimal float library routines.
35281                                                              (line   37)
35282 * __dpd_subsd3:                          Decimal float library routines.
35283                                                              (line   33)
35284 * __dpd_subtd3:                          Decimal float library routines.
35285                                                              (line   41)
35286 * __dpd_truncdddf:                       Decimal float library routines.
35287                                                              (line  152)
35288 * __dpd_truncddsd2:                      Decimal float library routines.
35289                                                              (line   93)
35290 * __dpd_truncddsf:                       Decimal float library routines.
35291                                                              (line  123)
35292 * __dpd_truncdfsd:                       Decimal float library routines.
35293                                                              (line  110)
35294 * __dpd_truncsdsf:                       Decimal float library routines.
35295                                                              (line  150)
35296 * __dpd_trunctddd2:                      Decimal float library routines.
35297                                                              (line   97)
35298 * __dpd_trunctddf:                       Decimal float library routines.
35299                                                              (line  129)
35300 * __dpd_trunctdsd2:                      Decimal float library routines.
35301                                                              (line   95)
35302 * __dpd_trunctdsf:                       Decimal float library routines.
35303                                                              (line  125)
35304 * __dpd_trunctdtf:                       Decimal float library routines.
35305                                                              (line  154)
35306 * __dpd_trunctdxf:                       Decimal float library routines.
35307                                                              (line  135)
35308 * __dpd_trunctfdd:                       Decimal float library routines.
35309                                                              (line  118)
35310 * __dpd_trunctfsd:                       Decimal float library routines.
35311                                                              (line  114)
35312 * __dpd_truncxfdd:                       Decimal float library routines.
35313                                                              (line  116)
35314 * __dpd_truncxfsd:                       Decimal float library routines.
35315                                                              (line  112)
35316 * __dpd_unorddd2:                        Decimal float library routines.
35317                                                              (line  234)
35318 * __dpd_unordsd2:                        Decimal float library routines.
35319                                                              (line  232)
35320 * __dpd_unordtd2:                        Decimal float library routines.
35321                                                              (line  236)
35322 * __DTOR_LIST__:                         Initialization.     (line   25)
35323 * __eqdf2:                               Soft float library routines.
35324                                                              (line  194)
35325 * __eqsf2:                               Soft float library routines.
35326                                                              (line  193)
35327 * __eqtf2:                               Soft float library routines.
35328                                                              (line  195)
35329 * __extenddftf2:                         Soft float library routines.
35330                                                              (line   68)
35331 * __extenddfxf2:                         Soft float library routines.
35332                                                              (line   69)
35333 * __extendsfdf2:                         Soft float library routines.
35334                                                              (line   65)
35335 * __extendsftf2:                         Soft float library routines.
35336                                                              (line   66)
35337 * __extendsfxf2:                         Soft float library routines.
35338                                                              (line   67)
35339 * __ffsdi2:                              Integer library routines.
35340                                                              (line  144)
35341 * __ffsti2:                              Integer library routines.
35342                                                              (line  145)
35343 * __fixdfdi:                             Soft float library routines.
35344                                                              (line   88)
35345 * __fixdfsi:                             Soft float library routines.
35346                                                              (line   81)
35347 * __fixdfti:                             Soft float library routines.
35348                                                              (line   94)
35349 * __fixsfdi:                             Soft float library routines.
35350                                                              (line   87)
35351 * __fixsfsi:                             Soft float library routines.
35352                                                              (line   80)
35353 * __fixsfti:                             Soft float library routines.
35354                                                              (line   93)
35355 * __fixtfdi:                             Soft float library routines.
35356                                                              (line   89)
35357 * __fixtfsi:                             Soft float library routines.
35358                                                              (line   82)
35359 * __fixtfti:                             Soft float library routines.
35360                                                              (line   95)
35361 * __fixunsdfdi:                          Soft float library routines.
35362                                                              (line  108)
35363 * __fixunsdfsi:                          Soft float library routines.
35364                                                              (line  101)
35365 * __fixunsdfti:                          Soft float library routines.
35366                                                              (line  115)
35367 * __fixunssfdi:                          Soft float library routines.
35368                                                              (line  107)
35369 * __fixunssfsi:                          Soft float library routines.
35370                                                              (line  100)
35371 * __fixunssfti:                          Soft float library routines.
35372                                                              (line  114)
35373 * __fixunstfdi:                          Soft float library routines.
35374                                                              (line  109)
35375 * __fixunstfsi:                          Soft float library routines.
35376                                                              (line  102)
35377 * __fixunstfti:                          Soft float library routines.
35378                                                              (line  116)
35379 * __fixunsxfdi:                          Soft float library routines.
35380                                                              (line  110)
35381 * __fixunsxfsi:                          Soft float library routines.
35382                                                              (line  103)
35383 * __fixunsxfti:                          Soft float library routines.
35384                                                              (line  117)
35385 * __fixxfdi:                             Soft float library routines.
35386                                                              (line   90)
35387 * __fixxfsi:                             Soft float library routines.
35388                                                              (line   83)
35389 * __fixxfti:                             Soft float library routines.
35390                                                              (line   96)
35391 * __floatdidf:                           Soft float library routines.
35392                                                              (line  128)
35393 * __floatdisf:                           Soft float library routines.
35394                                                              (line  127)
35395 * __floatditf:                           Soft float library routines.
35396                                                              (line  129)
35397 * __floatdixf:                           Soft float library routines.
35398                                                              (line  130)
35399 * __floatsidf:                           Soft float library routines.
35400                                                              (line  122)
35401 * __floatsisf:                           Soft float library routines.
35402                                                              (line  121)
35403 * __floatsitf:                           Soft float library routines.
35404                                                              (line  123)
35405 * __floatsixf:                           Soft float library routines.
35406                                                              (line  124)
35407 * __floattidf:                           Soft float library routines.
35408                                                              (line  134)
35409 * __floattisf:                           Soft float library routines.
35410                                                              (line  133)
35411 * __floattitf:                           Soft float library routines.
35412                                                              (line  135)
35413 * __floattixf:                           Soft float library routines.
35414                                                              (line  136)
35415 * __floatundidf:                         Soft float library routines.
35416                                                              (line  146)
35417 * __floatundisf:                         Soft float library routines.
35418                                                              (line  145)
35419 * __floatunditf:                         Soft float library routines.
35420                                                              (line  147)
35421 * __floatundixf:                         Soft float library routines.
35422                                                              (line  148)
35423 * __floatunsidf:                         Soft float library routines.
35424                                                              (line  140)
35425 * __floatunsisf:                         Soft float library routines.
35426                                                              (line  139)
35427 * __floatunsitf:                         Soft float library routines.
35428                                                              (line  141)
35429 * __floatunsixf:                         Soft float library routines.
35430                                                              (line  142)
35431 * __floatuntidf:                         Soft float library routines.
35432                                                              (line  152)
35433 * __floatuntisf:                         Soft float library routines.
35434                                                              (line  151)
35435 * __floatuntitf:                         Soft float library routines.
35436                                                              (line  153)
35437 * __floatuntixf:                         Soft float library routines.
35438                                                              (line  154)
35439 * __fractdadf:                           Fixed-point fractional library routines.
35440                                                              (line  636)
35441 * __fractdadi:                           Fixed-point fractional library routines.
35442                                                              (line  633)
35443 * __fractdadq:                           Fixed-point fractional library routines.
35444                                                              (line  616)
35445 * __fractdaha2:                          Fixed-point fractional library routines.
35446                                                              (line  617)
35447 * __fractdahi:                           Fixed-point fractional library routines.
35448                                                              (line  631)
35449 * __fractdahq:                           Fixed-point fractional library routines.
35450                                                              (line  614)
35451 * __fractdaqi:                           Fixed-point fractional library routines.
35452                                                              (line  630)
35453 * __fractdaqq:                           Fixed-point fractional library routines.
35454                                                              (line  613)
35455 * __fractdasa2:                          Fixed-point fractional library routines.
35456                                                              (line  618)
35457 * __fractdasf:                           Fixed-point fractional library routines.
35458                                                              (line  635)
35459 * __fractdasi:                           Fixed-point fractional library routines.
35460                                                              (line  632)
35461 * __fractdasq:                           Fixed-point fractional library routines.
35462                                                              (line  615)
35463 * __fractdata2:                          Fixed-point fractional library routines.
35464                                                              (line  619)
35465 * __fractdati:                           Fixed-point fractional library routines.
35466                                                              (line  634)
35467 * __fractdauda:                          Fixed-point fractional library routines.
35468                                                              (line  627)
35469 * __fractdaudq:                          Fixed-point fractional library routines.
35470                                                              (line  624)
35471 * __fractdauha:                          Fixed-point fractional library routines.
35472                                                              (line  625)
35473 * __fractdauhq:                          Fixed-point fractional library routines.
35474                                                              (line  621)
35475 * __fractdauqq:                          Fixed-point fractional library routines.
35476                                                              (line  620)
35477 * __fractdausa:                          Fixed-point fractional library routines.
35478                                                              (line  626)
35479 * __fractdausq:                          Fixed-point fractional library routines.
35480                                                              (line  622)
35481 * __fractdauta:                          Fixed-point fractional library routines.
35482                                                              (line  629)
35483 * __fractdfda:                           Fixed-point fractional library routines.
35484                                                              (line 1025)
35485 * __fractdfdq:                           Fixed-point fractional library routines.
35486                                                              (line 1022)
35487 * __fractdfha:                           Fixed-point fractional library routines.
35488                                                              (line 1023)
35489 * __fractdfhq:                           Fixed-point fractional library routines.
35490                                                              (line 1020)
35491 * __fractdfqq:                           Fixed-point fractional library routines.
35492                                                              (line 1019)
35493 * __fractdfsa:                           Fixed-point fractional library routines.
35494                                                              (line 1024)
35495 * __fractdfsq:                           Fixed-point fractional library routines.
35496                                                              (line 1021)
35497 * __fractdfta:                           Fixed-point fractional library routines.
35498                                                              (line 1026)
35499 * __fractdfuda:                          Fixed-point fractional library routines.
35500                                                              (line 1033)
35501 * __fractdfudq:                          Fixed-point fractional library routines.
35502                                                              (line 1030)
35503 * __fractdfuha:                          Fixed-point fractional library routines.
35504                                                              (line 1031)
35505 * __fractdfuhq:                          Fixed-point fractional library routines.
35506                                                              (line 1028)
35507 * __fractdfuqq:                          Fixed-point fractional library routines.
35508                                                              (line 1027)
35509 * __fractdfusa:                          Fixed-point fractional library routines.
35510                                                              (line 1032)
35511 * __fractdfusq:                          Fixed-point fractional library routines.
35512                                                              (line 1029)
35513 * __fractdfuta:                          Fixed-point fractional library routines.
35514                                                              (line 1034)
35515 * __fractdida:                           Fixed-point fractional library routines.
35516                                                              (line  975)
35517 * __fractdidq:                           Fixed-point fractional library routines.
35518                                                              (line  972)
35519 * __fractdiha:                           Fixed-point fractional library routines.
35520                                                              (line  973)
35521 * __fractdihq:                           Fixed-point fractional library routines.
35522                                                              (line  970)
35523 * __fractdiqq:                           Fixed-point fractional library routines.
35524                                                              (line  969)
35525 * __fractdisa:                           Fixed-point fractional library routines.
35526                                                              (line  974)
35527 * __fractdisq:                           Fixed-point fractional library routines.
35528                                                              (line  971)
35529 * __fractdita:                           Fixed-point fractional library routines.
35530                                                              (line  976)
35531 * __fractdiuda:                          Fixed-point fractional library routines.
35532                                                              (line  983)
35533 * __fractdiudq:                          Fixed-point fractional library routines.
35534                                                              (line  980)
35535 * __fractdiuha:                          Fixed-point fractional library routines.
35536                                                              (line  981)
35537 * __fractdiuhq:                          Fixed-point fractional library routines.
35538                                                              (line  978)
35539 * __fractdiuqq:                          Fixed-point fractional library routines.
35540                                                              (line  977)
35541 * __fractdiusa:                          Fixed-point fractional library routines.
35542                                                              (line  982)
35543 * __fractdiusq:                          Fixed-point fractional library routines.
35544                                                              (line  979)
35545 * __fractdiuta:                          Fixed-point fractional library routines.
35546                                                              (line  984)
35547 * __fractdqda:                           Fixed-point fractional library routines.
35548                                                              (line  544)
35549 * __fractdqdf:                           Fixed-point fractional library routines.
35550                                                              (line  566)
35551 * __fractdqdi:                           Fixed-point fractional library routines.
35552                                                              (line  563)
35553 * __fractdqha:                           Fixed-point fractional library routines.
35554                                                              (line  542)
35555 * __fractdqhi:                           Fixed-point fractional library routines.
35556                                                              (line  561)
35557 * __fractdqhq2:                          Fixed-point fractional library routines.
35558                                                              (line  540)
35559 * __fractdqqi:                           Fixed-point fractional library routines.
35560                                                              (line  560)
35561 * __fractdqqq2:                          Fixed-point fractional library routines.
35562                                                              (line  539)
35563 * __fractdqsa:                           Fixed-point fractional library routines.
35564                                                              (line  543)
35565 * __fractdqsf:                           Fixed-point fractional library routines.
35566                                                              (line  565)
35567 * __fractdqsi:                           Fixed-point fractional library routines.
35568                                                              (line  562)
35569 * __fractdqsq2:                          Fixed-point fractional library routines.
35570                                                              (line  541)
35571 * __fractdqta:                           Fixed-point fractional library routines.
35572                                                              (line  545)
35573 * __fractdqti:                           Fixed-point fractional library routines.
35574                                                              (line  564)
35575 * __fractdquda:                          Fixed-point fractional library routines.
35576                                                              (line  557)
35577 * __fractdqudq:                          Fixed-point fractional library routines.
35578                                                              (line  552)
35579 * __fractdquha:                          Fixed-point fractional library routines.
35580                                                              (line  554)
35581 * __fractdquhq:                          Fixed-point fractional library routines.
35582                                                              (line  548)
35583 * __fractdquqq:                          Fixed-point fractional library routines.
35584                                                              (line  547)
35585 * __fractdqusa:                          Fixed-point fractional library routines.
35586                                                              (line  555)
35587 * __fractdqusq:                          Fixed-point fractional library routines.
35588                                                              (line  550)
35589 * __fractdquta:                          Fixed-point fractional library routines.
35590                                                              (line  559)
35591 * __fracthada2:                          Fixed-point fractional library routines.
35592                                                              (line  572)
35593 * __fracthadf:                           Fixed-point fractional library routines.
35594                                                              (line  590)
35595 * __fracthadi:                           Fixed-point fractional library routines.
35596                                                              (line  587)
35597 * __fracthadq:                           Fixed-point fractional library routines.
35598                                                              (line  570)
35599 * __fracthahi:                           Fixed-point fractional library routines.
35600                                                              (line  585)
35601 * __fracthahq:                           Fixed-point fractional library routines.
35602                                                              (line  568)
35603 * __fracthaqi:                           Fixed-point fractional library routines.
35604                                                              (line  584)
35605 * __fracthaqq:                           Fixed-point fractional library routines.
35606                                                              (line  567)
35607 * __fracthasa2:                          Fixed-point fractional library routines.
35608                                                              (line  571)
35609 * __fracthasf:                           Fixed-point fractional library routines.
35610                                                              (line  589)
35611 * __fracthasi:                           Fixed-point fractional library routines.
35612                                                              (line  586)
35613 * __fracthasq:                           Fixed-point fractional library routines.
35614                                                              (line  569)
35615 * __fracthata2:                          Fixed-point fractional library routines.
35616                                                              (line  573)
35617 * __fracthati:                           Fixed-point fractional library routines.
35618                                                              (line  588)
35619 * __fracthauda:                          Fixed-point fractional library routines.
35620                                                              (line  581)
35621 * __fracthaudq:                          Fixed-point fractional library routines.
35622                                                              (line  578)
35623 * __fracthauha:                          Fixed-point fractional library routines.
35624                                                              (line  579)
35625 * __fracthauhq:                          Fixed-point fractional library routines.
35626                                                              (line  575)
35627 * __fracthauqq:                          Fixed-point fractional library routines.
35628                                                              (line  574)
35629 * __fracthausa:                          Fixed-point fractional library routines.
35630                                                              (line  580)
35631 * __fracthausq:                          Fixed-point fractional library routines.
35632                                                              (line  576)
35633 * __fracthauta:                          Fixed-point fractional library routines.
35634                                                              (line  583)
35635 * __fracthida:                           Fixed-point fractional library routines.
35636                                                              (line  943)
35637 * __fracthidq:                           Fixed-point fractional library routines.
35638                                                              (line  940)
35639 * __fracthiha:                           Fixed-point fractional library routines.
35640                                                              (line  941)
35641 * __fracthihq:                           Fixed-point fractional library routines.
35642                                                              (line  938)
35643 * __fracthiqq:                           Fixed-point fractional library routines.
35644                                                              (line  937)
35645 * __fracthisa:                           Fixed-point fractional library routines.
35646                                                              (line  942)
35647 * __fracthisq:                           Fixed-point fractional library routines.
35648                                                              (line  939)
35649 * __fracthita:                           Fixed-point fractional library routines.
35650                                                              (line  944)
35651 * __fracthiuda:                          Fixed-point fractional library routines.
35652                                                              (line  951)
35653 * __fracthiudq:                          Fixed-point fractional library routines.
35654                                                              (line  948)
35655 * __fracthiuha:                          Fixed-point fractional library routines.
35656                                                              (line  949)
35657 * __fracthiuhq:                          Fixed-point fractional library routines.
35658                                                              (line  946)
35659 * __fracthiuqq:                          Fixed-point fractional library routines.
35660                                                              (line  945)
35661 * __fracthiusa:                          Fixed-point fractional library routines.
35662                                                              (line  950)
35663 * __fracthiusq:                          Fixed-point fractional library routines.
35664                                                              (line  947)
35665 * __fracthiuta:                          Fixed-point fractional library routines.
35666                                                              (line  952)
35667 * __fracthqda:                           Fixed-point fractional library routines.
35668                                                              (line  498)
35669 * __fracthqdf:                           Fixed-point fractional library routines.
35670                                                              (line  514)
35671 * __fracthqdi:                           Fixed-point fractional library routines.
35672                                                              (line  511)
35673 * __fracthqdq2:                          Fixed-point fractional library routines.
35674                                                              (line  495)
35675 * __fracthqha:                           Fixed-point fractional library routines.
35676                                                              (line  496)
35677 * __fracthqhi:                           Fixed-point fractional library routines.
35678                                                              (line  509)
35679 * __fracthqqi:                           Fixed-point fractional library routines.
35680                                                              (line  508)
35681 * __fracthqqq2:                          Fixed-point fractional library routines.
35682                                                              (line  493)
35683 * __fracthqsa:                           Fixed-point fractional library routines.
35684                                                              (line  497)
35685 * __fracthqsf:                           Fixed-point fractional library routines.
35686                                                              (line  513)
35687 * __fracthqsi:                           Fixed-point fractional library routines.
35688                                                              (line  510)
35689 * __fracthqsq2:                          Fixed-point fractional library routines.
35690                                                              (line  494)
35691 * __fracthqta:                           Fixed-point fractional library routines.
35692                                                              (line  499)
35693 * __fracthqti:                           Fixed-point fractional library routines.
35694                                                              (line  512)
35695 * __fracthquda:                          Fixed-point fractional library routines.
35696                                                              (line  506)
35697 * __fracthqudq:                          Fixed-point fractional library routines.
35698                                                              (line  503)
35699 * __fracthquha:                          Fixed-point fractional library routines.
35700                                                              (line  504)
35701 * __fracthquhq:                          Fixed-point fractional library routines.
35702                                                              (line  501)
35703 * __fracthquqq:                          Fixed-point fractional library routines.
35704                                                              (line  500)
35705 * __fracthqusa:                          Fixed-point fractional library routines.
35706                                                              (line  505)
35707 * __fracthqusq:                          Fixed-point fractional library routines.
35708                                                              (line  502)
35709 * __fracthquta:                          Fixed-point fractional library routines.
35710                                                              (line  507)
35711 * __fractqida:                           Fixed-point fractional library routines.
35712                                                              (line  925)
35713 * __fractqidq:                           Fixed-point fractional library routines.
35714                                                              (line  922)
35715 * __fractqiha:                           Fixed-point fractional library routines.
35716                                                              (line  923)
35717 * __fractqihq:                           Fixed-point fractional library routines.
35718                                                              (line  920)
35719 * __fractqiqq:                           Fixed-point fractional library routines.
35720                                                              (line  919)
35721 * __fractqisa:                           Fixed-point fractional library routines.
35722                                                              (line  924)
35723 * __fractqisq:                           Fixed-point fractional library routines.
35724                                                              (line  921)
35725 * __fractqita:                           Fixed-point fractional library routines.
35726                                                              (line  926)
35727 * __fractqiuda:                          Fixed-point fractional library routines.
35728                                                              (line  934)
35729 * __fractqiudq:                          Fixed-point fractional library routines.
35730                                                              (line  931)
35731 * __fractqiuha:                          Fixed-point fractional library routines.
35732                                                              (line  932)
35733 * __fractqiuhq:                          Fixed-point fractional library routines.
35734                                                              (line  928)
35735 * __fractqiuqq:                          Fixed-point fractional library routines.
35736                                                              (line  927)
35737 * __fractqiusa:                          Fixed-point fractional library routines.
35738                                                              (line  933)
35739 * __fractqiusq:                          Fixed-point fractional library routines.
35740                                                              (line  929)
35741 * __fractqiuta:                          Fixed-point fractional library routines.
35742                                                              (line  936)
35743 * __fractqqda:                           Fixed-point fractional library routines.
35744                                                              (line  474)
35745 * __fractqqdf:                           Fixed-point fractional library routines.
35746                                                              (line  492)
35747 * __fractqqdi:                           Fixed-point fractional library routines.
35748                                                              (line  489)
35749 * __fractqqdq2:                          Fixed-point fractional library routines.
35750                                                              (line  471)
35751 * __fractqqha:                           Fixed-point fractional library routines.
35752                                                              (line  472)
35753 * __fractqqhi:                           Fixed-point fractional library routines.
35754                                                              (line  487)
35755 * __fractqqhq2:                          Fixed-point fractional library routines.
35756                                                              (line  469)
35757 * __fractqqqi:                           Fixed-point fractional library routines.
35758                                                              (line  486)
35759 * __fractqqsa:                           Fixed-point fractional library routines.
35760                                                              (line  473)
35761 * __fractqqsf:                           Fixed-point fractional library routines.
35762                                                              (line  491)
35763 * __fractqqsi:                           Fixed-point fractional library routines.
35764                                                              (line  488)
35765 * __fractqqsq2:                          Fixed-point fractional library routines.
35766                                                              (line  470)
35767 * __fractqqta:                           Fixed-point fractional library routines.
35768                                                              (line  475)
35769 * __fractqqti:                           Fixed-point fractional library routines.
35770                                                              (line  490)
35771 * __fractqquda:                          Fixed-point fractional library routines.
35772                                                              (line  483)
35773 * __fractqqudq:                          Fixed-point fractional library routines.
35774                                                              (line  480)
35775 * __fractqquha:                          Fixed-point fractional library routines.
35776                                                              (line  481)
35777 * __fractqquhq:                          Fixed-point fractional library routines.
35778                                                              (line  477)
35779 * __fractqquqq:                          Fixed-point fractional library routines.
35780                                                              (line  476)
35781 * __fractqqusa:                          Fixed-point fractional library routines.
35782                                                              (line  482)
35783 * __fractqqusq:                          Fixed-point fractional library routines.
35784                                                              (line  478)
35785 * __fractqquta:                          Fixed-point fractional library routines.
35786                                                              (line  485)
35787 * __fractsada2:                          Fixed-point fractional library routines.
35788                                                              (line  596)
35789 * __fractsadf:                           Fixed-point fractional library routines.
35790                                                              (line  612)
35791 * __fractsadi:                           Fixed-point fractional library routines.
35792                                                              (line  609)
35793 * __fractsadq:                           Fixed-point fractional library routines.
35794                                                              (line  594)
35795 * __fractsaha2:                          Fixed-point fractional library routines.
35796                                                              (line  595)
35797 * __fractsahi:                           Fixed-point fractional library routines.
35798                                                              (line  607)
35799 * __fractsahq:                           Fixed-point fractional library routines.
35800                                                              (line  592)
35801 * __fractsaqi:                           Fixed-point fractional library routines.
35802                                                              (line  606)
35803 * __fractsaqq:                           Fixed-point fractional library routines.
35804                                                              (line  591)
35805 * __fractsasf:                           Fixed-point fractional library routines.
35806                                                              (line  611)
35807 * __fractsasi:                           Fixed-point fractional library routines.
35808                                                              (line  608)
35809 * __fractsasq:                           Fixed-point fractional library routines.
35810                                                              (line  593)
35811 * __fractsata2:                          Fixed-point fractional library routines.
35812                                                              (line  597)
35813 * __fractsati:                           Fixed-point fractional library routines.
35814                                                              (line  610)
35815 * __fractsauda:                          Fixed-point fractional library routines.
35816                                                              (line  604)
35817 * __fractsaudq:                          Fixed-point fractional library routines.
35818                                                              (line  601)
35819 * __fractsauha:                          Fixed-point fractional library routines.
35820                                                              (line  602)
35821 * __fractsauhq:                          Fixed-point fractional library routines.
35822                                                              (line  599)
35823 * __fractsauqq:                          Fixed-point fractional library routines.
35824                                                              (line  598)
35825 * __fractsausa:                          Fixed-point fractional library routines.
35826                                                              (line  603)
35827 * __fractsausq:                          Fixed-point fractional library routines.
35828                                                              (line  600)
35829 * __fractsauta:                          Fixed-point fractional library routines.
35830                                                              (line  605)
35831 * __fractsfda:                           Fixed-point fractional library routines.
35832                                                              (line 1009)
35833 * __fractsfdq:                           Fixed-point fractional library routines.
35834                                                              (line 1006)
35835 * __fractsfha:                           Fixed-point fractional library routines.
35836                                                              (line 1007)
35837 * __fractsfhq:                           Fixed-point fractional library routines.
35838                                                              (line 1004)
35839 * __fractsfqq:                           Fixed-point fractional library routines.
35840                                                              (line 1003)
35841 * __fractsfsa:                           Fixed-point fractional library routines.
35842                                                              (line 1008)
35843 * __fractsfsq:                           Fixed-point fractional library routines.
35844                                                              (line 1005)
35845 * __fractsfta:                           Fixed-point fractional library routines.
35846                                                              (line 1010)
35847 * __fractsfuda:                          Fixed-point fractional library routines.
35848                                                              (line 1017)
35849 * __fractsfudq:                          Fixed-point fractional library routines.
35850                                                              (line 1014)
35851 * __fractsfuha:                          Fixed-point fractional library routines.
35852                                                              (line 1015)
35853 * __fractsfuhq:                          Fixed-point fractional library routines.
35854                                                              (line 1012)
35855 * __fractsfuqq:                          Fixed-point fractional library routines.
35856                                                              (line 1011)
35857 * __fractsfusa:                          Fixed-point fractional library routines.
35858                                                              (line 1016)
35859 * __fractsfusq:                          Fixed-point fractional library routines.
35860                                                              (line 1013)
35861 * __fractsfuta:                          Fixed-point fractional library routines.
35862                                                              (line 1018)
35863 * __fractsida:                           Fixed-point fractional library routines.
35864                                                              (line  959)
35865 * __fractsidq:                           Fixed-point fractional library routines.
35866                                                              (line  956)
35867 * __fractsiha:                           Fixed-point fractional library routines.
35868                                                              (line  957)
35869 * __fractsihq:                           Fixed-point fractional library routines.
35870                                                              (line  954)
35871 * __fractsiqq:                           Fixed-point fractional library routines.
35872                                                              (line  953)
35873 * __fractsisa:                           Fixed-point fractional library routines.
35874                                                              (line  958)
35875 * __fractsisq:                           Fixed-point fractional library routines.
35876                                                              (line  955)
35877 * __fractsita:                           Fixed-point fractional library routines.
35878                                                              (line  960)
35879 * __fractsiuda:                          Fixed-point fractional library routines.
35880                                                              (line  967)
35881 * __fractsiudq:                          Fixed-point fractional library routines.
35882                                                              (line  964)
35883 * __fractsiuha:                          Fixed-point fractional library routines.
35884                                                              (line  965)
35885 * __fractsiuhq:                          Fixed-point fractional library routines.
35886                                                              (line  962)
35887 * __fractsiuqq:                          Fixed-point fractional library routines.
35888                                                              (line  961)
35889 * __fractsiusa:                          Fixed-point fractional library routines.
35890                                                              (line  966)
35891 * __fractsiusq:                          Fixed-point fractional library routines.
35892                                                              (line  963)
35893 * __fractsiuta:                          Fixed-point fractional library routines.
35894                                                              (line  968)
35895 * __fractsqda:                           Fixed-point fractional library routines.
35896                                                              (line  520)
35897 * __fractsqdf:                           Fixed-point fractional library routines.
35898                                                              (line  538)
35899 * __fractsqdi:                           Fixed-point fractional library routines.
35900                                                              (line  535)
35901 * __fractsqdq2:                          Fixed-point fractional library routines.
35902                                                              (line  517)
35903 * __fractsqha:                           Fixed-point fractional library routines.
35904                                                              (line  518)
35905 * __fractsqhi:                           Fixed-point fractional library routines.
35906                                                              (line  533)
35907 * __fractsqhq2:                          Fixed-point fractional library routines.
35908                                                              (line  516)
35909 * __fractsqqi:                           Fixed-point fractional library routines.
35910                                                              (line  532)
35911 * __fractsqqq2:                          Fixed-point fractional library routines.
35912                                                              (line  515)
35913 * __fractsqsa:                           Fixed-point fractional library routines.
35914                                                              (line  519)
35915 * __fractsqsf:                           Fixed-point fractional library routines.
35916                                                              (line  537)
35917 * __fractsqsi:                           Fixed-point fractional library routines.
35918                                                              (line  534)
35919 * __fractsqta:                           Fixed-point fractional library routines.
35920                                                              (line  521)
35921 * __fractsqti:                           Fixed-point fractional library routines.
35922                                                              (line  536)
35923 * __fractsquda:                          Fixed-point fractional library routines.
35924                                                              (line  529)
35925 * __fractsqudq:                          Fixed-point fractional library routines.
35926                                                              (line  526)
35927 * __fractsquha:                          Fixed-point fractional library routines.
35928                                                              (line  527)
35929 * __fractsquhq:                          Fixed-point fractional library routines.
35930                                                              (line  523)
35931 * __fractsquqq:                          Fixed-point fractional library routines.
35932                                                              (line  522)
35933 * __fractsqusa:                          Fixed-point fractional library routines.
35934                                                              (line  528)
35935 * __fractsqusq:                          Fixed-point fractional library routines.
35936                                                              (line  524)
35937 * __fractsquta:                          Fixed-point fractional library routines.
35938                                                              (line  531)
35939 * __fracttada2:                          Fixed-point fractional library routines.
35940                                                              (line  643)
35941 * __fracttadf:                           Fixed-point fractional library routines.
35942                                                              (line  664)
35943 * __fracttadi:                           Fixed-point fractional library routines.
35944                                                              (line  661)
35945 * __fracttadq:                           Fixed-point fractional library routines.
35946                                                              (line  640)
35947 * __fracttaha2:                          Fixed-point fractional library routines.
35948                                                              (line  641)
35949 * __fracttahi:                           Fixed-point fractional library routines.
35950                                                              (line  659)
35951 * __fracttahq:                           Fixed-point fractional library routines.
35952                                                              (line  638)
35953 * __fracttaqi:                           Fixed-point fractional library routines.
35954                                                              (line  658)
35955 * __fracttaqq:                           Fixed-point fractional library routines.
35956                                                              (line  637)
35957 * __fracttasa2:                          Fixed-point fractional library routines.
35958                                                              (line  642)
35959 * __fracttasf:                           Fixed-point fractional library routines.
35960                                                              (line  663)
35961 * __fracttasi:                           Fixed-point fractional library routines.
35962                                                              (line  660)
35963 * __fracttasq:                           Fixed-point fractional library routines.
35964                                                              (line  639)
35965 * __fracttati:                           Fixed-point fractional library routines.
35966                                                              (line  662)
35967 * __fracttauda:                          Fixed-point fractional library routines.
35968                                                              (line  655)
35969 * __fracttaudq:                          Fixed-point fractional library routines.
35970                                                              (line  650)
35971 * __fracttauha:                          Fixed-point fractional library routines.
35972                                                              (line  652)
35973 * __fracttauhq:                          Fixed-point fractional library routines.
35974                                                              (line  646)
35975 * __fracttauqq:                          Fixed-point fractional library routines.
35976                                                              (line  645)
35977 * __fracttausa:                          Fixed-point fractional library routines.
35978                                                              (line  653)
35979 * __fracttausq:                          Fixed-point fractional library routines.
35980                                                              (line  648)
35981 * __fracttauta:                          Fixed-point fractional library routines.
35982                                                              (line  657)
35983 * __fracttida:                           Fixed-point fractional library routines.
35984                                                              (line  991)
35985 * __fracttidq:                           Fixed-point fractional library routines.
35986                                                              (line  988)
35987 * __fracttiha:                           Fixed-point fractional library routines.
35988                                                              (line  989)
35989 * __fracttihq:                           Fixed-point fractional library routines.
35990                                                              (line  986)
35991 * __fracttiqq:                           Fixed-point fractional library routines.
35992                                                              (line  985)
35993 * __fracttisa:                           Fixed-point fractional library routines.
35994                                                              (line  990)
35995 * __fracttisq:                           Fixed-point fractional library routines.
35996                                                              (line  987)
35997 * __fracttita:                           Fixed-point fractional library routines.
35998                                                              (line  992)
35999 * __fracttiuda:                          Fixed-point fractional library routines.
36000                                                              (line 1000)
36001 * __fracttiudq:                          Fixed-point fractional library routines.
36002                                                              (line  997)
36003 * __fracttiuha:                          Fixed-point fractional library routines.
36004                                                              (line  998)
36005 * __fracttiuhq:                          Fixed-point fractional library routines.
36006                                                              (line  994)
36007 * __fracttiuqq:                          Fixed-point fractional library routines.
36008                                                              (line  993)
36009 * __fracttiusa:                          Fixed-point fractional library routines.
36010                                                              (line  999)
36011 * __fracttiusq:                          Fixed-point fractional library routines.
36012                                                              (line  995)
36013 * __fracttiuta:                          Fixed-point fractional library routines.
36014                                                              (line 1002)
36015 * __fractudada:                          Fixed-point fractional library routines.
36016                                                              (line  858)
36017 * __fractudadf:                          Fixed-point fractional library routines.
36018                                                              (line  881)
36019 * __fractudadi:                          Fixed-point fractional library routines.
36020                                                              (line  878)
36021 * __fractudadq:                          Fixed-point fractional library routines.
36022                                                              (line  855)
36023 * __fractudaha:                          Fixed-point fractional library routines.
36024                                                              (line  856)
36025 * __fractudahi:                          Fixed-point fractional library routines.
36026                                                              (line  876)
36027 * __fractudahq:                          Fixed-point fractional library routines.
36028                                                              (line  852)
36029 * __fractudaqi:                          Fixed-point fractional library routines.
36030                                                              (line  875)
36031 * __fractudaqq:                          Fixed-point fractional library routines.
36032                                                              (line  851)
36033 * __fractudasa:                          Fixed-point fractional library routines.
36034                                                              (line  857)
36035 * __fractudasf:                          Fixed-point fractional library routines.
36036                                                              (line  880)
36037 * __fractudasi:                          Fixed-point fractional library routines.
36038                                                              (line  877)
36039 * __fractudasq:                          Fixed-point fractional library routines.
36040                                                              (line  853)
36041 * __fractudata:                          Fixed-point fractional library routines.
36042                                                              (line  860)
36043 * __fractudati:                          Fixed-point fractional library routines.
36044                                                              (line  879)
36045 * __fractudaudq:                         Fixed-point fractional library routines.
36046                                                              (line  868)
36047 * __fractudauha2:                        Fixed-point fractional library routines.
36048                                                              (line  870)
36049 * __fractudauhq:                         Fixed-point fractional library routines.
36050                                                              (line  864)
36051 * __fractudauqq:                         Fixed-point fractional library routines.
36052                                                              (line  862)
36053 * __fractudausa2:                        Fixed-point fractional library routines.
36054                                                              (line  872)
36055 * __fractudausq:                         Fixed-point fractional library routines.
36056                                                              (line  866)
36057 * __fractudauta2:                        Fixed-point fractional library routines.
36058                                                              (line  874)
36059 * __fractudqda:                          Fixed-point fractional library routines.
36060                                                              (line  766)
36061 * __fractudqdf:                          Fixed-point fractional library routines.
36062                                                              (line  791)
36063 * __fractudqdi:                          Fixed-point fractional library routines.
36064                                                              (line  787)
36065 * __fractudqdq:                          Fixed-point fractional library routines.
36066                                                              (line  761)
36067 * __fractudqha:                          Fixed-point fractional library routines.
36068                                                              (line  763)
36069 * __fractudqhi:                          Fixed-point fractional library routines.
36070                                                              (line  785)
36071 * __fractudqhq:                          Fixed-point fractional library routines.
36072                                                              (line  757)
36073 * __fractudqqi:                          Fixed-point fractional library routines.
36074                                                              (line  784)
36075 * __fractudqqq:                          Fixed-point fractional library routines.
36076                                                              (line  756)
36077 * __fractudqsa:                          Fixed-point fractional library routines.
36078                                                              (line  764)
36079 * __fractudqsf:                          Fixed-point fractional library routines.
36080                                                              (line  790)
36081 * __fractudqsi:                          Fixed-point fractional library routines.
36082                                                              (line  786)
36083 * __fractudqsq:                          Fixed-point fractional library routines.
36084                                                              (line  759)
36085 * __fractudqta:                          Fixed-point fractional library routines.
36086                                                              (line  768)
36087 * __fractudqti:                          Fixed-point fractional library routines.
36088                                                              (line  789)
36089 * __fractudquda:                         Fixed-point fractional library routines.
36090                                                              (line  780)
36091 * __fractudquha:                         Fixed-point fractional library routines.
36092                                                              (line  776)
36093 * __fractudquhq2:                        Fixed-point fractional library routines.
36094                                                              (line  772)
36095 * __fractudquqq2:                        Fixed-point fractional library routines.
36096                                                              (line  770)
36097 * __fractudqusa:                         Fixed-point fractional library routines.
36098                                                              (line  778)
36099 * __fractudqusq2:                        Fixed-point fractional library routines.
36100                                                              (line  774)
36101 * __fractudquta:                         Fixed-point fractional library routines.
36102                                                              (line  782)
36103 * __fractuhada:                          Fixed-point fractional library routines.
36104                                                              (line  799)
36105 * __fractuhadf:                          Fixed-point fractional library routines.
36106                                                              (line  822)
36107 * __fractuhadi:                          Fixed-point fractional library routines.
36108                                                              (line  819)
36109 * __fractuhadq:                          Fixed-point fractional library routines.
36110                                                              (line  796)
36111 * __fractuhaha:                          Fixed-point fractional library routines.
36112                                                              (line  797)
36113 * __fractuhahi:                          Fixed-point fractional library routines.
36114                                                              (line  817)
36115 * __fractuhahq:                          Fixed-point fractional library routines.
36116                                                              (line  793)
36117 * __fractuhaqi:                          Fixed-point fractional library routines.
36118                                                              (line  816)
36119 * __fractuhaqq:                          Fixed-point fractional library routines.
36120                                                              (line  792)
36121 * __fractuhasa:                          Fixed-point fractional library routines.
36122                                                              (line  798)
36123 * __fractuhasf:                          Fixed-point fractional library routines.
36124                                                              (line  821)
36125 * __fractuhasi:                          Fixed-point fractional library routines.
36126                                                              (line  818)
36127 * __fractuhasq:                          Fixed-point fractional library routines.
36128                                                              (line  794)
36129 * __fractuhata:                          Fixed-point fractional library routines.
36130                                                              (line  801)
36131 * __fractuhati:                          Fixed-point fractional library routines.
36132                                                              (line  820)
36133 * __fractuhauda2:                        Fixed-point fractional library routines.
36134                                                              (line  813)
36135 * __fractuhaudq:                         Fixed-point fractional library routines.
36136                                                              (line  809)
36137 * __fractuhauhq:                         Fixed-point fractional library routines.
36138                                                              (line  805)
36139 * __fractuhauqq:                         Fixed-point fractional library routines.
36140                                                              (line  803)
36141 * __fractuhausa2:                        Fixed-point fractional library routines.
36142                                                              (line  811)
36143 * __fractuhausq:                         Fixed-point fractional library routines.
36144                                                              (line  807)
36145 * __fractuhauta2:                        Fixed-point fractional library routines.
36146                                                              (line  815)
36147 * __fractuhqda:                          Fixed-point fractional library routines.
36148                                                              (line  702)
36149 * __fractuhqdf:                          Fixed-point fractional library routines.
36150                                                              (line  723)
36151 * __fractuhqdi:                          Fixed-point fractional library routines.
36152                                                              (line  720)
36153 * __fractuhqdq:                          Fixed-point fractional library routines.
36154                                                              (line  699)
36155 * __fractuhqha:                          Fixed-point fractional library routines.
36156                                                              (line  700)
36157 * __fractuhqhi:                          Fixed-point fractional library routines.
36158                                                              (line  718)
36159 * __fractuhqhq:                          Fixed-point fractional library routines.
36160                                                              (line  697)
36161 * __fractuhqqi:                          Fixed-point fractional library routines.
36162                                                              (line  717)
36163 * __fractuhqqq:                          Fixed-point fractional library routines.
36164                                                              (line  696)
36165 * __fractuhqsa:                          Fixed-point fractional library routines.
36166                                                              (line  701)
36167 * __fractuhqsf:                          Fixed-point fractional library routines.
36168                                                              (line  722)
36169 * __fractuhqsi:                          Fixed-point fractional library routines.
36170                                                              (line  719)
36171 * __fractuhqsq:                          Fixed-point fractional library routines.
36172                                                              (line  698)
36173 * __fractuhqta:                          Fixed-point fractional library routines.
36174                                                              (line  703)
36175 * __fractuhqti:                          Fixed-point fractional library routines.
36176                                                              (line  721)
36177 * __fractuhquda:                         Fixed-point fractional library routines.
36178                                                              (line  714)
36179 * __fractuhqudq2:                        Fixed-point fractional library routines.
36180                                                              (line  709)
36181 * __fractuhquha:                         Fixed-point fractional library routines.
36182                                                              (line  711)
36183 * __fractuhquqq2:                        Fixed-point fractional library routines.
36184                                                              (line  705)
36185 * __fractuhqusa:                         Fixed-point fractional library routines.
36186                                                              (line  712)
36187 * __fractuhqusq2:                        Fixed-point fractional library routines.
36188                                                              (line  707)
36189 * __fractuhquta:                         Fixed-point fractional library routines.
36190                                                              (line  716)
36191 * __fractunsdadi:                        Fixed-point fractional library routines.
36192                                                              (line 1555)
36193 * __fractunsdahi:                        Fixed-point fractional library routines.
36194                                                              (line 1553)
36195 * __fractunsdaqi:                        Fixed-point fractional library routines.
36196                                                              (line 1552)
36197 * __fractunsdasi:                        Fixed-point fractional library routines.
36198                                                              (line 1554)
36199 * __fractunsdati:                        Fixed-point fractional library routines.
36200                                                              (line 1556)
36201 * __fractunsdida:                        Fixed-point fractional library routines.
36202                                                              (line 1707)
36203 * __fractunsdidq:                        Fixed-point fractional library routines.
36204                                                              (line 1704)
36205 * __fractunsdiha:                        Fixed-point fractional library routines.
36206                                                              (line 1705)
36207 * __fractunsdihq:                        Fixed-point fractional library routines.
36208                                                              (line 1702)
36209 * __fractunsdiqq:                        Fixed-point fractional library routines.
36210                                                              (line 1701)
36211 * __fractunsdisa:                        Fixed-point fractional library routines.
36212                                                              (line 1706)
36213 * __fractunsdisq:                        Fixed-point fractional library routines.
36214                                                              (line 1703)
36215 * __fractunsdita:                        Fixed-point fractional library routines.
36216                                                              (line 1708)
36217 * __fractunsdiuda:                       Fixed-point fractional library routines.
36218                                                              (line 1720)
36219 * __fractunsdiudq:                       Fixed-point fractional library routines.
36220                                                              (line 1715)
36221 * __fractunsdiuha:                       Fixed-point fractional library routines.
36222                                                              (line 1717)
36223 * __fractunsdiuhq:                       Fixed-point fractional library routines.
36224                                                              (line 1711)
36225 * __fractunsdiuqq:                       Fixed-point fractional library routines.
36226                                                              (line 1710)
36227 * __fractunsdiusa:                       Fixed-point fractional library routines.
36228                                                              (line 1718)
36229 * __fractunsdiusq:                       Fixed-point fractional library routines.
36230                                                              (line 1713)
36231 * __fractunsdiuta:                       Fixed-point fractional library routines.
36232                                                              (line 1722)
36233 * __fractunsdqdi:                        Fixed-point fractional library routines.
36234                                                              (line 1539)
36235 * __fractunsdqhi:                        Fixed-point fractional library routines.
36236                                                              (line 1537)
36237 * __fractunsdqqi:                        Fixed-point fractional library routines.
36238                                                              (line 1536)
36239 * __fractunsdqsi:                        Fixed-point fractional library routines.
36240                                                              (line 1538)
36241 * __fractunsdqti:                        Fixed-point fractional library routines.
36242                                                              (line 1541)
36243 * __fractunshadi:                        Fixed-point fractional library routines.
36244                                                              (line 1545)
36245 * __fractunshahi:                        Fixed-point fractional library routines.
36246                                                              (line 1543)
36247 * __fractunshaqi:                        Fixed-point fractional library routines.
36248                                                              (line 1542)
36249 * __fractunshasi:                        Fixed-point fractional library routines.
36250                                                              (line 1544)
36251 * __fractunshati:                        Fixed-point fractional library routines.
36252                                                              (line 1546)
36253 * __fractunshida:                        Fixed-point fractional library routines.
36254                                                              (line 1663)
36255 * __fractunshidq:                        Fixed-point fractional library routines.
36256                                                              (line 1660)
36257 * __fractunshiha:                        Fixed-point fractional library routines.
36258                                                              (line 1661)
36259 * __fractunshihq:                        Fixed-point fractional library routines.
36260                                                              (line 1658)
36261 * __fractunshiqq:                        Fixed-point fractional library routines.
36262                                                              (line 1657)
36263 * __fractunshisa:                        Fixed-point fractional library routines.
36264                                                              (line 1662)
36265 * __fractunshisq:                        Fixed-point fractional library routines.
36266                                                              (line 1659)
36267 * __fractunshita:                        Fixed-point fractional library routines.
36268                                                              (line 1664)
36269 * __fractunshiuda:                       Fixed-point fractional library routines.
36270                                                              (line 1676)
36271 * __fractunshiudq:                       Fixed-point fractional library routines.
36272                                                              (line 1671)
36273 * __fractunshiuha:                       Fixed-point fractional library routines.
36274                                                              (line 1673)
36275 * __fractunshiuhq:                       Fixed-point fractional library routines.
36276                                                              (line 1667)
36277 * __fractunshiuqq:                       Fixed-point fractional library routines.
36278                                                              (line 1666)
36279 * __fractunshiusa:                       Fixed-point fractional library routines.
36280                                                              (line 1674)
36281 * __fractunshiusq:                       Fixed-point fractional library routines.
36282                                                              (line 1669)
36283 * __fractunshiuta:                       Fixed-point fractional library routines.
36284                                                              (line 1678)
36285 * __fractunshqdi:                        Fixed-point fractional library routines.
36286                                                              (line 1529)
36287 * __fractunshqhi:                        Fixed-point fractional library routines.
36288                                                              (line 1527)
36289 * __fractunshqqi:                        Fixed-point fractional library routines.
36290                                                              (line 1526)
36291 * __fractunshqsi:                        Fixed-point fractional library routines.
36292                                                              (line 1528)
36293 * __fractunshqti:                        Fixed-point fractional library routines.
36294                                                              (line 1530)
36295 * __fractunsqida:                        Fixed-point fractional library routines.
36296                                                              (line 1641)
36297 * __fractunsqidq:                        Fixed-point fractional library routines.
36298                                                              (line 1638)
36299 * __fractunsqiha:                        Fixed-point fractional library routines.
36300                                                              (line 1639)
36301 * __fractunsqihq:                        Fixed-point fractional library routines.
36302                                                              (line 1636)
36303 * __fractunsqiqq:                        Fixed-point fractional library routines.
36304                                                              (line 1635)
36305 * __fractunsqisa:                        Fixed-point fractional library routines.
36306                                                              (line 1640)
36307 * __fractunsqisq:                        Fixed-point fractional library routines.
36308                                                              (line 1637)
36309 * __fractunsqita:                        Fixed-point fractional library routines.
36310                                                              (line 1642)
36311 * __fractunsqiuda:                       Fixed-point fractional library routines.
36312                                                              (line 1654)
36313 * __fractunsqiudq:                       Fixed-point fractional library routines.
36314                                                              (line 1649)
36315 * __fractunsqiuha:                       Fixed-point fractional library routines.
36316                                                              (line 1651)
36317 * __fractunsqiuhq:                       Fixed-point fractional library routines.
36318                                                              (line 1645)
36319 * __fractunsqiuqq:                       Fixed-point fractional library routines.
36320                                                              (line 1644)
36321 * __fractunsqiusa:                       Fixed-point fractional library routines.
36322                                                              (line 1652)
36323 * __fractunsqiusq:                       Fixed-point fractional library routines.
36324                                                              (line 1647)
36325 * __fractunsqiuta:                       Fixed-point fractional library routines.
36326                                                              (line 1656)
36327 * __fractunsqqdi:                        Fixed-point fractional library routines.
36328                                                              (line 1524)
36329 * __fractunsqqhi:                        Fixed-point fractional library routines.
36330                                                              (line 1522)
36331 * __fractunsqqqi:                        Fixed-point fractional library routines.
36332                                                              (line 1521)
36333 * __fractunsqqsi:                        Fixed-point fractional library routines.
36334                                                              (line 1523)
36335 * __fractunsqqti:                        Fixed-point fractional library routines.
36336                                                              (line 1525)
36337 * __fractunssadi:                        Fixed-point fractional library routines.
36338                                                              (line 1550)
36339 * __fractunssahi:                        Fixed-point fractional library routines.
36340                                                              (line 1548)
36341 * __fractunssaqi:                        Fixed-point fractional library routines.
36342                                                              (line 1547)
36343 * __fractunssasi:                        Fixed-point fractional library routines.
36344                                                              (line 1549)
36345 * __fractunssati:                        Fixed-point fractional library routines.
36346                                                              (line 1551)
36347 * __fractunssida:                        Fixed-point fractional library routines.
36348                                                              (line 1685)
36349 * __fractunssidq:                        Fixed-point fractional library routines.
36350                                                              (line 1682)
36351 * __fractunssiha:                        Fixed-point fractional library routines.
36352                                                              (line 1683)
36353 * __fractunssihq:                        Fixed-point fractional library routines.
36354                                                              (line 1680)
36355 * __fractunssiqq:                        Fixed-point fractional library routines.
36356                                                              (line 1679)
36357 * __fractunssisa:                        Fixed-point fractional library routines.
36358                                                              (line 1684)
36359 * __fractunssisq:                        Fixed-point fractional library routines.
36360                                                              (line 1681)
36361 * __fractunssita:                        Fixed-point fractional library routines.
36362                                                              (line 1686)
36363 * __fractunssiuda:                       Fixed-point fractional library routines.
36364                                                              (line 1698)
36365 * __fractunssiudq:                       Fixed-point fractional library routines.
36366                                                              (line 1693)
36367 * __fractunssiuha:                       Fixed-point fractional library routines.
36368                                                              (line 1695)
36369 * __fractunssiuhq:                       Fixed-point fractional library routines.
36370                                                              (line 1689)
36371 * __fractunssiuqq:                       Fixed-point fractional library routines.
36372                                                              (line 1688)
36373 * __fractunssiusa:                       Fixed-point fractional library routines.
36374                                                              (line 1696)
36375 * __fractunssiusq:                       Fixed-point fractional library routines.
36376                                                              (line 1691)
36377 * __fractunssiuta:                       Fixed-point fractional library routines.
36378                                                              (line 1700)
36379 * __fractunssqdi:                        Fixed-point fractional library routines.
36380                                                              (line 1534)
36381 * __fractunssqhi:                        Fixed-point fractional library routines.
36382                                                              (line 1532)
36383 * __fractunssqqi:                        Fixed-point fractional library routines.
36384                                                              (line 1531)
36385 * __fractunssqsi:                        Fixed-point fractional library routines.
36386                                                              (line 1533)
36387 * __fractunssqti:                        Fixed-point fractional library routines.
36388                                                              (line 1535)
36389 * __fractunstadi:                        Fixed-point fractional library routines.
36390                                                              (line 1560)
36391 * __fractunstahi:                        Fixed-point fractional library routines.
36392                                                              (line 1558)
36393 * __fractunstaqi:                        Fixed-point fractional library routines.
36394                                                              (line 1557)
36395 * __fractunstasi:                        Fixed-point fractional library routines.
36396                                                              (line 1559)
36397 * __fractunstati:                        Fixed-point fractional library routines.
36398                                                              (line 1562)
36399 * __fractunstida:                        Fixed-point fractional library routines.
36400                                                              (line 1730)
36401 * __fractunstidq:                        Fixed-point fractional library routines.
36402                                                              (line 1727)
36403 * __fractunstiha:                        Fixed-point fractional library routines.
36404                                                              (line 1728)
36405 * __fractunstihq:                        Fixed-point fractional library routines.
36406                                                              (line 1724)
36407 * __fractunstiqq:                        Fixed-point fractional library routines.
36408                                                              (line 1723)
36409 * __fractunstisa:                        Fixed-point fractional library routines.
36410                                                              (line 1729)
36411 * __fractunstisq:                        Fixed-point fractional library routines.
36412                                                              (line 1725)
36413 * __fractunstita:                        Fixed-point fractional library routines.
36414                                                              (line 1732)
36415 * __fractunstiuda:                       Fixed-point fractional library routines.
36416                                                              (line 1746)
36417 * __fractunstiudq:                       Fixed-point fractional library routines.
36418                                                              (line 1740)
36419 * __fractunstiuha:                       Fixed-point fractional library routines.
36420                                                              (line 1742)
36421 * __fractunstiuhq:                       Fixed-point fractional library routines.
36422                                                              (line 1736)
36423 * __fractunstiuqq:                       Fixed-point fractional library routines.
36424                                                              (line 1734)
36425 * __fractunstiusa:                       Fixed-point fractional library routines.
36426                                                              (line 1744)
36427 * __fractunstiusq:                       Fixed-point fractional library routines.
36428                                                              (line 1738)
36429 * __fractunstiuta:                       Fixed-point fractional library routines.
36430                                                              (line 1748)
36431 * __fractunsudadi:                       Fixed-point fractional library routines.
36432                                                              (line 1622)
36433 * __fractunsudahi:                       Fixed-point fractional library routines.
36434                                                              (line 1618)
36435 * __fractunsudaqi:                       Fixed-point fractional library routines.
36436                                                              (line 1616)
36437 * __fractunsudasi:                       Fixed-point fractional library routines.
36438                                                              (line 1620)
36439 * __fractunsudati:                       Fixed-point fractional library routines.
36440                                                              (line 1624)
36441 * __fractunsudqdi:                       Fixed-point fractional library routines.
36442                                                              (line 1596)
36443 * __fractunsudqhi:                       Fixed-point fractional library routines.
36444                                                              (line 1592)
36445 * __fractunsudqqi:                       Fixed-point fractional library routines.
36446                                                              (line 1590)
36447 * __fractunsudqsi:                       Fixed-point fractional library routines.
36448                                                              (line 1594)
36449 * __fractunsudqti:                       Fixed-point fractional library routines.
36450                                                              (line 1598)
36451 * __fractunsuhadi:                       Fixed-point fractional library routines.
36452                                                              (line 1606)
36453 * __fractunsuhahi:                       Fixed-point fractional library routines.
36454                                                              (line 1602)
36455 * __fractunsuhaqi:                       Fixed-point fractional library routines.
36456                                                              (line 1600)
36457 * __fractunsuhasi:                       Fixed-point fractional library routines.
36458                                                              (line 1604)
36459 * __fractunsuhati:                       Fixed-point fractional library routines.
36460                                                              (line 1608)
36461 * __fractunsuhqdi:                       Fixed-point fractional library routines.
36462                                                              (line 1576)
36463 * __fractunsuhqhi:                       Fixed-point fractional library routines.
36464                                                              (line 1574)
36465 * __fractunsuhqqi:                       Fixed-point fractional library routines.
36466                                                              (line 1573)
36467 * __fractunsuhqsi:                       Fixed-point fractional library routines.
36468                                                              (line 1575)
36469 * __fractunsuhqti:                       Fixed-point fractional library routines.
36470                                                              (line 1578)
36471 * __fractunsuqqdi:                       Fixed-point fractional library routines.
36472                                                              (line 1570)
36473 * __fractunsuqqhi:                       Fixed-point fractional library routines.
36474                                                              (line 1566)
36475 * __fractunsuqqqi:                       Fixed-point fractional library routines.
36476                                                              (line 1564)
36477 * __fractunsuqqsi:                       Fixed-point fractional library routines.
36478                                                              (line 1568)
36479 * __fractunsuqqti:                       Fixed-point fractional library routines.
36480                                                              (line 1572)
36481 * __fractunsusadi:                       Fixed-point fractional library routines.
36482                                                              (line 1612)
36483 * __fractunsusahi:                       Fixed-point fractional library routines.
36484                                                              (line 1610)
36485 * __fractunsusaqi:                       Fixed-point fractional library routines.
36486                                                              (line 1609)
36487 * __fractunsusasi:                       Fixed-point fractional library routines.
36488                                                              (line 1611)
36489 * __fractunsusati:                       Fixed-point fractional library routines.
36490                                                              (line 1614)
36491 * __fractunsusqdi:                       Fixed-point fractional library routines.
36492                                                              (line 1586)
36493 * __fractunsusqhi:                       Fixed-point fractional library routines.
36494                                                              (line 1582)
36495 * __fractunsusqqi:                       Fixed-point fractional library routines.
36496                                                              (line 1580)
36497 * __fractunsusqsi:                       Fixed-point fractional library routines.
36498                                                              (line 1584)
36499 * __fractunsusqti:                       Fixed-point fractional library routines.
36500                                                              (line 1588)
36501 * __fractunsutadi:                       Fixed-point fractional library routines.
36502                                                              (line 1632)
36503 * __fractunsutahi:                       Fixed-point fractional library routines.
36504                                                              (line 1628)
36505 * __fractunsutaqi:                       Fixed-point fractional library routines.
36506                                                              (line 1626)
36507 * __fractunsutasi:                       Fixed-point fractional library routines.
36508                                                              (line 1630)
36509 * __fractunsutati:                       Fixed-point fractional library routines.
36510                                                              (line 1634)
36511 * __fractuqqda:                          Fixed-point fractional library routines.
36512                                                              (line  672)
36513 * __fractuqqdf:                          Fixed-point fractional library routines.
36514                                                              (line  695)
36515 * __fractuqqdi:                          Fixed-point fractional library routines.
36516                                                              (line  692)
36517 * __fractuqqdq:                          Fixed-point fractional library routines.
36518                                                              (line  669)
36519 * __fractuqqha:                          Fixed-point fractional library routines.
36520                                                              (line  670)
36521 * __fractuqqhi:                          Fixed-point fractional library routines.
36522                                                              (line  690)
36523 * __fractuqqhq:                          Fixed-point fractional library routines.
36524                                                              (line  666)
36525 * __fractuqqqi:                          Fixed-point fractional library routines.
36526                                                              (line  689)
36527 * __fractuqqqq:                          Fixed-point fractional library routines.
36528                                                              (line  665)
36529 * __fractuqqsa:                          Fixed-point fractional library routines.
36530                                                              (line  671)
36531 * __fractuqqsf:                          Fixed-point fractional library routines.
36532                                                              (line  694)
36533 * __fractuqqsi:                          Fixed-point fractional library routines.
36534                                                              (line  691)
36535 * __fractuqqsq:                          Fixed-point fractional library routines.
36536                                                              (line  667)
36537 * __fractuqqta:                          Fixed-point fractional library routines.
36538                                                              (line  674)
36539 * __fractuqqti:                          Fixed-point fractional library routines.
36540                                                              (line  693)
36541 * __fractuqquda:                         Fixed-point fractional library routines.
36542                                                              (line  686)
36543 * __fractuqqudq2:                        Fixed-point fractional library routines.
36544                                                              (line  680)
36545 * __fractuqquha:                         Fixed-point fractional library routines.
36546                                                              (line  682)
36547 * __fractuqquhq2:                        Fixed-point fractional library routines.
36548                                                              (line  676)
36549 * __fractuqqusa:                         Fixed-point fractional library routines.
36550                                                              (line  684)
36551 * __fractuqqusq2:                        Fixed-point fractional library routines.
36552                                                              (line  678)
36553 * __fractuqquta:                         Fixed-point fractional library routines.
36554                                                              (line  688)
36555 * __fractusada:                          Fixed-point fractional library routines.
36556                                                              (line  829)
36557 * __fractusadf:                          Fixed-point fractional library routines.
36558                                                              (line  850)
36559 * __fractusadi:                          Fixed-point fractional library routines.
36560                                                              (line  847)
36561 * __fractusadq:                          Fixed-point fractional library routines.
36562                                                              (line  826)
36563 * __fractusaha:                          Fixed-point fractional library routines.
36564                                                              (line  827)
36565 * __fractusahi:                          Fixed-point fractional library routines.
36566                                                              (line  845)
36567 * __fractusahq:                          Fixed-point fractional library routines.
36568                                                              (line  824)
36569 * __fractusaqi:                          Fixed-point fractional library routines.
36570                                                              (line  844)
36571 * __fractusaqq:                          Fixed-point fractional library routines.
36572                                                              (line  823)
36573 * __fractusasa:                          Fixed-point fractional library routines.
36574                                                              (line  828)
36575 * __fractusasf:                          Fixed-point fractional library routines.
36576                                                              (line  849)
36577 * __fractusasi:                          Fixed-point fractional library routines.
36578                                                              (line  846)
36579 * __fractusasq:                          Fixed-point fractional library routines.
36580                                                              (line  825)
36581 * __fractusata:                          Fixed-point fractional library routines.
36582                                                              (line  830)
36583 * __fractusati:                          Fixed-point fractional library routines.
36584                                                              (line  848)
36585 * __fractusauda2:                        Fixed-point fractional library routines.
36586                                                              (line  841)
36587 * __fractusaudq:                         Fixed-point fractional library routines.
36588                                                              (line  837)
36589 * __fractusauha2:                        Fixed-point fractional library routines.
36590                                                              (line  839)
36591 * __fractusauhq:                         Fixed-point fractional library routines.
36592                                                              (line  833)
36593 * __fractusauqq:                         Fixed-point fractional library routines.
36594                                                              (line  832)
36595 * __fractusausq:                         Fixed-point fractional library routines.
36596                                                              (line  835)
36597 * __fractusauta2:                        Fixed-point fractional library routines.
36598                                                              (line  843)
36599 * __fractusqda:                          Fixed-point fractional library routines.
36600                                                              (line  731)
36601 * __fractusqdf:                          Fixed-point fractional library routines.
36602                                                              (line  754)
36603 * __fractusqdi:                          Fixed-point fractional library routines.
36604                                                              (line  751)
36605 * __fractusqdq:                          Fixed-point fractional library routines.
36606                                                              (line  728)
36607 * __fractusqha:                          Fixed-point fractional library routines.
36608                                                              (line  729)
36609 * __fractusqhi:                          Fixed-point fractional library routines.
36610                                                              (line  749)
36611 * __fractusqhq:                          Fixed-point fractional library routines.
36612                                                              (line  725)
36613 * __fractusqqi:                          Fixed-point fractional library routines.
36614                                                              (line  748)
36615 * __fractusqqq:                          Fixed-point fractional library routines.
36616                                                              (line  724)
36617 * __fractusqsa:                          Fixed-point fractional library routines.
36618                                                              (line  730)
36619 * __fractusqsf:                          Fixed-point fractional library routines.
36620                                                              (line  753)
36621 * __fractusqsi:                          Fixed-point fractional library routines.
36622                                                              (line  750)
36623 * __fractusqsq:                          Fixed-point fractional library routines.
36624                                                              (line  726)
36625 * __fractusqta:                          Fixed-point fractional library routines.
36626                                                              (line  733)
36627 * __fractusqti:                          Fixed-point fractional library routines.
36628                                                              (line  752)
36629 * __fractusquda:                         Fixed-point fractional library routines.
36630                                                              (line  745)
36631 * __fractusqudq2:                        Fixed-point fractional library routines.
36632                                                              (line  739)
36633 * __fractusquha:                         Fixed-point fractional library routines.
36634                                                              (line  741)
36635 * __fractusquhq2:                        Fixed-point fractional library routines.
36636                                                              (line  737)
36637 * __fractusquqq2:                        Fixed-point fractional library routines.
36638                                                              (line  735)
36639 * __fractusqusa:                         Fixed-point fractional library routines.
36640                                                              (line  743)
36641 * __fractusquta:                         Fixed-point fractional library routines.
36642                                                              (line  747)
36643 * __fractutada:                          Fixed-point fractional library routines.
36644                                                              (line  893)
36645 * __fractutadf:                          Fixed-point fractional library routines.
36646                                                              (line  918)
36647 * __fractutadi:                          Fixed-point fractional library routines.
36648                                                              (line  914)
36649 * __fractutadq:                          Fixed-point fractional library routines.
36650                                                              (line  888)
36651 * __fractutaha:                          Fixed-point fractional library routines.
36652                                                              (line  890)
36653 * __fractutahi:                          Fixed-point fractional library routines.
36654                                                              (line  912)
36655 * __fractutahq:                          Fixed-point fractional library routines.
36656                                                              (line  884)
36657 * __fractutaqi:                          Fixed-point fractional library routines.
36658                                                              (line  911)
36659 * __fractutaqq:                          Fixed-point fractional library routines.
36660                                                              (line  883)
36661 * __fractutasa:                          Fixed-point fractional library routines.
36662                                                              (line  891)
36663 * __fractutasf:                          Fixed-point fractional library routines.
36664                                                              (line  917)
36665 * __fractutasi:                          Fixed-point fractional library routines.
36666                                                              (line  913)
36667 * __fractutasq:                          Fixed-point fractional library routines.
36668                                                              (line  886)
36669 * __fractutata:                          Fixed-point fractional library routines.
36670                                                              (line  895)
36671 * __fractutati:                          Fixed-point fractional library routines.
36672                                                              (line  916)
36673 * __fractutauda2:                        Fixed-point fractional library routines.
36674                                                              (line  909)
36675 * __fractutaudq:                         Fixed-point fractional library routines.
36676                                                              (line  903)
36677 * __fractutauha2:                        Fixed-point fractional library routines.
36678                                                              (line  905)
36679 * __fractutauhq:                         Fixed-point fractional library routines.
36680                                                              (line  899)
36681 * __fractutauqq:                         Fixed-point fractional library routines.
36682                                                              (line  897)
36683 * __fractutausa2:                        Fixed-point fractional library routines.
36684                                                              (line  907)
36685 * __fractutausq:                         Fixed-point fractional library routines.
36686                                                              (line  901)
36687 * __gedf2:                               Soft float library routines.
36688                                                              (line  206)
36689 * __gesf2:                               Soft float library routines.
36690                                                              (line  205)
36691 * __getf2:                               Soft float library routines.
36692                                                              (line  207)
36693 * __gtdf2:                               Soft float library routines.
36694                                                              (line  224)
36695 * __gtsf2:                               Soft float library routines.
36696                                                              (line  223)
36697 * __gttf2:                               Soft float library routines.
36698                                                              (line  225)
36699 * __ledf2:                               Soft float library routines.
36700                                                              (line  218)
36701 * __lesf2:                               Soft float library routines.
36702                                                              (line  217)
36703 * __letf2:                               Soft float library routines.
36704                                                              (line  219)
36705 * __lshrdi3:                             Integer library routines.
36706                                                              (line   31)
36707 * __lshrsi3:                             Integer library routines.
36708                                                              (line   30)
36709 * __lshrti3:                             Integer library routines.
36710                                                              (line   32)
36711 * __lshruda3:                            Fixed-point fractional library routines.
36712                                                              (line  390)
36713 * __lshrudq3:                            Fixed-point fractional library routines.
36714                                                              (line  384)
36715 * __lshruha3:                            Fixed-point fractional library routines.
36716                                                              (line  386)
36717 * __lshruhq3:                            Fixed-point fractional library routines.
36718                                                              (line  380)
36719 * __lshruqq3:                            Fixed-point fractional library routines.
36720                                                              (line  378)
36721 * __lshrusa3:                            Fixed-point fractional library routines.
36722                                                              (line  388)
36723 * __lshrusq3:                            Fixed-point fractional library routines.
36724                                                              (line  382)
36725 * __lshruta3:                            Fixed-point fractional library routines.
36726                                                              (line  392)
36727 * __ltdf2:                               Soft float library routines.
36728                                                              (line  212)
36729 * __ltsf2:                               Soft float library routines.
36730                                                              (line  211)
36731 * __lttf2:                               Soft float library routines.
36732                                                              (line  213)
36733 * __main:                                Collect2.           (line   15)
36734 * __moddi3:                              Integer library routines.
36735                                                              (line   37)
36736 * __modsi3:                              Integer library routines.
36737                                                              (line   36)
36738 * __modti3:                              Integer library routines.
36739                                                              (line   38)
36740 * __mulda3:                              Fixed-point fractional library routines.
36741                                                              (line  171)
36742 * __muldc3:                              Soft float library routines.
36743                                                              (line  241)
36744 * __muldf3:                              Soft float library routines.
36745                                                              (line   40)
36746 * __muldi3:                              Integer library routines.
36747                                                              (line   43)
36748 * __muldq3:                              Fixed-point fractional library routines.
36749                                                              (line  159)
36750 * __mulha3:                              Fixed-point fractional library routines.
36751                                                              (line  169)
36752 * __mulhq3:                              Fixed-point fractional library routines.
36753                                                              (line  156)
36754 * __mulqq3:                              Fixed-point fractional library routines.
36755                                                              (line  155)
36756 * __mulsa3:                              Fixed-point fractional library routines.
36757                                                              (line  170)
36758 * __mulsc3:                              Soft float library routines.
36759                                                              (line  239)
36760 * __mulsf3:                              Soft float library routines.
36761                                                              (line   39)
36762 * __mulsi3:                              Integer library routines.
36763                                                              (line   42)
36764 * __mulsq3:                              Fixed-point fractional library routines.
36765                                                              (line  157)
36766 * __multa3:                              Fixed-point fractional library routines.
36767                                                              (line  173)
36768 * __multc3:                              Soft float library routines.
36769                                                              (line  243)
36770 * __multf3:                              Soft float library routines.
36771                                                              (line   42)
36772 * __multi3:                              Integer library routines.
36773                                                              (line   44)
36774 * __muluda3:                             Fixed-point fractional library routines.
36775                                                              (line  179)
36776 * __muludq3:                             Fixed-point fractional library routines.
36777                                                              (line  167)
36778 * __muluha3:                             Fixed-point fractional library routines.
36779                                                              (line  175)
36780 * __muluhq3:                             Fixed-point fractional library routines.
36781                                                              (line  163)
36782 * __muluqq3:                             Fixed-point fractional library routines.
36783                                                              (line  161)
36784 * __mulusa3:                             Fixed-point fractional library routines.
36785                                                              (line  177)
36786 * __mulusq3:                             Fixed-point fractional library routines.
36787                                                              (line  165)
36788 * __muluta3:                             Fixed-point fractional library routines.
36789                                                              (line  181)
36790 * __mulvdi3:                             Integer library routines.
36791                                                              (line  115)
36792 * __mulvsi3:                             Integer library routines.
36793                                                              (line  114)
36794 * __mulxc3:                              Soft float library routines.
36795                                                              (line  245)
36796 * __mulxf3:                              Soft float library routines.
36797                                                              (line   44)
36798 * __nedf2:                               Soft float library routines.
36799                                                              (line  200)
36800 * __negda2:                              Fixed-point fractional library routines.
36801                                                              (line  299)
36802 * __negdf2:                              Soft float library routines.
36803                                                              (line   56)
36804 * __negdi2:                              Integer library routines.
36805                                                              (line   47)
36806 * __negdq2:                              Fixed-point fractional library routines.
36807                                                              (line  289)
36808 * __negha2:                              Fixed-point fractional library routines.
36809                                                              (line  297)
36810 * __neghq2:                              Fixed-point fractional library routines.
36811                                                              (line  287)
36812 * __negqq2:                              Fixed-point fractional library routines.
36813                                                              (line  286)
36814 * __negsa2:                              Fixed-point fractional library routines.
36815                                                              (line  298)
36816 * __negsf2:                              Soft float library routines.
36817                                                              (line   55)
36818 * __negsq2:                              Fixed-point fractional library routines.
36819                                                              (line  288)
36820 * __negta2:                              Fixed-point fractional library routines.
36821                                                              (line  300)
36822 * __negtf2:                              Soft float library routines.
36823                                                              (line   57)
36824 * __negti2:                              Integer library routines.
36825                                                              (line   48)
36826 * __neguda2:                             Fixed-point fractional library routines.
36827                                                              (line  305)
36828 * __negudq2:                             Fixed-point fractional library routines.
36829                                                              (line  296)
36830 * __neguha2:                             Fixed-point fractional library routines.
36831                                                              (line  302)
36832 * __neguhq2:                             Fixed-point fractional library routines.
36833                                                              (line  292)
36834 * __neguqq2:                             Fixed-point fractional library routines.
36835                                                              (line  291)
36836 * __negusa2:                             Fixed-point fractional library routines.
36837                                                              (line  303)
36838 * __negusq2:                             Fixed-point fractional library routines.
36839                                                              (line  294)
36840 * __neguta2:                             Fixed-point fractional library routines.
36841                                                              (line  307)
36842 * __negvdi2:                             Integer library routines.
36843                                                              (line  119)
36844 * __negvsi2:                             Integer library routines.
36845                                                              (line  118)
36846 * __negxf2:                              Soft float library routines.
36847                                                              (line   58)
36848 * __nesf2:                               Soft float library routines.
36849                                                              (line  199)
36850 * __netf2:                               Soft float library routines.
36851                                                              (line  201)
36852 * __paritydi2:                           Integer library routines.
36853                                                              (line  151)
36854 * __paritysi2:                           Integer library routines.
36855                                                              (line  150)
36856 * __parityti2:                           Integer library routines.
36857                                                              (line  152)
36858 * __popcountdi2:                         Integer library routines.
36859                                                              (line  157)
36860 * __popcountsi2:                         Integer library routines.
36861                                                              (line  156)
36862 * __popcountti2:                         Integer library routines.
36863                                                              (line  158)
36864 * __powidf2:                             Soft float library routines.
36865                                                              (line  233)
36866 * __powisf2:                             Soft float library routines.
36867                                                              (line  232)
36868 * __powitf2:                             Soft float library routines.
36869                                                              (line  234)
36870 * __powixf2:                             Soft float library routines.
36871                                                              (line  235)
36872 * __satfractdadq:                        Fixed-point fractional library routines.
36873                                                              (line 1153)
36874 * __satfractdaha2:                       Fixed-point fractional library routines.
36875                                                              (line 1154)
36876 * __satfractdahq:                        Fixed-point fractional library routines.
36877                                                              (line 1151)
36878 * __satfractdaqq:                        Fixed-point fractional library routines.
36879                                                              (line 1150)
36880 * __satfractdasa2:                       Fixed-point fractional library routines.
36881                                                              (line 1155)
36882 * __satfractdasq:                        Fixed-point fractional library routines.
36883                                                              (line 1152)
36884 * __satfractdata2:                       Fixed-point fractional library routines.
36885                                                              (line 1156)
36886 * __satfractdauda:                       Fixed-point fractional library routines.
36887                                                              (line 1166)
36888 * __satfractdaudq:                       Fixed-point fractional library routines.
36889                                                              (line 1162)
36890 * __satfractdauha:                       Fixed-point fractional library routines.
36891                                                              (line 1164)
36892 * __satfractdauhq:                       Fixed-point fractional library routines.
36893                                                              (line 1159)
36894 * __satfractdauqq:                       Fixed-point fractional library routines.
36895                                                              (line 1158)
36896 * __satfractdausa:                       Fixed-point fractional library routines.
36897                                                              (line 1165)
36898 * __satfractdausq:                       Fixed-point fractional library routines.
36899                                                              (line 1160)
36900 * __satfractdauta:                       Fixed-point fractional library routines.
36901                                                              (line 1168)
36902 * __satfractdfda:                        Fixed-point fractional library routines.
36903                                                              (line 1506)
36904 * __satfractdfdq:                        Fixed-point fractional library routines.
36905                                                              (line 1503)
36906 * __satfractdfha:                        Fixed-point fractional library routines.
36907                                                              (line 1504)
36908 * __satfractdfhq:                        Fixed-point fractional library routines.
36909                                                              (line 1501)
36910 * __satfractdfqq:                        Fixed-point fractional library routines.
36911                                                              (line 1500)
36912 * __satfractdfsa:                        Fixed-point fractional library routines.
36913                                                              (line 1505)
36914 * __satfractdfsq:                        Fixed-point fractional library routines.
36915                                                              (line 1502)
36916 * __satfractdfta:                        Fixed-point fractional library routines.
36917                                                              (line 1507)
36918 * __satfractdfuda:                       Fixed-point fractional library routines.
36919                                                              (line 1515)
36920 * __satfractdfudq:                       Fixed-point fractional library routines.
36921                                                              (line 1512)
36922 * __satfractdfuha:                       Fixed-point fractional library routines.
36923                                                              (line 1513)
36924 * __satfractdfuhq:                       Fixed-point fractional library routines.
36925                                                              (line 1509)
36926 * __satfractdfuqq:                       Fixed-point fractional library routines.
36927                                                              (line 1508)
36928 * __satfractdfusa:                       Fixed-point fractional library routines.
36929                                                              (line 1514)
36930 * __satfractdfusq:                       Fixed-point fractional library routines.
36931                                                              (line 1510)
36932 * __satfractdfuta:                       Fixed-point fractional library routines.
36933                                                              (line 1517)
36934 * __satfractdida:                        Fixed-point fractional library routines.
36935                                                              (line 1456)
36936 * __satfractdidq:                        Fixed-point fractional library routines.
36937                                                              (line 1453)
36938 * __satfractdiha:                        Fixed-point fractional library routines.
36939                                                              (line 1454)
36940 * __satfractdihq:                        Fixed-point fractional library routines.
36941                                                              (line 1451)
36942 * __satfractdiqq:                        Fixed-point fractional library routines.
36943                                                              (line 1450)
36944 * __satfractdisa:                        Fixed-point fractional library routines.
36945                                                              (line 1455)
36946 * __satfractdisq:                        Fixed-point fractional library routines.
36947                                                              (line 1452)
36948 * __satfractdita:                        Fixed-point fractional library routines.
36949                                                              (line 1457)
36950 * __satfractdiuda:                       Fixed-point fractional library routines.
36951                                                              (line 1464)
36952 * __satfractdiudq:                       Fixed-point fractional library routines.
36953                                                              (line 1461)
36954 * __satfractdiuha:                       Fixed-point fractional library routines.
36955                                                              (line 1462)
36956 * __satfractdiuhq:                       Fixed-point fractional library routines.
36957                                                              (line 1459)
36958 * __satfractdiuqq:                       Fixed-point fractional library routines.
36959                                                              (line 1458)
36960 * __satfractdiusa:                       Fixed-point fractional library routines.
36961                                                              (line 1463)
36962 * __satfractdiusq:                       Fixed-point fractional library routines.
36963                                                              (line 1460)
36964 * __satfractdiuta:                       Fixed-point fractional library routines.
36965                                                              (line 1465)
36966 * __satfractdqda:                        Fixed-point fractional library routines.
36967                                                              (line 1098)
36968 * __satfractdqha:                        Fixed-point fractional library routines.
36969                                                              (line 1096)
36970 * __satfractdqhq2:                       Fixed-point fractional library routines.
36971                                                              (line 1094)
36972 * __satfractdqqq2:                       Fixed-point fractional library routines.
36973                                                              (line 1093)
36974 * __satfractdqsa:                        Fixed-point fractional library routines.
36975                                                              (line 1097)
36976 * __satfractdqsq2:                       Fixed-point fractional library routines.
36977                                                              (line 1095)
36978 * __satfractdqta:                        Fixed-point fractional library routines.
36979                                                              (line 1099)
36980 * __satfractdquda:                       Fixed-point fractional library routines.
36981                                                              (line 1111)
36982 * __satfractdqudq:                       Fixed-point fractional library routines.
36983                                                              (line 1106)
36984 * __satfractdquha:                       Fixed-point fractional library routines.
36985                                                              (line 1108)
36986 * __satfractdquhq:                       Fixed-point fractional library routines.
36987                                                              (line 1102)
36988 * __satfractdquqq:                       Fixed-point fractional library routines.
36989                                                              (line 1101)
36990 * __satfractdqusa:                       Fixed-point fractional library routines.
36991                                                              (line 1109)
36992 * __satfractdqusq:                       Fixed-point fractional library routines.
36993                                                              (line 1104)
36994 * __satfractdquta:                       Fixed-point fractional library routines.
36995                                                              (line 1113)
36996 * __satfracthada2:                       Fixed-point fractional library routines.
36997                                                              (line 1119)
36998 * __satfracthadq:                        Fixed-point fractional library routines.
36999                                                              (line 1117)
37000 * __satfracthahq:                        Fixed-point fractional library routines.
37001                                                              (line 1115)
37002 * __satfracthaqq:                        Fixed-point fractional library routines.
37003                                                              (line 1114)
37004 * __satfracthasa2:                       Fixed-point fractional library routines.
37005                                                              (line 1118)
37006 * __satfracthasq:                        Fixed-point fractional library routines.
37007                                                              (line 1116)
37008 * __satfracthata2:                       Fixed-point fractional library routines.
37009                                                              (line 1120)
37010 * __satfracthauda:                       Fixed-point fractional library routines.
37011                                                              (line 1132)
37012 * __satfracthaudq:                       Fixed-point fractional library routines.
37013                                                              (line 1127)
37014 * __satfracthauha:                       Fixed-point fractional library routines.
37015                                                              (line 1129)
37016 * __satfracthauhq:                       Fixed-point fractional library routines.
37017                                                              (line 1123)
37018 * __satfracthauqq:                       Fixed-point fractional library routines.
37019                                                              (line 1122)
37020 * __satfracthausa:                       Fixed-point fractional library routines.
37021                                                              (line 1130)
37022 * __satfracthausq:                       Fixed-point fractional library routines.
37023                                                              (line 1125)
37024 * __satfracthauta:                       Fixed-point fractional library routines.
37025                                                              (line 1134)
37026 * __satfracthida:                        Fixed-point fractional library routines.
37027                                                              (line 1424)
37028 * __satfracthidq:                        Fixed-point fractional library routines.
37029                                                              (line 1421)
37030 * __satfracthiha:                        Fixed-point fractional library routines.
37031                                                              (line 1422)
37032 * __satfracthihq:                        Fixed-point fractional library routines.
37033                                                              (line 1419)
37034 * __satfracthiqq:                        Fixed-point fractional library routines.
37035                                                              (line 1418)
37036 * __satfracthisa:                        Fixed-point fractional library routines.
37037                                                              (line 1423)
37038 * __satfracthisq:                        Fixed-point fractional library routines.
37039                                                              (line 1420)
37040 * __satfracthita:                        Fixed-point fractional library routines.
37041                                                              (line 1425)
37042 * __satfracthiuda:                       Fixed-point fractional library routines.
37043                                                              (line 1432)
37044 * __satfracthiudq:                       Fixed-point fractional library routines.
37045                                                              (line 1429)
37046 * __satfracthiuha:                       Fixed-point fractional library routines.
37047                                                              (line 1430)
37048 * __satfracthiuhq:                       Fixed-point fractional library routines.
37049                                                              (line 1427)
37050 * __satfracthiuqq:                       Fixed-point fractional library routines.
37051                                                              (line 1426)
37052 * __satfracthiusa:                       Fixed-point fractional library routines.
37053                                                              (line 1431)
37054 * __satfracthiusq:                       Fixed-point fractional library routines.
37055                                                              (line 1428)
37056 * __satfracthiuta:                       Fixed-point fractional library routines.
37057                                                              (line 1433)
37058 * __satfracthqda:                        Fixed-point fractional library routines.
37059                                                              (line 1064)
37060 * __satfracthqdq2:                       Fixed-point fractional library routines.
37061                                                              (line 1061)
37062 * __satfracthqha:                        Fixed-point fractional library routines.
37063                                                              (line 1062)
37064 * __satfracthqqq2:                       Fixed-point fractional library routines.
37065                                                              (line 1059)
37066 * __satfracthqsa:                        Fixed-point fractional library routines.
37067                                                              (line 1063)
37068 * __satfracthqsq2:                       Fixed-point fractional library routines.
37069                                                              (line 1060)
37070 * __satfracthqta:                        Fixed-point fractional library routines.
37071                                                              (line 1065)
37072 * __satfracthquda:                       Fixed-point fractional library routines.
37073                                                              (line 1072)
37074 * __satfracthqudq:                       Fixed-point fractional library routines.
37075                                                              (line 1069)
37076 * __satfracthquha:                       Fixed-point fractional library routines.
37077                                                              (line 1070)
37078 * __satfracthquhq:                       Fixed-point fractional library routines.
37079                                                              (line 1067)
37080 * __satfracthquqq:                       Fixed-point fractional library routines.
37081                                                              (line 1066)
37082 * __satfracthqusa:                       Fixed-point fractional library routines.
37083                                                              (line 1071)
37084 * __satfracthqusq:                       Fixed-point fractional library routines.
37085                                                              (line 1068)
37086 * __satfracthquta:                       Fixed-point fractional library routines.
37087                                                              (line 1073)
37088 * __satfractqida:                        Fixed-point fractional library routines.
37089                                                              (line 1402)
37090 * __satfractqidq:                        Fixed-point fractional library routines.
37091                                                              (line 1399)
37092 * __satfractqiha:                        Fixed-point fractional library routines.
37093                                                              (line 1400)
37094 * __satfractqihq:                        Fixed-point fractional library routines.
37095                                                              (line 1397)
37096 * __satfractqiqq:                        Fixed-point fractional library routines.
37097                                                              (line 1396)
37098 * __satfractqisa:                        Fixed-point fractional library routines.
37099                                                              (line 1401)
37100 * __satfractqisq:                        Fixed-point fractional library routines.
37101                                                              (line 1398)
37102 * __satfractqita:                        Fixed-point fractional library routines.
37103                                                              (line 1403)
37104 * __satfractqiuda:                       Fixed-point fractional library routines.
37105                                                              (line 1415)
37106 * __satfractqiudq:                       Fixed-point fractional library routines.
37107                                                              (line 1410)
37108 * __satfractqiuha:                       Fixed-point fractional library routines.
37109                                                              (line 1412)
37110 * __satfractqiuhq:                       Fixed-point fractional library routines.
37111                                                              (line 1406)
37112 * __satfractqiuqq:                       Fixed-point fractional library routines.
37113                                                              (line 1405)
37114 * __satfractqiusa:                       Fixed-point fractional library routines.
37115                                                              (line 1413)
37116 * __satfractqiusq:                       Fixed-point fractional library routines.
37117                                                              (line 1408)
37118 * __satfractqiuta:                       Fixed-point fractional library routines.
37119                                                              (line 1417)
37120 * __satfractqqda:                        Fixed-point fractional library routines.
37121                                                              (line 1043)
37122 * __satfractqqdq2:                       Fixed-point fractional library routines.
37123                                                              (line 1040)
37124 * __satfractqqha:                        Fixed-point fractional library routines.
37125                                                              (line 1041)
37126 * __satfractqqhq2:                       Fixed-point fractional library routines.
37127                                                              (line 1038)
37128 * __satfractqqsa:                        Fixed-point fractional library routines.
37129                                                              (line 1042)
37130 * __satfractqqsq2:                       Fixed-point fractional library routines.
37131                                                              (line 1039)
37132 * __satfractqqta:                        Fixed-point fractional library routines.
37133                                                              (line 1044)
37134 * __satfractqquda:                       Fixed-point fractional library routines.
37135                                                              (line 1056)
37136 * __satfractqqudq:                       Fixed-point fractional library routines.
37137                                                              (line 1051)
37138 * __satfractqquha:                       Fixed-point fractional library routines.
37139                                                              (line 1053)
37140 * __satfractqquhq:                       Fixed-point fractional library routines.
37141                                                              (line 1047)
37142 * __satfractqquqq:                       Fixed-point fractional library routines.
37143                                                              (line 1046)
37144 * __satfractqqusa:                       Fixed-point fractional library routines.
37145                                                              (line 1054)
37146 * __satfractqqusq:                       Fixed-point fractional library routines.
37147                                                              (line 1049)
37148 * __satfractqquta:                       Fixed-point fractional library routines.
37149                                                              (line 1058)
37150 * __satfractsada2:                       Fixed-point fractional library routines.
37151                                                              (line 1140)
37152 * __satfractsadq:                        Fixed-point fractional library routines.
37153                                                              (line 1138)
37154 * __satfractsaha2:                       Fixed-point fractional library routines.
37155                                                              (line 1139)
37156 * __satfractsahq:                        Fixed-point fractional library routines.
37157                                                              (line 1136)
37158 * __satfractsaqq:                        Fixed-point fractional library routines.
37159                                                              (line 1135)
37160 * __satfractsasq:                        Fixed-point fractional library routines.
37161                                                              (line 1137)
37162 * __satfractsata2:                       Fixed-point fractional library routines.
37163                                                              (line 1141)
37164 * __satfractsauda:                       Fixed-point fractional library routines.
37165                                                              (line 1148)
37166 * __satfractsaudq:                       Fixed-point fractional library routines.
37167                                                              (line 1145)
37168 * __satfractsauha:                       Fixed-point fractional library routines.
37169                                                              (line 1146)
37170 * __satfractsauhq:                       Fixed-point fractional library routines.
37171                                                              (line 1143)
37172 * __satfractsauqq:                       Fixed-point fractional library routines.
37173                                                              (line 1142)
37174 * __satfractsausa:                       Fixed-point fractional library routines.
37175                                                              (line 1147)
37176 * __satfractsausq:                       Fixed-point fractional library routines.
37177                                                              (line 1144)
37178 * __satfractsauta:                       Fixed-point fractional library routines.
37179                                                              (line 1149)
37180 * __satfractsfda:                        Fixed-point fractional library routines.
37181                                                              (line 1490)
37182 * __satfractsfdq:                        Fixed-point fractional library routines.
37183                                                              (line 1487)
37184 * __satfractsfha:                        Fixed-point fractional library routines.
37185                                                              (line 1488)
37186 * __satfractsfhq:                        Fixed-point fractional library routines.
37187                                                              (line 1485)
37188 * __satfractsfqq:                        Fixed-point fractional library routines.
37189                                                              (line 1484)
37190 * __satfractsfsa:                        Fixed-point fractional library routines.
37191                                                              (line 1489)
37192 * __satfractsfsq:                        Fixed-point fractional library routines.
37193                                                              (line 1486)
37194 * __satfractsfta:                        Fixed-point fractional library routines.
37195                                                              (line 1491)
37196 * __satfractsfuda:                       Fixed-point fractional library routines.
37197                                                              (line 1498)
37198 * __satfractsfudq:                       Fixed-point fractional library routines.
37199                                                              (line 1495)
37200 * __satfractsfuha:                       Fixed-point fractional library routines.
37201                                                              (line 1496)
37202 * __satfractsfuhq:                       Fixed-point fractional library routines.
37203                                                              (line 1493)
37204 * __satfractsfuqq:                       Fixed-point fractional library routines.
37205                                                              (line 1492)
37206 * __satfractsfusa:                       Fixed-point fractional library routines.
37207                                                              (line 1497)
37208 * __satfractsfusq:                       Fixed-point fractional library routines.
37209                                                              (line 1494)
37210 * __satfractsfuta:                       Fixed-point fractional library routines.
37211                                                              (line 1499)
37212 * __satfractsida:                        Fixed-point fractional library routines.
37213                                                              (line 1440)
37214 * __satfractsidq:                        Fixed-point fractional library routines.
37215                                                              (line 1437)
37216 * __satfractsiha:                        Fixed-point fractional library routines.
37217                                                              (line 1438)
37218 * __satfractsihq:                        Fixed-point fractional library routines.
37219                                                              (line 1435)
37220 * __satfractsiqq:                        Fixed-point fractional library routines.
37221                                                              (line 1434)
37222 * __satfractsisa:                        Fixed-point fractional library routines.
37223                                                              (line 1439)
37224 * __satfractsisq:                        Fixed-point fractional library routines.
37225                                                              (line 1436)
37226 * __satfractsita:                        Fixed-point fractional library routines.
37227                                                              (line 1441)
37228 * __satfractsiuda:                       Fixed-point fractional library routines.
37229                                                              (line 1448)
37230 * __satfractsiudq:                       Fixed-point fractional library routines.
37231                                                              (line 1445)
37232 * __satfractsiuha:                       Fixed-point fractional library routines.
37233                                                              (line 1446)
37234 * __satfractsiuhq:                       Fixed-point fractional library routines.
37235                                                              (line 1443)
37236 * __satfractsiuqq:                       Fixed-point fractional library routines.
37237                                                              (line 1442)
37238 * __satfractsiusa:                       Fixed-point fractional library routines.
37239                                                              (line 1447)
37240 * __satfractsiusq:                       Fixed-point fractional library routines.
37241                                                              (line 1444)
37242 * __satfractsiuta:                       Fixed-point fractional library routines.
37243                                                              (line 1449)
37244 * __satfractsqda:                        Fixed-point fractional library routines.
37245                                                              (line 1079)
37246 * __satfractsqdq2:                       Fixed-point fractional library routines.
37247                                                              (line 1076)
37248 * __satfractsqha:                        Fixed-point fractional library routines.
37249                                                              (line 1077)
37250 * __satfractsqhq2:                       Fixed-point fractional library routines.
37251                                                              (line 1075)
37252 * __satfractsqqq2:                       Fixed-point fractional library routines.
37253                                                              (line 1074)
37254 * __satfractsqsa:                        Fixed-point fractional library routines.
37255                                                              (line 1078)
37256 * __satfractsqta:                        Fixed-point fractional library routines.
37257                                                              (line 1080)
37258 * __satfractsquda:                       Fixed-point fractional library routines.
37259                                                              (line 1090)
37260 * __satfractsqudq:                       Fixed-point fractional library routines.
37261                                                              (line 1086)
37262 * __satfractsquha:                       Fixed-point fractional library routines.
37263                                                              (line 1088)
37264 * __satfractsquhq:                       Fixed-point fractional library routines.
37265                                                              (line 1083)
37266 * __satfractsquqq:                       Fixed-point fractional library routines.
37267                                                              (line 1082)
37268 * __satfractsqusa:                       Fixed-point fractional library routines.
37269                                                              (line 1089)
37270 * __satfractsqusq:                       Fixed-point fractional library routines.
37271                                                              (line 1084)
37272 * __satfractsquta:                       Fixed-point fractional library routines.
37273                                                              (line 1092)
37274 * __satfracttada2:                       Fixed-point fractional library routines.
37275                                                              (line 1175)
37276 * __satfracttadq:                        Fixed-point fractional library routines.
37277                                                              (line 1172)
37278 * __satfracttaha2:                       Fixed-point fractional library routines.
37279                                                              (line 1173)
37280 * __satfracttahq:                        Fixed-point fractional library routines.
37281                                                              (line 1170)
37282 * __satfracttaqq:                        Fixed-point fractional library routines.
37283                                                              (line 1169)
37284 * __satfracttasa2:                       Fixed-point fractional library routines.
37285                                                              (line 1174)
37286 * __satfracttasq:                        Fixed-point fractional library routines.
37287                                                              (line 1171)
37288 * __satfracttauda:                       Fixed-point fractional library routines.
37289                                                              (line 1187)
37290 * __satfracttaudq:                       Fixed-point fractional library routines.
37291                                                              (line 1182)
37292 * __satfracttauha:                       Fixed-point fractional library routines.
37293                                                              (line 1184)
37294 * __satfracttauhq:                       Fixed-point fractional library routines.
37295                                                              (line 1178)
37296 * __satfracttauqq:                       Fixed-point fractional library routines.
37297                                                              (line 1177)
37298 * __satfracttausa:                       Fixed-point fractional library routines.
37299                                                              (line 1185)
37300 * __satfracttausq:                       Fixed-point fractional library routines.
37301                                                              (line 1180)
37302 * __satfracttauta:                       Fixed-point fractional library routines.
37303                                                              (line 1189)
37304 * __satfracttida:                        Fixed-point fractional library routines.
37305                                                              (line 1472)
37306 * __satfracttidq:                        Fixed-point fractional library routines.
37307                                                              (line 1469)
37308 * __satfracttiha:                        Fixed-point fractional library routines.
37309                                                              (line 1470)
37310 * __satfracttihq:                        Fixed-point fractional library routines.
37311                                                              (line 1467)
37312 * __satfracttiqq:                        Fixed-point fractional library routines.
37313                                                              (line 1466)
37314 * __satfracttisa:                        Fixed-point fractional library routines.
37315                                                              (line 1471)
37316 * __satfracttisq:                        Fixed-point fractional library routines.
37317                                                              (line 1468)
37318 * __satfracttita:                        Fixed-point fractional library routines.
37319                                                              (line 1473)
37320 * __satfracttiuda:                       Fixed-point fractional library routines.
37321                                                              (line 1481)
37322 * __satfracttiudq:                       Fixed-point fractional library routines.
37323                                                              (line 1478)
37324 * __satfracttiuha:                       Fixed-point fractional library routines.
37325                                                              (line 1479)
37326 * __satfracttiuhq:                       Fixed-point fractional library routines.
37327                                                              (line 1475)
37328 * __satfracttiuqq:                       Fixed-point fractional library routines.
37329                                                              (line 1474)
37330 * __satfracttiusa:                       Fixed-point fractional library routines.
37331                                                              (line 1480)
37332 * __satfracttiusq:                       Fixed-point fractional library routines.
37333                                                              (line 1476)
37334 * __satfracttiuta:                       Fixed-point fractional library routines.
37335                                                              (line 1483)
37336 * __satfractudada:                       Fixed-point fractional library routines.
37337                                                              (line 1351)
37338 * __satfractudadq:                       Fixed-point fractional library routines.
37339                                                              (line 1347)
37340 * __satfractudaha:                       Fixed-point fractional library routines.
37341                                                              (line 1349)
37342 * __satfractudahq:                       Fixed-point fractional library routines.
37343                                                              (line 1344)
37344 * __satfractudaqq:                       Fixed-point fractional library routines.
37345                                                              (line 1343)
37346 * __satfractudasa:                       Fixed-point fractional library routines.
37347                                                              (line 1350)
37348 * __satfractudasq:                       Fixed-point fractional library routines.
37349                                                              (line 1345)
37350 * __satfractudata:                       Fixed-point fractional library routines.
37351                                                              (line 1353)
37352 * __satfractudaudq:                      Fixed-point fractional library routines.
37353                                                              (line 1361)
37354 * __satfractudauha2:                     Fixed-point fractional library routines.
37355                                                              (line 1363)
37356 * __satfractudauhq:                      Fixed-point fractional library routines.
37357                                                              (line 1357)
37358 * __satfractudauqq:                      Fixed-point fractional library routines.
37359                                                              (line 1355)
37360 * __satfractudausa2:                     Fixed-point fractional library routines.
37361                                                              (line 1365)
37362 * __satfractudausq:                      Fixed-point fractional library routines.
37363                                                              (line 1359)
37364 * __satfractudauta2:                     Fixed-point fractional library routines.
37365                                                              (line 1367)
37366 * __satfractudqda:                       Fixed-point fractional library routines.
37367                                                              (line 1276)
37368 * __satfractudqdq:                       Fixed-point fractional library routines.
37369                                                              (line 1271)
37370 * __satfractudqha:                       Fixed-point fractional library routines.
37371                                                              (line 1273)
37372 * __satfractudqhq:                       Fixed-point fractional library routines.
37373                                                              (line 1267)
37374 * __satfractudqqq:                       Fixed-point fractional library routines.
37375                                                              (line 1266)
37376 * __satfractudqsa:                       Fixed-point fractional library routines.
37377                                                              (line 1274)
37378 * __satfractudqsq:                       Fixed-point fractional library routines.
37379                                                              (line 1269)
37380 * __satfractudqta:                       Fixed-point fractional library routines.
37381                                                              (line 1278)
37382 * __satfractudquda:                      Fixed-point fractional library routines.
37383                                                              (line 1290)
37384 * __satfractudquha:                      Fixed-point fractional library routines.
37385                                                              (line 1286)
37386 * __satfractudquhq2:                     Fixed-point fractional library routines.
37387                                                              (line 1282)
37388 * __satfractudquqq2:                     Fixed-point fractional library routines.
37389                                                              (line 1280)
37390 * __satfractudqusa:                      Fixed-point fractional library routines.
37391                                                              (line 1288)
37392 * __satfractudqusq2:                     Fixed-point fractional library routines.
37393                                                              (line 1284)
37394 * __satfractudquta:                      Fixed-point fractional library routines.
37395                                                              (line 1292)
37396 * __satfractuhada:                       Fixed-point fractional library routines.
37397                                                              (line 1304)
37398 * __satfractuhadq:                       Fixed-point fractional library routines.
37399                                                              (line 1299)
37400 * __satfractuhaha:                       Fixed-point fractional library routines.
37401                                                              (line 1301)
37402 * __satfractuhahq:                       Fixed-point fractional library routines.
37403                                                              (line 1295)
37404 * __satfractuhaqq:                       Fixed-point fractional library routines.
37405                                                              (line 1294)
37406 * __satfractuhasa:                       Fixed-point fractional library routines.
37407                                                              (line 1302)
37408 * __satfractuhasq:                       Fixed-point fractional library routines.
37409                                                              (line 1297)
37410 * __satfractuhata:                       Fixed-point fractional library routines.
37411                                                              (line 1306)
37412 * __satfractuhauda2:                     Fixed-point fractional library routines.
37413                                                              (line 1318)
37414 * __satfractuhaudq:                      Fixed-point fractional library routines.
37415                                                              (line 1314)
37416 * __satfractuhauhq:                      Fixed-point fractional library routines.
37417                                                              (line 1310)
37418 * __satfractuhauqq:                      Fixed-point fractional library routines.
37419                                                              (line 1308)
37420 * __satfractuhausa2:                     Fixed-point fractional library routines.
37421                                                              (line 1316)
37422 * __satfractuhausq:                      Fixed-point fractional library routines.
37423                                                              (line 1312)
37424 * __satfractuhauta2:                     Fixed-point fractional library routines.
37425                                                              (line 1320)
37426 * __satfractuhqda:                       Fixed-point fractional library routines.
37427                                                              (line 1224)
37428 * __satfractuhqdq:                       Fixed-point fractional library routines.
37429                                                              (line 1221)
37430 * __satfractuhqha:                       Fixed-point fractional library routines.
37431                                                              (line 1222)
37432 * __satfractuhqhq:                       Fixed-point fractional library routines.
37433                                                              (line 1219)
37434 * __satfractuhqqq:                       Fixed-point fractional library routines.
37435                                                              (line 1218)
37436 * __satfractuhqsa:                       Fixed-point fractional library routines.
37437                                                              (line 1223)
37438 * __satfractuhqsq:                       Fixed-point fractional library routines.
37439                                                              (line 1220)
37440 * __satfractuhqta:                       Fixed-point fractional library routines.
37441                                                              (line 1225)
37442 * __satfractuhquda:                      Fixed-point fractional library routines.
37443                                                              (line 1236)
37444 * __satfractuhqudq2:                     Fixed-point fractional library routines.
37445                                                              (line 1231)
37446 * __satfractuhquha:                      Fixed-point fractional library routines.
37447                                                              (line 1233)
37448 * __satfractuhquqq2:                     Fixed-point fractional library routines.
37449                                                              (line 1227)
37450 * __satfractuhqusa:                      Fixed-point fractional library routines.
37451                                                              (line 1234)
37452 * __satfractuhqusq2:                     Fixed-point fractional library routines.
37453                                                              (line 1229)
37454 * __satfractuhquta:                      Fixed-point fractional library routines.
37455                                                              (line 1238)
37456 * __satfractunsdida:                     Fixed-point fractional library routines.
37457                                                              (line 1834)
37458 * __satfractunsdidq:                     Fixed-point fractional library routines.
37459                                                              (line 1831)
37460 * __satfractunsdiha:                     Fixed-point fractional library routines.
37461                                                              (line 1832)
37462 * __satfractunsdihq:                     Fixed-point fractional library routines.
37463                                                              (line 1828)
37464 * __satfractunsdiqq:                     Fixed-point fractional library routines.
37465                                                              (line 1827)
37466 * __satfractunsdisa:                     Fixed-point fractional library routines.
37467                                                              (line 1833)
37468 * __satfractunsdisq:                     Fixed-point fractional library routines.
37469                                                              (line 1829)
37470 * __satfractunsdita:                     Fixed-point fractional library routines.
37471                                                              (line 1836)
37472 * __satfractunsdiuda:                    Fixed-point fractional library routines.
37473                                                              (line 1850)
37474 * __satfractunsdiudq:                    Fixed-point fractional library routines.
37475                                                              (line 1844)
37476 * __satfractunsdiuha:                    Fixed-point fractional library routines.
37477                                                              (line 1846)
37478 * __satfractunsdiuhq:                    Fixed-point fractional library routines.
37479                                                              (line 1840)
37480 * __satfractunsdiuqq:                    Fixed-point fractional library routines.
37481                                                              (line 1838)
37482 * __satfractunsdiusa:                    Fixed-point fractional library routines.
37483                                                              (line 1848)
37484 * __satfractunsdiusq:                    Fixed-point fractional library routines.
37485                                                              (line 1842)
37486 * __satfractunsdiuta:                    Fixed-point fractional library routines.
37487                                                              (line 1852)
37488 * __satfractunshida:                     Fixed-point fractional library routines.
37489                                                              (line 1786)
37490 * __satfractunshidq:                     Fixed-point fractional library routines.
37491                                                              (line 1783)
37492 * __satfractunshiha:                     Fixed-point fractional library routines.
37493                                                              (line 1784)
37494 * __satfractunshihq:                     Fixed-point fractional library routines.
37495                                                              (line 1780)
37496 * __satfractunshiqq:                     Fixed-point fractional library routines.
37497                                                              (line 1779)
37498 * __satfractunshisa:                     Fixed-point fractional library routines.
37499                                                              (line 1785)
37500 * __satfractunshisq:                     Fixed-point fractional library routines.
37501                                                              (line 1781)
37502 * __satfractunshita:                     Fixed-point fractional library routines.
37503                                                              (line 1788)
37504 * __satfractunshiuda:                    Fixed-point fractional library routines.
37505                                                              (line 1802)
37506 * __satfractunshiudq:                    Fixed-point fractional library routines.
37507                                                              (line 1796)
37508 * __satfractunshiuha:                    Fixed-point fractional library routines.
37509                                                              (line 1798)
37510 * __satfractunshiuhq:                    Fixed-point fractional library routines.
37511                                                              (line 1792)
37512 * __satfractunshiuqq:                    Fixed-point fractional library routines.
37513                                                              (line 1790)
37514 * __satfractunshiusa:                    Fixed-point fractional library routines.
37515                                                              (line 1800)
37516 * __satfractunshiusq:                    Fixed-point fractional library routines.
37517                                                              (line 1794)
37518 * __satfractunshiuta:                    Fixed-point fractional library routines.
37519                                                              (line 1804)
37520 * __satfractunsqida:                     Fixed-point fractional library routines.
37521                                                              (line 1760)
37522 * __satfractunsqidq:                     Fixed-point fractional library routines.
37523                                                              (line 1757)
37524 * __satfractunsqiha:                     Fixed-point fractional library routines.
37525                                                              (line 1758)
37526 * __satfractunsqihq:                     Fixed-point fractional library routines.
37527                                                              (line 1754)
37528 * __satfractunsqiqq:                     Fixed-point fractional library routines.
37529                                                              (line 1753)
37530 * __satfractunsqisa:                     Fixed-point fractional library routines.
37531                                                              (line 1759)
37532 * __satfractunsqisq:                     Fixed-point fractional library routines.
37533                                                              (line 1755)
37534 * __satfractunsqita:                     Fixed-point fractional library routines.
37535                                                              (line 1762)
37536 * __satfractunsqiuda:                    Fixed-point fractional library routines.
37537                                                              (line 1776)
37538 * __satfractunsqiudq:                    Fixed-point fractional library routines.
37539                                                              (line 1770)
37540 * __satfractunsqiuha:                    Fixed-point fractional library routines.
37541                                                              (line 1772)
37542 * __satfractunsqiuhq:                    Fixed-point fractional library routines.
37543                                                              (line 1766)
37544 * __satfractunsqiuqq:                    Fixed-point fractional library routines.
37545                                                              (line 1764)
37546 * __satfractunsqiusa:                    Fixed-point fractional library routines.
37547                                                              (line 1774)
37548 * __satfractunsqiusq:                    Fixed-point fractional library routines.
37549                                                              (line 1768)
37550 * __satfractunsqiuta:                    Fixed-point fractional library routines.
37551                                                              (line 1778)
37552 * __satfractunssida:                     Fixed-point fractional library routines.
37553                                                              (line 1811)
37554 * __satfractunssidq:                     Fixed-point fractional library routines.
37555                                                              (line 1808)
37556 * __satfractunssiha:                     Fixed-point fractional library routines.
37557                                                              (line 1809)
37558 * __satfractunssihq:                     Fixed-point fractional library routines.
37559                                                              (line 1806)
37560 * __satfractunssiqq:                     Fixed-point fractional library routines.
37561                                                              (line 1805)
37562 * __satfractunssisa:                     Fixed-point fractional library routines.
37563                                                              (line 1810)
37564 * __satfractunssisq:                     Fixed-point fractional library routines.
37565                                                              (line 1807)
37566 * __satfractunssita:                     Fixed-point fractional library routines.
37567                                                              (line 1812)
37568 * __satfractunssiuda:                    Fixed-point fractional library routines.
37569                                                              (line 1824)
37570 * __satfractunssiudq:                    Fixed-point fractional library routines.
37571                                                              (line 1819)
37572 * __satfractunssiuha:                    Fixed-point fractional library routines.
37573                                                              (line 1821)
37574 * __satfractunssiuhq:                    Fixed-point fractional library routines.
37575                                                              (line 1815)
37576 * __satfractunssiuqq:                    Fixed-point fractional library routines.
37577                                                              (line 1814)
37578 * __satfractunssiusa:                    Fixed-point fractional library routines.
37579                                                              (line 1822)
37580 * __satfractunssiusq:                    Fixed-point fractional library routines.
37581                                                              (line 1817)
37582 * __satfractunssiuta:                    Fixed-point fractional library routines.
37583                                                              (line 1826)
37584 * __satfractunstida:                     Fixed-point fractional library routines.
37585                                                              (line 1864)
37586 * __satfractunstidq:                     Fixed-point fractional library routines.
37587                                                              (line 1859)
37588 * __satfractunstiha:                     Fixed-point fractional library routines.
37589                                                              (line 1861)
37590 * __satfractunstihq:                     Fixed-point fractional library routines.
37591                                                              (line 1855)
37592 * __satfractunstiqq:                     Fixed-point fractional library routines.
37593                                                              (line 1854)
37594 * __satfractunstisa:                     Fixed-point fractional library routines.
37595                                                              (line 1862)
37596 * __satfractunstisq:                     Fixed-point fractional library routines.
37597                                                              (line 1857)
37598 * __satfractunstita:                     Fixed-point fractional library routines.
37599                                                              (line 1866)
37600 * __satfractunstiuda:                    Fixed-point fractional library routines.
37601                                                              (line 1880)
37602 * __satfractunstiudq:                    Fixed-point fractional library routines.
37603                                                              (line 1874)
37604 * __satfractunstiuha:                    Fixed-point fractional library routines.
37605                                                              (line 1876)
37606 * __satfractunstiuhq:                    Fixed-point fractional library routines.
37607                                                              (line 1870)
37608 * __satfractunstiuqq:                    Fixed-point fractional library routines.
37609                                                              (line 1868)
37610 * __satfractunstiusa:                    Fixed-point fractional library routines.
37611                                                              (line 1878)
37612 * __satfractunstiusq:                    Fixed-point fractional library routines.
37613                                                              (line 1872)
37614 * __satfractunstiuta:                    Fixed-point fractional library routines.
37615                                                              (line 1882)
37616 * __satfractuqqda:                       Fixed-point fractional library routines.
37617                                                              (line 1201)
37618 * __satfractuqqdq:                       Fixed-point fractional library routines.
37619                                                              (line 1196)
37620 * __satfractuqqha:                       Fixed-point fractional library routines.
37621                                                              (line 1198)
37622 * __satfractuqqhq:                       Fixed-point fractional library routines.
37623                                                              (line 1192)
37624 * __satfractuqqqq:                       Fixed-point fractional library routines.
37625                                                              (line 1191)
37626 * __satfractuqqsa:                       Fixed-point fractional library routines.
37627                                                              (line 1199)
37628 * __satfractuqqsq:                       Fixed-point fractional library routines.
37629                                                              (line 1194)
37630 * __satfractuqqta:                       Fixed-point fractional library routines.
37631                                                              (line 1203)
37632 * __satfractuqquda:                      Fixed-point fractional library routines.
37633                                                              (line 1215)
37634 * __satfractuqqudq2:                     Fixed-point fractional library routines.
37635                                                              (line 1209)
37636 * __satfractuqquha:                      Fixed-point fractional library routines.
37637                                                              (line 1211)
37638 * __satfractuqquhq2:                     Fixed-point fractional library routines.
37639                                                              (line 1205)
37640 * __satfractuqqusa:                      Fixed-point fractional library routines.
37641                                                              (line 1213)
37642 * __satfractuqqusq2:                     Fixed-point fractional library routines.
37643                                                              (line 1207)
37644 * __satfractuqquta:                      Fixed-point fractional library routines.
37645                                                              (line 1217)
37646 * __satfractusada:                       Fixed-point fractional library routines.
37647                                                              (line 1327)
37648 * __satfractusadq:                       Fixed-point fractional library routines.
37649                                                              (line 1324)
37650 * __satfractusaha:                       Fixed-point fractional library routines.
37651                                                              (line 1325)
37652 * __satfractusahq:                       Fixed-point fractional library routines.
37653                                                              (line 1322)
37654 * __satfractusaqq:                       Fixed-point fractional library routines.
37655                                                              (line 1321)
37656 * __satfractusasa:                       Fixed-point fractional library routines.
37657                                                              (line 1326)
37658 * __satfractusasq:                       Fixed-point fractional library routines.
37659                                                              (line 1323)
37660 * __satfractusata:                       Fixed-point fractional library routines.
37661                                                              (line 1328)
37662 * __satfractusauda2:                     Fixed-point fractional library routines.
37663                                                              (line 1339)
37664 * __satfractusaudq:                      Fixed-point fractional library routines.
37665                                                              (line 1335)
37666 * __satfractusauha2:                     Fixed-point fractional library routines.
37667                                                              (line 1337)
37668 * __satfractusauhq:                      Fixed-point fractional library routines.
37669                                                              (line 1331)
37670 * __satfractusauqq:                      Fixed-point fractional library routines.
37671                                                              (line 1330)
37672 * __satfractusausq:                      Fixed-point fractional library routines.
37673                                                              (line 1333)
37674 * __satfractusauta2:                     Fixed-point fractional library routines.
37675                                                              (line 1341)
37676 * __satfractusqda:                       Fixed-point fractional library routines.
37677                                                              (line 1248)
37678 * __satfractusqdq:                       Fixed-point fractional library routines.
37679                                                              (line 1244)
37680 * __satfractusqha:                       Fixed-point fractional library routines.
37681                                                              (line 1246)
37682 * __satfractusqhq:                       Fixed-point fractional library routines.
37683                                                              (line 1241)
37684 * __satfractusqqq:                       Fixed-point fractional library routines.
37685                                                              (line 1240)
37686 * __satfractusqsa:                       Fixed-point fractional library routines.
37687                                                              (line 1247)
37688 * __satfractusqsq:                       Fixed-point fractional library routines.
37689                                                              (line 1242)
37690 * __satfractusqta:                       Fixed-point fractional library routines.
37691                                                              (line 1250)
37692 * __satfractusquda:                      Fixed-point fractional library routines.
37693                                                              (line 1262)
37694 * __satfractusqudq2:                     Fixed-point fractional library routines.
37695                                                              (line 1256)
37696 * __satfractusquha:                      Fixed-point fractional library routines.
37697                                                              (line 1258)
37698 * __satfractusquhq2:                     Fixed-point fractional library routines.
37699                                                              (line 1254)
37700 * __satfractusquqq2:                     Fixed-point fractional library routines.
37701                                                              (line 1252)
37702 * __satfractusqusa:                      Fixed-point fractional library routines.
37703                                                              (line 1260)
37704 * __satfractusquta:                      Fixed-point fractional library routines.
37705                                                              (line 1264)
37706 * __satfractutada:                       Fixed-point fractional library routines.
37707                                                              (line 1379)
37708 * __satfractutadq:                       Fixed-point fractional library routines.
37709                                                              (line 1374)
37710 * __satfractutaha:                       Fixed-point fractional library routines.
37711                                                              (line 1376)
37712 * __satfractutahq:                       Fixed-point fractional library routines.
37713                                                              (line 1370)
37714 * __satfractutaqq:                       Fixed-point fractional library routines.
37715                                                              (line 1369)
37716 * __satfractutasa:                       Fixed-point fractional library routines.
37717                                                              (line 1377)
37718 * __satfractutasq:                       Fixed-point fractional library routines.
37719                                                              (line 1372)
37720 * __satfractutata:                       Fixed-point fractional library routines.
37721                                                              (line 1381)
37722 * __satfractutauda2:                     Fixed-point fractional library routines.
37723                                                              (line 1395)
37724 * __satfractutaudq:                      Fixed-point fractional library routines.
37725                                                              (line 1389)
37726 * __satfractutauha2:                     Fixed-point fractional library routines.
37727                                                              (line 1391)
37728 * __satfractutauhq:                      Fixed-point fractional library routines.
37729                                                              (line 1385)
37730 * __satfractutauqq:                      Fixed-point fractional library routines.
37731                                                              (line 1383)
37732 * __satfractutausa2:                     Fixed-point fractional library routines.
37733                                                              (line 1393)
37734 * __satfractutausq:                      Fixed-point fractional library routines.
37735                                                              (line 1387)
37736 * __ssaddda3:                            Fixed-point fractional library routines.
37737                                                              (line   67)
37738 * __ssadddq3:                            Fixed-point fractional library routines.
37739                                                              (line   63)
37740 * __ssaddha3:                            Fixed-point fractional library routines.
37741                                                              (line   65)
37742 * __ssaddhq3:                            Fixed-point fractional library routines.
37743                                                              (line   60)
37744 * __ssaddqq3:                            Fixed-point fractional library routines.
37745                                                              (line   59)
37746 * __ssaddsa3:                            Fixed-point fractional library routines.
37747                                                              (line   66)
37748 * __ssaddsq3:                            Fixed-point fractional library routines.
37749                                                              (line   61)
37750 * __ssaddta3:                            Fixed-point fractional library routines.
37751                                                              (line   69)
37752 * __ssashlda3:                           Fixed-point fractional library routines.
37753                                                              (line  402)
37754 * __ssashldq3:                           Fixed-point fractional library routines.
37755                                                              (line  399)
37756 * __ssashlha3:                           Fixed-point fractional library routines.
37757                                                              (line  400)
37758 * __ssashlhq3:                           Fixed-point fractional library routines.
37759                                                              (line  396)
37760 * __ssashlsa3:                           Fixed-point fractional library routines.
37761                                                              (line  401)
37762 * __ssashlsq3:                           Fixed-point fractional library routines.
37763                                                              (line  397)
37764 * __ssashlta3:                           Fixed-point fractional library routines.
37765                                                              (line  404)
37766 * __ssdivda3:                            Fixed-point fractional library routines.
37767                                                              (line  261)
37768 * __ssdivdq3:                            Fixed-point fractional library routines.
37769                                                              (line  257)
37770 * __ssdivha3:                            Fixed-point fractional library routines.
37771                                                              (line  259)
37772 * __ssdivhq3:                            Fixed-point fractional library routines.
37773                                                              (line  254)
37774 * __ssdivqq3:                            Fixed-point fractional library routines.
37775                                                              (line  253)
37776 * __ssdivsa3:                            Fixed-point fractional library routines.
37777                                                              (line  260)
37778 * __ssdivsq3:                            Fixed-point fractional library routines.
37779                                                              (line  255)
37780 * __ssdivta3:                            Fixed-point fractional library routines.
37781                                                              (line  263)
37782 * __ssmulda3:                            Fixed-point fractional library routines.
37783                                                              (line  193)
37784 * __ssmuldq3:                            Fixed-point fractional library routines.
37785                                                              (line  189)
37786 * __ssmulha3:                            Fixed-point fractional library routines.
37787                                                              (line  191)
37788 * __ssmulhq3:                            Fixed-point fractional library routines.
37789                                                              (line  186)
37790 * __ssmulqq3:                            Fixed-point fractional library routines.
37791                                                              (line  185)
37792 * __ssmulsa3:                            Fixed-point fractional library routines.
37793                                                              (line  192)
37794 * __ssmulsq3:                            Fixed-point fractional library routines.
37795                                                              (line  187)
37796 * __ssmulta3:                            Fixed-point fractional library routines.
37797                                                              (line  195)
37798 * __ssnegda2:                            Fixed-point fractional library routines.
37799                                                              (line  316)
37800 * __ssnegdq2:                            Fixed-point fractional library routines.
37801                                                              (line  313)
37802 * __ssnegha2:                            Fixed-point fractional library routines.
37803                                                              (line  314)
37804 * __ssneghq2:                            Fixed-point fractional library routines.
37805                                                              (line  311)
37806 * __ssnegqq2:                            Fixed-point fractional library routines.
37807                                                              (line  310)
37808 * __ssnegsa2:                            Fixed-point fractional library routines.
37809                                                              (line  315)
37810 * __ssnegsq2:                            Fixed-point fractional library routines.
37811                                                              (line  312)
37812 * __ssnegta2:                            Fixed-point fractional library routines.
37813                                                              (line  317)
37814 * __sssubda3:                            Fixed-point fractional library routines.
37815                                                              (line  129)
37816 * __sssubdq3:                            Fixed-point fractional library routines.
37817                                                              (line  125)
37818 * __sssubha3:                            Fixed-point fractional library routines.
37819                                                              (line  127)
37820 * __sssubhq3:                            Fixed-point fractional library routines.
37821                                                              (line  122)
37822 * __sssubqq3:                            Fixed-point fractional library routines.
37823                                                              (line  121)
37824 * __sssubsa3:                            Fixed-point fractional library routines.
37825                                                              (line  128)
37826 * __sssubsq3:                            Fixed-point fractional library routines.
37827                                                              (line  123)
37828 * __sssubta3:                            Fixed-point fractional library routines.
37829                                                              (line  131)
37830 * __subda3:                              Fixed-point fractional library routines.
37831                                                              (line  107)
37832 * __subdf3:                              Soft float library routines.
37833                                                              (line   31)
37834 * __subdq3:                              Fixed-point fractional library routines.
37835                                                              (line   95)
37836 * __subha3:                              Fixed-point fractional library routines.
37837                                                              (line  105)
37838 * __subhq3:                              Fixed-point fractional library routines.
37839                                                              (line   92)
37840 * __subqq3:                              Fixed-point fractional library routines.
37841                                                              (line   91)
37842 * __subsa3:                              Fixed-point fractional library routines.
37843                                                              (line  106)
37844 * __subsf3:                              Soft float library routines.
37845                                                              (line   30)
37846 * __subsq3:                              Fixed-point fractional library routines.
37847                                                              (line   93)
37848 * __subta3:                              Fixed-point fractional library routines.
37849                                                              (line  109)
37850 * __subtf3:                              Soft float library routines.
37851                                                              (line   33)
37852 * __subuda3:                             Fixed-point fractional library routines.
37853                                                              (line  115)
37854 * __subudq3:                             Fixed-point fractional library routines.
37855                                                              (line  103)
37856 * __subuha3:                             Fixed-point fractional library routines.
37857                                                              (line  111)
37858 * __subuhq3:                             Fixed-point fractional library routines.
37859                                                              (line   99)
37860 * __subuqq3:                             Fixed-point fractional library routines.
37861                                                              (line   97)
37862 * __subusa3:                             Fixed-point fractional library routines.
37863                                                              (line  113)
37864 * __subusq3:                             Fixed-point fractional library routines.
37865                                                              (line  101)
37866 * __subuta3:                             Fixed-point fractional library routines.
37867                                                              (line  117)
37868 * __subvdi3:                             Integer library routines.
37869                                                              (line  123)
37870 * __subvsi3:                             Integer library routines.
37871                                                              (line  122)
37872 * __subxf3:                              Soft float library routines.
37873                                                              (line   35)
37874 * __truncdfsf2:                          Soft float library routines.
37875                                                              (line   76)
37876 * __trunctfdf2:                          Soft float library routines.
37877                                                              (line   73)
37878 * __trunctfsf2:                          Soft float library routines.
37879                                                              (line   75)
37880 * __truncxfdf2:                          Soft float library routines.
37881                                                              (line   72)
37882 * __truncxfsf2:                          Soft float library routines.
37883                                                              (line   74)
37884 * __ucmpdi2:                             Integer library routines.
37885                                                              (line   93)
37886 * __ucmpti2:                             Integer library routines.
37887                                                              (line   95)
37888 * __udivdi3:                             Integer library routines.
37889                                                              (line   54)
37890 * __udivmoddi3:                          Integer library routines.
37891                                                              (line   61)
37892 * __udivsi3:                             Integer library routines.
37893                                                              (line   52)
37894 * __udivti3:                             Integer library routines.
37895                                                              (line   63)
37896 * __udivuda3:                            Fixed-point fractional library routines.
37897                                                              (line  246)
37898 * __udivudq3:                            Fixed-point fractional library routines.
37899                                                              (line  240)
37900 * __udivuha3:                            Fixed-point fractional library routines.
37901                                                              (line  242)
37902 * __udivuhq3:                            Fixed-point fractional library routines.
37903                                                              (line  236)
37904 * __udivuqq3:                            Fixed-point fractional library routines.
37905                                                              (line  234)
37906 * __udivusa3:                            Fixed-point fractional library routines.
37907                                                              (line  244)
37908 * __udivusq3:                            Fixed-point fractional library routines.
37909                                                              (line  238)
37910 * __udivuta3:                            Fixed-point fractional library routines.
37911                                                              (line  248)
37912 * __umoddi3:                             Integer library routines.
37913                                                              (line   71)
37914 * __umodsi3:                             Integer library routines.
37915                                                              (line   69)
37916 * __umodti3:                             Integer library routines.
37917                                                              (line   73)
37918 * __unorddf2:                            Soft float library routines.
37919                                                              (line  173)
37920 * __unordsf2:                            Soft float library routines.
37921                                                              (line  172)
37922 * __unordtf2:                            Soft float library routines.
37923                                                              (line  174)
37924 * __usadduda3:                           Fixed-point fractional library routines.
37925                                                              (line   85)
37926 * __usaddudq3:                           Fixed-point fractional library routines.
37927                                                              (line   79)
37928 * __usadduha3:                           Fixed-point fractional library routines.
37929                                                              (line   81)
37930 * __usadduhq3:                           Fixed-point fractional library routines.
37931                                                              (line   75)
37932 * __usadduqq3:                           Fixed-point fractional library routines.
37933                                                              (line   73)
37934 * __usaddusa3:                           Fixed-point fractional library routines.
37935                                                              (line   83)
37936 * __usaddusq3:                           Fixed-point fractional library routines.
37937                                                              (line   77)
37938 * __usadduta3:                           Fixed-point fractional library routines.
37939                                                              (line   87)
37940 * __usashluda3:                          Fixed-point fractional library routines.
37941                                                              (line  421)
37942 * __usashludq3:                          Fixed-point fractional library routines.
37943                                                              (line  415)
37944 * __usashluha3:                          Fixed-point fractional library routines.
37945                                                              (line  417)
37946 * __usashluhq3:                          Fixed-point fractional library routines.
37947                                                              (line  411)
37948 * __usashluqq3:                          Fixed-point fractional library routines.
37949                                                              (line  409)
37950 * __usashlusa3:                          Fixed-point fractional library routines.
37951                                                              (line  419)
37952 * __usashlusq3:                          Fixed-point fractional library routines.
37953                                                              (line  413)
37954 * __usashluta3:                          Fixed-point fractional library routines.
37955                                                              (line  423)
37956 * __usdivuda3:                           Fixed-point fractional library routines.
37957                                                              (line  280)
37958 * __usdivudq3:                           Fixed-point fractional library routines.
37959                                                              (line  274)
37960 * __usdivuha3:                           Fixed-point fractional library routines.
37961                                                              (line  276)
37962 * __usdivuhq3:                           Fixed-point fractional library routines.
37963                                                              (line  270)
37964 * __usdivuqq3:                           Fixed-point fractional library routines.
37965                                                              (line  268)
37966 * __usdivusa3:                           Fixed-point fractional library routines.
37967                                                              (line  278)
37968 * __usdivusq3:                           Fixed-point fractional library routines.
37969                                                              (line  272)
37970 * __usdivuta3:                           Fixed-point fractional library routines.
37971                                                              (line  282)
37972 * __usmuluda3:                           Fixed-point fractional library routines.
37973                                                              (line  212)
37974 * __usmuludq3:                           Fixed-point fractional library routines.
37975                                                              (line  206)
37976 * __usmuluha3:                           Fixed-point fractional library routines.
37977                                                              (line  208)
37978 * __usmuluhq3:                           Fixed-point fractional library routines.
37979                                                              (line  202)
37980 * __usmuluqq3:                           Fixed-point fractional library routines.
37981                                                              (line  200)
37982 * __usmulusa3:                           Fixed-point fractional library routines.
37983                                                              (line  210)
37984 * __usmulusq3:                           Fixed-point fractional library routines.
37985                                                              (line  204)
37986 * __usmuluta3:                           Fixed-point fractional library routines.
37987                                                              (line  214)
37988 * __usneguda2:                           Fixed-point fractional library routines.
37989                                                              (line  331)
37990 * __usnegudq2:                           Fixed-point fractional library routines.
37991                                                              (line  326)
37992 * __usneguha2:                           Fixed-point fractional library routines.
37993                                                              (line  328)
37994 * __usneguhq2:                           Fixed-point fractional library routines.
37995                                                              (line  322)
37996 * __usneguqq2:                           Fixed-point fractional library routines.
37997                                                              (line  321)
37998 * __usnegusa2:                           Fixed-point fractional library routines.
37999                                                              (line  329)
38000 * __usnegusq2:                           Fixed-point fractional library routines.
38001                                                              (line  324)
38002 * __usneguta2:                           Fixed-point fractional library routines.
38003                                                              (line  333)
38004 * __ussubuda3:                           Fixed-point fractional library routines.
38005                                                              (line  148)
38006 * __ussubudq3:                           Fixed-point fractional library routines.
38007                                                              (line  142)
38008 * __ussubuha3:                           Fixed-point fractional library routines.
38009                                                              (line  144)
38010 * __ussubuhq3:                           Fixed-point fractional library routines.
38011                                                              (line  138)
38012 * __ussubuqq3:                           Fixed-point fractional library routines.
38013                                                              (line  136)
38014 * __ussubusa3:                           Fixed-point fractional library routines.
38015                                                              (line  146)
38016 * __ussubusq3:                           Fixed-point fractional library routines.
38017                                                              (line  140)
38018 * __ussubuta3:                           Fixed-point fractional library routines.
38019                                                              (line  150)
38020 * abort:                                 Portability.        (line   21)
38021 * abs:                                   Arithmetic.         (line  195)
38022 * abs and attributes:                    Expressions.        (line   64)
38023 * ABS_EXPR:                              Expression trees.   (line    6)
38024 * absence_set:                           Processor pipeline description.
38025                                                              (line  215)
38026 * absM2 instruction pattern:             Standard Names.     (line  448)
38027 * absolute value:                        Arithmetic.         (line  195)
38028 * access to operands:                    Accessors.          (line    6)
38029 * access to special operands:            Special Accessors.  (line    6)
38030 * accessors:                             Accessors.          (line    6)
38031 * ACCUM_TYPE_SIZE:                       Type Layout.        (line   88)
38032 * ACCUMULATE_OUTGOING_ARGS:              Stack Arguments.    (line   46)
38033 * ACCUMULATE_OUTGOING_ARGS and stack frames: Function Entry. (line  135)
38034 * ADA_LONG_TYPE_SIZE:                    Type Layout.        (line   26)
38035 * ADDITIONAL_REGISTER_NAMES:             Instruction Output. (line   15)
38036 * addM3 instruction pattern:             Standard Names.     (line  216)
38037 * addMODEcc instruction pattern:         Standard Names.     (line  898)
38038 * addr_diff_vec:                         Side Effects.       (line  299)
38039 * addr_diff_vec, length of:              Insn Lengths.       (line   26)
38040 * ADDR_EXPR:                             Expression trees.   (line    6)
38041 * addr_vec:                              Side Effects.       (line  294)
38042 * addr_vec, length of:                   Insn Lengths.       (line   26)
38043 * address constraints:                   Simple Constraints. (line  152)
38044 * address_operand <1>:                   Machine-Independent Predicates.
38045                                                              (line   63)
38046 * address_operand:                       Simple Constraints. (line  156)
38047 * addressing modes:                      Addressing Modes.   (line    6)
38048 * addressof:                             Regs and Memory.    (line  260)
38049 * ADJUST_FIELD_ALIGN:                    Storage Layout.     (line  188)
38050 * ADJUST_INSN_LENGTH:                    Insn Lengths.       (line   35)
38051 * AGGR_INIT_EXPR:                        Expression trees.   (line    6)
38052 * aggregates as return values:           Aggregate Return.   (line    6)
38053 * alias:                                 Alias analysis.     (line    6)
38054 * ALL_COP_ADDITIONAL_REGISTER_NAMES:     MIPS Coprocessors.  (line   32)
38055 * ALL_REGS:                              Register Classes.   (line   17)
38056 * allocate_stack instruction pattern:    Standard Names.     (line 1221)
38057 * alternate entry points:                Insns.              (line  140)
38058 * anchored addresses:                    Anchored Addresses. (line    6)
38059 * and:                                   Arithmetic.         (line  153)
38060 * and and attributes:                    Expressions.        (line   50)
38061 * and, canonicalization of:              Insn Canonicalizations.
38062                                                              (line   57)
38063 * andM3 instruction pattern:             Standard Names.     (line  222)
38064 * annotations:                           Annotations.        (line    6)
38065 * APPLY_RESULT_SIZE:                     Scalar Return.      (line   92)
38066 * ARG_POINTER_CFA_OFFSET:                Frame Layout.       (line  194)
38067 * ARG_POINTER_REGNUM:                    Frame Registers.    (line   41)
38068 * ARG_POINTER_REGNUM and virtual registers: Regs and Memory. (line   65)
38069 * arg_pointer_rtx:                       Frame Registers.    (line   85)
38070 * ARGS_GROW_DOWNWARD:                    Frame Layout.       (line   35)
38071 * argument passing:                      Interface.          (line   36)
38072 * arguments in registers:                Register Arguments. (line    6)
38073 * arguments on stack:                    Stack Arguments.    (line    6)
38074 * arithmetic library:                    Soft float library routines.
38075                                                              (line    6)
38076 * arithmetic shift:                      Arithmetic.         (line  168)
38077 * arithmetic shift with signed saturation: Arithmetic.       (line  168)
38078 * arithmetic shift with unsigned saturation: Arithmetic.     (line  168)
38079 * arithmetic, in RTL:                    Arithmetic.         (line    6)
38080 * ARITHMETIC_TYPE_P:                     Types.              (line   76)
38081 * array:                                 Types.              (line    6)
38082 * ARRAY_RANGE_REF:                       Expression trees.   (line    6)
38083 * ARRAY_REF:                             Expression trees.   (line    6)
38084 * ARRAY_TYPE:                            Types.              (line    6)
38085 * AS_NEEDS_DASH_FOR_PIPED_INPUT:         Driver.             (line  151)
38086 * ashift:                                Arithmetic.         (line  168)
38087 * ashift and attributes:                 Expressions.        (line   64)
38088 * ashiftrt:                              Arithmetic.         (line  185)
38089 * ashiftrt and attributes:               Expressions.        (line   64)
38090 * ashlM3 instruction pattern:            Standard Names.     (line  431)
38091 * ashrM3 instruction pattern:            Standard Names.     (line  441)
38092 * ASM_APP_OFF:                           File Framework.     (line   61)
38093 * ASM_APP_ON:                            File Framework.     (line   54)
38094 * ASM_COMMENT_START:                     File Framework.     (line   49)
38095 * ASM_DECLARE_CLASS_REFERENCE:           Label Output.       (line  436)
38096 * ASM_DECLARE_CONSTANT_NAME:             Label Output.       (line  128)
38097 * ASM_DECLARE_FUNCTION_NAME:             Label Output.       (line   87)
38098 * ASM_DECLARE_FUNCTION_SIZE:             Label Output.       (line  101)
38099 * ASM_DECLARE_OBJECT_NAME:               Label Output.       (line  114)
38100 * ASM_DECLARE_REGISTER_GLOBAL:           Label Output.       (line  143)
38101 * ASM_DECLARE_UNRESOLVED_REFERENCE:      Label Output.       (line  442)
38102 * ASM_FINAL_SPEC:                        Driver.             (line  144)
38103 * ASM_FINISH_DECLARE_OBJECT:             Label Output.       (line  151)
38104 * ASM_FORMAT_PRIVATE_NAME:               Label Output.       (line  354)
38105 * asm_fprintf:                           Instruction Output. (line  123)
38106 * ASM_FPRINTF_EXTENSIONS:                Instruction Output. (line  134)
38107 * ASM_GENERATE_INTERNAL_LABEL:           Label Output.       (line  338)
38108 * asm_input:                             Side Effects.       (line  281)
38109 * asm_input and /v:                      Flags.              (line   79)
38110 * ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX:     Exception Handling. (line   82)
38111 * ASM_NO_SKIP_IN_TEXT:                   Alignment Output.   (line   72)
38112 * asm_noperands:                         Insns.              (line  266)
38113 * asm_operands and /v:                   Flags.              (line   79)
38114 * asm_operands, RTL sharing:             Sharing.            (line   45)
38115 * asm_operands, usage:                   Assembler.          (line    6)
38116 * ASM_OUTPUT_ADDR_DIFF_ELT:              Dispatch Tables.    (line    9)
38117 * ASM_OUTPUT_ADDR_VEC_ELT:               Dispatch Tables.    (line   26)
38118 * ASM_OUTPUT_ALIGN:                      Alignment Output.   (line   79)
38119 * ASM_OUTPUT_ALIGN_WITH_NOP:             Alignment Output.   (line   84)
38120 * ASM_OUTPUT_ALIGNED_BSS:                Uninitialized Data. (line   64)
38121 * ASM_OUTPUT_ALIGNED_COMMON:             Uninitialized Data. (line   23)
38122 * ASM_OUTPUT_ALIGNED_DECL_COMMON:        Uninitialized Data. (line   31)
38123 * ASM_OUTPUT_ALIGNED_DECL_LOCAL:         Uninitialized Data. (line   95)
38124 * ASM_OUTPUT_ALIGNED_LOCAL:              Uninitialized Data. (line   87)
38125 * ASM_OUTPUT_ASCII:                      Data Output.        (line   50)
38126 * ASM_OUTPUT_BSS:                        Uninitialized Data. (line   39)
38127 * ASM_OUTPUT_CASE_END:                   Dispatch Tables.    (line   51)
38128 * ASM_OUTPUT_CASE_LABEL:                 Dispatch Tables.    (line   38)
38129 * ASM_OUTPUT_COMMON:                     Uninitialized Data. (line   10)
38130 * ASM_OUTPUT_DEBUG_LABEL:                Label Output.       (line  326)
38131 * ASM_OUTPUT_DEF:                        Label Output.       (line  375)
38132 * ASM_OUTPUT_DEF_FROM_DECLS:             Label Output.       (line  383)
38133 * ASM_OUTPUT_DWARF_DELTA:                SDB and DWARF.      (line   42)
38134 * ASM_OUTPUT_DWARF_OFFSET:               SDB and DWARF.      (line   46)
38135 * ASM_OUTPUT_DWARF_PCREL:                SDB and DWARF.      (line   52)
38136 * ASM_OUTPUT_EXTERNAL:                   Label Output.       (line  264)
38137 * ASM_OUTPUT_FDESC:                      Data Output.        (line   59)
38138 * ASM_OUTPUT_IDENT:                      File Framework.     (line   83)
38139 * ASM_OUTPUT_INTERNAL_LABEL:             Label Output.       (line   17)
38140 * ASM_OUTPUT_LABEL:                      Label Output.       (line    9)
38141 * ASM_OUTPUT_LABEL_REF:                  Label Output.       (line  299)
38142 * ASM_OUTPUT_LABELREF:                   Label Output.       (line  285)
38143 * ASM_OUTPUT_LOCAL:                      Uninitialized Data. (line   74)
38144 * ASM_OUTPUT_MAX_SKIP_ALIGN:             Alignment Output.   (line   88)
38145 * ASM_OUTPUT_MEASURED_SIZE:              Label Output.       (line   41)
38146 * ASM_OUTPUT_OPCODE:                     Instruction Output. (line   21)
38147 * ASM_OUTPUT_POOL_EPILOGUE:              Data Output.        (line  109)
38148 * ASM_OUTPUT_POOL_PROLOGUE:              Data Output.        (line   72)
38149 * ASM_OUTPUT_REG_POP:                    Instruction Output. (line  178)
38150 * ASM_OUTPUT_REG_PUSH:                   Instruction Output. (line  173)
38151 * ASM_OUTPUT_SIZE_DIRECTIVE:             Label Output.       (line   35)
38152 * ASM_OUTPUT_SKIP:                       Alignment Output.   (line   66)
38153 * ASM_OUTPUT_SOURCE_FILENAME:            File Framework.     (line   68)
38154 * ASM_OUTPUT_SPECIAL_POOL_ENTRY:         Data Output.        (line   84)
38155 * ASM_OUTPUT_SYMBOL_REF:                 Label Output.       (line  292)
38156 * ASM_OUTPUT_TYPE_DIRECTIVE:             Label Output.       (line   77)
38157 * ASM_OUTPUT_WEAK_ALIAS:                 Label Output.       (line  401)
38158 * ASM_OUTPUT_WEAKREF:                    Label Output.       (line  203)
38159 * ASM_PREFERRED_EH_DATA_FORMAT:          Exception Handling. (line   67)
38160 * ASM_SPEC:                              Driver.             (line  136)
38161 * ASM_STABD_OP:                          DBX Options.        (line   36)
38162 * ASM_STABN_OP:                          DBX Options.        (line   43)
38163 * ASM_STABS_OP:                          DBX Options.        (line   29)
38164 * ASM_WEAKEN_DECL:                       Label Output.       (line  195)
38165 * ASM_WEAKEN_LABEL:                      Label Output.       (line  182)
38166 * assemble_name:                         Label Output.       (line    8)
38167 * assemble_name_raw:                     Label Output.       (line   16)
38168 * assembler format:                      File Framework.     (line    6)
38169 * assembler instructions in RTL:         Assembler.          (line    6)
38170 * ASSEMBLER_DIALECT:                     Instruction Output. (line  146)
38171 * assigning attribute values to insns:   Tagging Insns.      (line    6)
38172 * assignment operator:                   Function Basics.    (line    6)
38173 * asterisk in template:                  Output Statement.   (line   29)
38174 * atan2M3 instruction pattern:           Standard Names.     (line  518)
38175 * attr <1>:                              Tagging Insns.      (line   54)
38176 * attr:                                  Expressions.        (line  154)
38177 * attr_flag:                             Expressions.        (line  119)
38178 * attribute expressions:                 Expressions.        (line    6)
38179 * attribute specifications:              Attr Example.       (line    6)
38180 * attribute specifications example:      Attr Example.       (line    6)
38181 * attributes:                            Attributes.         (line    6)
38182 * attributes, defining:                  Defining Attributes.
38183                                                              (line    6)
38184 * attributes, target-specific:           Target Attributes.  (line    6)
38185 * autoincrement addressing, availability: Portability.       (line   21)
38186 * autoincrement/decrement addressing:    Simple Constraints. (line   28)
38187 * automata_option:                       Processor pipeline description.
38188                                                              (line  296)
38189 * automaton based pipeline description:  Processor pipeline description.
38190                                                              (line    6)
38191 * automaton based scheduler:             Processor pipeline description.
38192                                                              (line    6)
38193 * AVOID_CCMODE_COPIES:                   Values in Registers.
38194                                                              (line  144)
38195 * backslash:                             Output Template.    (line   46)
38196 * barrier:                               Insns.              (line  160)
38197 * barrier and /f:                        Flags.              (line  110)
38198 * barrier and /v:                        Flags.              (line   29)
38199 * BASE_REG_CLASS:                        Register Classes.   (line  107)
38200 * basic block:                           Basic Blocks.       (line    6)
38201 * basic-block.h:                         Control Flow.       (line    6)
38202 * BASIC_BLOCK:                           Basic Blocks.       (line   19)
38203 * basic_block:                           Basic Blocks.       (line    6)
38204 * BB_HEAD, BB_END:                       Maintaining the CFG.
38205                                                              (line   88)
38206 * bCOND instruction pattern:             Standard Names.     (line  935)
38207 * BIGGEST_ALIGNMENT:                     Storage Layout.     (line  168)
38208 * BIGGEST_FIELD_ALIGNMENT:               Storage Layout.     (line  181)
38209 * BImode:                                Machine Modes.      (line   22)
38210 * BIND_EXPR:                             Expression trees.   (line    6)
38211 * BINFO_TYPE:                            Classes.            (line    6)
38212 * bit-fields:                            Bit-Fields.         (line    6)
38213 * BIT_AND_EXPR:                          Expression trees.   (line    6)
38214 * BIT_IOR_EXPR:                          Expression trees.   (line    6)
38215 * BIT_NOT_EXPR:                          Expression trees.   (line    6)
38216 * BIT_XOR_EXPR:                          Expression trees.   (line    6)
38217 * BITFIELD_NBYTES_LIMITED:               Storage Layout.     (line  332)
38218 * BITS_BIG_ENDIAN:                       Storage Layout.     (line   12)
38219 * BITS_BIG_ENDIAN, effect on sign_extract: Bit-Fields.       (line    8)
38220 * BITS_PER_UNIT:                         Storage Layout.     (line   52)
38221 * BITS_PER_WORD:                         Storage Layout.     (line   57)
38222 * bitwise complement:                    Arithmetic.         (line  149)
38223 * bitwise exclusive-or:                  Arithmetic.         (line  163)
38224 * bitwise inclusive-or:                  Arithmetic.         (line  158)
38225 * bitwise logical-and:                   Arithmetic.         (line  153)
38226 * BLKmode:                               Machine Modes.      (line  183)
38227 * BLKmode, and function return values:   Calls.              (line   23)
38228 * block statement iterators <1>:         Basic Blocks.       (line   68)
38229 * block statement iterators:             Maintaining the CFG.
38230                                                              (line   45)
38231 * BLOCK_FOR_INSN, bb_for_stmt:           Maintaining the CFG.
38232                                                              (line   40)
38233 * BLOCK_REG_PADDING:                     Register Arguments. (line  214)
38234 * blockage instruction pattern:          Standard Names.     (line 1402)
38235 * Blocks:                                Blocks.             (line    6)
38236 * bool <1>:                              Exception Region Output.
38237                                                              (line   84)
38238 * bool <2>:                              Sections.           (line  293)
38239 * bool:                                  Exception Region Output.
38240                                                              (line   60)
38241 * BOOL_TYPE_SIZE:                        Type Layout.        (line   44)
38242 * BOOLEAN_TYPE:                          Types.              (line    6)
38243 * branch prediction:                     Profile information.
38244                                                              (line   24)
38245 * BRANCH_COST:                           Costs.              (line   52)
38246 * break_out_memory_refs:                 Addressing Modes.   (line  118)
38247 * BREAK_STMT:                            Function Bodies.    (line    6)
38248 * bsi_commit_edge_inserts:               Maintaining the CFG.
38249                                                              (line  118)
38250 * bsi_end_p:                             Maintaining the CFG.
38251                                                              (line   60)
38252 * bsi_insert_after:                      Maintaining the CFG.
38253                                                              (line   72)
38254 * bsi_insert_before:                     Maintaining the CFG.
38255                                                              (line   78)
38256 * bsi_insert_on_edge:                    Maintaining the CFG.
38257                                                              (line  118)
38258 * bsi_last:                              Maintaining the CFG.
38259                                                              (line   56)
38260 * bsi_next:                              Maintaining the CFG.
38261                                                              (line   64)
38262 * bsi_prev:                              Maintaining the CFG.
38263                                                              (line   68)
38264 * bsi_remove:                            Maintaining the CFG.
38265                                                              (line   84)
38266 * bsi_start:                             Maintaining the CFG.
38267                                                              (line   52)
38268 * BSS_SECTION_ASM_OP:                    Sections.           (line   68)
38269 * bswap:                                 Arithmetic.         (line  232)
38270 * btruncM2 instruction pattern:          Standard Names.     (line  536)
38271 * builtin_longjmp instruction pattern:   Standard Names.     (line 1307)
38272 * builtin_setjmp_receiver instruction pattern: Standard Names.
38273                                                              (line 1297)
38274 * builtin_setjmp_setup instruction pattern: Standard Names.  (line 1286)
38275 * byte_mode:                             Machine Modes.      (line  336)
38276 * BYTES_BIG_ENDIAN:                      Storage Layout.     (line   24)
38277 * BYTES_BIG_ENDIAN, effect on subreg:    Regs and Memory.    (line  136)
38278 * C statements for assembler output:     Output Statement.   (line    6)
38279 * C/C++ Internal Representation:         Trees.              (line    6)
38280 * C99 math functions, implicit usage:    Library Calls.      (line   76)
38281 * C_COMMON_OVERRIDE_OPTIONS:             Run-time Target.    (line  114)
38282 * c_register_pragma:                     Misc.               (line  404)
38283 * c_register_pragma_with_expansion:      Misc.               (line  406)
38284 * call <1>:                              Flags.              (line  219)
38285 * call:                                  Side Effects.       (line   86)
38286 * call instruction pattern:              Standard Names.     (line  968)
38287 * call usage:                            Calls.              (line   10)
38288 * call, in mem:                          Flags.              (line   84)
38289 * call-clobbered register:               Register Basics.    (line   46)
38290 * call-saved register:                   Register Basics.    (line   46)
38291 * call-used register:                    Register Basics.    (line   46)
38292 * CALL_EXPR:                             Expression trees.   (line    6)
38293 * call_insn:                             Insns.              (line   95)
38294 * call_insn and /f:                      Flags.              (line  110)
38295 * call_insn and /j:                      Flags.              (line  164)
38296 * call_insn and /s:                      Flags.              (line  151)
38297 * call_insn and /u:                      Flags.              (line   24)
38298 * call_insn and /v:                      Flags.              (line   29)
38299 * CALL_INSN_FUNCTION_USAGE:              Insns.              (line  101)
38300 * call_pop instruction pattern:          Standard Names.     (line  996)
38301 * CALL_POPS_ARGS:                        Stack Arguments.    (line  128)
38302 * CALL_REALLY_USED_REGISTERS:            Register Basics.    (line   46)
38303 * CALL_USED_REGISTERS:                   Register Basics.    (line   35)
38304 * call_used_regs:                        Register Basics.    (line   59)
38305 * call_value instruction pattern:        Standard Names.     (line  988)
38306 * call_value_pop instruction pattern:    Standard Names.     (line  996)
38307 * CALLER_SAVE_PROFITABLE:                Caller Saves.       (line   11)
38308 * calling conventions:                   Stack and Calling.  (line    6)
38309 * calling functions in RTL:              Calls.              (line    6)
38310 * can_create_pseudo_p:                   Standard Names.     (line   75)
38311 * CAN_DEBUG_WITHOUT_FP:                  Run-time Target.    (line  147)
38312 * CAN_ELIMINATE:                         Elimination.        (line   71)
38313 * can_fallthru:                          Basic Blocks.       (line   57)
38314 * canadian:                              Configure Terms.    (line    6)
38315 * CANNOT_CHANGE_MODE_CLASS:              Register Classes.   (line  481)
38316 * canonicalization of instructions:      Insn Canonicalizations.
38317                                                              (line    6)
38318 * CANONICALIZE_COMPARISON:               Condition Code.     (line   84)
38319 * canonicalize_funcptr_for_compare instruction pattern: Standard Names.
38320                                                              (line 1152)
38321 * CASE_USE_BIT_TESTS:                    Misc.               (line   54)
38322 * CASE_VALUES_THRESHOLD:                 Misc.               (line   47)
38323 * CASE_VECTOR_MODE:                      Misc.               (line   27)
38324 * CASE_VECTOR_PC_RELATIVE:               Misc.               (line   40)
38325 * CASE_VECTOR_SHORTEN_MODE:              Misc.               (line   31)
38326 * casesi instruction pattern:            Standard Names.     (line 1076)
38327 * cbranchMODE4 instruction pattern:      Standard Names.     (line  957)
38328 * cc0:                                   Regs and Memory.    (line  182)
38329 * cc0, RTL sharing:                      Sharing.            (line   27)
38330 * cc0_rtx:                               Regs and Memory.    (line  208)
38331 * CC1_SPEC:                              Driver.             (line  118)
38332 * CC1PLUS_SPEC:                          Driver.             (line  126)
38333 * cc_status:                             Condition Code.     (line    8)
38334 * CC_STATUS_MDEP:                        Condition Code.     (line   19)
38335 * CC_STATUS_MDEP_INIT:                   Condition Code.     (line   25)
38336 * CCmode:                                Machine Modes.      (line  176)
38337 * CDImode:                               Machine Modes.      (line  202)
38338 * CEIL_DIV_EXPR:                         Expression trees.   (line    6)
38339 * CEIL_MOD_EXPR:                         Expression trees.   (line    6)
38340 * ceilM2 instruction pattern:            Standard Names.     (line  552)
38341 * CFA_FRAME_BASE_OFFSET:                 Frame Layout.       (line  226)
38342 * CFG, Control Flow Graph:               Control Flow.       (line    6)
38343 * cfghooks.h:                            Maintaining the CFG.
38344                                                              (line    6)
38345 * cgraph_finalize_function:              Parsing pass.       (line   52)
38346 * chain_circular:                        GTY Options.        (line  196)
38347 * chain_next:                            GTY Options.        (line  196)
38348 * chain_prev:                            GTY Options.        (line  196)
38349 * change_address:                        Standard Names.     (line   47)
38350 * CHANGE_DYNAMIC_TYPE_EXPR:              Expression trees.   (line    6)
38351 * char <1>:                              Misc.               (line  693)
38352 * char <2>:                              PCH Target.         (line   27)
38353 * char <3>:                              Sections.           (line  272)
38354 * char <4>:                              PCH Target.         (line   12)
38355 * char:                                  Misc.               (line  887)
38356 * CHAR_TYPE_SIZE:                        Type Layout.        (line   39)
38357 * check_stack instruction pattern:       Standard Names.     (line 1239)
38358 * CHImode:                               Machine Modes.      (line  202)
38359 * class:                                 Classes.            (line    6)
38360 * class definitions, register:           Register Classes.   (line    6)
38361 * class preference constraints:          Class Preferences.  (line    6)
38362 * CLASS_LIKELY_SPILLED_P:                Register Classes.   (line  452)
38363 * CLASS_MAX_NREGS:                       Register Classes.   (line  469)
38364 * CLASS_TYPE_P:                          Types.              (line   80)
38365 * classes of RTX codes:                  RTL Classes.        (line    6)
38366 * CLASSTYPE_DECLARED_CLASS:              Classes.            (line    6)
38367 * CLASSTYPE_HAS_MUTABLE:                 Classes.            (line   80)
38368 * CLASSTYPE_NON_POD_P:                   Classes.            (line   85)
38369 * CLEANUP_DECL:                          Function Bodies.    (line    6)
38370 * CLEANUP_EXPR:                          Function Bodies.    (line    6)
38371 * CLEANUP_POINT_EXPR:                    Expression trees.   (line    6)
38372 * CLEANUP_STMT:                          Function Bodies.    (line    6)
38373 * Cleanups:                              Cleanups.           (line    6)
38374 * CLEAR_BY_PIECES_P:                     Costs.              (line  124)
38375 * clear_cache instruction pattern:       Standard Names.     (line 1549)
38376 * CLEAR_INSN_CACHE:                      Trampolines.        (line  100)
38377 * CLEAR_RATIO:                           Costs.              (line  115)
38378 * clobber:                               Side Effects.       (line  100)
38379 * clz:                                   Arithmetic.         (line  208)
38380 * CLZ_DEFINED_VALUE_AT_ZERO:             Misc.               (line  319)
38381 * clzM2 instruction pattern:             Standard Names.     (line  617)
38382 * cmpM instruction pattern:              Standard Names.     (line  650)
38383 * cmpmemM instruction pattern:           Standard Names.     (line  763)
38384 * cmpstrM instruction pattern:           Standard Names.     (line  744)
38385 * cmpstrnM instruction pattern:          Standard Names.     (line  732)
38386 * code generation RTL sequences:         Expander Definitions.
38387                                                              (line    6)
38388 * code iterators in .md files:           Code Iterators.     (line    6)
38389 * code_label:                            Insns.              (line  119)
38390 * code_label and /i:                     Flags.              (line   44)
38391 * code_label and /v:                     Flags.              (line   29)
38392 * CODE_LABEL_NUMBER:                     Insns.              (line  119)
38393 * codes, RTL expression:                 RTL Objects.        (line   47)
38394 * COImode:                               Machine Modes.      (line  202)
38395 * COLLECT2_HOST_INITIALIZATION:          Host Misc.          (line   32)
38396 * COLLECT_EXPORT_LIST:                   Misc.               (line  775)
38397 * COLLECT_SHARED_FINI_FUNC:              Macros for Initialization.
38398                                                              (line   44)
38399 * COLLECT_SHARED_INIT_FUNC:              Macros for Initialization.
38400                                                              (line   33)
38401 * combiner pass:                         Regs and Memory.    (line  148)
38402 * commit_edge_insertions:                Maintaining the CFG.
38403                                                              (line  118)
38404 * compare:                               Arithmetic.         (line   43)
38405 * compare, canonicalization of:          Insn Canonicalizations.
38406                                                              (line   37)
38407 * comparison_operator:                   Machine-Independent Predicates.
38408                                                              (line  111)
38409 * compiler passes and files:             Passes.             (line    6)
38410 * complement, bitwise:                   Arithmetic.         (line  149)
38411 * COMPLEX_CST:                           Expression trees.   (line    6)
38412 * COMPLEX_EXPR:                          Expression trees.   (line    6)
38413 * COMPLEX_TYPE:                          Types.              (line    6)
38414 * COMPONENT_REF:                         Expression trees.   (line    6)
38415 * Compound Expressions:                  Compound Expressions.
38416                                                              (line    6)
38417 * Compound Lvalues:                      Compound Lvalues.   (line    6)
38418 * COMPOUND_EXPR:                         Expression trees.   (line    6)
38419 * COMPOUND_LITERAL_EXPR:                 Expression trees.   (line    6)
38420 * COMPOUND_LITERAL_EXPR_DECL:            Expression trees.   (line  608)
38421 * COMPOUND_LITERAL_EXPR_DECL_STMT:       Expression trees.   (line  608)
38422 * computed jump:                         Edges.              (line  128)
38423 * computing the length of an insn:       Insn Lengths.       (line    6)
38424 * concat:                                Regs and Memory.    (line  267)
38425 * concatn:                               Regs and Memory.    (line  273)
38426 * cond:                                  Comparisons.        (line   90)
38427 * cond and attributes:                   Expressions.        (line   37)
38428 * cond_exec:                             Side Effects.       (line  245)
38429 * COND_EXPR:                             Expression trees.   (line    6)
38430 * condition code register:               Regs and Memory.    (line  182)
38431 * condition code status:                 Condition Code.     (line    6)
38432 * condition codes:                       Comparisons.        (line   20)
38433 * conditional execution:                 Conditional Execution.
38434                                                              (line    6)
38435 * Conditional Expressions:               Conditional Expressions.
38436                                                              (line    6)
38437 * CONDITIONAL_REGISTER_USAGE:            Register Basics.    (line   60)
38438 * conditional_trap instruction pattern:  Standard Names.     (line 1373)
38439 * conditions, in patterns:               Patterns.           (line   43)
38440 * configuration file <1>:                Host Misc.          (line    6)
38441 * configuration file:                    Filesystem.         (line    6)
38442 * configure terms:                       Configure Terms.    (line    6)
38443 * CONJ_EXPR:                             Expression trees.   (line    6)
38444 * CONST0_RTX:                            Constants.          (line   81)
38445 * const0_rtx:                            Constants.          (line   16)
38446 * CONST1_RTX:                            Constants.          (line   81)
38447 * const1_rtx:                            Constants.          (line   16)
38448 * CONST2_RTX:                            Constants.          (line   81)
38449 * const2_rtx:                            Constants.          (line   16)
38450 * CONST_DECL:                            Declarations.       (line    6)
38451 * const_double:                          Constants.          (line   32)
38452 * const_double, RTL sharing:             Sharing.            (line   29)
38453 * CONST_DOUBLE_CHAIN:                    Constants.          (line   59)
38454 * CONST_DOUBLE_LOW:                      Constants.          (line   68)
38455 * CONST_DOUBLE_MEM:                      Constants.          (line   59)
38456 * CONST_DOUBLE_OK_FOR_CONSTRAINT_P:      Old Constraints.    (line   69)
38457 * CONST_DOUBLE_OK_FOR_LETTER_P:          Old Constraints.    (line   54)
38458 * const_double_operand:                  Machine-Independent Predicates.
38459                                                              (line   21)
38460 * const_fixed:                           Constants.          (line   39)
38461 * const_int:                             Constants.          (line    8)
38462 * const_int and attribute tests:         Expressions.        (line   47)
38463 * const_int and attributes:              Expressions.        (line   10)
38464 * const_int, RTL sharing:                Sharing.            (line   23)
38465 * const_int_operand:                     Machine-Independent Predicates.
38466                                                              (line   16)
38467 * CONST_OK_FOR_CONSTRAINT_P:             Old Constraints.    (line   49)
38468 * CONST_OK_FOR_LETTER_P:                 Old Constraints.    (line   40)
38469 * CONST_OR_PURE_CALL_P:                  Flags.              (line   19)
38470 * const_string:                          Constants.          (line   90)
38471 * const_string and attributes:           Expressions.        (line   20)
38472 * const_true_rtx:                        Constants.          (line   26)
38473 * const_vector:                          Constants.          (line   47)
38474 * const_vector, RTL sharing:             Sharing.            (line   32)
38475 * constant attributes:                   Constant Attributes.
38476                                                              (line    6)
38477 * constant definitions:                  Constant Definitions.
38478                                                              (line    6)
38479 * CONSTANT_ADDRESS_P:                    Addressing Modes.   (line   29)
38480 * CONSTANT_ALIGNMENT:                    Storage Layout.     (line  221)
38481 * CONSTANT_P:                            Addressing Modes.   (line   35)
38482 * CONSTANT_POOL_ADDRESS_P:               Flags.              (line   10)
38483 * CONSTANT_POOL_BEFORE_FUNCTION:         Data Output.        (line   64)
38484 * constants in constraints:              Simple Constraints. (line   58)
38485 * constm1_rtx:                           Constants.          (line   16)
38486 * constraint modifier characters:        Modifiers.          (line    6)
38487 * constraint, matching:                  Simple Constraints. (line  130)
38488 * CONSTRAINT_LEN:                        Old Constraints.    (line   12)
38489 * constraint_num:                        C Constraint Interface.
38490                                                              (line   38)
38491 * constraint_satisfied_p:                C Constraint Interface.
38492                                                              (line   54)
38493 * constraints:                           Constraints.        (line    6)
38494 * constraints, defining:                 Define Constraints. (line    6)
38495 * constraints, defining, obsolete method: Old Constraints.   (line    6)
38496 * constraints, machine specific:         Machine Constraints.
38497                                                              (line    6)
38498 * constraints, testing:                  C Constraint Interface.
38499                                                              (line    6)
38500 * constructor:                           Function Basics.    (line    6)
38501 * CONSTRUCTOR:                           Expression trees.   (line    6)
38502 * constructors, automatic calls:         Collect2.           (line   15)
38503 * constructors, output of:               Initialization.     (line    6)
38504 * container:                             Containers.         (line    6)
38505 * CONTINUE_STMT:                         Function Bodies.    (line    6)
38506 * contributors:                          Contributors.       (line    6)
38507 * controlling register usage:            Register Basics.    (line   76)
38508 * controlling the compilation driver:    Driver.             (line    6)
38509 * conventions, run-time:                 Interface.          (line    6)
38510 * conversions:                           Conversions.        (line    6)
38511 * CONVERT_EXPR:                          Expression trees.   (line    6)
38512 * copy constructor:                      Function Basics.    (line    6)
38513 * copy_rtx:                              Addressing Modes.   (line  170)
38514 * copy_rtx_if_shared:                    Sharing.            (line   64)
38515 * copysignM3 instruction pattern:        Standard Names.     (line  598)
38516 * cosM2 instruction pattern:             Standard Names.     (line  477)
38517 * costs of instructions:                 Costs.              (line    6)
38518 * CP_INTEGRAL_TYPE:                      Types.              (line   72)
38519 * cp_namespace_decls:                    Namespaces.         (line   44)
38520 * CP_TYPE_CONST_NON_VOLATILE_P:          Types.              (line   45)
38521 * CP_TYPE_CONST_P:                       Types.              (line   36)
38522 * CP_TYPE_QUALS:                         Types.              (line    6)
38523 * CP_TYPE_RESTRICT_P:                    Types.              (line   42)
38524 * CP_TYPE_VOLATILE_P:                    Types.              (line   39)
38525 * CPLUSPLUS_CPP_SPEC:                    Driver.             (line  113)
38526 * CPP_SPEC:                              Driver.             (line  106)
38527 * CQImode:                               Machine Modes.      (line  202)
38528 * cross compilation and floating point:  Floating Point.     (line    6)
38529 * CRT_CALL_STATIC_FUNCTION:              Sections.           (line  112)
38530 * CRTSTUFF_T_CFLAGS:                     Target Fragment.    (line   35)
38531 * CRTSTUFF_T_CFLAGS_S:                   Target Fragment.    (line   39)
38532 * CSImode:                               Machine Modes.      (line  202)
38533 * CTImode:                               Machine Modes.      (line  202)
38534 * ctz:                                   Arithmetic.         (line  216)
38535 * CTZ_DEFINED_VALUE_AT_ZERO:             Misc.               (line  320)
38536 * ctzM2 instruction pattern:             Standard Names.     (line  626)
38537 * CUMULATIVE_ARGS:                       Register Arguments. (line  127)
38538 * current_function_epilogue_delay_list:  Function Entry.     (line  181)
38539 * current_function_is_leaf:              Leaf Functions.     (line   51)
38540 * current_function_outgoing_args_size:   Stack Arguments.    (line   45)
38541 * current_function_pops_args:            Function Entry.     (line  106)
38542 * current_function_pretend_args_size:    Function Entry.     (line  112)
38543 * current_function_uses_only_leaf_regs:  Leaf Functions.     (line   51)
38544 * current_insn_predicate:                Conditional Execution.
38545                                                              (line   26)
38546 * DAmode:                                Machine Modes.      (line  152)
38547 * data bypass:                           Processor pipeline description.
38548                                                              (line  197)
38549 * data dependence delays:                Processor pipeline description.
38550                                                              (line    6)
38551 * Data Dependency Analysis:              Dependency analysis.
38552                                                              (line    6)
38553 * data structures:                       Per-Function Data.  (line    6)
38554 * DATA_ALIGNMENT:                        Storage Layout.     (line  208)
38555 * DATA_SECTION_ASM_OP:                   Sections.           (line   53)
38556 * DBR_OUTPUT_SEQEND:                     Instruction Output. (line  107)
38557 * dbr_sequence_length:                   Instruction Output. (line  106)
38558 * DBX_BLOCKS_FUNCTION_RELATIVE:          DBX Options.        (line  103)
38559 * DBX_CONTIN_CHAR:                       DBX Options.        (line   66)
38560 * DBX_CONTIN_LENGTH:                     DBX Options.        (line   56)
38561 * DBX_DEBUGGING_INFO:                    DBX Options.        (line    9)
38562 * DBX_FUNCTION_FIRST:                    DBX Options.        (line   97)
38563 * DBX_LINES_FUNCTION_RELATIVE:           DBX Options.        (line  109)
38564 * DBX_NO_XREFS:                          DBX Options.        (line   50)
38565 * DBX_OUTPUT_LBRAC:                      DBX Hooks.          (line    9)
38566 * DBX_OUTPUT_MAIN_SOURCE_FILE_END:       File Names and DBX. (line   34)
38567 * DBX_OUTPUT_MAIN_SOURCE_FILENAME:       File Names and DBX. (line    9)
38568 * DBX_OUTPUT_NFUN:                       DBX Hooks.          (line   18)
38569 * DBX_OUTPUT_NULL_N_SO_AT_MAIN_SOURCE_FILE_END: File Names and DBX.
38570                                                              (line   42)
38571 * DBX_OUTPUT_RBRAC:                      DBX Hooks.          (line   15)
38572 * DBX_OUTPUT_SOURCE_LINE:                DBX Hooks.          (line   22)
38573 * DBX_REGISTER_NUMBER:                   All Debuggers.      (line    9)
38574 * DBX_REGPARM_STABS_CODE:                DBX Options.        (line   87)
38575 * DBX_REGPARM_STABS_LETTER:              DBX Options.        (line   92)
38576 * DBX_STATIC_CONST_VAR_CODE:             DBX Options.        (line   82)
38577 * DBX_STATIC_STAB_DATA_SECTION:          DBX Options.        (line   73)
38578 * DBX_TYPE_DECL_STABS_CODE:              DBX Options.        (line   78)
38579 * DBX_USE_BINCL:                         DBX Options.        (line  115)
38580 * DCmode:                                Machine Modes.      (line  197)
38581 * DDmode:                                Machine Modes.      (line   90)
38582 * De Morgan's law:                       Insn Canonicalizations.
38583                                                              (line   57)
38584 * dead_or_set_p:                         define_peephole.    (line   65)
38585 * DEBUG_SYMS_TEXT:                       DBX Options.        (line   25)
38586 * DEBUGGER_ARG_OFFSET:                   All Debuggers.      (line   37)
38587 * DEBUGGER_AUTO_OFFSET:                  All Debuggers.      (line   28)
38588 * decimal float library:                 Decimal float library routines.
38589                                                              (line    6)
38590 * DECL_ALIGN:                            Declarations.       (line    6)
38591 * DECL_ANTICIPATED:                      Function Basics.    (line   48)
38592 * DECL_ARGUMENTS:                        Function Basics.    (line  163)
38593 * DECL_ARRAY_DELETE_OPERATOR_P:          Function Basics.    (line  184)
38594 * DECL_ARTIFICIAL <1>:                   Working with declarations.
38595                                                              (line   24)
38596 * DECL_ARTIFICIAL:                       Function Basics.    (line  155)
38597 * DECL_ASSEMBLER_NAME:                   Function Basics.    (line   21)
38598 * DECL_ATTRIBUTES:                       Attributes.         (line   22)
38599 * DECL_BASE_CONSTRUCTOR_P:               Function Basics.    (line   94)
38600 * DECL_CLASS_SCOPE_P:                    Working with declarations.
38601                                                              (line   41)
38602 * DECL_COMPLETE_CONSTRUCTOR_P:           Function Basics.    (line   90)
38603 * DECL_COMPLETE_DESTRUCTOR_P:            Function Basics.    (line  104)
38604 * DECL_CONST_MEMFUNC_P:                  Function Basics.    (line   77)
38605 * DECL_CONSTRUCTOR_P:                    Function Basics.    (line    6)
38606 * DECL_CONTEXT:                          Namespaces.         (line   26)
38607 * DECL_CONV_FN_P:                        Function Basics.    (line  111)
38608 * DECL_COPY_CONSTRUCTOR_P:               Function Basics.    (line   98)
38609 * DECL_DESTRUCTOR_P:                     Function Basics.    (line  101)
38610 * DECL_EXTERN_C_FUNCTION_P:              Function Basics.    (line   52)
38611 * DECL_EXTERNAL <1>:                     Function Basics.    (line   38)
38612 * DECL_EXTERNAL:                         Declarations.       (line    6)
38613 * DECL_FUNCTION_MEMBER_P:                Function Basics.    (line   67)
38614 * DECL_FUNCTION_SCOPE_P:                 Working with declarations.
38615                                                              (line   44)
38616 * DECL_GLOBAL_CTOR_P:                    Function Basics.    (line  114)
38617 * DECL_GLOBAL_DTOR_P:                    Function Basics.    (line    6)
38618 * DECL_INITIAL:                          Declarations.       (line    6)
38619 * DECL_LINKONCE_P:                       Function Basics.    (line    6)
38620 * DECL_LOCAL_FUNCTION_P:                 Function Basics.    (line   44)
38621 * DECL_MAIN_P:                           Function Basics.    (line    7)
38622 * DECL_NAME <1>:                         Namespaces.         (line   15)
38623 * DECL_NAME <2>:                         Working with declarations.
38624                                                              (line    7)
38625 * DECL_NAME:                             Function Basics.    (line   11)
38626 * DECL_NAMESPACE_ALIAS:                  Namespaces.         (line   30)
38627 * DECL_NAMESPACE_SCOPE_P:                Working with declarations.
38628                                                              (line   37)
38629 * DECL_NAMESPACE_STD_P:                  Namespaces.         (line   40)
38630 * DECL_NON_THUNK_FUNCTION_P:             Function Basics.    (line  144)
38631 * DECL_NONCONVERTING_P:                  Function Basics.    (line   86)
38632 * DECL_NONSTATIC_MEMBER_FUNCTION_P:      Function Basics.    (line   74)
38633 * DECL_OVERLOADED_OPERATOR_P:            Function Basics.    (line  108)
38634 * DECL_RESULT:                           Function Basics.    (line  168)
38635 * DECL_SIZE:                             Declarations.       (line    6)
38636 * DECL_STATIC_FUNCTION_P:                Function Basics.    (line   71)
38637 * DECL_STMT:                             Function Bodies.    (line    6)
38638 * DECL_STMT_DECL:                        Function Bodies.    (line    6)
38639 * DECL_THUNK_P:                          Function Basics.    (line  122)
38640 * DECL_VOLATILE_MEMFUNC_P:               Function Basics.    (line   80)
38641 * declaration:                           Declarations.       (line    6)
38642 * declarations, RTL:                     RTL Declarations.   (line    6)
38643 * DECLARE_LIBRARY_RENAMES:               Library Calls.      (line    9)
38644 * decrement_and_branch_until_zero instruction pattern: Standard Names.
38645                                                              (line 1114)
38646 * default:                               GTY Options.        (line   82)
38647 * default_file_start:                    File Framework.     (line    9)
38648 * DEFAULT_GDB_EXTENSIONS:                DBX Options.        (line   18)
38649 * DEFAULT_PCC_STRUCT_RETURN:             Aggregate Return.   (line   34)
38650 * DEFAULT_SIGNED_CHAR:                   Type Layout.        (line  154)
38651 * define_address_constraint:             Define Constraints. (line  107)
38652 * define_asm_attributes:                 Tagging Insns.      (line   73)
38653 * define_attr:                           Defining Attributes.
38654                                                              (line    6)
38655 * define_automaton:                      Processor pipeline description.
38656                                                              (line   53)
38657 * define_bypass:                         Processor pipeline description.
38658                                                              (line  197)
38659 * define_code_attr:                      Code Iterators.     (line    6)
38660 * define_code_iterator:                  Code Iterators.     (line    6)
38661 * define_cond_exec:                      Conditional Execution.
38662                                                              (line   13)
38663 * define_constants:                      Constant Definitions.
38664                                                              (line    6)
38665 * define_constraint:                     Define Constraints. (line   48)
38666 * define_cpu_unit:                       Processor pipeline description.
38667                                                              (line   68)
38668 * define_delay:                          Delay Slots.        (line   25)
38669 * define_expand:                         Expander Definitions.
38670                                                              (line   11)
38671 * define_insn:                           Patterns.           (line    6)
38672 * define_insn example:                   Example.            (line    6)
38673 * define_insn_and_split:                 Insn Splitting.     (line  170)
38674 * define_insn_reservation:               Processor pipeline description.
38675                                                              (line  106)
38676 * define_memory_constraint:              Define Constraints. (line   88)
38677 * define_mode_attr:                      Substitutions.      (line    6)
38678 * define_mode_iterator:                  Defining Mode Iterators.
38679                                                              (line    6)
38680 * define_peephole:                       define_peephole.    (line    6)
38681 * define_peephole2:                      define_peephole2.   (line    6)
38682 * define_predicate:                      Defining Predicates.
38683                                                              (line    6)
38684 * define_query_cpu_unit:                 Processor pipeline description.
38685                                                              (line   90)
38686 * define_register_constraint:            Define Constraints. (line   28)
38687 * define_reservation:                    Processor pipeline description.
38688                                                              (line  186)
38689 * define_special_predicate:              Defining Predicates.
38690                                                              (line    6)
38691 * define_split:                          Insn Splitting.     (line   32)
38692 * defining attributes and their values:  Defining Attributes.
38693                                                              (line    6)
38694 * defining constraints:                  Define Constraints. (line    6)
38695 * defining constraints, obsolete method: Old Constraints.    (line    6)
38696 * defining jump instruction patterns:    Jump Patterns.      (line    6)
38697 * defining looping instruction patterns: Looping Patterns.   (line    6)
38698 * defining peephole optimizers:          Peephole Definitions.
38699                                                              (line    6)
38700 * defining predicates:                   Defining Predicates.
38701                                                              (line    6)
38702 * defining RTL sequences for code generation: Expander Definitions.
38703                                                              (line    6)
38704 * delay slots, defining:                 Delay Slots.        (line    6)
38705 * DELAY_SLOTS_FOR_EPILOGUE:              Function Entry.     (line  163)
38706 * deletable:                             GTY Options.        (line  150)
38707 * DELETE_IF_ORDINARY:                    Filesystem.         (line   79)
38708 * Dependent Patterns:                    Dependent Patterns. (line    6)
38709 * desc:                                  GTY Options.        (line   82)
38710 * destructor:                            Function Basics.    (line    6)
38711 * destructors, output of:                Initialization.     (line    6)
38712 * deterministic finite state automaton:  Processor pipeline description.
38713                                                              (line    6)
38714 * DF_SIZE:                               Type Layout.        (line  130)
38715 * DFmode:                                Machine Modes.      (line   73)
38716 * digits in constraint:                  Simple Constraints. (line  118)
38717 * DImode:                                Machine Modes.      (line   45)
38718 * DIR_SEPARATOR:                         Filesystem.         (line   18)
38719 * DIR_SEPARATOR_2:                       Filesystem.         (line   19)
38720 * directory options .md:                 Including Patterns. (line   44)
38721 * disabling certain registers:           Register Basics.    (line   76)
38722 * dispatch table:                        Dispatch Tables.    (line    8)
38723 * div:                                   Arithmetic.         (line  111)
38724 * div and attributes:                    Expressions.        (line   64)
38725 * division:                              Arithmetic.         (line  125)
38726 * divM3 instruction pattern:             Standard Names.     (line  222)
38727 * divmodM4 instruction pattern:          Standard Names.     (line  411)
38728 * DO_BODY:                               Function Bodies.    (line    6)
38729 * DO_COND:                               Function Bodies.    (line    6)
38730 * DO_STMT:                               Function Bodies.    (line    6)
38731 * DOLLARS_IN_IDENTIFIERS:                Misc.               (line  496)
38732 * doloop_begin instruction pattern:      Standard Names.     (line 1145)
38733 * doloop_end instruction pattern:        Standard Names.     (line 1124)
38734 * DONE:                                  Expander Definitions.
38735                                                              (line   74)
38736 * DONT_USE_BUILTIN_SETJMP:               Exception Region Output.
38737                                                              (line   70)
38738 * DOUBLE_TYPE_SIZE:                      Type Layout.        (line   53)
38739 * DQmode:                                Machine Modes.      (line  115)
38740 * driver:                                Driver.             (line    6)
38741 * DRIVER_SELF_SPECS:                     Driver.             (line   71)
38742 * DUMPFILE_FORMAT:                       Filesystem.         (line   67)
38743 * DWARF2_ASM_LINE_DEBUG_INFO:            SDB and DWARF.      (line   36)
38744 * DWARF2_DEBUGGING_INFO:                 SDB and DWARF.      (line   13)
38745 * DWARF2_FRAME_INFO:                     SDB and DWARF.      (line   30)
38746 * DWARF2_FRAME_REG_OUT:                  Frame Registers.    (line  133)
38747 * DWARF2_UNWIND_INFO:                    Exception Region Output.
38748                                                              (line   40)
38749 * DWARF_ALT_FRAME_RETURN_COLUMN:         Frame Layout.       (line  152)
38750 * DWARF_CIE_DATA_ALIGNMENT:              Exception Region Output.
38751                                                              (line   75)
38752 * DWARF_FRAME_REGISTERS:                 Frame Registers.    (line   93)
38753 * DWARF_FRAME_REGNUM:                    Frame Registers.    (line  125)
38754 * DWARF_REG_TO_UNWIND_COLUMN:            Frame Registers.    (line  117)
38755 * DWARF_ZERO_REG:                        Frame Layout.       (line  163)
38756 * DYNAMIC_CHAIN_ADDRESS:                 Frame Layout.       (line   92)
38757 * E in constraint:                       Simple Constraints. (line   77)
38758 * earlyclobber operand:                  Modifiers.          (line   25)
38759 * edge:                                  Edges.              (line    6)
38760 * edge in the flow graph:                Edges.              (line    6)
38761 * edge iterators:                        Edges.              (line   15)
38762 * edge splitting:                        Maintaining the CFG.
38763                                                              (line  118)
38764 * EDGE_ABNORMAL:                         Edges.              (line  128)
38765 * EDGE_ABNORMAL, EDGE_ABNORMAL_CALL:     Edges.              (line  171)
38766 * EDGE_ABNORMAL, EDGE_EH:                Edges.              (line   96)
38767 * EDGE_ABNORMAL, EDGE_SIBCALL:           Edges.              (line  122)
38768 * EDGE_FALLTHRU, force_nonfallthru:      Edges.              (line   86)
38769 * EDOM, implicit usage:                  Library Calls.      (line   58)
38770 * EH_FRAME_IN_DATA_SECTION:              Exception Region Output.
38771                                                              (line   20)
38772 * EH_FRAME_SECTION_NAME:                 Exception Region Output.
38773                                                              (line   10)
38774 * eh_return instruction pattern:         Standard Names.     (line 1313)
38775 * EH_RETURN_DATA_REGNO:                  Exception Handling. (line    7)
38776 * EH_RETURN_HANDLER_RTX:                 Exception Handling. (line   39)
38777 * EH_RETURN_STACKADJ_RTX:                Exception Handling. (line   22)
38778 * EH_TABLES_CAN_BE_READ_ONLY:            Exception Region Output.
38779                                                              (line   29)
38780 * EH_USES:                               Function Entry.     (line  158)
38781 * ei_edge:                               Edges.              (line   43)
38782 * ei_end_p:                              Edges.              (line   27)
38783 * ei_last:                               Edges.              (line   23)
38784 * ei_next:                               Edges.              (line   35)
38785 * ei_one_before_end_p:                   Edges.              (line   31)
38786 * ei_prev:                               Edges.              (line   39)
38787 * ei_safe_safe:                          Edges.              (line   47)
38788 * ei_start:                              Edges.              (line   19)
38789 * ELIGIBLE_FOR_EPILOGUE_DELAY:           Function Entry.     (line  169)
38790 * ELIMINABLE_REGS:                       Elimination.        (line   44)
38791 * ELSE_CLAUSE:                           Function Bodies.    (line    6)
38792 * Embedded C:                            Fixed-point fractional library routines.
38793                                                              (line    6)
38794 * EMIT_MODE_SET:                         Mode Switching.     (line   74)
38795 * Empty Statements:                      Empty Statements.   (line    6)
38796 * EMPTY_CLASS_EXPR:                      Function Bodies.    (line    6)
38797 * EMPTY_FIELD_BOUNDARY:                  Storage Layout.     (line  245)
38798 * ENABLE_EXECUTE_STACK:                  Trampolines.        (line  110)
38799 * ENDFILE_SPEC:                          Driver.             (line  218)
38800 * endianness:                            Portability.        (line   21)
38801 * ENTRY_BLOCK_PTR, EXIT_BLOCK_PTR:       Basic Blocks.       (line   28)
38802 * enum machine_mode:                     Machine Modes.      (line    6)
38803 * enum reg_class:                        Register Classes.   (line   65)
38804 * ENUMERAL_TYPE:                         Types.              (line    6)
38805 * epilogue:                              Function Entry.     (line    6)
38806 * epilogue instruction pattern:          Standard Names.     (line 1345)
38807 * EPILOGUE_USES:                         Function Entry.     (line  152)
38808 * eq:                                    Comparisons.        (line   52)
38809 * eq and attributes:                     Expressions.        (line   64)
38810 * eq_attr:                               Expressions.        (line   85)
38811 * EQ_EXPR:                               Expression trees.   (line    6)
38812 * equal:                                 Comparisons.        (line   52)
38813 * errno, implicit usage:                 Library Calls.      (line   70)
38814 * EXACT_DIV_EXPR:                        Expression trees.   (line    6)
38815 * examining SSA_NAMEs:                   SSA.                (line  221)
38816 * exception handling <1>:                Edges.              (line   96)
38817 * exception handling:                    Exception Handling. (line    6)
38818 * exception_receiver instruction pattern: Standard Names.    (line 1277)
38819 * exclamation point:                     Multi-Alternative.  (line   47)
38820 * exclusion_set:                         Processor pipeline description.
38821                                                              (line  215)
38822 * exclusive-or, bitwise:                 Arithmetic.         (line  163)
38823 * EXIT_EXPR:                             Expression trees.   (line    6)
38824 * EXIT_IGNORE_STACK:                     Function Entry.     (line  140)
38825 * expander definitions:                  Expander Definitions.
38826                                                              (line    6)
38827 * expM2 instruction pattern:             Standard Names.     (line  493)
38828 * expr_list:                             Insns.              (line  550)
38829 * EXPR_STMT:                             Function Bodies.    (line    6)
38830 * EXPR_STMT_EXPR:                        Function Bodies.    (line    6)
38831 * expression:                            Expression trees.   (line    6)
38832 * expression codes:                      RTL Objects.        (line   47)
38833 * extendMN2 instruction pattern:         Standard Names.     (line  820)
38834 * extensible constraints:                Simple Constraints. (line  161)
38835 * EXTRA_ADDRESS_CONSTRAINT:              Old Constraints.    (line  123)
38836 * EXTRA_CONSTRAINT:                      Old Constraints.    (line   74)
38837 * EXTRA_CONSTRAINT_STR:                  Old Constraints.    (line   95)
38838 * EXTRA_MEMORY_CONSTRAINT:               Old Constraints.    (line  100)
38839 * EXTRA_SPECS:                           Driver.             (line  245)
38840 * extv instruction pattern:              Standard Names.     (line  856)
38841 * extzv instruction pattern:             Standard Names.     (line  871)
38842 * F in constraint:                       Simple Constraints. (line   82)
38843 * FAIL:                                  Expander Definitions.
38844                                                              (line   80)
38845 * fall-thru:                             Edges.              (line   69)
38846 * FATAL_EXIT_CODE:                       Host Misc.          (line    6)
38847 * FDL, GNU Free Documentation License:   GNU Free Documentation License.
38848                                                              (line    6)
38849 * features, optional, in system conventions: Run-time Target.
38850                                                              (line   59)
38851 * ffs:                                   Arithmetic.         (line  202)
38852 * ffsM2 instruction pattern:             Standard Names.     (line  607)
38853 * FIELD_DECL:                            Declarations.       (line    6)
38854 * file_end_indicate_exec_stack:          File Framework.     (line   41)
38855 * files and passes of the compiler:      Passes.             (line    6)
38856 * files, generated:                      Files.              (line    6)
38857 * final_absence_set:                     Processor pipeline description.
38858                                                              (line  215)
38859 * FINAL_PRESCAN_INSN:                    Instruction Output. (line   46)
38860 * final_presence_set:                    Processor pipeline description.
38861                                                              (line  215)
38862 * final_scan_insn:                       Function Entry.     (line  181)
38863 * final_sequence:                        Instruction Output. (line  117)
38864 * FIND_BASE_TERM:                        Addressing Modes.   (line  100)
38865 * FINI_ARRAY_SECTION_ASM_OP:             Sections.           (line  105)
38866 * FINI_SECTION_ASM_OP:                   Sections.           (line   90)
38867 * finite state automaton minimization:   Processor pipeline description.
38868                                                              (line  296)
38869 * FIRST_PARM_OFFSET:                     Frame Layout.       (line   67)
38870 * FIRST_PARM_OFFSET and virtual registers: Regs and Memory.  (line   65)
38871 * FIRST_PSEUDO_REGISTER:                 Register Basics.    (line    9)
38872 * FIRST_STACK_REG:                       Stack Registers.    (line   23)
38873 * FIRST_VIRTUAL_REGISTER:                Regs and Memory.    (line   51)
38874 * fix:                                   Conversions.        (line   77)
38875 * FIX_TRUNC_EXPR:                        Expression trees.   (line    6)
38876 * fix_truncMN2 instruction pattern:      Standard Names.     (line  807)
38877 * fixed register:                        Register Basics.    (line   15)
38878 * fixed-point fractional library:        Fixed-point fractional library routines.
38879                                                              (line    6)
38880 * FIXED_CONVERT_EXPR:                    Expression trees.   (line    6)
38881 * FIXED_CST:                             Expression trees.   (line    6)
38882 * FIXED_POINT_TYPE:                      Types.              (line    6)
38883 * FIXED_REGISTERS:                       Register Basics.    (line   15)
38884 * fixed_regs:                            Register Basics.    (line   59)
38885 * fixMN2 instruction pattern:            Standard Names.     (line  787)
38886 * FIXUNS_TRUNC_LIKE_FIX_TRUNC:           Misc.               (line  100)
38887 * fixuns_truncMN2 instruction pattern:   Standard Names.     (line  811)
38888 * fixunsMN2 instruction pattern:         Standard Names.     (line  796)
38889 * flags in RTL expression:               Flags.              (line    6)
38890 * float:                                 Conversions.        (line   58)
38891 * FLOAT_EXPR:                            Expression trees.   (line    6)
38892 * float_extend:                          Conversions.        (line   33)
38893 * FLOAT_LIB_COMPARE_RETURNS_BOOL:        Library Calls.      (line   25)
38894 * FLOAT_STORE_FLAG_VALUE:                Misc.               (line  301)
38895 * float_truncate:                        Conversions.        (line   53)
38896 * FLOAT_TYPE_SIZE:                       Type Layout.        (line   49)
38897 * FLOAT_WORDS_BIG_ENDIAN:                Storage Layout.     (line   43)
38898 * FLOAT_WORDS_BIG_ENDIAN, (lack of) effect on subreg: Regs and Memory.
38899                                                              (line  140)
38900 * floating point and cross compilation:  Floating Point.     (line    6)
38901 * Floating Point Emulation:              Target Fragment.    (line   15)
38902 * floating point emulation library, US Software GOFAST: Library Calls.
38903                                                              (line   44)
38904 * floatMN2 instruction pattern:          Standard Names.     (line  779)
38905 * floatunsMN2 instruction pattern:       Standard Names.     (line  783)
38906 * FLOOR_DIV_EXPR:                        Expression trees.   (line    6)
38907 * FLOOR_MOD_EXPR:                        Expression trees.   (line    6)
38908 * floorM2 instruction pattern:           Standard Names.     (line  528)
38909 * flow-insensitive alias analysis:       Alias analysis.     (line    6)
38910 * flow-sensitive alias analysis:         Alias analysis.     (line    6)
38911 * fmodM3 instruction pattern:            Standard Names.     (line  459)
38912 * FOR_BODY:                              Function Bodies.    (line    6)
38913 * FOR_COND:                              Function Bodies.    (line    6)
38914 * FOR_EXPR:                              Function Bodies.    (line    6)
38915 * FOR_INIT_STMT:                         Function Bodies.    (line    6)
38916 * FOR_STMT:                              Function Bodies.    (line    6)
38917 * FORCE_CODE_SECTION_ALIGN:              Sections.           (line  136)
38918 * force_reg:                             Standard Names.     (line   36)
38919 * fract_convert:                         Conversions.        (line   83)
38920 * FRACT_TYPE_SIZE:                       Type Layout.        (line   68)
38921 * fractional types:                      Fixed-point fractional library routines.
38922                                                              (line    6)
38923 * fractMN2 instruction pattern:          Standard Names.     (line  829)
38924 * fractunsMN2 instruction pattern:       Standard Names.     (line  844)
38925 * frame layout:                          Frame Layout.       (line    6)
38926 * FRAME_ADDR_RTX:                        Frame Layout.       (line  116)
38927 * FRAME_GROWS_DOWNWARD:                  Frame Layout.       (line   31)
38928 * FRAME_GROWS_DOWNWARD and virtual registers: Regs and Memory.
38929                                                              (line   69)
38930 * FRAME_POINTER_CFA_OFFSET:              Frame Layout.       (line  212)
38931 * frame_pointer_needed:                  Function Entry.     (line   34)
38932 * FRAME_POINTER_REGNUM:                  Frame Registers.    (line   14)
38933 * FRAME_POINTER_REGNUM and virtual registers: Regs and Memory.
38934                                                              (line   74)
38935 * FRAME_POINTER_REQUIRED:                Elimination.        (line    9)
38936 * frame_pointer_rtx:                     Frame Registers.    (line   85)
38937 * frame_related:                         Flags.              (line  224)
38938 * frame_related, in insn, call_insn, jump_insn, barrier, and set: Flags.
38939                                                              (line  110)
38940 * frame_related, in mem:                 Flags.              (line   88)
38941 * frame_related, in reg:                 Flags.              (line   97)
38942 * frame_related, in symbol_ref:          Flags.              (line  168)
38943 * frequency, count, BB_FREQ_BASE:        Profile information.
38944                                                              (line   30)
38945 * ftruncM2 instruction pattern:          Standard Names.     (line  802)
38946 * function:                              Functions.          (line    6)
38947 * function body:                         Function Bodies.    (line    6)
38948 * function call conventions:             Interface.          (line    6)
38949 * function entry and exit:               Function Entry.     (line    6)
38950 * function entry point, alternate function entry point: Edges.
38951                                                              (line  180)
38952 * function-call insns:                   Calls.              (line    6)
38953 * FUNCTION_ARG:                          Register Arguments. (line   11)
38954 * FUNCTION_ARG_ADVANCE:                  Register Arguments. (line  178)
38955 * FUNCTION_ARG_BOUNDARY:                 Register Arguments. (line  224)
38956 * FUNCTION_ARG_PADDING:                  Register Arguments. (line  189)
38957 * FUNCTION_ARG_REGNO_P:                  Register Arguments. (line  229)
38958 * FUNCTION_BOUNDARY:                     Storage Layout.     (line  165)
38959 * FUNCTION_DECL:                         Functions.          (line    6)
38960 * FUNCTION_INCOMING_ARG:                 Register Arguments. (line   68)
38961 * FUNCTION_MODE:                         Misc.               (line  356)
38962 * FUNCTION_OUTGOING_VALUE:               Scalar Return.      (line   56)
38963 * FUNCTION_PROFILER:                     Profiling.          (line    9)
38964 * FUNCTION_TYPE:                         Types.              (line    6)
38965 * FUNCTION_VALUE:                        Scalar Return.      (line   52)
38966 * FUNCTION_VALUE_REGNO_P:                Scalar Return.      (line   77)
38967 * functions, leaf:                       Leaf Functions.     (line    6)
38968 * fundamental type:                      Types.              (line    6)
38969 * G in constraint:                       Simple Constraints. (line   86)
38970 * g in constraint:                       Simple Constraints. (line  108)
38971 * GCC and portability:                   Portability.        (line    6)
38972 * GCC_DRIVER_HOST_INITIALIZATION:        Host Misc.          (line   36)
38973 * gcov_type:                             Profile information.
38974                                                              (line   41)
38975 * ge:                                    Comparisons.        (line   72)
38976 * ge and attributes:                     Expressions.        (line   64)
38977 * GE_EXPR:                               Expression trees.   (line    6)
38978 * GEN_ERRNO_RTX:                         Library Calls.      (line   71)
38979 * gencodes:                              RTL passes.         (line   18)
38980 * general_operand:                       Machine-Independent Predicates.
38981                                                              (line  105)
38982 * GENERAL_REGS:                          Register Classes.   (line   23)
38983 * generated files:                       Files.              (line    6)
38984 * generating assembler output:           Output Statement.   (line    6)
38985 * generating insns:                      RTL Template.       (line    6)
38986 * GENERIC <1>:                           GENERIC.            (line    6)
38987 * GENERIC <2>:                           Gimplification pass.
38988                                                              (line   12)
38989 * GENERIC:                               Parsing pass.       (line    6)
38990 * generic predicates:                    Machine-Independent Predicates.
38991                                                              (line    6)
38992 * genflags:                              RTL passes.         (line   18)
38993 * get_attr:                              Expressions.        (line   80)
38994 * get_attr_length:                       Insn Lengths.       (line   46)
38995 * GET_CLASS_NARROWEST_MODE:              Machine Modes.      (line  333)
38996 * GET_CODE:                              RTL Objects.        (line   47)
38997 * get_frame_size:                        Elimination.        (line   31)
38998 * get_insns:                             Insns.              (line   34)
38999 * get_last_insn:                         Insns.              (line   34)
39000 * GET_MODE:                              Machine Modes.      (line  280)
39001 * GET_MODE_ALIGNMENT:                    Machine Modes.      (line  320)
39002 * GET_MODE_BITSIZE:                      Machine Modes.      (line  304)
39003 * GET_MODE_CLASS:                        Machine Modes.      (line  294)
39004 * GET_MODE_FBIT:                         Machine Modes.      (line  311)
39005 * GET_MODE_IBIT:                         Machine Modes.      (line  307)
39006 * GET_MODE_MASK:                         Machine Modes.      (line  315)
39007 * GET_MODE_NAME:                         Machine Modes.      (line  291)
39008 * GET_MODE_NUNITS:                       Machine Modes.      (line  329)
39009 * GET_MODE_SIZE:                         Machine Modes.      (line  301)
39010 * GET_MODE_UNIT_SIZE:                    Machine Modes.      (line  323)
39011 * GET_MODE_WIDER_MODE:                   Machine Modes.      (line  297)
39012 * GET_RTX_CLASS:                         RTL Classes.        (line    6)
39013 * GET_RTX_FORMAT:                        RTL Classes.        (line  130)
39014 * GET_RTX_LENGTH:                        RTL Classes.        (line  127)
39015 * geu:                                   Comparisons.        (line   72)
39016 * geu and attributes:                    Expressions.        (line   64)
39017 * GGC:                                   Type Information.   (line    6)
39018 * GIMPLE <1>:                            Parsing pass.       (line   14)
39019 * GIMPLE <2>:                            GIMPLE.             (line    6)
39020 * GIMPLE:                                Gimplification pass.
39021                                                              (line    6)
39022 * GIMPLE Example:                        GIMPLE Example.     (line    6)
39023 * GIMPLE Exception Handling:             GIMPLE Exception Handling.
39024                                                              (line    6)
39025 * GIMPLE Expressions:                    GIMPLE Expressions. (line    6)
39026 * gimplification <1>:                    Parsing pass.       (line   14)
39027 * gimplification <2>:                    Gimplification pass.
39028                                                              (line    6)
39029 * gimplification:                        Interfaces.         (line    6)
39030 * gimplifier:                            Parsing pass.       (line   14)
39031 * gimplify_expr:                         Gimplification pass.
39032                                                              (line   18)
39033 * gimplify_function_tree:                Gimplification pass.
39034                                                              (line   18)
39035 * GLOBAL_INIT_PRIORITY:                  Function Basics.    (line  147)
39036 * global_regs:                           Register Basics.    (line   59)
39037 * GO_IF_LEGITIMATE_ADDRESS:              Addressing Modes.   (line   48)
39038 * GO_IF_MODE_DEPENDENT_ADDRESS:          Addressing Modes.   (line  178)
39039 * GOFAST, floating point emulation library: Library Calls.   (line   44)
39040 * gofast_maybe_init_libfuncs:            Library Calls.      (line   44)
39041 * greater than:                          Comparisons.        (line   64)
39042 * gt:                                    Comparisons.        (line   60)
39043 * gt and attributes:                     Expressions.        (line   64)
39044 * GT_EXPR:                               Expression trees.   (line    6)
39045 * gtu:                                   Comparisons.        (line   64)
39046 * gtu and attributes:                    Expressions.        (line   64)
39047 * GTY:                                   Type Information.   (line    6)
39048 * H in constraint:                       Simple Constraints. (line   86)
39049 * HAmode:                                Machine Modes.      (line  144)
39050 * HANDLE_PRAGMA_PACK_PUSH_POP:           Misc.               (line  467)
39051 * HANDLE_PRAGMA_PACK_WITH_EXPANSION:     Misc.               (line  478)
39052 * HANDLE_PRAGMA_PUSH_POP_MACRO:          Misc.               (line  488)
39053 * HANDLE_SYSV_PRAGMA:                    Misc.               (line  438)
39054 * HANDLER:                               Function Bodies.    (line    6)
39055 * HANDLER_BODY:                          Function Bodies.    (line    6)
39056 * HANDLER_PARMS:                         Function Bodies.    (line    6)
39057 * hard registers:                        Regs and Memory.    (line    9)
39058 * HARD_FRAME_POINTER_REGNUM:             Frame Registers.    (line   20)
39059 * HARD_REGNO_CALL_PART_CLOBBERED:        Register Basics.    (line   53)
39060 * HARD_REGNO_CALLER_SAVE_MODE:           Caller Saves.       (line   20)
39061 * HARD_REGNO_MODE_OK:                    Values in Registers.
39062                                                              (line   58)
39063 * HARD_REGNO_NREGS:                      Values in Registers.
39064                                                              (line   11)
39065 * HARD_REGNO_NREGS_HAS_PADDING:          Values in Registers.
39066                                                              (line   25)
39067 * HARD_REGNO_NREGS_WITH_PADDING:         Values in Registers.
39068                                                              (line   43)
39069 * HARD_REGNO_RENAME_OK:                  Values in Registers.
39070                                                              (line  119)
39071 * HAS_INIT_SECTION:                      Macros for Initialization.
39072                                                              (line   19)
39073 * HAS_LONG_COND_BRANCH:                  Misc.               (line    9)
39074 * HAS_LONG_UNCOND_BRANCH:                Misc.               (line   18)
39075 * HAVE_DOS_BASED_FILE_SYSTEM:            Filesystem.         (line   11)
39076 * HAVE_POST_DECREMENT:                   Addressing Modes.   (line   12)
39077 * HAVE_POST_INCREMENT:                   Addressing Modes.   (line   11)
39078 * HAVE_POST_MODIFY_DISP:                 Addressing Modes.   (line   18)
39079 * HAVE_POST_MODIFY_REG:                  Addressing Modes.   (line   24)
39080 * HAVE_PRE_DECREMENT:                    Addressing Modes.   (line   10)
39081 * HAVE_PRE_INCREMENT:                    Addressing Modes.   (line    9)
39082 * HAVE_PRE_MODIFY_DISP:                  Addressing Modes.   (line   17)
39083 * HAVE_PRE_MODIFY_REG:                   Addressing Modes.   (line   23)
39084 * HCmode:                                Machine Modes.      (line  197)
39085 * HFmode:                                Machine Modes.      (line   58)
39086 * high:                                  Constants.          (line  128)
39087 * HImode:                                Machine Modes.      (line   29)
39088 * HImode, in insn:                       Insns.              (line  231)
39089 * host configuration:                    Host Config.        (line    6)
39090 * host functions:                        Host Common.        (line    6)
39091 * host hooks:                            Host Common.        (line    6)
39092 * host makefile fragment:                Host Fragment.      (line    6)
39093 * HOST_BIT_BUCKET:                       Filesystem.         (line   51)
39094 * HOST_EXECUTABLE_SUFFIX:                Filesystem.         (line   45)
39095 * HOST_HOOKS_EXTRA_SIGNALS:              Host Common.        (line   12)
39096 * HOST_HOOKS_GT_PCH_ALLOC_GRANULARITY:   Host Common.        (line   45)
39097 * HOST_HOOKS_GT_PCH_USE_ADDRESS:         Host Common.        (line   26)
39098 * HOST_LACKS_INODE_NUMBERS:              Filesystem.         (line   89)
39099 * HOST_LONG_LONG_FORMAT:                 Host Misc.          (line   41)
39100 * HOST_OBJECT_SUFFIX:                    Filesystem.         (line   40)
39101 * HOST_WIDE_INT:                         Anchored Addresses. (line   39)
39102 * HOT_TEXT_SECTION_NAME:                 Sections.           (line   43)
39103 * HQmode:                                Machine Modes.      (line  107)
39104 * i in constraint:                       Simple Constraints. (line   58)
39105 * I in constraint:                       Simple Constraints. (line   69)
39106 * identifier:                            Identifiers.        (line    6)
39107 * IDENTIFIER_LENGTH:                     Identifiers.        (line   20)
39108 * IDENTIFIER_NODE:                       Identifiers.        (line    6)
39109 * IDENTIFIER_OPNAME_P:                   Identifiers.        (line   25)
39110 * IDENTIFIER_POINTER:                    Identifiers.        (line   15)
39111 * IDENTIFIER_TYPENAME_P:                 Identifiers.        (line   31)
39112 * IEEE-754R:                             Decimal float library routines.
39113                                                              (line    6)
39114 * IEEE_FLOAT_FORMAT:                     Storage Layout.     (line  413)
39115 * IF_COND:                               Function Bodies.    (line    6)
39116 * if_marked:                             GTY Options.        (line  156)
39117 * IF_STMT:                               Function Bodies.    (line    6)
39118 * if_then_else:                          Comparisons.        (line   80)
39119 * if_then_else and attributes:           Expressions.        (line   32)
39120 * if_then_else usage:                    Side Effects.       (line   56)
39121 * IFCVT_EXTRA_FIELDS:                    Misc.               (line  627)
39122 * IFCVT_INIT_EXTRA_FIELDS:               Misc.               (line  622)
39123 * IFCVT_MODIFY_CANCEL:                   Misc.               (line  616)
39124 * IFCVT_MODIFY_FINAL:                    Misc.               (line  610)
39125 * IFCVT_MODIFY_INSN:                     Misc.               (line  604)
39126 * IFCVT_MODIFY_MULTIPLE_TESTS:           Misc.               (line  597)
39127 * IFCVT_MODIFY_TESTS:                    Misc.               (line  586)
39128 * IMAGPART_EXPR:                         Expression trees.   (line    6)
39129 * Immediate Uses:                        Statement Operands. (line  274)
39130 * immediate_operand:                     Machine-Independent Predicates.
39131                                                              (line   11)
39132 * IMMEDIATE_PREFIX:                      Instruction Output. (line  127)
39133 * in_struct:                             Flags.              (line  240)
39134 * in_struct, in code_label and note:     Flags.              (line   44)
39135 * in_struct, in insn and jump_insn and call_insn: Flags.     (line   34)
39136 * in_struct, in insn, jump_insn and call_insn: Flags.        (line  151)
39137 * in_struct, in mem:                     Flags.              (line   55)
39138 * in_struct, in subreg:                  Flags.              (line  190)
39139 * include:                               Including Patterns. (line    6)
39140 * INCLUDE_DEFAULTS:                      Driver.             (line  430)
39141 * inclusive-or, bitwise:                 Arithmetic.         (line  158)
39142 * INCOMING_FRAME_SP_OFFSET:              Frame Layout.       (line  183)
39143 * INCOMING_REGNO:                        Register Basics.    (line   91)
39144 * INCOMING_RETURN_ADDR_RTX:              Frame Layout.       (line  139)
39145 * INDEX_REG_CLASS:                       Register Classes.   (line  134)
39146 * indirect_jump instruction pattern:     Standard Names.     (line 1072)
39147 * indirect_operand:                      Machine-Independent Predicates.
39148                                                              (line   71)
39149 * INDIRECT_REF:                          Expression trees.   (line    6)
39150 * INIT_ARRAY_SECTION_ASM_OP:             Sections.           (line   98)
39151 * INIT_CUMULATIVE_ARGS:                  Register Arguments. (line  141)
39152 * INIT_CUMULATIVE_INCOMING_ARGS:         Register Arguments. (line  169)
39153 * INIT_CUMULATIVE_LIBCALL_ARGS:          Register Arguments. (line  162)
39154 * INIT_ENVIRONMENT:                      Driver.             (line  369)
39155 * INIT_EXPANDERS:                        Per-Function Data.  (line   39)
39156 * INIT_EXPR:                             Expression trees.   (line    6)
39157 * init_machine_status:                   Per-Function Data.  (line   45)
39158 * init_one_libfunc:                      Library Calls.      (line   15)
39159 * INIT_SECTION_ASM_OP <1>:               Macros for Initialization.
39160                                                              (line   10)
39161 * INIT_SECTION_ASM_OP:                   Sections.           (line   82)
39162 * INITIAL_ELIMINATION_OFFSET:            Elimination.        (line   79)
39163 * INITIAL_FRAME_ADDRESS_RTX:             Frame Layout.       (line   83)
39164 * INITIAL_FRAME_POINTER_OFFSET:          Elimination.        (line   32)
39165 * initialization routines:               Initialization.     (line    6)
39166 * INITIALIZE_TRAMPOLINE:                 Trampolines.        (line   55)
39167 * inlining:                              Target Attributes.  (line   86)
39168 * insert_insn_on_edge:                   Maintaining the CFG.
39169                                                              (line  118)
39170 * insn:                                  Insns.              (line   63)
39171 * insn and /f:                           Flags.              (line  110)
39172 * insn and /j:                           Flags.              (line  160)
39173 * insn and /s:                           Flags.              (line   34)
39174 * insn and /u:                           Flags.              (line   24)
39175 * insn and /v:                           Flags.              (line   29)
39176 * insn attributes:                       Insn Attributes.    (line    6)
39177 * insn canonicalization:                 Insn Canonicalizations.
39178                                                              (line    6)
39179 * insn includes:                         Including Patterns. (line    6)
39180 * insn lengths, computing:               Insn Lengths.       (line    6)
39181 * insn splitting:                        Insn Splitting.     (line    6)
39182 * insn-attr.h:                           Defining Attributes.
39183                                                              (line   24)
39184 * INSN_ANNULLED_BRANCH_P:                Flags.              (line   24)
39185 * INSN_CODE:                             Insns.              (line  257)
39186 * INSN_DELETED_P:                        Flags.              (line   29)
39187 * INSN_FROM_TARGET_P:                    Flags.              (line   34)
39188 * insn_list:                             Insns.              (line  550)
39189 * INSN_REFERENCES_ARE_DELAYED:           Misc.               (line  525)
39190 * INSN_SETS_ARE_DELAYED:                 Misc.               (line  514)
39191 * INSN_UID:                              Insns.              (line   23)
39192 * insns:                                 Insns.              (line    6)
39193 * insns, generating:                     RTL Template.       (line    6)
39194 * insns, recognizing:                    RTL Template.       (line    6)
39195 * instruction attributes:                Insn Attributes.    (line    6)
39196 * instruction latency time:              Processor pipeline description.
39197                                                              (line    6)
39198 * instruction patterns:                  Patterns.           (line    6)
39199 * instruction splitting:                 Insn Splitting.     (line    6)
39200 * insv instruction pattern:              Standard Names.     (line  874)
39201 * int:                                   Run-time Target.    (line   56)
39202 * INT_TYPE_SIZE:                         Type Layout.        (line   12)
39203 * INTEGER_CST:                           Expression trees.   (line    6)
39204 * INTEGER_TYPE:                          Types.              (line    6)
39205 * Interdependence of Patterns:           Dependent Patterns. (line    6)
39206 * interfacing to GCC output:             Interface.          (line    6)
39207 * interlock delays:                      Processor pipeline description.
39208                                                              (line    6)
39209 * intermediate representation lowering:  Parsing pass.       (line   14)
39210 * INTMAX_TYPE:                           Type Layout.        (line  213)
39211 * introduction:                          Top.                (line    6)
39212 * INVOKE__main:                          Macros for Initialization.
39213                                                              (line   51)
39214 * ior:                                   Arithmetic.         (line  158)
39215 * ior and attributes:                    Expressions.        (line   50)
39216 * ior, canonicalization of:              Insn Canonicalizations.
39217                                                              (line   57)
39218 * iorM3 instruction pattern:             Standard Names.     (line  222)
39219 * IS_ASM_LOGICAL_LINE_SEPARATOR:         Data Output.        (line  120)
39220 * iterators in .md files:                Iterators.          (line    6)
39221 * IV analysis on GIMPLE:                 Scalar evolutions.  (line    6)
39222 * IV analysis on RTL:                    loop-iv.            (line    6)
39223 * jump:                                  Flags.              (line  289)
39224 * jump instruction pattern:              Standard Names.     (line  963)
39225 * jump instruction patterns:             Jump Patterns.      (line    6)
39226 * jump instructions and set:             Side Effects.       (line   56)
39227 * jump, in call_insn:                    Flags.              (line  164)
39228 * jump, in insn:                         Flags.              (line  160)
39229 * jump, in mem:                          Flags.              (line   64)
39230 * JUMP_ALIGN:                            Alignment Output.   (line    9)
39231 * jump_insn:                             Insns.              (line   73)
39232 * jump_insn and /f:                      Flags.              (line  110)
39233 * jump_insn and /s:                      Flags.              (line  151)
39234 * jump_insn and /u:                      Flags.              (line   24)
39235 * jump_insn and /v:                      Flags.              (line   29)
39236 * JUMP_LABEL:                            Insns.              (line   80)
39237 * JUMP_TABLES_IN_TEXT_SECTION:           Sections.           (line  142)
39238 * Jumps:                                 Jumps.              (line    6)
39239 * LABEL_ALIGN:                           Alignment Output.   (line   52)
39240 * LABEL_ALIGN_AFTER_BARRIER:             Alignment Output.   (line   22)
39241 * LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP:    Alignment Output.   (line   30)
39242 * LABEL_ALIGN_MAX_SKIP:                  Alignment Output.   (line   62)
39243 * LABEL_ALT_ENTRY_P:                     Insns.              (line  140)
39244 * LABEL_ALTERNATE_NAME:                  Edges.              (line  180)
39245 * LABEL_DECL:                            Declarations.       (line    6)
39246 * LABEL_KIND:                            Insns.              (line  140)
39247 * LABEL_NUSES:                           Insns.              (line  136)
39248 * LABEL_PRESERVE_P:                      Flags.              (line   44)
39249 * label_ref:                             Constants.          (line  105)
39250 * label_ref and /v:                      Flags.              (line   50)
39251 * label_ref, RTL sharing:                Sharing.            (line   35)
39252 * LABEL_REF_NONLOCAL_P:                  Flags.              (line   50)
39253 * lang_hooks.gimplify_expr:              Gimplification pass.
39254                                                              (line   18)
39255 * lang_hooks.parse_file:                 Parsing pass.       (line    6)
39256 * language-independent intermediate representation: Parsing pass.
39257                                                              (line   14)
39258 * large return values:                   Aggregate Return.   (line    6)
39259 * LARGEST_EXPONENT_IS_NORMAL:            Storage Layout.     (line  493)
39260 * LAST_STACK_REG:                        Stack Registers.    (line   27)
39261 * LAST_VIRTUAL_REGISTER:                 Regs and Memory.    (line   51)
39262 * lceilMN2:                              Standard Names.     (line  593)
39263 * LCSSA:                                 LCSSA.              (line    6)
39264 * LD_FINI_SWITCH:                        Macros for Initialization.
39265                                                              (line   29)
39266 * LD_INIT_SWITCH:                        Macros for Initialization.
39267                                                              (line   25)
39268 * LDD_SUFFIX:                            Macros for Initialization.
39269                                                              (line  116)
39270 * le:                                    Comparisons.        (line   76)
39271 * le and attributes:                     Expressions.        (line   64)
39272 * LE_EXPR:                               Expression trees.   (line    6)
39273 * leaf functions:                        Leaf Functions.     (line    6)
39274 * leaf_function_p:                       Standard Names.     (line 1034)
39275 * LEAF_REG_REMAP:                        Leaf Functions.     (line   39)
39276 * LEAF_REGISTERS:                        Leaf Functions.     (line   25)
39277 * left rotate:                           Arithmetic.         (line  190)
39278 * left shift:                            Arithmetic.         (line  168)
39279 * LEGITIMATE_CONSTANT_P:                 Addressing Modes.   (line  193)
39280 * LEGITIMATE_PIC_OPERAND_P:              PIC.                (line   31)
39281 * LEGITIMIZE_ADDRESS:                    Addressing Modes.   (line  110)
39282 * LEGITIMIZE_RELOAD_ADDRESS:             Addressing Modes.   (line  133)
39283 * length:                                GTY Options.        (line   50)
39284 * less than:                             Comparisons.        (line   68)
39285 * less than or equal:                    Comparisons.        (line   76)
39286 * leu:                                   Comparisons.        (line   76)
39287 * leu and attributes:                    Expressions.        (line   64)
39288 * lfloorMN2:                             Standard Names.     (line  588)
39289 * LIB2FUNCS_EXTRA:                       Target Fragment.    (line   11)
39290 * LIB_SPEC:                              Driver.             (line  170)
39291 * LIBCALL_VALUE:                         Scalar Return.      (line   60)
39292 * libgcc.a:                              Library Calls.      (line    6)
39293 * LIBGCC2_CFLAGS:                        Target Fragment.    (line    8)
39294 * LIBGCC2_HAS_DF_MODE:                   Type Layout.        (line  109)
39295 * LIBGCC2_HAS_TF_MODE:                   Type Layout.        (line  123)
39296 * LIBGCC2_HAS_XF_MODE:                   Type Layout.        (line  117)
39297 * LIBGCC2_LONG_DOUBLE_TYPE_SIZE:         Type Layout.        (line  103)
39298 * LIBGCC2_UNWIND_ATTRIBUTE:              Misc.               (line  922)
39299 * LIBGCC2_WORDS_BIG_ENDIAN:              Storage Layout.     (line   36)
39300 * LIBGCC_SPEC:                           Driver.             (line  178)
39301 * library subroutine names:              Library Calls.      (line    6)
39302 * LIBRARY_PATH_ENV:                      Misc.               (line  565)
39303 * LIMIT_RELOAD_CLASS:                    Register Classes.   (line  239)
39304 * Linear loop transformations framework: Lambda.             (line    6)
39305 * LINK_COMMAND_SPEC:                     Driver.             (line  299)
39306 * LINK_EH_SPEC:                          Driver.             (line  205)
39307 * LINK_ELIMINATE_DUPLICATE_LDIRECTORIES: Driver.             (line  309)
39308 * LINK_GCC_C_SEQUENCE_SPEC:              Driver.             (line  295)
39309 * LINK_LIBGCC_SPECIAL_1:                 Driver.             (line  290)
39310 * LINK_SPEC:                             Driver.             (line  163)
39311 * linkage:                               Function Basics.    (line    6)
39312 * list:                                  Containers.         (line    6)
39313 * Liveness representation:               Liveness information.
39314                                                              (line    6)
39315 * lo_sum:                                Arithmetic.         (line   24)
39316 * load address instruction:              Simple Constraints. (line  152)
39317 * LOAD_EXTEND_OP:                        Misc.               (line   69)
39318 * load_multiple instruction pattern:     Standard Names.     (line  137)
39319 * LOCAL_ALIGNMENT:                       Storage Layout.     (line  234)
39320 * LOCAL_CLASS_P:                         Classes.            (line   68)
39321 * LOCAL_INCLUDE_DIR:                     Driver.             (line  376)
39322 * LOCAL_LABEL_PREFIX:                    Instruction Output. (line  125)
39323 * LOCAL_REGNO:                           Register Basics.    (line  105)
39324 * LOG_LINKS:                             Insns.              (line  276)
39325 * Logical Operators:                     Logical Operators.  (line    6)
39326 * logical-and, bitwise:                  Arithmetic.         (line  153)
39327 * logM2 instruction pattern:             Standard Names.     (line  501)
39328 * LONG_ACCUM_TYPE_SIZE:                  Type Layout.        (line   93)
39329 * LONG_DOUBLE_TYPE_SIZE:                 Type Layout.        (line   58)
39330 * LONG_FRACT_TYPE_SIZE:                  Type Layout.        (line   73)
39331 * LONG_LONG_ACCUM_TYPE_SIZE:             Type Layout.        (line   98)
39332 * LONG_LONG_FRACT_TYPE_SIZE:             Type Layout.        (line   78)
39333 * LONG_LONG_TYPE_SIZE:                   Type Layout.        (line   33)
39334 * LONG_TYPE_SIZE:                        Type Layout.        (line   22)
39335 * longjmp and automatic variables:       Interface.          (line   52)
39336 * Loop analysis:                         Loop representation.
39337                                                              (line    6)
39338 * Loop manipulation:                     Loop manipulation.  (line    6)
39339 * Loop querying:                         Loop querying.      (line    6)
39340 * Loop representation:                   Loop representation.
39341                                                              (line    6)
39342 * Loop-closed SSA form:                  LCSSA.              (line    6)
39343 * LOOP_ALIGN:                            Alignment Output.   (line   35)
39344 * LOOP_ALIGN_MAX_SKIP:                   Alignment Output.   (line   48)
39345 * LOOP_EXPR:                             Expression trees.   (line    6)
39346 * looping instruction patterns:          Looping Patterns.   (line    6)
39347 * Loops:                                 Loops.              (line    6)
39348 * lowering, language-dependent intermediate representation: Parsing pass.
39349                                                              (line   14)
39350 * lrintMN2:                              Standard Names.     (line  578)
39351 * lroundMN2:                             Standard Names.     (line  583)
39352 * LSHIFT_EXPR:                           Expression trees.   (line    6)
39353 * lshiftrt:                              Arithmetic.         (line  185)
39354 * lshiftrt and attributes:               Expressions.        (line   64)
39355 * lshrM3 instruction pattern:            Standard Names.     (line  441)
39356 * lt:                                    Comparisons.        (line   68)
39357 * lt and attributes:                     Expressions.        (line   64)
39358 * LT_EXPR:                               Expression trees.   (line    6)
39359 * LTGT_EXPR:                             Expression trees.   (line    6)
39360 * ltu:                                   Comparisons.        (line   68)
39361 * m in constraint:                       Simple Constraints. (line   17)
39362 * machine attributes:                    Target Attributes.  (line    6)
39363 * machine description macros:            Target Macros.      (line    6)
39364 * machine descriptions:                  Machine Desc.       (line    6)
39365 * machine mode conversions:              Conversions.        (line    6)
39366 * machine modes:                         Machine Modes.      (line    6)
39367 * machine specific constraints:          Machine Constraints.
39368                                                              (line    6)
39369 * machine-independent predicates:        Machine-Independent Predicates.
39370                                                              (line    6)
39371 * machine_mode:                          Condition Code.     (line  157)
39372 * macros, target description:            Target Macros.      (line    6)
39373 * maddMN4 instruction pattern:           Standard Names.     (line  364)
39374 * MAKE_DECL_ONE_ONLY:                    Label Output.       (line  218)
39375 * make_safe_from:                        Expander Definitions.
39376                                                              (line  148)
39377 * makefile fragment:                     Fragments.          (line    6)
39378 * makefile targets:                      Makefile.           (line    6)
39379 * mark_hook:                             GTY Options.        (line  171)
39380 * marking roots:                         GGC Roots.          (line    6)
39381 * MASK_RETURN_ADDR:                      Exception Region Output.
39382                                                              (line   35)
39383 * match_dup <1>:                         define_peephole2.   (line   28)
39384 * match_dup:                             RTL Template.       (line   73)
39385 * match_dup and attributes:              Insn Lengths.       (line   16)
39386 * match_op_dup:                          RTL Template.       (line  163)
39387 * match_operand:                         RTL Template.       (line   16)
39388 * match_operand and attributes:          Expressions.        (line   55)
39389 * match_operator:                        RTL Template.       (line   95)
39390 * match_par_dup:                         RTL Template.       (line  219)
39391 * match_parallel:                        RTL Template.       (line  172)
39392 * match_scratch <1>:                     RTL Template.       (line   58)
39393 * match_scratch:                         define_peephole2.   (line   28)
39394 * matching constraint:                   Simple Constraints. (line  130)
39395 * matching operands:                     Output Template.    (line   49)
39396 * math library:                          Soft float library routines.
39397                                                              (line    6)
39398 * math, in RTL:                          Arithmetic.         (line    6)
39399 * MATH_LIBRARY:                          Misc.               (line  558)
39400 * matherr:                               Library Calls.      (line   58)
39401 * MAX_BITS_PER_WORD:                     Storage Layout.     (line   61)
39402 * MAX_CONDITIONAL_EXECUTE:               Misc.               (line  580)
39403 * MAX_FIXED_MODE_SIZE:                   Storage Layout.     (line  370)
39404 * MAX_MOVE_MAX:                          Misc.               (line  120)
39405 * MAX_OFILE_ALIGNMENT:                   Storage Layout.     (line  196)
39406 * MAX_REGS_PER_ADDRESS:                  Addressing Modes.   (line   42)
39407 * maxM3 instruction pattern:             Standard Names.     (line  234)
39408 * may_trap_p, tree_could_trap_p:         Edges.              (line  115)
39409 * maybe_undef:                           GTY Options.        (line  179)
39410 * mcount:                                Profiling.          (line   12)
39411 * MD_CAN_REDIRECT_BRANCH:                Misc.               (line  705)
39412 * MD_EXEC_PREFIX:                        Driver.             (line  330)
39413 * MD_FALLBACK_FRAME_STATE_FOR:           Exception Handling. (line   98)
39414 * MD_HANDLE_UNWABI:                      Exception Handling. (line  118)
39415 * MD_STARTFILE_PREFIX:                   Driver.             (line  358)
39416 * MD_STARTFILE_PREFIX_1:                 Driver.             (line  364)
39417 * MD_UNWIND_SUPPORT:                     Exception Handling. (line   94)
39418 * mem:                                   Regs and Memory.    (line  249)
39419 * mem and /c:                            Flags.              (line   84)
39420 * mem and /f:                            Flags.              (line   88)
39421 * mem and /i:                            Flags.              (line   70)
39422 * mem and /j:                            Flags.              (line   64)
39423 * mem and /s:                            Flags.              (line   55)
39424 * mem and /u:                            Flags.              (line  137)
39425 * mem and /v:                            Flags.              (line   79)
39426 * mem, RTL sharing:                      Sharing.            (line   40)
39427 * MEM_ALIAS_SET:                         Special Accessors.  (line    9)
39428 * MEM_ALIGN:                             Special Accessors.  (line   36)
39429 * MEM_EXPR:                              Special Accessors.  (line   20)
39430 * MEM_IN_STRUCT_P:                       Flags.              (line   55)
39431 * MEM_KEEP_ALIAS_SET_P:                  Flags.              (line   64)
39432 * MEM_NOTRAP_P:                          Flags.              (line   84)
39433 * MEM_OFFSET:                            Special Accessors.  (line   28)
39434 * MEM_POINTER:                           Flags.              (line   88)
39435 * MEM_READONLY_P:                        Flags.              (line  137)
39436 * MEM_SCALAR_P:                          Flags.              (line   70)
39437 * MEM_SIZE:                              Special Accessors.  (line   31)
39438 * MEM_VOLATILE_P:                        Flags.              (line   79)
39439 * MEMBER_TYPE_FORCES_BLK:                Storage Layout.     (line  350)
39440 * memory reference, nonoffsettable:      Simple Constraints. (line  244)
39441 * memory references in constraints:      Simple Constraints. (line   17)
39442 * memory_barrier instruction pattern:    Standard Names.     (line 1407)
39443 * MEMORY_MOVE_COST:                      Costs.              (line   29)
39444 * memory_operand:                        Machine-Independent Predicates.
39445                                                              (line   58)
39446 * METHOD_TYPE:                           Types.              (line    6)
39447 * MIN_UNITS_PER_WORD:                    Storage Layout.     (line   71)
39448 * MINIMUM_ATOMIC_ALIGNMENT:              Storage Layout.     (line  174)
39449 * minM3 instruction pattern:             Standard Names.     (line  234)
39450 * minus:                                 Arithmetic.         (line   36)
39451 * minus and attributes:                  Expressions.        (line   64)
39452 * minus, canonicalization of:            Insn Canonicalizations.
39453                                                              (line   27)
39454 * MINUS_EXPR:                            Expression trees.   (line    6)
39455 * MIPS coprocessor-definition macros:    MIPS Coprocessors.  (line    6)
39456 * mod:                                   Arithmetic.         (line  131)
39457 * mod and attributes:                    Expressions.        (line   64)
39458 * mode classes:                          Machine Modes.      (line  219)
39459 * mode iterators in .md files:           Mode Iterators.     (line    6)
39460 * mode switching:                        Mode Switching.     (line    6)
39461 * MODE_ACCUM:                            Machine Modes.      (line  249)
39462 * MODE_AFTER:                            Mode Switching.     (line   49)
39463 * MODE_BASE_REG_CLASS:                   Register Classes.   (line  112)
39464 * MODE_BASE_REG_REG_CLASS:               Register Classes.   (line  118)
39465 * MODE_CC:                               Machine Modes.      (line  268)
39466 * MODE_CODE_BASE_REG_CLASS:              Register Classes.   (line  125)
39467 * MODE_COMPLEX_FLOAT:                    Machine Modes.      (line  260)
39468 * MODE_COMPLEX_INT:                      Machine Modes.      (line  257)
39469 * MODE_DECIMAL_FLOAT:                    Machine Modes.      (line  237)
39470 * MODE_ENTRY:                            Mode Switching.     (line   54)
39471 * MODE_EXIT:                             Mode Switching.     (line   60)
39472 * MODE_FLOAT:                            Machine Modes.      (line  233)
39473 * MODE_FRACT:                            Machine Modes.      (line  241)
39474 * MODE_FUNCTION:                         Machine Modes.      (line  264)
39475 * MODE_HAS_INFINITIES:                   Storage Layout.     (line  441)
39476 * MODE_HAS_NANS:                         Storage Layout.     (line  431)
39477 * MODE_HAS_SIGN_DEPENDENT_ROUNDING:      Storage Layout.     (line  463)
39478 * MODE_HAS_SIGNED_ZEROS:                 Storage Layout.     (line  447)
39479 * MODE_INT:                              Machine Modes.      (line  225)
39480 * MODE_NEEDED:                           Mode Switching.     (line   42)
39481 * MODE_PARTIAL_INT:                      Machine Modes.      (line  229)
39482 * MODE_PRIORITY_TO_MODE:                 Mode Switching.     (line   66)
39483 * MODE_RANDOM:                           Machine Modes.      (line  273)
39484 * MODE_UACCUM:                           Machine Modes.      (line  253)
39485 * MODE_UFRACT:                           Machine Modes.      (line  245)
39486 * MODES_TIEABLE_P:                       Values in Registers.
39487                                                              (line  129)
39488 * modifiers in constraints:              Modifiers.          (line    6)
39489 * MODIFY_EXPR:                           Expression trees.   (line    6)
39490 * MODIFY_JNI_METHOD_CALL:                Misc.               (line  782)
39491 * MODIFY_TARGET_NAME:                    Driver.             (line  385)
39492 * modM3 instruction pattern:             Standard Names.     (line  222)
39493 * modulo scheduling:                     RTL passes.         (line  140)
39494 * MOVE_BY_PIECES_P:                      Costs.              (line  104)
39495 * MOVE_MAX:                              Misc.               (line  115)
39496 * MOVE_MAX_PIECES:                       Costs.              (line  110)
39497 * MOVE_RATIO:                            Costs.              (line   91)
39498 * movM instruction pattern:              Standard Names.     (line   11)
39499 * movmemM instruction pattern:           Standard Names.     (line  668)
39500 * movmisalignM instruction pattern:      Standard Names.     (line  126)
39501 * movMODEcc instruction pattern:         Standard Names.     (line  885)
39502 * movstr instruction pattern:            Standard Names.     (line  702)
39503 * movstrictM instruction pattern:        Standard Names.     (line  120)
39504 * msubMN4 instruction pattern:           Standard Names.     (line  387)
39505 * mulhisi3 instruction pattern:          Standard Names.     (line  340)
39506 * mulM3 instruction pattern:             Standard Names.     (line  222)
39507 * mulqihi3 instruction pattern:          Standard Names.     (line  344)
39508 * mulsidi3 instruction pattern:          Standard Names.     (line  344)
39509 * mult:                                  Arithmetic.         (line   92)
39510 * mult and attributes:                   Expressions.        (line   64)
39511 * mult, canonicalization of:             Insn Canonicalizations.
39512                                                              (line   27)
39513 * MULT_EXPR:                             Expression trees.   (line    6)
39514 * MULTILIB_DEFAULTS:                     Driver.             (line  315)
39515 * MULTILIB_DIRNAMES:                     Target Fragment.    (line   64)
39516 * MULTILIB_EXCEPTIONS:                   Target Fragment.    (line   84)
39517 * MULTILIB_EXTRA_OPTS:                   Target Fragment.    (line   96)
39518 * MULTILIB_MATCHES:                      Target Fragment.    (line   77)
39519 * MULTILIB_OPTIONS:                      Target Fragment.    (line   44)
39520 * multiple alternative constraints:      Multi-Alternative.  (line    6)
39521 * MULTIPLE_SYMBOL_SPACES:                Misc.               (line  538)
39522 * multiplication:                        Arithmetic.         (line   92)
39523 * multiplication with signed saturation: Arithmetic.         (line   92)
39524 * multiplication with unsigned saturation: Arithmetic.       (line   92)
39525 * MUST_USE_SJLJ_EXCEPTIONS:              Exception Region Output.
39526                                                              (line   64)
39527 * n in constraint:                       Simple Constraints. (line   63)
39528 * N_REG_CLASSES:                         Register Classes.   (line   76)
39529 * name:                                  Identifiers.        (line    6)
39530 * named patterns and conditions:         Patterns.           (line   47)
39531 * names, pattern:                        Standard Names.     (line    6)
39532 * namespace:                             Namespaces.         (line    6)
39533 * namespace, class, scope:               Scopes.             (line    6)
39534 * NAMESPACE_DECL <1>:                    Declarations.       (line    6)
39535 * NAMESPACE_DECL:                        Namespaces.         (line    6)
39536 * NATIVE_SYSTEM_HEADER_DIR:              Target Fragment.    (line  103)
39537 * ne:                                    Comparisons.        (line   56)
39538 * ne and attributes:                     Expressions.        (line   64)
39539 * NE_EXPR:                               Expression trees.   (line    6)
39540 * nearbyintM2 instruction pattern:       Standard Names.     (line  560)
39541 * neg:                                   Arithmetic.         (line   81)
39542 * neg and attributes:                    Expressions.        (line   64)
39543 * neg, canonicalization of:              Insn Canonicalizations.
39544                                                              (line   27)
39545 * NEGATE_EXPR:                           Expression trees.   (line    6)
39546 * negation:                              Arithmetic.         (line   81)
39547 * negation with signed saturation:       Arithmetic.         (line   81)
39548 * negation with unsigned saturation:     Arithmetic.         (line   81)
39549 * negM2 instruction pattern:             Standard Names.     (line  445)
39550 * nested functions, trampolines for:     Trampolines.        (line    6)
39551 * nested_ptr:                            GTY Options.        (line  186)
39552 * next_bb, prev_bb, FOR_EACH_BB:         Basic Blocks.       (line   10)
39553 * next_cc0_user:                         Jump Patterns.      (line   64)
39554 * NEXT_INSN:                             Insns.              (line   30)
39555 * NEXT_OBJC_RUNTIME:                     Library Calls.      (line   94)
39556 * nil:                                   RTL Objects.        (line   73)
39557 * NO_DBX_BNSYM_ENSYM:                    DBX Hooks.          (line   39)
39558 * NO_DBX_FUNCTION_END:                   DBX Hooks.          (line   33)
39559 * NO_DBX_GCC_MARKER:                     File Names and DBX. (line   28)
39560 * NO_DBX_MAIN_SOURCE_DIRECTORY:          File Names and DBX. (line   23)
39561 * NO_DOLLAR_IN_LABEL:                    Misc.               (line  502)
39562 * NO_DOT_IN_LABEL:                       Misc.               (line  508)
39563 * NO_FUNCTION_CSE:                       Costs.              (line  194)
39564 * NO_IMPLICIT_EXTERN_C:                  Misc.               (line  376)
39565 * NO_PROFILE_COUNTERS:                   Profiling.          (line   28)
39566 * NO_REGS:                               Register Classes.   (line   17)
39567 * NON_LVALUE_EXPR:                       Expression trees.   (line    6)
39568 * nondeterministic finite state automaton: Processor pipeline description.
39569                                                              (line  296)
39570 * nonimmediate_operand:                  Machine-Independent Predicates.
39571                                                              (line  101)
39572 * nonlocal goto handler:                 Edges.              (line  171)
39573 * nonlocal_goto instruction pattern:     Standard Names.     (line 1249)
39574 * nonlocal_goto_receiver instruction pattern: Standard Names.
39575                                                              (line 1266)
39576 * nonmemory_operand:                     Machine-Independent Predicates.
39577                                                              (line   97)
39578 * nonoffsettable memory reference:       Simple Constraints. (line  244)
39579 * nop instruction pattern:               Standard Names.     (line 1067)
39580 * NOP_EXPR:                              Expression trees.   (line    6)
39581 * normal predicates:                     Predicates.         (line   31)
39582 * not:                                   Arithmetic.         (line  149)
39583 * not and attributes:                    Expressions.        (line   50)
39584 * not equal:                             Comparisons.        (line   56)
39585 * not, canonicalization of:              Insn Canonicalizations.
39586                                                              (line   27)
39587 * note:                                  Insns.              (line  168)
39588 * note and /i:                           Flags.              (line   44)
39589 * note and /v:                           Flags.              (line   29)
39590 * NOTE_INSN_BASIC_BLOCK, CODE_LABEL, notes: Basic Blocks.    (line   41)
39591 * NOTE_INSN_BLOCK_BEG:                   Insns.              (line  193)
39592 * NOTE_INSN_BLOCK_END:                   Insns.              (line  193)
39593 * NOTE_INSN_DELETED:                     Insns.              (line  183)
39594 * NOTE_INSN_DELETED_LABEL:               Insns.              (line  188)
39595 * NOTE_INSN_EH_REGION_BEG:               Insns.              (line  199)
39596 * NOTE_INSN_EH_REGION_END:               Insns.              (line  199)
39597 * NOTE_INSN_FUNCTION_BEG:                Insns.              (line  223)
39598 * NOTE_INSN_LOOP_BEG:                    Insns.              (line  207)
39599 * NOTE_INSN_LOOP_CONT:                   Insns.              (line  213)
39600 * NOTE_INSN_LOOP_END:                    Insns.              (line  207)
39601 * NOTE_INSN_LOOP_VTOP:                   Insns.              (line  217)
39602 * NOTE_LINE_NUMBER:                      Insns.              (line  168)
39603 * NOTE_SOURCE_FILE:                      Insns.              (line  168)
39604 * NOTICE_UPDATE_CC:                      Condition Code.     (line   33)
39605 * NUM_MACHINE_MODES:                     Machine Modes.      (line  286)
39606 * NUM_MODES_FOR_MODE_SWITCHING:          Mode Switching.     (line   30)
39607 * Number of iterations analysis:         Number of iterations.
39608                                                              (line    6)
39609 * o in constraint:                       Simple Constraints. (line   21)
39610 * OBJC_GEN_METHOD_LABEL:                 Label Output.       (line  411)
39611 * OBJC_JBLEN:                            Misc.               (line  917)
39612 * OBJECT_FORMAT_COFF:                    Macros for Initialization.
39613                                                              (line   97)
39614 * OFFSET_TYPE:                           Types.              (line    6)
39615 * offsettable address:                   Simple Constraints. (line   21)
39616 * OImode:                                Machine Modes.      (line   51)
39617 * Omega a solver for linear programming problems: Omega.     (line    6)
39618 * OMP_ATOMIC:                            Expression trees.   (line    6)
39619 * OMP_CLAUSE:                            Expression trees.   (line    6)
39620 * OMP_CONTINUE:                          Expression trees.   (line    6)
39621 * OMP_CRITICAL:                          Expression trees.   (line    6)
39622 * OMP_FOR:                               Expression trees.   (line    6)
39623 * OMP_MASTER:                            Expression trees.   (line    6)
39624 * OMP_ORDERED:                           Expression trees.   (line    6)
39625 * OMP_PARALLEL:                          Expression trees.   (line    6)
39626 * OMP_RETURN:                            Expression trees.   (line    6)
39627 * OMP_SECTION:                           Expression trees.   (line    6)
39628 * OMP_SECTIONS:                          Expression trees.   (line    6)
39629 * OMP_SINGLE:                            Expression trees.   (line    6)
39630 * one_cmplM2 instruction pattern:        Standard Names.     (line  647)
39631 * operand access:                        Accessors.          (line    6)
39632 * Operand Access Routines:               Statement Operands. (line  119)
39633 * operand constraints:                   Constraints.        (line    6)
39634 * Operand Iterators:                     Statement Operands. (line  119)
39635 * operand predicates:                    Predicates.         (line    6)
39636 * operand substitution:                  Output Template.    (line    6)
39637 * operands <1>:                          Statement Operands. (line    6)
39638 * operands:                              Patterns.           (line   53)
39639 * operator predicates:                   Predicates.         (line    6)
39640 * optc-gen.awk:                          Options.            (line    6)
39641 * Optimization infrastructure for GIMPLE: Tree SSA.          (line    6)
39642 * OPTIMIZATION_OPTIONS:                  Run-time Target.    (line  120)
39643 * OPTIMIZE_MODE_SWITCHING:               Mode Switching.     (line    9)
39644 * option specification files:            Options.            (line    6)
39645 * OPTION_DEFAULT_SPECS:                  Driver.             (line   88)
39646 * optional hardware or system features:  Run-time Target.    (line   59)
39647 * options, directory search:             Including Patterns. (line   44)
39648 * order of register allocation:          Allocation Order.   (line    6)
39649 * ORDER_REGS_FOR_LOCAL_ALLOC:            Allocation Order.   (line   23)
39650 * ORDERED_EXPR:                          Expression trees.   (line    6)
39651 * Ordering of Patterns:                  Pattern Ordering.   (line    6)
39652 * ORIGINAL_REGNO:                        Special Accessors.  (line   40)
39653 * other register constraints:            Simple Constraints. (line  161)
39654 * OUTGOING_REG_PARM_STACK_SPACE:         Stack Arguments.    (line   70)
39655 * OUTGOING_REGNO:                        Register Basics.    (line   98)
39656 * output of assembler code:              File Framework.     (line    6)
39657 * output statements:                     Output Statement.   (line    6)
39658 * output templates:                      Output Template.    (line    6)
39659 * OUTPUT_ADDR_CONST_EXTRA:               Data Output.        (line   39)
39660 * output_asm_insn:                       Output Statement.   (line   53)
39661 * OUTPUT_QUOTED_STRING:                  File Framework.     (line   76)
39662 * OVERLOAD:                              Functions.          (line    6)
39663 * OVERRIDE_OPTIONS:                      Run-time Target.    (line  104)
39664 * OVL_CURRENT:                           Functions.          (line    6)
39665 * OVL_NEXT:                              Functions.          (line    6)
39666 * p in constraint:                       Simple Constraints. (line  152)
39667 * PAD_VARARGS_DOWN:                      Register Arguments. (line  206)
39668 * parallel:                              Side Effects.       (line  201)
39669 * param_is:                              GTY Options.        (line  114)
39670 * parameters, c++ abi:                   C++ ABI.            (line    6)
39671 * parameters, miscellaneous:             Misc.               (line    6)
39672 * parameters, precompiled headers:       PCH Target.         (line    6)
39673 * paramN_is:                             GTY Options.        (line  132)
39674 * parity:                                Arithmetic.         (line  228)
39675 * parityM2 instruction pattern:          Standard Names.     (line  641)
39676 * PARM_BOUNDARY:                         Storage Layout.     (line  144)
39677 * PARM_DECL:                             Declarations.       (line    6)
39678 * PARSE_LDD_OUTPUT:                      Macros for Initialization.
39679                                                              (line  121)
39680 * passes and files of the compiler:      Passes.             (line    6)
39681 * passing arguments:                     Interface.          (line   36)
39682 * PATH_SEPARATOR:                        Filesystem.         (line   31)
39683 * PATTERN:                               Insns.              (line  247)
39684 * pattern conditions:                    Patterns.           (line   43)
39685 * pattern names:                         Standard Names.     (line    6)
39686 * Pattern Ordering:                      Pattern Ordering.   (line    6)
39687 * patterns:                              Patterns.           (line    6)
39688 * pc:                                    Regs and Memory.    (line  236)
39689 * pc and attributes:                     Insn Lengths.       (line   20)
39690 * pc, RTL sharing:                       Sharing.            (line   25)
39691 * PC_REGNUM:                             Register Basics.    (line  112)
39692 * pc_rtx:                                Regs and Memory.    (line  241)
39693 * PCC_BITFIELD_TYPE_MATTERS:             Storage Layout.     (line  264)
39694 * PCC_STATIC_STRUCT_RETURN:              Aggregate Return.   (line   64)
39695 * PDImode:                               Machine Modes.      (line   40)
39696 * peephole optimization, RTL representation: Side Effects.   (line  235)
39697 * peephole optimizer definitions:        Peephole Definitions.
39698                                                              (line    6)
39699 * per-function data:                     Per-Function Data.  (line    6)
39700 * percent sign:                          Output Template.    (line    6)
39701 * PHI nodes:                             SSA.                (line   31)
39702 * PHI_ARG_DEF:                           SSA.                (line   71)
39703 * PHI_ARG_EDGE:                          SSA.                (line   68)
39704 * PHI_ARG_ELT:                           SSA.                (line   63)
39705 * PHI_NUM_ARGS:                          SSA.                (line   59)
39706 * PHI_RESULT:                            SSA.                (line   56)
39707 * PIC:                                   PIC.                (line    6)
39708 * PIC_OFFSET_TABLE_REG_CALL_CLOBBERED:   PIC.                (line   26)
39709 * PIC_OFFSET_TABLE_REGNUM:               PIC.                (line   16)
39710 * pipeline hazard recognizer:            Processor pipeline description.
39711                                                              (line    6)
39712 * plus:                                  Arithmetic.         (line   14)
39713 * plus and attributes:                   Expressions.        (line   64)
39714 * plus, canonicalization of:             Insn Canonicalizations.
39715                                                              (line   27)
39716 * PLUS_EXPR:                             Expression trees.   (line    6)
39717 * Pmode:                                 Misc.               (line  344)
39718 * pmode_register_operand:                Machine-Independent Predicates.
39719                                                              (line   35)
39720 * pointer:                               Types.              (line    6)
39721 * POINTER_PLUS_EXPR:                     Expression trees.   (line    6)
39722 * POINTER_SIZE:                          Storage Layout.     (line   83)
39723 * POINTER_TYPE:                          Types.              (line    6)
39724 * POINTERS_EXTEND_UNSIGNED:              Storage Layout.     (line   89)
39725 * pop_operand:                           Machine-Independent Predicates.
39726                                                              (line   88)
39727 * popcount:                              Arithmetic.         (line  224)
39728 * popcountM2 instruction pattern:        Standard Names.     (line  635)
39729 * portability:                           Portability.        (line    6)
39730 * position independent code:             PIC.                (line    6)
39731 * post_dec:                              Incdec.             (line   25)
39732 * post_inc:                              Incdec.             (line   30)
39733 * post_modify:                           Incdec.             (line   33)
39734 * POSTDECREMENT_EXPR:                    Expression trees.   (line    6)
39735 * POSTINCREMENT_EXPR:                    Expression trees.   (line    6)
39736 * POWI_MAX_MULTS:                        Misc.               (line  830)
39737 * powM3 instruction pattern:             Standard Names.     (line  509)
39738 * pragma:                                Misc.               (line  437)
39739 * pre_dec:                               Incdec.             (line    8)
39740 * PRE_GCC3_DWARF_FRAME_REGISTERS:        Frame Registers.    (line  110)
39741 * pre_inc:                               Incdec.             (line   22)
39742 * pre_modify:                            Incdec.             (line   51)
39743 * PREDECREMENT_EXPR:                     Expression trees.   (line    6)
39744 * predefined macros:                     Run-time Target.    (line    6)
39745 * predicates:                            Predicates.         (line    6)
39746 * predicates and machine modes:          Predicates.         (line   31)
39747 * predication:                           Conditional Execution.
39748                                                              (line    6)
39749 * predict.def:                           Profile information.
39750                                                              (line   24)
39751 * PREFERRED_DEBUGGING_TYPE:              All Debuggers.      (line   42)
39752 * PREFERRED_OUTPUT_RELOAD_CLASS:         Register Classes.   (line  231)
39753 * PREFERRED_RELOAD_CLASS:                Register Classes.   (line  196)
39754 * PREFERRED_STACK_BOUNDARY:              Storage Layout.     (line  158)
39755 * prefetch:                              Side Effects.       (line  309)
39756 * prefetch instruction pattern:          Standard Names.     (line 1386)
39757 * PREINCREMENT_EXPR:                     Expression trees.   (line    6)
39758 * presence_set:                          Processor pipeline description.
39759                                                              (line  215)
39760 * preserving SSA form:                   SSA.                (line   76)
39761 * preserving virtual SSA form:           SSA.                (line  189)
39762 * prev_active_insn:                      define_peephole.    (line   60)
39763 * prev_cc0_setter:                       Jump Patterns.      (line   64)
39764 * PREV_INSN:                             Insns.              (line   26)
39765 * PRINT_OPERAND:                         Instruction Output. (line   68)
39766 * PRINT_OPERAND_ADDRESS:                 Instruction Output. (line   96)
39767 * PRINT_OPERAND_PUNCT_VALID_P:           Instruction Output. (line   89)
39768 * processor functional units:            Processor pipeline description.
39769                                                              (line    6)
39770 * processor pipeline description:        Processor pipeline description.
39771                                                              (line    6)
39772 * product:                               Arithmetic.         (line   92)
39773 * profile feedback:                      Profile information.
39774                                                              (line   14)
39775 * profile representation:                Profile information.
39776                                                              (line    6)
39777 * PROFILE_BEFORE_PROLOGUE:               Profiling.          (line   35)
39778 * PROFILE_HOOK:                          Profiling.          (line   23)
39779 * profiling, code generation:            Profiling.          (line    6)
39780 * program counter:                       Regs and Memory.    (line  237)
39781 * prologue:                              Function Entry.     (line    6)
39782 * prologue instruction pattern:          Standard Names.     (line 1332)
39783 * PROMOTE_FUNCTION_MODE:                 Storage Layout.     (line  123)
39784 * PROMOTE_MODE:                          Storage Layout.     (line  100)
39785 * pseudo registers:                      Regs and Memory.    (line    9)
39786 * PSImode:                               Machine Modes.      (line   32)
39787 * PTRDIFF_TYPE:                          Type Layout.        (line  184)
39788 * PTRMEM_CST:                            Expression trees.   (line    6)
39789 * PTRMEM_CST_CLASS:                      Expression trees.   (line    6)
39790 * PTRMEM_CST_MEMBER:                     Expression trees.   (line    6)
39791 * purge_dead_edges <1>:                  Edges.              (line  104)
39792 * purge_dead_edges:                      Maintaining the CFG.
39793                                                              (line   93)
39794 * push address instruction:              Simple Constraints. (line  152)
39795 * PUSH_ARGS:                             Stack Arguments.    (line   18)
39796 * PUSH_ARGS_REVERSED:                    Stack Arguments.    (line   26)
39797 * push_operand:                          Machine-Independent Predicates.
39798                                                              (line   81)
39799 * push_reload:                           Addressing Modes.   (line  157)
39800 * PUSH_ROUNDING:                         Stack Arguments.    (line   32)
39801 * pushM1 instruction pattern:            Standard Names.     (line  209)
39802 * PUT_CODE:                              RTL Objects.        (line   47)
39803 * PUT_MODE:                              Machine Modes.      (line  283)
39804 * PUT_REG_NOTE_KIND:                     Insns.              (line  309)
39805 * PUT_SDB_:                              SDB and DWARF.      (line   63)
39806 * QCmode:                                Machine Modes.      (line  197)
39807 * QFmode:                                Machine Modes.      (line   54)
39808 * QImode:                                Machine Modes.      (line   25)
39809 * QImode, in insn:                       Insns.              (line  231)
39810 * QQmode:                                Machine Modes.      (line  103)
39811 * qualified type:                        Types.              (line    6)
39812 * querying function unit reservations:   Processor pipeline description.
39813                                                              (line   90)
39814 * question mark:                         Multi-Alternative.  (line   41)
39815 * quotient:                              Arithmetic.         (line  111)
39816 * r in constraint:                       Simple Constraints. (line   54)
39817 * RANGE_TEST_NON_SHORT_CIRCUIT:          Costs.              (line  198)
39818 * RDIV_EXPR:                             Expression trees.   (line    6)
39819 * READONLY_DATA_SECTION_ASM_OP:          Sections.           (line   63)
39820 * real operands:                         Statement Operands. (line    6)
39821 * REAL_ARITHMETIC:                       Floating Point.     (line   66)
39822 * REAL_CST:                              Expression trees.   (line    6)
39823 * REAL_LIBGCC_SPEC:                      Driver.             (line  187)
39824 * REAL_NM_FILE_NAME:                     Macros for Initialization.
39825                                                              (line  106)
39826 * REAL_TYPE:                             Types.              (line    6)
39827 * REAL_VALUE_ABS:                        Floating Point.     (line   82)
39828 * REAL_VALUE_ATOF:                       Floating Point.     (line   50)
39829 * REAL_VALUE_FIX:                        Floating Point.     (line   41)
39830 * REAL_VALUE_FROM_INT:                   Floating Point.     (line   99)
39831 * REAL_VALUE_ISINF:                      Floating Point.     (line   59)
39832 * REAL_VALUE_ISNAN:                      Floating Point.     (line   62)
39833 * REAL_VALUE_NEGATE:                     Floating Point.     (line   79)
39834 * REAL_VALUE_NEGATIVE:                   Floating Point.     (line   56)
39835 * REAL_VALUE_TO_INT:                     Floating Point.     (line   93)
39836 * REAL_VALUE_TO_TARGET_DECIMAL128:       Data Output.        (line  144)
39837 * REAL_VALUE_TO_TARGET_DECIMAL32:        Data Output.        (line  142)
39838 * REAL_VALUE_TO_TARGET_DECIMAL64:        Data Output.        (line  143)
39839 * REAL_VALUE_TO_TARGET_DOUBLE:           Data Output.        (line  140)
39840 * REAL_VALUE_TO_TARGET_LONG_DOUBLE:      Data Output.        (line  141)
39841 * REAL_VALUE_TO_TARGET_SINGLE:           Data Output.        (line  139)
39842 * REAL_VALUE_TRUNCATE:                   Floating Point.     (line   86)
39843 * REAL_VALUE_TYPE:                       Floating Point.     (line   26)
39844 * REAL_VALUE_UNSIGNED_FIX:               Floating Point.     (line   45)
39845 * REAL_VALUES_EQUAL:                     Floating Point.     (line   32)
39846 * REAL_VALUES_LESS:                      Floating Point.     (line   38)
39847 * REALPART_EXPR:                         Expression trees.   (line    6)
39848 * recog_data.operand:                    Instruction Output. (line   39)
39849 * recognizing insns:                     RTL Template.       (line    6)
39850 * RECORD_TYPE <1>:                       Classes.            (line    6)
39851 * RECORD_TYPE:                           Types.              (line    6)
39852 * redirect_edge_and_branch:              Profile information.
39853                                                              (line   71)
39854 * redirect_edge_and_branch, redirect_jump: Maintaining the CFG.
39855                                                              (line  103)
39856 * reduc_smax_M instruction pattern:      Standard Names.     (line  240)
39857 * reduc_smin_M instruction pattern:      Standard Names.     (line  240)
39858 * reduc_splus_M instruction pattern:     Standard Names.     (line  252)
39859 * reduc_umax_M instruction pattern:      Standard Names.     (line  246)
39860 * reduc_umin_M instruction pattern:      Standard Names.     (line  246)
39861 * reduc_uplus_M instruction pattern:     Standard Names.     (line  258)
39862 * reference:                             Types.              (line    6)
39863 * REFERENCE_TYPE:                        Types.              (line    6)
39864 * reg:                                   Regs and Memory.    (line    9)
39865 * reg and /f:                            Flags.              (line   97)
39866 * reg and /i:                            Flags.              (line   92)
39867 * reg and /v:                            Flags.              (line  101)
39868 * reg, RTL sharing:                      Sharing.            (line   17)
39869 * REG_ALLOC_ORDER:                       Allocation Order.   (line    9)
39870 * REG_BR_PRED:                           Insns.              (line  530)
39871 * REG_BR_PROB:                           Insns.              (line  524)
39872 * REG_BR_PROB_BASE, BB_FREQ_BASE, count: Profile information.
39873                                                              (line   82)
39874 * REG_BR_PROB_BASE, EDGE_FREQUENCY:      Profile information.
39875                                                              (line   52)
39876 * REG_CC_SETTER:                         Insns.              (line  495)
39877 * REG_CC_USER:                           Insns.              (line  495)
39878 * reg_class_contents:                    Register Basics.    (line   59)
39879 * REG_CLASS_CONTENTS:                    Register Classes.   (line   86)
39880 * REG_CLASS_FROM_CONSTRAINT:             Old Constraints.    (line   35)
39881 * REG_CLASS_FROM_LETTER:                 Old Constraints.    (line   27)
39882 * REG_CLASS_NAMES:                       Register Classes.   (line   81)
39883 * REG_CROSSING_JUMP:                     Insns.              (line  384)
39884 * REG_DEAD:                              Insns.              (line  320)
39885 * REG_DEAD, REG_UNUSED:                  Liveness information.
39886                                                              (line   32)
39887 * REG_DEP_ANTI:                          Insns.              (line  517)
39888 * REG_DEP_OUTPUT:                        Insns.              (line  513)
39889 * REG_DEP_TRUE:                          Insns.              (line  510)
39890 * REG_EH_REGION, EDGE_ABNORMAL_CALL:     Edges.              (line  110)
39891 * REG_EQUAL:                             Insns.              (line  400)
39892 * REG_EQUIV:                             Insns.              (line  400)
39893 * REG_EXPR:                              Special Accessors.  (line   46)
39894 * REG_FRAME_RELATED_EXPR:                Insns.              (line  536)
39895 * REG_FUNCTION_VALUE_P:                  Flags.              (line   92)
39896 * REG_INC:                               Insns.              (line  336)
39897 * reg_label and /v:                      Flags.              (line   50)
39898 * REG_LABEL_OPERAND:                     Insns.              (line  366)
39899 * REG_LABEL_TARGET:                      Insns.              (line  375)
39900 * REG_LIBCALL:                           Insns.              (line  488)
39901 * REG_LIBCALL_ID:                        Insns.              (line  541)
39902 * reg_names <1>:                         Register Basics.    (line   59)
39903 * reg_names:                             Instruction Output. (line   80)
39904 * REG_NO_CONFLICT:                       Insns.              (line  350)
39905 * REG_NONNEG:                            Insns.              (line  342)
39906 * REG_NOTE_KIND:                         Insns.              (line  309)
39907 * REG_NOTES:                             Insns.              (line  283)
39908 * REG_OFFSET:                            Special Accessors.  (line   50)
39909 * REG_OK_STRICT:                         Addressing Modes.   (line   67)
39910 * REG_PARM_STACK_SPACE:                  Stack Arguments.    (line   56)
39911 * REG_PARM_STACK_SPACE, and FUNCTION_ARG: Register Arguments.
39912                                                              (line   52)
39913 * REG_POINTER:                           Flags.              (line   97)
39914 * REG_RETVAL:                            Insns.              (line  472)
39915 * REG_SETJMP:                            Insns.              (line  394)
39916 * REG_UNUSED:                            Insns.              (line  329)
39917 * REG_USERVAR_P:                         Flags.              (line  101)
39918 * regclass_for_constraint:               C Constraint Interface.
39919                                                              (line   60)
39920 * register allocation order:             Allocation Order.   (line    6)
39921 * register class definitions:            Register Classes.   (line    6)
39922 * register class preference constraints: Class Preferences.  (line    6)
39923 * register pairs:                        Values in Registers.
39924                                                              (line   69)
39925 * Register Transfer Language (RTL):      RTL.                (line    6)
39926 * register usage:                        Registers.          (line    6)
39927 * REGISTER_MOVE_COST:                    Costs.              (line   10)
39928 * REGISTER_NAMES:                        Instruction Output. (line    9)
39929 * register_operand:                      Machine-Independent Predicates.
39930                                                              (line   30)
39931 * REGISTER_PREFIX:                       Instruction Output. (line  124)
39932 * REGISTER_TARGET_PRAGMAS:               Misc.               (line  382)
39933 * registers arguments:                   Register Arguments. (line    6)
39934 * registers in constraints:              Simple Constraints. (line   54)
39935 * REGMODE_NATURAL_SIZE:                  Values in Registers.
39936                                                              (line   50)
39937 * REGNO_MODE_CODE_OK_FOR_BASE_P:         Register Classes.   (line  170)
39938 * REGNO_MODE_OK_FOR_BASE_P:              Register Classes.   (line  146)
39939 * REGNO_MODE_OK_FOR_REG_BASE_P:          Register Classes.   (line  157)
39940 * REGNO_OK_FOR_BASE_P:                   Register Classes.   (line  140)
39941 * REGNO_OK_FOR_INDEX_P:                  Register Classes.   (line  181)
39942 * REGNO_REG_CLASS:                       Register Classes.   (line  101)
39943 * regs_ever_live:                        Function Entry.     (line   21)
39944 * regular expressions:                   Processor pipeline description.
39945                                                              (line    6)
39946 * relative costs:                        Costs.              (line    6)
39947 * RELATIVE_PREFIX_NOT_LINKDIR:           Driver.             (line  325)
39948 * reload pass:                           Regs and Memory.    (line  148)
39949 * reload_completed:                      Standard Names.     (line 1034)
39950 * reload_in instruction pattern:         Standard Names.     (line   99)
39951 * reload_in_progress:                    Standard Names.     (line   57)
39952 * reload_out instruction pattern:        Standard Names.     (line   99)
39953 * reloading:                             RTL passes.         (line  181)
39954 * remainder:                             Arithmetic.         (line  131)
39955 * remainderM3 instruction pattern:       Standard Names.     (line  468)
39956 * reorder:                               GTY Options.        (line  210)
39957 * representation of RTL:                 RTL.                (line    6)
39958 * reservation delays:                    Processor pipeline description.
39959                                                              (line    6)
39960 * rest_of_decl_compilation:              Parsing pass.       (line   52)
39961 * rest_of_type_compilation:              Parsing pass.       (line   52)
39962 * restore_stack_block instruction pattern: Standard Names.   (line 1168)
39963 * restore_stack_function instruction pattern: Standard Names.
39964                                                              (line 1168)
39965 * restore_stack_nonlocal instruction pattern: Standard Names.
39966                                                              (line 1168)
39967 * RESULT_DECL:                           Declarations.       (line    6)
39968 * return:                                Side Effects.       (line   72)
39969 * return instruction pattern:            Standard Names.     (line 1021)
39970 * return values in registers:            Scalar Return.      (line    6)
39971 * RETURN_ADDR_IN_PREVIOUS_FRAME:         Frame Layout.       (line  135)
39972 * RETURN_ADDR_OFFSET:                    Exception Handling. (line   60)
39973 * RETURN_ADDR_RTX:                       Frame Layout.       (line  124)
39974 * RETURN_ADDRESS_POINTER_REGNUM:         Frame Registers.    (line   51)
39975 * RETURN_EXPR:                           Function Bodies.    (line    6)
39976 * RETURN_POPS_ARGS:                      Stack Arguments.    (line   88)
39977 * RETURN_STMT:                           Function Bodies.    (line    6)
39978 * return_val:                            Flags.              (line  276)
39979 * return_val, in mem:                    Flags.              (line   70)
39980 * return_val, in reg:                    Flags.              (line   92)
39981 * return_val, in symbol_ref:             Flags.              (line  205)
39982 * returning aggregate values:            Aggregate Return.   (line    6)
39983 * returning structures and unions:       Interface.          (line   10)
39984 * reverse probability:                   Profile information.
39985                                                              (line   66)
39986 * REVERSE_CONDEXEC_PREDICATES_P:         Condition Code.     (line  129)
39987 * REVERSE_CONDITION:                     Condition Code.     (line  116)
39988 * REVERSIBLE_CC_MODE:                    Condition Code.     (line  102)
39989 * right rotate:                          Arithmetic.         (line  190)
39990 * right shift:                           Arithmetic.         (line  185)
39991 * rintM2 instruction pattern:            Standard Names.     (line  568)
39992 * RISC:                                  Processor pipeline description.
39993                                                              (line  215)
39994 * roots, marking:                        GGC Roots.          (line    6)
39995 * rotate:                                Arithmetic.         (line  190)
39996 * rotatert:                              Arithmetic.         (line  190)
39997 * rotlM3 instruction pattern:            Standard Names.     (line  441)
39998 * rotrM3 instruction pattern:            Standard Names.     (line  441)
39999 * Rough GIMPLE Grammar:                  Rough GIMPLE Grammar.
40000                                                              (line    6)
40001 * ROUND_DIV_EXPR:                        Expression trees.   (line    6)
40002 * ROUND_MOD_EXPR:                        Expression trees.   (line    6)
40003 * ROUND_TOWARDS_ZERO:                    Storage Layout.     (line  472)
40004 * ROUND_TYPE_ALIGN:                      Storage Layout.     (line  361)
40005 * roundM2 instruction pattern:           Standard Names.     (line  544)
40006 * RSHIFT_EXPR:                           Expression trees.   (line    6)
40007 * RTL addition:                          Arithmetic.         (line   14)
40008 * RTL addition with signed saturation:   Arithmetic.         (line   14)
40009 * RTL addition with unsigned saturation: Arithmetic.         (line   14)
40010 * RTL classes:                           RTL Classes.        (line    6)
40011 * RTL comparison:                        Arithmetic.         (line   43)
40012 * RTL comparison operations:             Comparisons.        (line    6)
40013 * RTL constant expression types:         Constants.          (line    6)
40014 * RTL constants:                         Constants.          (line    6)
40015 * RTL declarations:                      RTL Declarations.   (line    6)
40016 * RTL difference:                        Arithmetic.         (line   36)
40017 * RTL expression:                        RTL Objects.        (line    6)
40018 * RTL expressions for arithmetic:        Arithmetic.         (line    6)
40019 * RTL format:                            RTL Classes.        (line   71)
40020 * RTL format characters:                 RTL Classes.        (line   76)
40021 * RTL function-call insns:               Calls.              (line    6)
40022 * RTL insn template:                     RTL Template.       (line    6)
40023 * RTL integers:                          RTL Objects.        (line    6)
40024 * RTL memory expressions:                Regs and Memory.    (line    6)
40025 * RTL object types:                      RTL Objects.        (line    6)
40026 * RTL postdecrement:                     Incdec.             (line    6)
40027 * RTL postincrement:                     Incdec.             (line    6)
40028 * RTL predecrement:                      Incdec.             (line    6)
40029 * RTL preincrement:                      Incdec.             (line    6)
40030 * RTL register expressions:              Regs and Memory.    (line    6)
40031 * RTL representation:                    RTL.                (line    6)
40032 * RTL side effect expressions:           Side Effects.       (line    6)
40033 * RTL strings:                           RTL Objects.        (line    6)
40034 * RTL structure sharing assumptions:     Sharing.            (line    6)
40035 * RTL subtraction:                       Arithmetic.         (line   36)
40036 * RTL subtraction with signed saturation: Arithmetic.        (line   36)
40037 * RTL subtraction with unsigned saturation: Arithmetic.      (line   36)
40038 * RTL sum:                               Arithmetic.         (line   14)
40039 * RTL vectors:                           RTL Objects.        (line    6)
40040 * RTX (See RTL):                         RTL Objects.        (line    6)
40041 * RTX codes, classes of:                 RTL Classes.        (line    6)
40042 * RTX_FRAME_RELATED_P:                   Flags.              (line  110)
40043 * run-time conventions:                  Interface.          (line    6)
40044 * run-time target specification:         Run-time Target.    (line    6)
40045 * s in constraint:                       Simple Constraints. (line   90)
40046 * same_type_p:                           Types.              (line  148)
40047 * SAmode:                                Machine Modes.      (line  148)
40048 * sat_fract:                             Conversions.        (line   91)
40049 * satfractMN2 instruction pattern:       Standard Names.     (line  837)
40050 * satfractunsMN2 instruction pattern:    Standard Names.     (line  850)
40051 * satisfies_constraint_:                 C Constraint Interface.
40052                                                              (line   47)
40053 * SAVE_EXPR:                             Expression trees.   (line    6)
40054 * save_stack_block instruction pattern:  Standard Names.     (line 1168)
40055 * save_stack_function instruction pattern: Standard Names.   (line 1168)
40056 * save_stack_nonlocal instruction pattern: Standard Names.   (line 1168)
40057 * SBSS_SECTION_ASM_OP:                   Sections.           (line   77)
40058 * Scalar evolutions:                     Scalar evolutions.  (line    6)
40059 * scalars, returned as values:           Scalar Return.      (line    6)
40060 * SCHED_GROUP_P:                         Flags.              (line  151)
40061 * SCmode:                                Machine Modes.      (line  197)
40062 * sCOND instruction pattern:             Standard Names.     (line  905)
40063 * scratch:                               Regs and Memory.    (line  173)
40064 * scratch operands:                      Regs and Memory.    (line  173)
40065 * scratch, RTL sharing:                  Sharing.            (line   35)
40066 * scratch_operand:                       Machine-Independent Predicates.
40067                                                              (line   50)
40068 * SDATA_SECTION_ASM_OP:                  Sections.           (line   58)
40069 * SDB_ALLOW_FORWARD_REFERENCES:          SDB and DWARF.      (line   81)
40070 * SDB_ALLOW_UNKNOWN_REFERENCES:          SDB and DWARF.      (line   76)
40071 * SDB_DEBUGGING_INFO:                    SDB and DWARF.      (line    9)
40072 * SDB_DELIM:                             SDB and DWARF.      (line   69)
40073 * SDB_OUTPUT_SOURCE_LINE:                SDB and DWARF.      (line   86)
40074 * SDmode:                                Machine Modes.      (line   85)
40075 * sdot_prodM instruction pattern:        Standard Names.     (line  264)
40076 * search options:                        Including Patterns. (line   44)
40077 * SECONDARY_INPUT_RELOAD_CLASS:          Register Classes.   (line  335)
40078 * SECONDARY_MEMORY_NEEDED:               Register Classes.   (line  391)
40079 * SECONDARY_MEMORY_NEEDED_MODE:          Register Classes.   (line  410)
40080 * SECONDARY_MEMORY_NEEDED_RTX:           Register Classes.   (line  401)
40081 * SECONDARY_OUTPUT_RELOAD_CLASS:         Register Classes.   (line  336)
40082 * SECONDARY_RELOAD_CLASS:                Register Classes.   (line  334)
40083 * SELECT_CC_MODE:                        Condition Code.     (line   68)
40084 * Selection Statements:                  Selection Statements.
40085                                                              (line    6)
40086 * sequence:                              Side Effects.       (line  251)
40087 * set:                                   Side Effects.       (line   15)
40088 * set and /f:                            Flags.              (line  110)
40089 * SET_ASM_OP:                            Label Output.       (line  389)
40090 * set_attr:                              Tagging Insns.      (line   31)
40091 * set_attr_alternative:                  Tagging Insns.      (line   49)
40092 * SET_BY_PIECES_P:                       Costs.              (line  139)
40093 * SET_DEST:                              Side Effects.       (line   69)
40094 * SET_IS_RETURN_P:                       Flags.              (line  160)
40095 * SET_LABEL_KIND:                        Insns.              (line  140)
40096 * set_optab_libfunc:                     Library Calls.      (line   15)
40097 * SET_RATIO:                             Costs.              (line  130)
40098 * SET_SRC:                               Side Effects.       (line   69)
40099 * SET_TYPE_STRUCTURAL_EQUALITY:          Types.              (line    6)
40100 * setmemM instruction pattern:           Standard Names.     (line  710)
40101 * SETUP_FRAME_ADDRESSES:                 Frame Layout.       (line  102)
40102 * SF_SIZE:                               Type Layout.        (line  129)
40103 * SFmode:                                Machine Modes.      (line   66)
40104 * sharing of RTL components:             Sharing.            (line    6)
40105 * shift:                                 Arithmetic.         (line  168)
40106 * SHIFT_COUNT_TRUNCATED:                 Misc.               (line  127)
40107 * SHLIB_SUFFIX:                          Macros for Initialization.
40108                                                              (line  129)
40109 * SHORT_ACCUM_TYPE_SIZE:                 Type Layout.        (line   83)
40110 * SHORT_FRACT_TYPE_SIZE:                 Type Layout.        (line   63)
40111 * SHORT_IMMEDIATES_SIGN_EXTEND:          Misc.               (line   96)
40112 * SHORT_TYPE_SIZE:                       Type Layout.        (line   16)
40113 * sibcall_epilogue instruction pattern:  Standard Names.     (line 1358)
40114 * sibling call:                          Edges.              (line  122)
40115 * SIBLING_CALL_P:                        Flags.              (line  164)
40116 * sign_extend:                           Conversions.        (line   23)
40117 * sign_extract:                          Bit-Fields.         (line    8)
40118 * sign_extract, canonicalization of:     Insn Canonicalizations.
40119                                                              (line   96)
40120 * signed division:                       Arithmetic.         (line  111)
40121 * signed division with signed saturation: Arithmetic.        (line  111)
40122 * signed maximum:                        Arithmetic.         (line  136)
40123 * signed minimum:                        Arithmetic.         (line  136)
40124 * SImode:                                Machine Modes.      (line   37)
40125 * simple constraints:                    Simple Constraints. (line    6)
40126 * sincos math function, implicit usage:  Library Calls.      (line   84)
40127 * sinM2 instruction pattern:             Standard Names.     (line  485)
40128 * SIZE_ASM_OP:                           Label Output.       (line   23)
40129 * SIZE_TYPE:                             Type Layout.        (line  168)
40130 * skip:                                  GTY Options.        (line   77)
40131 * SLOW_BYTE_ACCESS:                      Costs.              (line   60)
40132 * SLOW_UNALIGNED_ACCESS:                 Costs.              (line   75)
40133 * SMALL_REGISTER_CLASSES:                Register Classes.   (line  433)
40134 * smax:                                  Arithmetic.         (line  136)
40135 * smin:                                  Arithmetic.         (line  136)
40136 * sms, swing, software pipelining:       RTL passes.         (line  140)
40137 * smulM3_highpart instruction pattern:   Standard Names.     (line  356)
40138 * soft float library:                    Soft float library routines.
40139                                                              (line    6)
40140 * special:                               GTY Options.        (line  230)
40141 * special predicates:                    Predicates.         (line   31)
40142 * SPECS:                                 Target Fragment.    (line  108)
40143 * speed of instructions:                 Costs.              (line    6)
40144 * split_block:                           Maintaining the CFG.
40145                                                              (line  110)
40146 * splitting instructions:                Insn Splitting.     (line    6)
40147 * SQmode:                                Machine Modes.      (line  111)
40148 * sqrt:                                  Arithmetic.         (line  198)
40149 * sqrtM2 instruction pattern:            Standard Names.     (line  451)
40150 * square root:                           Arithmetic.         (line  198)
40151 * ss_ashift:                             Arithmetic.         (line  168)
40152 * ss_div:                                Arithmetic.         (line  111)
40153 * ss_minus:                              Arithmetic.         (line   36)
40154 * ss_mult:                               Arithmetic.         (line   92)
40155 * ss_neg:                                Arithmetic.         (line   81)
40156 * ss_plus:                               Arithmetic.         (line   14)
40157 * ss_truncate:                           Conversions.        (line   43)
40158 * SSA:                                   SSA.                (line    6)
40159 * SSA_NAME_DEF_STMT:                     SSA.                (line  224)
40160 * SSA_NAME_VERSION:                      SSA.                (line  229)
40161 * ssaddM3 instruction pattern:           Standard Names.     (line  222)
40162 * ssashlM3 instruction pattern:          Standard Names.     (line  431)
40163 * ssdivM3 instruction pattern:           Standard Names.     (line  222)
40164 * ssmaddMN4 instruction pattern:         Standard Names.     (line  379)
40165 * ssmsubMN4 instruction pattern:         Standard Names.     (line  403)
40166 * ssmulM3 instruction pattern:           Standard Names.     (line  222)
40167 * ssnegM2 instruction pattern:           Standard Names.     (line  445)
40168 * sssubM3 instruction pattern:           Standard Names.     (line  222)
40169 * ssum_widenM3 instruction pattern:      Standard Names.     (line  274)
40170 * stack arguments:                       Stack Arguments.    (line    6)
40171 * stack frame layout:                    Frame Layout.       (line    6)
40172 * stack smashing protection:             Stack Smashing Protection.
40173                                                              (line    6)
40174 * STACK_ALIGNMENT_NEEDED:                Frame Layout.       (line   48)
40175 * STACK_BOUNDARY:                        Storage Layout.     (line  150)
40176 * STACK_CHECK_BUILTIN:                   Stack Checking.     (line   29)
40177 * STACK_CHECK_FIXED_FRAME_SIZE:          Stack Checking.     (line   64)
40178 * STACK_CHECK_MAX_FRAME_SIZE:            Stack Checking.     (line   55)
40179 * STACK_CHECK_MAX_VAR_SIZE:              Stack Checking.     (line   71)
40180 * STACK_CHECK_PROBE_INTERVAL:            Stack Checking.     (line   37)
40181 * STACK_CHECK_PROBE_LOAD:                Stack Checking.     (line   44)
40182 * STACK_CHECK_PROTECT:                   Stack Checking.     (line   50)
40183 * STACK_DYNAMIC_OFFSET:                  Frame Layout.       (line   75)
40184 * STACK_DYNAMIC_OFFSET and virtual registers: Regs and Memory.
40185                                                              (line   83)
40186 * STACK_GROWS_DOWNWARD:                  Frame Layout.       (line    9)
40187 * STACK_PARMS_IN_REG_PARM_AREA:          Stack Arguments.    (line   79)
40188 * STACK_POINTER_OFFSET:                  Frame Layout.       (line   58)
40189 * STACK_POINTER_OFFSET and virtual registers: Regs and Memory.
40190                                                              (line   93)
40191 * STACK_POINTER_REGNUM:                  Frame Registers.    (line    9)
40192 * STACK_POINTER_REGNUM and virtual registers: Regs and Memory.
40193                                                              (line   83)
40194 * stack_pointer_rtx:                     Frame Registers.    (line   85)
40195 * stack_protect_set instruction pattern: Standard Names.     (line 1530)
40196 * stack_protect_test instruction pattern: Standard Names.    (line 1540)
40197 * STACK_PUSH_CODE:                       Frame Layout.       (line   17)
40198 * STACK_REGS:                            Stack Registers.    (line   20)
40199 * STACK_SAVEAREA_MODE:                   Storage Layout.     (line  377)
40200 * STACK_SIZE_MODE:                       Storage Layout.     (line  389)
40201 * standard pattern names:                Standard Names.     (line    6)
40202 * STANDARD_INCLUDE_COMPONENT:            Driver.             (line  425)
40203 * STANDARD_INCLUDE_DIR:                  Driver.             (line  417)
40204 * STANDARD_STARTFILE_PREFIX:             Driver.             (line  337)
40205 * STANDARD_STARTFILE_PREFIX_1:           Driver.             (line  344)
40206 * STANDARD_STARTFILE_PREFIX_2:           Driver.             (line  351)
40207 * STARTFILE_SPEC:                        Driver.             (line  210)
40208 * STARTING_FRAME_OFFSET:                 Frame Layout.       (line   39)
40209 * STARTING_FRAME_OFFSET and virtual registers: Regs and Memory.
40210                                                              (line   74)
40211 * Statement Sequences:                   Statement Sequences.
40212                                                              (line    6)
40213 * statements:                            Function Bodies.    (line    6)
40214 * Statements:                            Statements.         (line    6)
40215 * Static profile estimation:             Profile information.
40216                                                              (line   24)
40217 * static single assignment:              SSA.                (line    6)
40218 * STATIC_CHAIN:                          Frame Registers.    (line   77)
40219 * STATIC_CHAIN_INCOMING:                 Frame Registers.    (line   78)
40220 * STATIC_CHAIN_INCOMING_REGNUM:          Frame Registers.    (line   64)
40221 * STATIC_CHAIN_REGNUM:                   Frame Registers.    (line   63)
40222 * stdarg.h and register arguments:       Register Arguments. (line   47)
40223 * STDC_0_IN_SYSTEM_HEADERS:              Misc.               (line  365)
40224 * STMT_EXPR:                             Expression trees.   (line    6)
40225 * STMT_IS_FULL_EXPR_P:                   Function Bodies.    (line   22)
40226 * storage layout:                        Storage Layout.     (line    6)
40227 * STORE_BY_PIECES_P:                     Costs.              (line  146)
40228 * STORE_FLAG_VALUE:                      Misc.               (line  216)
40229 * store_multiple instruction pattern:    Standard Names.     (line  160)
40230 * strcpy:                                Storage Layout.     (line  215)
40231 * STRICT_ALIGNMENT:                      Storage Layout.     (line  259)
40232 * strict_low_part:                       RTL Declarations.   (line    9)
40233 * strict_memory_address_p:               Addressing Modes.   (line  167)
40234 * STRING_CST:                            Expression trees.   (line    6)
40235 * STRING_POOL_ADDRESS_P:                 Flags.              (line  168)
40236 * strlenM instruction pattern:           Standard Names.     (line  772)
40237 * structure value address:               Aggregate Return.   (line    6)
40238 * STRUCTURE_SIZE_BOUNDARY:               Storage Layout.     (line  251)
40239 * structures, returning:                 Interface.          (line   10)
40240 * subM3 instruction pattern:             Standard Names.     (line  222)
40241 * SUBOBJECT:                             Function Bodies.    (line    6)
40242 * SUBOBJECT_CLEANUP:                     Function Bodies.    (line    6)
40243 * subreg:                                Regs and Memory.    (line   97)
40244 * subreg and /s:                         Flags.              (line  190)
40245 * subreg and /u:                         Flags.              (line  183)
40246 * subreg and /u and /v:                  Flags.              (line  173)
40247 * subreg, in strict_low_part:            RTL Declarations.   (line    9)
40248 * subreg, special reload handling:       Regs and Memory.    (line  148)
40249 * SUBREG_BYTE:                           Regs and Memory.    (line  169)
40250 * SUBREG_PROMOTED_UNSIGNED_P:            Flags.              (line  173)
40251 * SUBREG_PROMOTED_UNSIGNED_SET:          Flags.              (line  183)
40252 * SUBREG_PROMOTED_VAR_P:                 Flags.              (line  190)
40253 * SUBREG_REG:                            Regs and Memory.    (line  169)
40254 * SUCCESS_EXIT_CODE:                     Host Misc.          (line   12)
40255 * SUPPORTS_INIT_PRIORITY:                Macros for Initialization.
40256                                                              (line   58)
40257 * SUPPORTS_ONE_ONLY:                     Label Output.       (line  227)
40258 * SUPPORTS_WEAK:                         Label Output.       (line  208)
40259 * SWITCH_BODY:                           Function Bodies.    (line    6)
40260 * SWITCH_COND:                           Function Bodies.    (line    6)
40261 * SWITCH_CURTAILS_COMPILATION:           Driver.             (line   33)
40262 * SWITCH_STMT:                           Function Bodies.    (line    6)
40263 * SWITCH_TAKES_ARG:                      Driver.             (line    9)
40264 * SWITCHES_NEED_SPACES:                  Driver.             (line   47)
40265 * SYMBOL_FLAG_ANCHOR:                    Special Accessors.  (line  106)
40266 * SYMBOL_FLAG_EXTERNAL:                  Special Accessors.  (line   88)
40267 * SYMBOL_FLAG_FUNCTION:                  Special Accessors.  (line   81)
40268 * SYMBOL_FLAG_HAS_BLOCK_INFO:            Special Accessors.  (line  102)
40269 * SYMBOL_FLAG_LOCAL:                     Special Accessors.  (line   84)
40270 * SYMBOL_FLAG_SMALL:                     Special Accessors.  (line   93)
40271 * SYMBOL_FLAG_TLS_SHIFT:                 Special Accessors.  (line   97)
40272 * symbol_ref:                            Constants.          (line   95)
40273 * symbol_ref and /f:                     Flags.              (line  168)
40274 * symbol_ref and /i:                     Flags.              (line  205)
40275 * symbol_ref and /u:                     Flags.              (line   10)
40276 * symbol_ref and /v:                     Flags.              (line  209)
40277 * symbol_ref, RTL sharing:               Sharing.            (line   20)
40278 * SYMBOL_REF_ANCHOR_P:                   Special Accessors.  (line  106)
40279 * SYMBOL_REF_BLOCK:                      Special Accessors.  (line  119)
40280 * SYMBOL_REF_BLOCK_OFFSET:               Special Accessors.  (line  124)
40281 * SYMBOL_REF_CONSTANT:                   Special Accessors.  (line   67)
40282 * SYMBOL_REF_DATA:                       Special Accessors.  (line   71)
40283 * SYMBOL_REF_DECL:                       Special Accessors.  (line   55)
40284 * SYMBOL_REF_EXTERNAL_P:                 Special Accessors.  (line   88)
40285 * SYMBOL_REF_FLAG:                       Flags.              (line  209)
40286 * SYMBOL_REF_FLAG, in TARGET_ENCODE_SECTION_INFO: Sections.  (line  259)
40287 * SYMBOL_REF_FLAGS:                      Special Accessors.  (line   75)
40288 * SYMBOL_REF_FUNCTION_P:                 Special Accessors.  (line   81)
40289 * SYMBOL_REF_HAS_BLOCK_INFO_P:           Special Accessors.  (line  102)
40290 * SYMBOL_REF_LOCAL_P:                    Special Accessors.  (line   84)
40291 * SYMBOL_REF_SMALL_P:                    Special Accessors.  (line   93)
40292 * SYMBOL_REF_TLS_MODEL:                  Special Accessors.  (line   97)
40293 * SYMBOL_REF_USED:                       Flags.              (line  200)
40294 * SYMBOL_REF_WEAK:                       Flags.              (line  205)
40295 * symbolic label:                        Sharing.            (line   20)
40296 * sync_addMODE instruction pattern:      Standard Names.     (line 1444)
40297 * sync_andMODE instruction pattern:      Standard Names.     (line 1444)
40298 * sync_compare_and_swap_ccMODE instruction pattern: Standard Names.
40299                                                              (line 1431)
40300 * sync_compare_and_swapMODE instruction pattern: Standard Names.
40301                                                              (line 1413)
40302 * sync_iorMODE instruction pattern:      Standard Names.     (line 1444)
40303 * sync_lock_releaseMODE instruction pattern: Standard Names. (line 1511)
40304 * sync_lock_test_and_setMODE instruction pattern: Standard Names.
40305                                                              (line 1485)
40306 * sync_nandMODE instruction pattern:     Standard Names.     (line 1444)
40307 * sync_new_addMODE instruction pattern:  Standard Names.     (line 1478)
40308 * sync_new_andMODE instruction pattern:  Standard Names.     (line 1478)
40309 * sync_new_iorMODE instruction pattern:  Standard Names.     (line 1478)
40310 * sync_new_nandMODE instruction pattern: Standard Names.     (line 1478)
40311 * sync_new_subMODE instruction pattern:  Standard Names.     (line 1478)
40312 * sync_new_xorMODE instruction pattern:  Standard Names.     (line 1478)
40313 * sync_old_addMODE instruction pattern:  Standard Names.     (line 1461)
40314 * sync_old_andMODE instruction pattern:  Standard Names.     (line 1461)
40315 * sync_old_iorMODE instruction pattern:  Standard Names.     (line 1461)
40316 * sync_old_nandMODE instruction pattern: Standard Names.     (line 1461)
40317 * sync_old_subMODE instruction pattern:  Standard Names.     (line 1461)
40318 * sync_old_xorMODE instruction pattern:  Standard Names.     (line 1461)
40319 * sync_subMODE instruction pattern:      Standard Names.     (line 1444)
40320 * sync_xorMODE instruction pattern:      Standard Names.     (line 1444)
40321 * SYSROOT_HEADERS_SUFFIX_SPEC:           Driver.             (line  239)
40322 * SYSROOT_SUFFIX_SPEC:                   Driver.             (line  234)
40323 * SYSTEM_INCLUDE_DIR:                    Driver.             (line  408)
40324 * t-TARGET:                              Target Fragment.    (line    6)
40325 * table jump:                            Basic Blocks.       (line   57)
40326 * tablejump instruction pattern:         Standard Names.     (line 1096)
40327 * tag:                                   GTY Options.        (line   82)
40328 * tagging insns:                         Tagging Insns.      (line    6)
40329 * tail calls:                            Tail Calls.         (line    6)
40330 * TAmode:                                Machine Modes.      (line  156)
40331 * target attributes:                     Target Attributes.  (line    6)
40332 * target description macros:             Target Macros.      (line    6)
40333 * target functions:                      Target Structure.   (line    6)
40334 * target hooks:                          Target Structure.   (line    6)
40335 * target makefile fragment:              Target Fragment.    (line    6)
40336 * target specifications:                 Run-time Target.    (line    6)
40337 * TARGET_ADDRESS_COST:                   Costs.              (line  230)
40338 * TARGET_ALIGN_ANON_BITFIELDS:           Storage Layout.     (line  336)
40339 * TARGET_ALLOCATE_INITIAL_VALUE:         Misc.               (line  720)
40340 * TARGET_ARG_PARTIAL_BYTES:              Register Arguments. (line   83)
40341 * TARGET_ARM_EABI_UNWINDER:              Exception Region Output.
40342                                                              (line  113)
40343 * TARGET_ASM_ALIGNED_DI_OP:              Data Output.        (line   10)
40344 * TARGET_ASM_ALIGNED_HI_OP:              Data Output.        (line    8)
40345 * TARGET_ASM_ALIGNED_SI_OP:              Data Output.        (line    9)
40346 * TARGET_ASM_ALIGNED_TI_OP:              Data Output.        (line   11)
40347 * TARGET_ASM_ASSEMBLE_VISIBILITY:        Label Output.       (line  239)
40348 * TARGET_ASM_BYTE_OP:                    Data Output.        (line    7)
40349 * TARGET_ASM_CAN_OUTPUT_MI_THUNK:        Function Entry.     (line  237)
40350 * TARGET_ASM_CLOSE_PAREN:                Data Output.        (line  130)
40351 * TARGET_ASM_CONSTRUCTOR:                Macros for Initialization.
40352                                                              (line   69)
40353 * TARGET_ASM_DESTRUCTOR:                 Macros for Initialization.
40354                                                              (line   83)
40355 * TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL:    Dispatch Tables.    (line   74)
40356 * TARGET_ASM_EMIT_UNWIND_LABEL:          Dispatch Tables.    (line   63)
40357 * TARGET_ASM_EXTERNAL_LIBCALL:           Label Output.       (line  274)
40358 * TARGET_ASM_FILE_END:                   File Framework.     (line   37)
40359 * TARGET_ASM_FILE_START:                 File Framework.     (line    9)
40360 * TARGET_ASM_FILE_START_APP_OFF:         File Framework.     (line   17)
40361 * TARGET_ASM_FILE_START_FILE_DIRECTIVE:  File Framework.     (line   31)
40362 * TARGET_ASM_FUNCTION_BEGIN_EPILOGUE:    Function Entry.     (line   61)
40363 * TARGET_ASM_FUNCTION_END_PROLOGUE:      Function Entry.     (line   55)
40364 * TARGET_ASM_FUNCTION_EPILOGUE:          Function Entry.     (line   68)
40365 * TARGET_ASM_FUNCTION_EPILOGUE and trampolines: Trampolines. (line   70)
40366 * TARGET_ASM_FUNCTION_PROLOGUE:          Function Entry.     (line   11)
40367 * TARGET_ASM_FUNCTION_PROLOGUE and trampolines: Trampolines. (line   70)
40368 * TARGET_ASM_FUNCTION_RODATA_SECTION:    Sections.           (line  206)
40369 * TARGET_ASM_GLOBALIZE_DECL_NAME:        Label Output.       (line  174)
40370 * TARGET_ASM_GLOBALIZE_LABEL:            Label Output.       (line  165)
40371 * TARGET_ASM_INIT_SECTIONS:              Sections.           (line  151)
40372 * TARGET_ASM_INTEGER:                    Data Output.        (line   27)
40373 * TARGET_ASM_INTERNAL_LABEL:             Label Output.       (line  309)
40374 * TARGET_ASM_MARK_DECL_PRESERVED:        Label Output.       (line  280)
40375 * TARGET_ASM_NAMED_SECTION:              File Framework.     (line   89)
40376 * TARGET_ASM_OPEN_PAREN:                 Data Output.        (line  129)
40377 * TARGET_ASM_OUTPUT_ANCHOR:              Anchored Addresses. (line   44)
40378 * TARGET_ASM_OUTPUT_DWARF_DTPREL:        SDB and DWARF.      (line   58)
40379 * TARGET_ASM_OUTPUT_MI_THUNK:            Function Entry.     (line  195)
40380 * TARGET_ASM_RECORD_GCC_SWITCHES:        File Framework.     (line  122)
40381 * TARGET_ASM_RECORD_GCC_SWITCHES_SECTION: File Framework.    (line  166)
40382 * TARGET_ASM_SELECT_RTX_SECTION:         Sections.           (line  214)
40383 * TARGET_ASM_SELECT_SECTION:             Sections.           (line  172)
40384 * TARGET_ASM_TTYPE:                      Exception Region Output.
40385                                                              (line  107)
40386 * TARGET_ASM_UNALIGNED_DI_OP:            Data Output.        (line   14)
40387 * TARGET_ASM_UNALIGNED_HI_OP:            Data Output.        (line   12)
40388 * TARGET_ASM_UNALIGNED_SI_OP:            Data Output.        (line   13)
40389 * TARGET_ASM_UNALIGNED_TI_OP:            Data Output.        (line   15)
40390 * TARGET_ASM_UNIQUE_SECTION:             Sections.           (line  193)
40391 * TARGET_ATTRIBUTE_TABLE:                Target Attributes.  (line   11)
40392 * TARGET_BINDS_LOCAL_P:                  Sections.           (line  284)
40393 * TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED: Misc.          (line  816)
40394 * TARGET_BRANCH_TARGET_REGISTER_CLASS:   Misc.               (line  808)
40395 * TARGET_BUILD_BUILTIN_VA_LIST:          Register Arguments. (line  249)
40396 * TARGET_BUILTIN_RECIPROCAL:             Addressing Modes.   (line  228)
40397 * TARGET_BUILTIN_SETJMP_FRAME_VALUE:     Frame Layout.       (line  109)
40398 * TARGET_C99_FUNCTIONS:                  Library Calls.      (line   77)
40399 * TARGET_CALLEE_COPIES:                  Register Arguments. (line  115)
40400 * TARGET_CANNOT_FORCE_CONST_MEM:         Addressing Modes.   (line  209)
40401 * TARGET_CANNOT_MODIFY_JUMPS_P:          Misc.               (line  795)
40402 * TARGET_COMMUTATIVE_P:                  Misc.               (line  713)
40403 * TARGET_COMP_TYPE_ATTRIBUTES:           Target Attributes.  (line   19)
40404 * TARGET_CPU_CPP_BUILTINS:               Run-time Target.    (line    9)
40405 * TARGET_CXX_ADJUST_CLASS_AT_DEFINITION: C++ ABI.            (line   87)
40406 * TARGET_CXX_CDTOR_RETURNS_THIS:         C++ ABI.            (line   38)
40407 * TARGET_CXX_CLASS_DATA_ALWAYS_COMDAT:   C++ ABI.            (line   62)
40408 * TARGET_CXX_COOKIE_HAS_SIZE:            C++ ABI.            (line   25)
40409 * TARGET_CXX_DETERMINE_CLASS_DATA_VISIBILITY: C++ ABI.       (line   54)
40410 * TARGET_CXX_GET_COOKIE_SIZE:            C++ ABI.            (line   18)
40411 * TARGET_CXX_GUARD_MASK_BIT:             C++ ABI.            (line   12)
40412 * TARGET_CXX_GUARD_TYPE:                 C++ ABI.            (line    7)
40413 * TARGET_CXX_IMPORT_EXPORT_CLASS:        C++ ABI.            (line   30)
40414 * TARGET_CXX_KEY_METHOD_MAY_BE_INLINE:   C++ ABI.            (line   43)
40415 * TARGET_CXX_LIBRARY_RTTI_COMDAT:        C++ ABI.            (line   69)
40416 * TARGET_CXX_USE_AEABI_ATEXIT:           C++ ABI.            (line   74)
40417 * TARGET_CXX_USE_ATEXIT_FOR_CXA_ATEXIT:  C++ ABI.            (line   80)
40418 * TARGET_DECIMAL_FLOAT_SUPPORTED_P:      Storage Layout.     (line  539)
40419 * TARGET_DECLSPEC:                       Target Attributes.  (line   64)
40420 * TARGET_DEFAULT_PACK_STRUCT:            Misc.               (line  482)
40421 * TARGET_DEFAULT_SHORT_ENUMS:            Type Layout.        (line  160)
40422 * TARGET_DEFERRED_OUTPUT_DEFS:           Label Output.       (line  393)
40423 * TARGET_DELEGITIMIZE_ADDRESS:           Addressing Modes.   (line  200)
40424 * TARGET_DLLIMPORT_DECL_ATTRIBUTES:      Target Attributes.  (line   47)
40425 * TARGET_DWARF_CALLING_CONVENTION:       SDB and DWARF.      (line   18)
40426 * TARGET_DWARF_HANDLE_FRAME_UNSPEC:      Frame Layout.       (line  172)
40427 * TARGET_DWARF_REGISTER_SPAN:            Exception Region Output.
40428                                                              (line   90)
40429 * TARGET_EDOM:                           Library Calls.      (line   59)
40430 * TARGET_ENCODE_SECTION_INFO:            Sections.           (line  235)
40431 * TARGET_ENCODE_SECTION_INFO and address validation: Addressing Modes.
40432                                                              (line   91)
40433 * TARGET_ENCODE_SECTION_INFO usage:      Instruction Output. (line  100)
40434 * TARGET_EXECUTABLE_SUFFIX:              Misc.               (line  769)
40435 * TARGET_EXPAND_BUILTIN:                 Misc.               (line  665)
40436 * TARGET_EXPAND_BUILTIN_SAVEREGS:        Varargs.            (line   92)
40437 * TARGET_EXPAND_TO_RTL_HOOK:             Storage Layout.     (line  545)
40438 * TARGET_EXPR:                           Expression trees.   (line    6)
40439 * TARGET_EXTRA_INCLUDES:                 Misc.               (line  841)
40440 * TARGET_EXTRA_LIVE_ON_ENTRY:            Tail Calls.         (line   21)
40441 * TARGET_EXTRA_PRE_INCLUDES:             Misc.               (line  848)
40442 * TARGET_FIXED_CONDITION_CODE_REGS:      Condition Code.     (line  142)
40443 * TARGET_FIXED_POINT_SUPPORTED_P:        Storage Layout.     (line  542)
40444 * target_flags:                          Run-time Target.    (line   52)
40445 * TARGET_FLOAT_FORMAT:                   Storage Layout.     (line  410)
40446 * TARGET_FLT_EVAL_METHOD:                Type Layout.        (line  141)
40447 * TARGET_FOLD_BUILTIN:                   Misc.               (line  685)
40448 * TARGET_FORMAT_TYPES:                   Misc.               (line  868)
40449 * TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P: Target Attributes.  (line   86)
40450 * TARGET_FUNCTION_OK_FOR_SIBCALL:        Tail Calls.         (line    8)
40451 * TARGET_FUNCTION_VALUE:                 Scalar Return.      (line   11)
40452 * TARGET_GIMPLIFY_VA_ARG_EXPR:           Register Arguments. (line  254)
40453 * TARGET_HANDLE_C_OPTION:                Run-time Target.    (line   78)
40454 * TARGET_HANDLE_OPTION:                  Run-time Target.    (line   61)
40455 * TARGET_HAS_SINCOS:                     Library Calls.      (line   85)
40456 * TARGET_HAVE_CTORS_DTORS:               Macros for Initialization.
40457                                                              (line   64)
40458 * TARGET_HAVE_NAMED_SECTIONS:            File Framework.     (line   99)
40459 * TARGET_HAVE_SWITCHABLE_BSS_SECTIONS:   File Framework.     (line  103)
40460 * TARGET_HELP:                           Run-time Target.    (line  141)
40461 * TARGET_IN_SMALL_DATA_P:                Sections.           (line  276)
40462 * TARGET_INIT_BUILTINS:                  Misc.               (line  647)
40463 * TARGET_INIT_DWARF_REG_SIZES_EXTRA:     Exception Region Output.
40464                                                              (line   99)
40465 * TARGET_INIT_LIBFUNCS:                  Library Calls.      (line   16)
40466 * TARGET_INSERT_ATTRIBUTES:              Target Attributes.  (line   73)
40467 * TARGET_INSTANTIATE_DECLS:              Storage Layout.     (line  553)
40468 * TARGET_INVALID_BINARY_OP:              Misc.               (line  906)
40469 * TARGET_INVALID_CONVERSION:             Misc.               (line  893)
40470 * TARGET_INVALID_UNARY_OP:               Misc.               (line  899)
40471 * TARGET_LIB_INT_CMP_BIASED:             Library Calls.      (line   35)
40472 * TARGET_LIBGCC_CMP_RETURN_MODE:         Storage Layout.     (line  398)
40473 * TARGET_LIBGCC_SDATA_SECTION:           Sections.           (line  123)
40474 * TARGET_LIBGCC_SHIFT_COUNT_MODE:        Storage Layout.     (line  404)
40475 * TARGET_MACHINE_DEPENDENT_REORG:        Misc.               (line  632)
40476 * TARGET_MANGLE_DECL_ASSEMBLER_NAME:     Sections.           (line  225)
40477 * TARGET_MANGLE_TYPE:                    Storage Layout.     (line  557)
40478 * TARGET_MD_ASM_CLOBBERS:                Misc.               (line  548)
40479 * TARGET_MEM_REF:                        Expression trees.   (line    6)
40480 * TARGET_MERGE_DECL_ATTRIBUTES:          Target Attributes.  (line   39)
40481 * TARGET_MERGE_TYPE_ATTRIBUTES:          Target Attributes.  (line   31)
40482 * TARGET_MIN_DIVISIONS_FOR_RECIP_MUL:    Misc.               (line  106)
40483 * TARGET_MODE_REP_EXTENDED:              Misc.               (line  191)
40484 * TARGET_MS_BITFIELD_LAYOUT_P:           Storage Layout.     (line  512)
40485 * TARGET_MUST_PASS_IN_STACK:             Register Arguments. (line   62)
40486 * TARGET_MUST_PASS_IN_STACK, and FUNCTION_ARG: Register Arguments.
40487                                                              (line   52)
40488 * TARGET_N_FORMAT_TYPES:                 Misc.               (line  873)
40489 * TARGET_NARROW_VOLATILE_BITFIELDS:      Storage Layout.     (line  342)
40490 * TARGET_OBJECT_SUFFIX:                  Misc.               (line  764)
40491 * TARGET_OBJFMT_CPP_BUILTINS:            Run-time Target.    (line   46)
40492 * TARGET_OPTF:                           Misc.               (line  855)
40493 * TARGET_OPTION_TRANSLATE_TABLE:         Driver.             (line   53)
40494 * TARGET_OS_CPP_BUILTINS:                Run-time Target.    (line   42)
40495 * TARGET_PASS_BY_REFERENCE:              Register Arguments. (line  103)
40496 * TARGET_POSIX_IO:                       Misc.               (line  572)
40497 * TARGET_PRETEND_OUTGOING_VARARGS_NAMED: Varargs.            (line  152)
40498 * TARGET_PROMOTE_FUNCTION_ARGS:          Storage Layout.     (line  131)
40499 * TARGET_PROMOTE_FUNCTION_RETURN:        Storage Layout.     (line  136)
40500 * TARGET_PROMOTE_PROTOTYPES:             Stack Arguments.    (line   11)
40501 * TARGET_PTRMEMFUNC_VBIT_LOCATION:       Type Layout.        (line  235)
40502 * TARGET_RELAXED_ORDERING:               Misc.               (line  877)
40503 * TARGET_RESOLVE_OVERLOADED_BUILTIN:     Misc.               (line  675)
40504 * TARGET_RETURN_IN_MEMORY:               Aggregate Return.   (line   16)
40505 * TARGET_RETURN_IN_MSB:                  Scalar Return.      (line   97)
40506 * TARGET_RTX_COSTS:                      Costs.              (line  204)
40507 * TARGET_SCALAR_MODE_SUPPORTED_P:        Register Arguments. (line  266)
40508 * TARGET_SCHED_ADJUST_COST:              Scheduling.         (line   37)
40509 * TARGET_SCHED_ADJUST_PRIORITY:          Scheduling.         (line   52)
40510 * TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK: Scheduling.     (line   89)
40511 * TARGET_SCHED_DFA_NEW_CYCLE:            Scheduling.         (line  205)
40512 * TARGET_SCHED_DFA_POST_CYCLE_ADVANCE:   Scheduling.         (line  160)
40513 * TARGET_SCHED_DFA_POST_CYCLE_INSN:      Scheduling.         (line  144)
40514 * TARGET_SCHED_DFA_PRE_CYCLE_ADVANCE:    Scheduling.         (line  153)
40515 * TARGET_SCHED_DFA_PRE_CYCLE_INSN:       Scheduling.         (line  132)
40516 * TARGET_SCHED_FINISH:                   Scheduling.         (line  109)
40517 * TARGET_SCHED_FINISH_GLOBAL:            Scheduling.         (line  126)
40518 * TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD: Scheduling.
40519                                                              (line  168)
40520 * TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD: Scheduling.
40521                                                              (line  196)
40522 * TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC: Scheduling.
40523                                                              (line  277)
40524 * TARGET_SCHED_GEN_CHECK:                Scheduling.         (line  265)
40525 * TARGET_SCHED_H_I_D_EXTENDED:           Scheduling.         (line  241)
40526 * TARGET_SCHED_INIT:                     Scheduling.         (line   99)
40527 * TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN: Scheduling.         (line  149)
40528 * TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN:  Scheduling.         (line  141)
40529 * TARGET_SCHED_INIT_GLOBAL:              Scheduling.         (line  118)
40530 * TARGET_SCHED_IS_COSTLY_DEPENDENCE:     Scheduling.         (line  219)
40531 * TARGET_SCHED_ISSUE_RATE:               Scheduling.         (line   12)
40532 * TARGET_SCHED_NEEDS_BLOCK_P:            Scheduling.         (line  258)
40533 * TARGET_SCHED_REORDER:                  Scheduling.         (line   60)
40534 * TARGET_SCHED_REORDER2:                 Scheduling.         (line   77)
40535 * TARGET_SCHED_SET_SCHED_FLAGS:          Scheduling.         (line  288)
40536 * TARGET_SCHED_SMS_RES_MII:              Scheduling.         (line  299)
40537 * TARGET_SCHED_SPECULATE_INSN:           Scheduling.         (line  247)
40538 * TARGET_SCHED_VARIABLE_ISSUE:           Scheduling.         (line   24)
40539 * TARGET_SECONDARY_RELOAD:               Register Classes.   (line  257)
40540 * TARGET_SECTION_TYPE_FLAGS:             File Framework.     (line  109)
40541 * TARGET_SET_CURRENT_FUNCTION:           Misc.               (line  747)
40542 * TARGET_SET_DEFAULT_TYPE_ATTRIBUTES:    Target Attributes.  (line   26)
40543 * TARGET_SETUP_INCOMING_VARARGS:         Varargs.            (line  101)
40544 * TARGET_SHIFT_TRUNCATION_MASK:          Misc.               (line  154)
40545 * TARGET_SPLIT_COMPLEX_ARG:              Register Arguments. (line  237)
40546 * TARGET_STACK_PROTECT_FAIL:             Stack Smashing Protection.
40547                                                              (line   17)
40548 * TARGET_STACK_PROTECT_GUARD:            Stack Smashing Protection.
40549                                                              (line    7)
40550 * TARGET_STRICT_ARGUMENT_NAMING:         Varargs.            (line  137)
40551 * TARGET_STRUCT_VALUE_RTX:               Aggregate Return.   (line   44)
40552 * TARGET_UNSPEC_MAY_TRAP_P:              Misc.               (line  739)
40553 * TARGET_UNWIND_EMIT:                    Dispatch Tables.    (line   81)
40554 * TARGET_UNWIND_INFO:                    Exception Region Output.
40555                                                              (line   56)
40556 * TARGET_USE_ANCHORS_FOR_SYMBOL_P:       Anchored Addresses. (line   55)
40557 * TARGET_USE_BLOCKS_FOR_CONSTANT_P:      Addressing Modes.   (line  221)
40558 * TARGET_USE_JCR_SECTION:                Misc.               (line  911)
40559 * TARGET_USE_LOCAL_THUNK_ALIAS_P:        Misc.               (line  861)
40560 * TARGET_USES_WEAK_UNWIND_INFO:          Exception Handling. (line  129)
40561 * TARGET_VALID_DLLIMPORT_ATTRIBUTE_P:    Target Attributes.  (line   59)
40562 * TARGET_VALID_POINTER_MODE:             Register Arguments. (line  260)
40563 * TARGET_VECTOR_MODE_SUPPORTED_P:        Register Arguments. (line  278)
40564 * TARGET_VECTOR_OPAQUE_P:                Storage Layout.     (line  505)
40565 * TARGET_VECTORIZE_BUILTIN_CONVERSION:   Addressing Modes.   (line  288)
40566 * TARGET_VECTORIZE_BUILTIN_MASK_FOR_LOAD: Addressing Modes.  (line  237)
40567 * TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_EVEN: Addressing Modes. (line  263)
40568 * TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_ODD: Addressing Modes.  (line  275)
40569 * TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION: Addressing Modes.
40570                                                              (line  303)
40571 * TARGET_VERSION:                        Run-time Target.    (line   91)
40572 * TARGET_VTABLE_DATA_ENTRY_DISTANCE:     Type Layout.        (line  288)
40573 * TARGET_VTABLE_ENTRY_ALIGN:             Type Layout.        (line  282)
40574 * TARGET_VTABLE_USES_DESCRIPTORS:        Type Layout.        (line  271)
40575 * TARGET_WEAK_NOT_IN_ARCHIVE_TOC:        Label Output.       (line  245)
40576 * targetm:                               Target Structure.   (line    7)
40577 * targets, makefile:                     Makefile.           (line    6)
40578 * TCmode:                                Machine Modes.      (line  197)
40579 * TDmode:                                Machine Modes.      (line   94)
40580 * TEMPLATE_DECL:                         Declarations.       (line    6)
40581 * Temporaries:                           Temporaries.        (line    6)
40582 * termination routines:                  Initialization.     (line    6)
40583 * testing constraints:                   C Constraint Interface.
40584                                                              (line    6)
40585 * TEXT_SECTION_ASM_OP:                   Sections.           (line   38)
40586 * TF_SIZE:                               Type Layout.        (line  132)
40587 * TFmode:                                Machine Modes.      (line   98)
40588 * THEN_CLAUSE:                           Function Bodies.    (line    6)
40589 * THREAD_MODEL_SPEC:                     Driver.             (line  225)
40590 * THROW_EXPR:                            Expression trees.   (line    6)
40591 * THUNK_DECL:                            Declarations.       (line    6)
40592 * THUNK_DELTA:                           Declarations.       (line    6)
40593 * TImode:                                Machine Modes.      (line   48)
40594 * TImode, in insn:                       Insns.              (line  231)
40595 * tm.h macros:                           Target Macros.      (line    6)
40596 * TQFmode:                               Machine Modes.      (line   62)
40597 * TQmode:                                Machine Modes.      (line  119)
40598 * TRAMPOLINE_ADJUST_ADDRESS:             Trampolines.        (line   62)
40599 * TRAMPOLINE_ALIGNMENT:                  Trampolines.        (line   49)
40600 * TRAMPOLINE_SECTION:                    Trampolines.        (line   40)
40601 * TRAMPOLINE_SIZE:                       Trampolines.        (line   45)
40602 * TRAMPOLINE_TEMPLATE:                   Trampolines.        (line   29)
40603 * trampolines for nested functions:      Trampolines.        (line    6)
40604 * TRANSFER_FROM_TRAMPOLINE:              Trampolines.        (line  124)
40605 * trap instruction pattern:              Standard Names.     (line 1368)
40606 * tree <1>:                              Tree overview.      (line    6)
40607 * tree:                                  Macros and Functions.
40608                                                              (line    6)
40609 * Tree SSA:                              Tree SSA.           (line    6)
40610 * TREE_CODE:                             Tree overview.      (line    6)
40611 * TREE_FILENAME:                         Working with declarations.
40612                                                              (line   14)
40613 * tree_int_cst_equal:                    Expression trees.   (line    6)
40614 * TREE_INT_CST_HIGH:                     Expression trees.   (line    6)
40615 * TREE_INT_CST_LOW:                      Expression trees.   (line    6)
40616 * tree_int_cst_lt:                       Expression trees.   (line    6)
40617 * TREE_LINENO:                           Working with declarations.
40618                                                              (line   20)
40619 * TREE_LIST:                             Containers.         (line    6)
40620 * TREE_OPERAND:                          Expression trees.   (line    6)
40621 * TREE_PUBLIC:                           Function Basics.    (line    6)
40622 * TREE_PURPOSE:                          Containers.         (line    6)
40623 * TREE_STRING_LENGTH:                    Expression trees.   (line    6)
40624 * TREE_STRING_POINTER:                   Expression trees.   (line    6)
40625 * TREE_TYPE <1>:                         Expression trees.   (line    6)
40626 * TREE_TYPE <2>:                         Types.              (line    6)
40627 * TREE_TYPE <3>:                         Working with declarations.
40628                                                              (line   11)
40629 * TREE_TYPE:                             Function Basics.    (line  171)
40630 * TREE_VALUE:                            Containers.         (line    6)
40631 * TREE_VEC:                              Containers.         (line    6)
40632 * TREE_VEC_ELT:                          Containers.         (line    6)
40633 * TREE_VEC_LENGTH:                       Containers.         (line    6)
40634 * Trees:                                 Trees.              (line    6)
40635 * TRULY_NOOP_TRUNCATION:                 Misc.               (line  177)
40636 * TRUNC_DIV_EXPR:                        Expression trees.   (line    6)
40637 * TRUNC_MOD_EXPR:                        Expression trees.   (line    6)
40638 * truncate:                              Conversions.        (line   38)
40639 * truncMN2 instruction pattern:          Standard Names.     (line  815)
40640 * TRUTH_AND_EXPR:                        Expression trees.   (line    6)
40641 * TRUTH_ANDIF_EXPR:                      Expression trees.   (line    6)
40642 * TRUTH_NOT_EXPR:                        Expression trees.   (line    6)
40643 * TRUTH_OR_EXPR:                         Expression trees.   (line    6)
40644 * TRUTH_ORIF_EXPR:                       Expression trees.   (line    6)
40645 * TRUTH_XOR_EXPR:                        Expression trees.   (line    6)
40646 * TRY_BLOCK:                             Function Bodies.    (line    6)
40647 * TRY_HANDLERS:                          Function Bodies.    (line    6)
40648 * TRY_STMTS:                             Function Bodies.    (line    6)
40649 * tstM instruction pattern:              Standard Names.     (line  657)
40650 * type:                                  Types.              (line    6)
40651 * type declaration:                      Declarations.       (line    6)
40652 * TYPE_ALIGN:                            Types.              (line    6)
40653 * TYPE_ARG_TYPES:                        Types.              (line    6)
40654 * TYPE_ASM_OP:                           Label Output.       (line   55)
40655 * TYPE_ATTRIBUTES:                       Attributes.         (line   25)
40656 * TYPE_BINFO:                            Classes.            (line    6)
40657 * TYPE_BUILT_IN:                         Types.              (line   83)
40658 * TYPE_CANONICAL:                        Types.              (line  102)
40659 * TYPE_CONTEXT:                          Types.              (line    6)
40660 * TYPE_DECL:                             Declarations.       (line    6)
40661 * TYPE_FIELDS <1>:                       Types.              (line    6)
40662 * TYPE_FIELDS:                           Classes.            (line    6)
40663 * TYPE_HAS_ARRAY_NEW_OPERATOR:           Classes.            (line   91)
40664 * TYPE_HAS_DEFAULT_CONSTRUCTOR:          Classes.            (line   76)
40665 * TYPE_HAS_MUTABLE_P:                    Classes.            (line   81)
40666 * TYPE_HAS_NEW_OPERATOR:                 Classes.            (line   88)
40667 * TYPE_MAIN_VARIANT:                     Types.              (line    6)
40668 * TYPE_MAX_VALUE:                        Types.              (line    6)
40669 * TYPE_METHOD_BASETYPE:                  Types.              (line    6)
40670 * TYPE_METHODS:                          Classes.            (line    6)
40671 * TYPE_MIN_VALUE:                        Types.              (line    6)
40672 * TYPE_NAME:                             Types.              (line   64)
40673 * TYPE_NOTHROW_P:                        Function Basics.    (line  180)
40674 * TYPE_OFFSET_BASETYPE:                  Types.              (line    6)
40675 * TYPE_OPERAND_FMT:                      Label Output.       (line   66)
40676 * TYPE_OVERLOADS_ARRAY_REF:              Classes.            (line   99)
40677 * TYPE_OVERLOADS_ARROW:                  Classes.            (line  102)
40678 * TYPE_OVERLOADS_CALL_EXPR:              Classes.            (line   95)
40679 * TYPE_POLYMORPHIC_P:                    Classes.            (line   72)
40680 * TYPE_PRECISION:                        Types.              (line    6)
40681 * TYPE_PTR_P:                            Types.              (line   89)
40682 * TYPE_PTRFN_P:                          Types.              (line   93)
40683 * TYPE_PTRMEM_P:                         Types.              (line   86)
40684 * TYPE_PTROB_P:                          Types.              (line   96)
40685 * TYPE_PTROBV_P:                         Types.              (line    6)
40686 * TYPE_QUAL_CONST:                       Types.              (line    6)
40687 * TYPE_QUAL_RESTRICT:                    Types.              (line    6)
40688 * TYPE_QUAL_VOLATILE:                    Types.              (line    6)
40689 * TYPE_RAISES_EXCEPTIONS:                Function Basics.    (line  175)
40690 * TYPE_SIZE:                             Types.              (line    6)
40691 * TYPE_STRUCTURAL_EQUALITY_P:            Types.              (line  139)
40692 * TYPE_UNQUALIFIED:                      Types.              (line    6)
40693 * TYPE_VFIELD:                           Classes.            (line    6)
40694 * TYPENAME_TYPE:                         Types.              (line    6)
40695 * TYPENAME_TYPE_FULLNAME:                Types.              (line    6)
40696 * TYPEOF_TYPE:                           Types.              (line    6)
40697 * UDAmode:                               Machine Modes.      (line  168)
40698 * udiv:                                  Arithmetic.         (line  125)
40699 * udivM3 instruction pattern:            Standard Names.     (line  222)
40700 * udivmodM4 instruction pattern:         Standard Names.     (line  428)
40701 * udot_prodM instruction pattern:        Standard Names.     (line  265)
40702 * UDQmode:                               Machine Modes.      (line  136)
40703 * UHAmode:                               Machine Modes.      (line  160)
40704 * UHQmode:                               Machine Modes.      (line  128)
40705 * UINTMAX_TYPE:                          Type Layout.        (line  224)
40706 * umaddMN4 instruction pattern:          Standard Names.     (line  375)
40707 * umax:                                  Arithmetic.         (line  144)
40708 * umaxM3 instruction pattern:            Standard Names.     (line  222)
40709 * umin:                                  Arithmetic.         (line  144)
40710 * uminM3 instruction pattern:            Standard Names.     (line  222)
40711 * umod:                                  Arithmetic.         (line  131)
40712 * umodM3 instruction pattern:            Standard Names.     (line  222)
40713 * umsubMN4 instruction pattern:          Standard Names.     (line  399)
40714 * umulhisi3 instruction pattern:         Standard Names.     (line  347)
40715 * umulM3_highpart instruction pattern:   Standard Names.     (line  361)
40716 * umulqihi3 instruction pattern:         Standard Names.     (line  347)
40717 * umulsidi3 instruction pattern:         Standard Names.     (line  347)
40718 * unchanging:                            Flags.              (line  299)
40719 * unchanging, in call_insn:              Flags.              (line   19)
40720 * unchanging, in jump_insn, call_insn and insn: Flags.       (line   24)
40721 * unchanging, in mem:                    Flags.              (line  137)
40722 * unchanging, in subreg:                 Flags.              (line  173)
40723 * unchanging, in symbol_ref:             Flags.              (line   10)
40724 * UNEQ_EXPR:                             Expression trees.   (line    6)
40725 * UNGE_EXPR:                             Expression trees.   (line    6)
40726 * UNGT_EXPR:                             Expression trees.   (line    6)
40727 * UNION_TYPE <1>:                        Types.              (line    6)
40728 * UNION_TYPE:                            Classes.            (line    6)
40729 * unions, returning:                     Interface.          (line   10)
40730 * UNITS_PER_SIMD_WORD:                   Storage Layout.     (line   77)
40731 * UNITS_PER_WORD:                        Storage Layout.     (line   67)
40732 * UNKNOWN_TYPE:                          Types.              (line    6)
40733 * UNLE_EXPR:                             Expression trees.   (line    6)
40734 * UNLIKELY_EXECUTED_TEXT_SECTION_NAME:   Sections.           (line   49)
40735 * UNLT_EXPR:                             Expression trees.   (line    6)
40736 * UNORDERED_EXPR:                        Expression trees.   (line    6)
40737 * unshare_all_rtl:                       Sharing.            (line   58)
40738 * unsigned division:                     Arithmetic.         (line  125)
40739 * unsigned division with unsigned saturation: Arithmetic.    (line  125)
40740 * unsigned greater than:                 Comparisons.        (line   64)
40741 * unsigned less than:                    Comparisons.        (line   76)
40742 * unsigned minimum and maximum:          Arithmetic.         (line  144)
40743 * unsigned_fix:                          Conversions.        (line   72)
40744 * unsigned_float:                        Conversions.        (line   62)
40745 * unsigned_fract_convert:                Conversions.        (line   98)
40746 * unsigned_sat_fract:                    Conversions.        (line  104)
40747 * unspec:                                Side Effects.       (line  284)
40748 * unspec_volatile:                       Side Effects.       (line  284)
40749 * untyped_call instruction pattern:      Standard Names.     (line 1006)
40750 * untyped_return instruction pattern:    Standard Names.     (line 1056)
40751 * UPDATE_PATH_HOST_CANONICALIZE (PATH):  Filesystem.         (line   59)
40752 * update_ssa:                            SSA.                (line   76)
40753 * update_stmt:                           Statement Operands. (line    6)
40754 * UQQmode:                               Machine Modes.      (line  123)
40755 * US Software GOFAST, floating point emulation library: Library Calls.
40756                                                              (line   44)
40757 * us_ashift:                             Arithmetic.         (line  168)
40758 * us_minus:                              Arithmetic.         (line   36)
40759 * us_mult:                               Arithmetic.         (line   92)
40760 * us_neg:                                Arithmetic.         (line   81)
40761 * us_plus:                               Arithmetic.         (line   14)
40762 * US_SOFTWARE_GOFAST:                    Library Calls.      (line   45)
40763 * us_truncate:                           Conversions.        (line   48)
40764 * usaddM3 instruction pattern:           Standard Names.     (line  222)
40765 * USAmode:                               Machine Modes.      (line  164)
40766 * usashlM3 instruction pattern:          Standard Names.     (line  431)
40767 * usdivM3 instruction pattern:           Standard Names.     (line  222)
40768 * use:                                   Side Effects.       (line  159)
40769 * USE_C_ALLOCA:                          Host Misc.          (line   19)
40770 * USE_LD_AS_NEEDED:                      Driver.             (line  198)
40771 * USE_LOAD_POST_DECREMENT:               Costs.              (line  159)
40772 * USE_LOAD_POST_INCREMENT:               Costs.              (line  154)
40773 * USE_LOAD_PRE_DECREMENT:                Costs.              (line  169)
40774 * USE_LOAD_PRE_INCREMENT:                Costs.              (line  164)
40775 * use_param:                             GTY Options.        (line  114)
40776 * use_paramN:                            GTY Options.        (line  132)
40777 * use_params:                            GTY Options.        (line  140)
40778 * USE_SELECT_SECTION_FOR_FUNCTIONS:      Sections.           (line  185)
40779 * USE_STORE_POST_DECREMENT:              Costs.              (line  179)
40780 * USE_STORE_POST_INCREMENT:              Costs.              (line  174)
40781 * USE_STORE_PRE_DECREMENT:               Costs.              (line  189)
40782 * USE_STORE_PRE_INCREMENT:               Costs.              (line  184)
40783 * used:                                  Flags.              (line  317)
40784 * used, in symbol_ref:                   Flags.              (line  200)
40785 * USER_LABEL_PREFIX:                     Instruction Output. (line  126)
40786 * USING_DECL:                            Declarations.       (line    6)
40787 * USING_STMT:                            Function Bodies.    (line    6)
40788 * usmaddMN4 instruction pattern:         Standard Names.     (line  383)
40789 * usmsubMN4 instruction pattern:         Standard Names.     (line  407)
40790 * usmulhisi3 instruction pattern:        Standard Names.     (line  351)
40791 * usmulM3 instruction pattern:           Standard Names.     (line  222)
40792 * usmulqihi3 instruction pattern:        Standard Names.     (line  351)
40793 * usmulsidi3 instruction pattern:        Standard Names.     (line  351)
40794 * usnegM2 instruction pattern:           Standard Names.     (line  445)
40795 * USQmode:                               Machine Modes.      (line  132)
40796 * ussubM3 instruction pattern:           Standard Names.     (line  222)
40797 * usum_widenM3 instruction pattern:      Standard Names.     (line  275)
40798 * UTAmode:                               Machine Modes.      (line  172)
40799 * UTQmode:                               Machine Modes.      (line  140)
40800 * V in constraint:                       Simple Constraints. (line   41)
40801 * VA_ARG_EXPR:                           Expression trees.   (line    6)
40802 * values, returned by functions:         Scalar Return.      (line    6)
40803 * VAR_DECL <1>:                          Declarations.       (line    6)
40804 * VAR_DECL:                              Expression trees.   (line    6)
40805 * varargs implementation:                Varargs.            (line    6)
40806 * variable:                              Declarations.       (line    6)
40807 * VAX_FLOAT_FORMAT:                      Storage Layout.     (line  418)
40808 * vec_concat:                            Vector Operations.  (line   25)
40809 * vec_duplicate:                         Vector Operations.  (line   30)
40810 * VEC_EXTRACT_EVEN_EXPR:                 Expression trees.   (line    6)
40811 * vec_extract_evenM instruction pattern: Standard Names.     (line  176)
40812 * VEC_EXTRACT_ODD_EXPR:                  Expression trees.   (line    6)
40813 * vec_extract_oddM instruction pattern:  Standard Names.     (line  183)
40814 * vec_extractM instruction pattern:      Standard Names.     (line  171)
40815 * vec_initM instruction pattern:         Standard Names.     (line  204)
40816 * VEC_INTERLEAVE_HIGH_EXPR:              Expression trees.   (line    6)
40817 * vec_interleave_highM instruction pattern: Standard Names.  (line  190)
40818 * VEC_INTERLEAVE_LOW_EXPR:               Expression trees.   (line    6)
40819 * vec_interleave_lowM instruction pattern: Standard Names.   (line  197)
40820 * VEC_LSHIFT_EXPR:                       Expression trees.   (line    6)
40821 * vec_merge:                             Vector Operations.  (line   11)
40822 * VEC_PACK_FIX_TRUNC_EXPR:               Expression trees.   (line    6)
40823 * VEC_PACK_SAT_EXPR:                     Expression trees.   (line    6)
40824 * vec_pack_sfix_trunc_M instruction pattern: Standard Names. (line  302)
40825 * vec_pack_ssat_M instruction pattern:   Standard Names.     (line  295)
40826 * VEC_PACK_TRUNC_EXPR:                   Expression trees.   (line    6)
40827 * vec_pack_trunc_M instruction pattern:  Standard Names.     (line  288)
40828 * vec_pack_ufix_trunc_M instruction pattern: Standard Names. (line  302)
40829 * vec_pack_usat_M instruction pattern:   Standard Names.     (line  295)
40830 * VEC_RSHIFT_EXPR:                       Expression trees.   (line    6)
40831 * vec_select:                            Vector Operations.  (line   19)
40832 * vec_setM instruction pattern:          Standard Names.     (line  166)
40833 * vec_shl_M instruction pattern:         Standard Names.     (line  282)
40834 * vec_shr_M instruction pattern:         Standard Names.     (line  282)
40835 * VEC_UNPACK_FLOAT_HI_EXPR:              Expression trees.   (line    6)
40836 * VEC_UNPACK_FLOAT_LO_EXPR:              Expression trees.   (line    6)
40837 * VEC_UNPACK_HI_EXPR:                    Expression trees.   (line    6)
40838 * VEC_UNPACK_LO_EXPR:                    Expression trees.   (line    6)
40839 * vec_unpacks_float_hi_M instruction pattern: Standard Names.
40840                                                              (line  324)
40841 * vec_unpacks_float_lo_M instruction pattern: Standard Names.
40842                                                              (line  324)
40843 * vec_unpacks_hi_M instruction pattern:  Standard Names.     (line  309)
40844 * vec_unpacks_lo_M instruction pattern:  Standard Names.     (line  309)
40845 * vec_unpacku_float_hi_M instruction pattern: Standard Names.
40846                                                              (line  324)
40847 * vec_unpacku_float_lo_M instruction pattern: Standard Names.
40848                                                              (line  324)
40849 * vec_unpacku_hi_M instruction pattern:  Standard Names.     (line  317)
40850 * vec_unpacku_lo_M instruction pattern:  Standard Names.     (line  317)
40851 * VEC_WIDEN_MULT_HI_EXPR:                Expression trees.   (line    6)
40852 * VEC_WIDEN_MULT_LO_EXPR:                Expression trees.   (line    6)
40853 * vec_widen_smult_hi_M instruction pattern: Standard Names.  (line  333)
40854 * vec_widen_smult_lo_M instruction pattern: Standard Names.  (line  333)
40855 * vec_widen_umult_hi_M instruction pattern: Standard Names.  (line  333)
40856 * vec_widen_umult_lo__M instruction pattern: Standard Names. (line  333)
40857 * vector:                                Containers.         (line    6)
40858 * vector operations:                     Vector Operations.  (line    6)
40859 * VECTOR_CST:                            Expression trees.   (line    6)
40860 * VECTOR_STORE_FLAG_VALUE:               Misc.               (line  308)
40861 * virtual operands:                      Statement Operands. (line    6)
40862 * VIRTUAL_INCOMING_ARGS_REGNUM:          Regs and Memory.    (line   59)
40863 * VIRTUAL_OUTGOING_ARGS_REGNUM:          Regs and Memory.    (line   87)
40864 * VIRTUAL_STACK_DYNAMIC_REGNUM:          Regs and Memory.    (line   78)
40865 * VIRTUAL_STACK_VARS_REGNUM:             Regs and Memory.    (line   69)
40866 * VLIW:                                  Processor pipeline description.
40867                                                              (line  215)
40868 * VMS:                                   Filesystem.         (line   37)
40869 * VMS_DEBUGGING_INFO:                    VMS Debug.          (line    9)
40870 * VOID_TYPE:                             Types.              (line    6)
40871 * VOIDmode:                              Machine Modes.      (line  190)
40872 * volatil:                               Flags.              (line  331)
40873 * volatil, in insn, call_insn, jump_insn, code_label, barrier, and note: Flags.
40874                                                              (line   29)
40875 * volatil, in label_ref and reg_label:   Flags.              (line   50)
40876 * volatil, in mem, asm_operands, and asm_input: Flags.       (line   79)
40877 * volatil, in reg:                       Flags.              (line  101)
40878 * volatil, in subreg:                    Flags.              (line  173)
40879 * volatil, in symbol_ref:                Flags.              (line  209)
40880 * volatile memory references:            Flags.              (line  332)
40881 * voting between constraint alternatives: Class Preferences. (line    6)
40882 * walk_dominator_tree:                   SSA.                (line  259)
40883 * walk_use_def_chains:                   SSA.                (line  235)
40884 * WCHAR_TYPE:                            Type Layout.        (line  192)
40885 * WCHAR_TYPE_SIZE:                       Type Layout.        (line  200)
40886 * which_alternative:                     Output Statement.   (line   59)
40887 * WHILE_BODY:                            Function Bodies.    (line    6)
40888 * WHILE_COND:                            Function Bodies.    (line    6)
40889 * WHILE_STMT:                            Function Bodies.    (line    6)
40890 * WIDEST_HARDWARE_FP_SIZE:               Type Layout.        (line  147)
40891 * WINT_TYPE:                             Type Layout.        (line  205)
40892 * word_mode:                             Machine Modes.      (line  336)
40893 * WORD_REGISTER_OPERATIONS:              Misc.               (line   63)
40894 * WORD_SWITCH_TAKES_ARG:                 Driver.             (line   20)
40895 * WORDS_BIG_ENDIAN:                      Storage Layout.     (line   29)
40896 * WORDS_BIG_ENDIAN, effect on subreg:    Regs and Memory.    (line  132)
40897 * X in constraint:                       Simple Constraints. (line  112)
40898 * x-HOST:                                Host Fragment.      (line    6)
40899 * XCmode:                                Machine Modes.      (line  197)
40900 * XCOFF_DEBUGGING_INFO:                  DBX Options.        (line   13)
40901 * XEXP:                                  Accessors.          (line    6)
40902 * XF_SIZE:                               Type Layout.        (line  131)
40903 * XFmode:                                Machine Modes.      (line   79)
40904 * XINT:                                  Accessors.          (line    6)
40905 * xm-MACHINE.h <1>:                      Filesystem.         (line    6)
40906 * xm-MACHINE.h:                          Host Misc.          (line    6)
40907 * xor:                                   Arithmetic.         (line  163)
40908 * xor, canonicalization of:              Insn Canonicalizations.
40909                                                              (line   84)
40910 * xorM3 instruction pattern:             Standard Names.     (line  222)
40911 * XSTR:                                  Accessors.          (line    6)
40912 * XVEC:                                  Accessors.          (line   41)
40913 * XVECEXP:                               Accessors.          (line   48)
40914 * XVECLEN:                               Accessors.          (line   44)
40915 * XWINT:                                 Accessors.          (line    6)
40916 * zero_extend:                           Conversions.        (line   28)
40917 * zero_extendMN2 instruction pattern:    Standard Names.     (line  825)
40918 * zero_extract:                          Bit-Fields.         (line   30)
40919 * zero_extract, canonicalization of:     Insn Canonicalizations.
40920                                                              (line   96)
40923 \x1f
40924 Tag Table:
40925 Node: Top\x7f2081
40926 Node: Contributing\x7f4993
40927 Node: Portability\x7f5734
40928 Node: Interface\x7f7522
40929 Node: Libgcc\x7f10562
40930 Node: Integer library routines\x7f12403
40931 Node: Soft float library routines\x7f19242
40932 Node: Decimal float library routines\x7f31179
40933 Node: Fixed-point fractional library routines\x7f46932
40934 Node: Exception handling routines\x7f147330
40935 Node: Miscellaneous routines\x7f148437
40936 Node: Languages\x7f148820
40937 Node: Source Tree\x7f150367
40938 Node: Configure Terms\x7f150986
40939 Node: Top Level\x7f153944
40940 Node: gcc Directory\x7f156292
40941 Node: Subdirectories\x7f157261
40942 Node: Configuration\x7f159599
40943 Node: Config Fragments\x7f160319
40944 Node: System Config\x7f161663
40945 Node: Configuration Files\x7f162599
40946 Node: Build\x7f165174
40947 Node: Makefile\x7f165586
40948 Ref: Makefile-Footnote-1\x7f172304
40949 Ref: Makefile-Footnote-2\x7f172453
40950 Node: Library Files\x7f172527
40951 Node: Headers\x7f173089
40952 Node: Documentation\x7f175172
40953 Node: Texinfo Manuals\x7f176031
40954 Node: Man Page Generation\x7f178369
40955 Node: Miscellaneous Docs\x7f180284
40956 Node: Front End\x7f181583
40957 Node: Front End Directory\x7f185284
40958 Node: Front End Config\x7f190277
40959 Node: Back End\x7f193191
40960 Node: Testsuites\x7f196868
40961 Node: Test Idioms\x7f197732
40962 Node: Test Directives\x7f201133
40963 Node: Ada Tests\x7f212940
40964 Node: C Tests\x7f214232
40965 Node: libgcj Tests\x7f218587
40966 Node: gcov Testing\x7f219719
40967 Node: profopt Testing\x7f222703
40968 Node: compat Testing\x7f224146
40969 Node: Torture Tests\x7f228390
40970 Node: Options\x7f229782
40971 Node: Option file format\x7f230223
40972 Node: Option properties\x7f232773
40973 Node: Passes\x7f238432
40974 Node: Parsing pass\x7f239167
40975 Node: Gimplification pass\x7f242695
40976 Node: Pass manager\x7f244522
40977 Node: Tree-SSA passes\x7f245851
40978 Node: RTL passes\x7f267667
40979 Node: Trees\x7f279509
40980 Node: Deficiencies\x7f282235
40981 Node: Tree overview\x7f282472
40982 Node: Macros and Functions\x7f286595
40983 Node: Identifiers\x7f286741
40984 Node: Containers\x7f288266
40985 Node: Types\x7f289421
40986 Node: Scopes\x7f305124
40987 Node: Namespaces\x7f305886
40988 Node: Classes\x7f308698
40989 Node: Declarations\x7f313455
40990 Node: Working with declarations\x7f313950
40991 Node: Internal structure\x7f320407
40992 Node: Current structure hierarchy\x7f320789
40993 Node: Adding new DECL node types\x7f322881
40994 Node: Functions\x7f326952
40995 Node: Function Basics\x7f329355
40996 Node: Function Bodies\x7f336520
40997 Node: Attributes\x7f347762
40998 Node: Expression trees\x7f349003
40999 Node: Tree SSA\x7f391612
41000 Node: GENERIC\x7f393489
41001 Node: GIMPLE\x7f395099
41002 Node: Interfaces\x7f396390
41003 Node: Temporaries\x7f398543
41004 Ref: Temporaries-Footnote-1\x7f399863
41005 Node: GIMPLE Expressions\x7f399926
41006 Node: Compound Expressions\x7f400698
41007 Node: Compound Lvalues\x7f400946
41008 Node: Conditional Expressions\x7f401726
41009 Node: Logical Operators\x7f402403
41010 Node: Statements\x7f402896
41011 Node: Blocks\x7f403604
41012 Node: Statement Sequences\x7f405021
41013 Node: Empty Statements\x7f405358
41014 Node: Loops\x7f405936
41015 Node: Selection Statements\x7f406180
41016 Node: Jumps\x7f407033
41017 Node: Cleanups\x7f407694
41018 Node: GIMPLE Exception Handling\x7f409485
41019 Node: GIMPLE Example\x7f411364
41020 Node: Rough GIMPLE Grammar\x7f412775
41021 Node: Annotations\x7f418124
41022 Node: Statement Operands\x7f418790
41023 Node: SSA\x7f433351
41024 Node: Alias analysis\x7f445739
41025 Node: Loop Analysis and Representation\x7f453198
41026 Node: Loop representation\x7f454248
41027 Node: Loop querying\x7f461168
41028 Node: Loop manipulation\x7f464001
41029 Node: LCSSA\x7f466369
41030 Node: Scalar evolutions\x7f468441
41031 Node: loop-iv\x7f471685
41032 Node: Number of iterations\x7f473611
41033 Node: Dependency analysis\x7f476420
41034 Node: Lambda\x7f482788
41035 Node: Omega\x7f484458
41036 Node: RTL\x7f486023
41037 Node: RTL Objects\x7f488127
41038 Node: RTL Classes\x7f492001
41039 Node: Accessors\x7f496953
41040 Node: Special Accessors\x7f499347
41041 Node: Flags\x7f504565
41042 Node: Machine Modes\x7f519801
41043 Node: Constants\x7f532117
41044 Node: Regs and Memory\x7f538762
41045 Node: Arithmetic\x7f552304
41046 Node: Comparisons\x7f561824
41047 Node: Bit-Fields\x7f566116
41048 Node: Vector Operations\x7f567668
41049 Node: Conversions\x7f569294
41050 Node: RTL Declarations\x7f573804
41051 Node: Side Effects\x7f574625
41052 Node: Incdec\x7f590741
41053 Node: Assembler\x7f594081
41054 Node: Insns\x7f595613
41055 Node: Calls\x7f621543
41056 Node: Sharing\x7f624136
41057 Node: Reading RTL\x7f627246
41058 Node: Control Flow\x7f628236
41059 Node: Basic Blocks\x7f629207
41060 Node: Edges\x7f633775
41061 Node: Profile information\x7f642337
41062 Node: Maintaining the CFG\x7f647023
41063 Node: Liveness information\x7f653915
41064 Node: Machine Desc\x7f656042
41065 Node: Overview\x7f658524
41066 Node: Patterns\x7f660565
41067 Node: Example\x7f664003
41068 Node: RTL Template\x7f665438
41069 Node: Output Template\x7f676093
41070 Node: Output Statement\x7f680059
41071 Node: Predicates\x7f684021
41072 Node: Machine-Independent Predicates\x7f686939
41073 Node: Defining Predicates\x7f691571
41074 Node: Constraints\x7f697536
41075 Node: Simple Constraints\x7f698697
41076 Node: Multi-Alternative\x7f710759
41077 Node: Class Preferences\x7f713600
41078 Node: Modifiers\x7f714492
41079 Node: Machine Constraints\x7f718618
41080 Node: Define Constraints\x7f750764
41081 Node: C Constraint Interface\x7f757544
41082 Node: Standard Names\x7f761164
41083 Ref: shift patterns\x7f780092
41084 Ref: prologue instruction pattern\x7f820741
41085 Ref: epilogue instruction pattern\x7f821234
41086 Node: Pattern Ordering\x7f830777
41087 Node: Dependent Patterns\x7f832013
41088 Node: Jump Patterns\x7f834827
41089 Node: Looping Patterns\x7f840523
41090 Node: Insn Canonicalizations\x7f845125
41091 Node: Expander Definitions\x7f849509
41092 Node: Insn Splitting\x7f857627
41093 Node: Including Patterns\x7f867223
41094 Node: Peephole Definitions\x7f869003
41095 Node: define_peephole\x7f870256
41096 Node: define_peephole2\x7f876587
41097 Node: Insn Attributes\x7f879654
41098 Node: Defining Attributes\x7f880760
41099 Node: Expressions\x7f882777
41100 Node: Tagging Insns\x7f889379
41101 Node: Attr Example\x7f893732
41102 Node: Insn Lengths\x7f896106
41103 Node: Constant Attributes\x7f899165
41104 Node: Delay Slots\x7f900334
41105 Node: Processor pipeline description\x7f903558
41106 Ref: Processor pipeline description-Footnote-1\x7f920924
41107 Node: Conditional Execution\x7f921254
41108 Node: Constant Definitions\x7f924107
41109 Node: Iterators\x7f925702
41110 Node: Mode Iterators\x7f926149
41111 Node: Defining Mode Iterators\x7f927111
41112 Node: Substitutions\x7f928605
41113 Node: Examples\x7f930846
41114 Node: Code Iterators\x7f932294
41115 Node: Target Macros\x7f934551
41116 Node: Target Structure\x7f937503
41117 Node: Driver\x7f938772
41118 Node: Run-time Target\x7f962453
41119 Node: Per-Function Data\x7f969657
41120 Node: Storage Layout\x7f972420
41121 Node: Type Layout\x7f999041
41122 Node: Registers\x7f1011998
41123 Node: Register Basics\x7f1012921
41124 Node: Allocation Order\x7f1018488
41125 Node: Values in Registers\x7f1019933
41126 Node: Leaf Functions\x7f1027038
41127 Node: Stack Registers\x7f1029896
41128 Node: Register Classes\x7f1031012
41129 Node: Old Constraints\x7f1056587
41130 Node: Stack and Calling\x7f1063739
41131 Node: Frame Layout\x7f1064273
41132 Node: Exception Handling\x7f1075120
41133 Node: Stack Checking\x7f1081498
41134 Node: Frame Registers\x7f1085129
41135 Node: Elimination\x7f1091735
41136 Node: Stack Arguments\x7f1095766
41137 Node: Register Arguments\x7f1102367
41138 Node: Scalar Return\x7f1116596
41139 Node: Aggregate Return\x7f1121881
41140 Node: Caller Saves\x7f1125540
41141 Node: Function Entry\x7f1126718
41142 Node: Profiling\x7f1139333
41143 Node: Tail Calls\x7f1141032
41144 Node: Stack Smashing Protection\x7f1142399
41145 Node: Varargs\x7f1143511
41146 Node: Trampolines\x7f1151471
41147 Node: Library Calls\x7f1158137
41148 Node: Addressing Modes\x7f1163000
41149 Node: Anchored Addresses\x7f1178258
41150 Node: Condition Code\x7f1180919
41151 Node: Costs\x7f1189208
41152 Node: Scheduling\x7f1201931
41153 Node: Sections\x7f1218678
41154 Node: PIC\x7f1233328
41155 Node: Assembler Format\x7f1235318
41156 Node: File Framework\x7f1236397
41157 Ref: TARGET_HAVE_SWITCHABLE_BSS_SECTIONS\x7f1241303
41158 Node: Data Output\x7f1244570
41159 Node: Uninitialized Data\x7f1252329
41160 Node: Label Output\x7f1257400
41161 Node: Initialization\x7f1279067
41162 Node: Macros for Initialization\x7f1285029
41163 Node: Instruction Output\x7f1291481
41164 Node: Dispatch Tables\x7f1300475
41165 Node: Exception Region Output\x7f1304270
41166 Node: Alignment Output\x7f1310030
41167 Node: Debugging Info\x7f1314193
41168 Node: All Debuggers\x7f1314863
41169 Node: DBX Options\x7f1317718
41170 Node: DBX Hooks\x7f1323167
41171 Node: File Names and DBX\x7f1325093
41172 Node: SDB and DWARF\x7f1327204
41173 Node: VMS Debug\x7f1331196
41174 Node: Floating Point\x7f1331766
41175 Node: Mode Switching\x7f1336589
41176 Node: Target Attributes\x7f1340515
41177 Node: MIPS Coprocessors\x7f1345257
41178 Node: PCH Target\x7f1346831
41179 Node: C++ ABI\x7f1348352
41180 Node: Misc\x7f1352971
41181 Ref: TARGET_SHIFT_TRUNCATION_MASK\x7f1360342
41182 Node: Host Config\x7f1399556
41183 Node: Host Common\x7f1400616
41184 Node: Filesystem\x7f1402995
41185 Node: Host Misc\x7f1407110
41186 Node: Fragments\x7f1409249
41187 Node: Target Fragment\x7f1410444
41188 Node: Host Fragment\x7f1416110
41189 Node: Collect2\x7f1417552
41190 Node: Header Dirs\x7f1420095
41191 Node: Type Information\x7f1421518
41192 Node: GTY Options\x7f1423706
41193 Node: GGC Roots\x7f1434379
41194 Node: Files\x7f1435099
41195 Node: Funding\x7f1437459
41196 Node: GNU Project\x7f1439955
41197 Node: Copying\x7f1440604
41198 Node: GNU Free Documentation License\x7f1478135
41199 Node: Contributors\x7f1500544
41200 Node: Option Index\x7f1536742
41201 Node: Concept Index\x7f1537327
41202 \x1f
41203 End Tag Table