home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Source / GNU / gcc / gcc.info-19 (.txt) < prev    next >
GNU Info File  |  1995-11-26  |  50KB  |  931 lines

  1. This is Info file gcc.info, produced by Makeinfo-1.55 from the input
  2. file gcc.texi.
  3.    This file documents the use and the internals of the GNU compiler.
  4.    Published by the Free Software Foundation 59 Temple Place - Suite 330
  5. Boston, MA 02111-1307 USA
  6.    Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995 Free Software
  7. Foundation, Inc.
  8.    Permission is granted to make and distribute verbatim copies of this
  9. manual provided the copyright notice and this permission notice are
  10. preserved on all copies.
  11.    Permission is granted to copy and distribute modified versions of
  12. this manual under the conditions for verbatim copying, provided also
  13. that the sections entitled "GNU General Public License," "Funding for
  14. Free Software," and "Protect Your Freedom--Fight `Look And Feel'" are
  15. included exactly as in the original, and provided that the entire
  16. resulting derived work is distributed under the terms of a permission
  17. notice identical to this one.
  18.    Permission is granted to copy and distribute translations of this
  19. manual into another language, under the above conditions for modified
  20. versions, except that the sections entitled "GNU General Public
  21. License," "Funding for Free Software," and "Protect Your Freedom--Fight
  22. `Look And Feel'", and this permission notice, may be included in
  23. translations approved by the Free Software Foundation instead of in the
  24. original English.
  25. File: gcc.info,  Node: Driver,  Next: Run-time Target,  Up: Target Macros
  26. Controlling the Compilation Driver, `gcc'
  27. =========================================
  28.    You can control the compilation driver.
  29. `SWITCH_TAKES_ARG (CHAR)'
  30.      A C expression which determines whether the option `-CHAR' takes
  31.      arguments.  The value should be the number of arguments that
  32.      option takes-zero, for many options.
  33.      By default, this macro is defined to handle the standard options
  34.      properly.  You need not define it unless you wish to add additional
  35.      options which take arguments.
  36. `WORD_SWITCH_TAKES_ARG (NAME)'
  37.      A C expression which determines whether the option `-NAME' takes
  38.      arguments.  The value should be the number of arguments that
  39.      option takes-zero, for many options.  This macro rather than
  40.      `SWITCH_TAKES_ARG' is used for multi-character option names.
  41.      By default, this macro is defined as
  42.      `DEFAULT_WORD_SWITCH_TAKES_ARG', which handles the standard options
  43.      properly.  You need not define `WORD_SWITCH_TAKES_ARG' unless you
  44.      wish to add additional options which take arguments.  Any
  45.      redefinition should call `DEFAULT_WORD_SWITCH_TAKES_ARG' and then
  46.      check for additional options.
  47. `SWITCHES_NEED_SPACES'
  48.      A string-valued C expression which is nonempty if the linker needs
  49.      a space between the `-L' or `-o' option and its argument.
  50.      If this macro is not defined, the default value is 0.
  51. `CPP_SPEC'
  52.      A C string constant that tells the GNU CC driver program options to
  53.      pass to CPP.  It can also specify how to translate options you
  54.      give to GNU CC into options for GNU CC to pass to the CPP.
  55.      Do not define this macro if it does not need to do anything.
  56. `NO_BUILTIN_SIZE_TYPE'
  57.      If this macro is defined, the preprocessor will not define the
  58.      builtin macro `__SIZE_TYPE__'.  The macro `__SIZE_TYPE__' must
  59.      then be defined by `CPP_SPEC' instead.
  60.      This should be defined if `SIZE_TYPE' depends on target dependent
  61.      flags which are not accessible to the preprocessor.  Otherwise, it
  62.      should not be defined.
  63. `NO_BUILTIN_PTRDIFF_TYPE'
  64.      If this macro is defined, the preprocessor will not define the
  65.      builtin macro `__PTRDIFF_TYPE__'.  The macro `__PTRDIFF_TYPE__'
  66.      must then be defined by `CPP_SPEC' instead.
  67.      This should be defined if `PTRDIFF_TYPE' depends on target
  68.      dependent flags which are not accessible to the preprocessor.
  69.      Otherwise, it should not be defined.
  70. `SIGNED_CHAR_SPEC'
  71.      A C string constant that tells the GNU CC driver program options to
  72.      pass to CPP.  By default, this macro is defined to pass the option
  73.      `-D__CHAR_UNSIGNED__' to CPP if `char' will be treated as
  74.      `unsigned char' by `cc1'.
  75.      Do not define this macro unless you need to override the default
  76.      definition.
  77. `CC1_SPEC'
  78.      A C string constant that tells the GNU CC driver program options to
  79.      pass to `cc1'.  It can also specify how to translate options you
  80.      give to GNU CC into options for GNU CC to pass to the `cc1'.
  81.      Do not define this macro if it does not need to do anything.
  82. `CC1PLUS_SPEC'
  83.      A C string constant that tells the GNU CC driver program options to
  84.      pass to `cc1plus'.  It can also specify how to translate options
  85.      you give to GNU CC into options for GNU CC to pass to the
  86.      `cc1plus'.
  87.      Do not define this macro if it does not need to do anything.
  88. `ASM_SPEC'
  89.      A C string constant that tells the GNU CC driver program options to
  90.      pass to the assembler.  It can also specify how to translate
  91.      options you give to GNU CC into options for GNU CC to pass to the
  92.      assembler.  See the file `sun3.h' for an example of this.
  93.      Do not define this macro if it does not need to do anything.
  94. `ASM_FINAL_SPEC'
  95.      A C string constant that tells the GNU CC driver program how to
  96.      run any programs which cleanup after the normal assembler.
  97.      Normally, this is not needed.  See the file `mips.h' for an
  98.      example of this.
  99.      Do not define this macro if it does not need to do anything.
  100. `LINK_SPEC'
  101.      A C string constant that tells the GNU CC driver program options to
  102.      pass to the linker.  It can also specify how to translate options
  103.      you give to GNU CC into options for GNU CC to pass to the linker.
  104.      Do not define this macro if it does not need to do anything.
  105. `LIB_SPEC'
  106.      Another C string constant used much like `LINK_SPEC'.  The
  107.      difference between the two is that `LIB_SPEC' is used at the end
  108.      of the command given to the linker.
  109.      If this macro is not defined, a default is provided that loads the
  110.      standard C library from the usual place.  See `gcc.c'.
  111. `LIBGCC_SPEC'
  112.      Another C string constant that tells the GNU CC driver program how
  113.      and when to place a reference to `libgcc.a' into the linker
  114.      command line.  This constant is placed both before and after the
  115.      value of `LIB_SPEC'.
  116.      If this macro is not defined, the GNU CC driver provides a default
  117.      that passes the string `-lgcc' to the linker unless the `-shared'
  118.      option is specified.
  119. `STARTFILE_SPEC'
  120.      Another C string constant used much like `LINK_SPEC'.  The
  121.      difference between the two is that `STARTFILE_SPEC' is used at the
  122.      very beginning of the command given to the linker.
  123.      If this macro is not defined, a default is provided that loads the
  124.      standard C startup file from the usual place.  See `gcc.c'.
  125. `ENDFILE_SPEC'
  126.      Another C string constant used much like `LINK_SPEC'.  The
  127.      difference between the two is that `ENDFILE_SPEC' is used at the
  128.      very end of the command given to the linker.
  129.      Do not define this macro if it does not need to do anything.
  130. `LINK_LIBGCC_SPECIAL'
  131.      Define this macro if the driver program should find the library
  132.      `libgcc.a' itself and should not pass `-L' options to the linker.
  133.      If you do not define this macro, the driver program will pass the
  134.      argument `-lgcc' to tell the linker to do the search and will pass
  135.      `-L' options to it.
  136. `LINK_LIBGCC_SPECIAL_1'
  137.      Define this macro if the driver program should find the library
  138.      `libgcc.a'.  If you do not define this macro, the driver program
  139.      will pass the argument `-lgcc' to tell the linker to do the search.
  140.      This macro is similar to `LINK_LIBGCC_SPECIAL', except that it does
  141.      not affect `-L' options.
  142. `MULTILIB_DEFAULTS'
  143.      Define this macro as a C expression for the initializer of an
  144.      array of string to tell the driver program which options are
  145.      defaults for this target and thus do not need to be handled
  146.      specially when using `MULTILIB_OPTIONS'.
  147.      Do not define this macro if `MULTILIB_OPTIONS' is not defined in
  148.      the target makefile fragment or if none of the options listed in
  149.      `MULTILIB_OPTIONS' are set by default.  *Note Target Fragment::.
  150. `RELATIVE_PREFIX_NOT_LINKDIR'
  151.      Define this macro to tell `gcc' that it should only translate a
  152.      `-B' prefix into a `-L' linker option if the prefix indicates an
  153.      absolute file name.
  154. `STANDARD_EXEC_PREFIX'
  155.      Define this macro as a C string constant if you wish to override
  156.      the standard choice of `/usr/local/lib/gcc-lib/' as the default
  157.      prefix to try when searching for the executable files of the
  158.      compiler.
  159. `MD_EXEC_PREFIX'
  160.      If defined, this macro is an additional prefix to try after
  161.      `STANDARD_EXEC_PREFIX'.  `MD_EXEC_PREFIX' is not searched when the
  162.      `-b' option is used, or the compiler is built as a cross compiler.
  163. `STANDARD_STARTFILE_PREFIX'
  164.      Define this macro as a C string constant if you wish to override
  165.      the standard choice of `/usr/local/lib/' as the default prefix to
  166.      try when searching for startup files such as `crt0.o'.
  167. `MD_STARTFILE_PREFIX'
  168.      If defined, this macro supplies an additional prefix to try after
  169.      the standard prefixes.  `MD_EXEC_PREFIX' is not searched when the
  170.      `-b' option is used, or when the compiler is built as a cross
  171.      compiler.
  172. `MD_STARTFILE_PREFIX_1'
  173.      If defined, this macro supplies yet another prefix to try after the
  174.      standard prefixes.  It is not searched when the `-b' option is
  175.      used, or when the compiler is built as a cross compiler.
  176. `INIT_ENVIRONMENT'
  177.      Define this macro as a C string constant if you with to set
  178.      environment variables for programs called by the driver, such as
  179.      the assembler and loader.  The driver passes the value of this
  180.      macro to `putenv' to initialize the necessary environment
  181.      variables.
  182. `LOCAL_INCLUDE_DIR'
  183.      Define this macro as a C string constant if you wish to override
  184.      the standard choice of `/usr/local/include' as the default prefix
  185.      to try when searching for local header files.  `LOCAL_INCLUDE_DIR'
  186.      comes before `SYSTEM_INCLUDE_DIR' in the search order.
  187.      Cross compilers do not use this macro and do not search either
  188.      `/usr/local/include' or its replacement.
  189. `SYSTEM_INCLUDE_DIR'
  190.      Define this macro as a C string constant if you wish to specify a
  191.      system-specific directory to search for header files before the
  192.      standard directory.  `SYSTEM_INCLUDE_DIR' comes before
  193.      `STANDARD_INCLUDE_DIR' in the search order.
  194.      Cross compilers do not use this macro and do not search the
  195.      directory specified.
  196. `STANDARD_INCLUDE_DIR'
  197.      Define this macro as a C string constant if you wish to override
  198.      the standard choice of `/usr/include' as the default prefix to try
  199.      when searching for header files.
  200.      Cross compilers do not use this macro and do not search either
  201.      `/usr/include' or its replacement.
  202. `INCLUDE_DEFAULTS'
  203.      Define this macro if you wish to override the entire default
  204.      search path for include files.  The default search path includes
  205.      `GCC_INCLUDE_DIR', `LOCAL_INCLUDE_DIR', `SYSTEM_INCLUDE_DIR',
  206.      `GPLUSPLUS_INCLUDE_DIR', and `STANDARD_INCLUDE_DIR'.  In addition,
  207.      `GPLUSPLUS_INCLUDE_DIR' and `GCC_INCLUDE_DIR' are defined
  208.      automatically by `Makefile', and specify private search areas for
  209.      GCC.  The directory `GPLUSPLUS_INCLUDE_DIR' is used only for C++
  210.      programs.
  211.      The definition should be an initializer for an array of structures.
  212.      Each array element should have two elements: the directory name (a
  213.      string constant) and a flag for C++-only directories.  Mark the
  214.      end of the array with a null element.  For example, here is the
  215.      definition used for VMS:
  216.           #define INCLUDE_DEFAULTS \
  217.           {                                       \
  218.             { "GNU_GXX_INCLUDE:", 1},             \
  219.             { "GNU_CC_INCLUDE:", 0},              \
  220.             { "SYS$SYSROOT:[SYSLIB.]", 0},        \
  221.             { ".", 0},                            \
  222.             { 0, 0}                               \
  223.           }
  224.    Here is the order of prefixes tried for exec files:
  225.   1. Any prefixes specified by the user with `-B'.
  226.   2. The environment variable `GCC_EXEC_PREFIX', if any.
  227.   3. The directories specified by the environment variable
  228.      `COMPILER_PATH'.
  229.   4. The macro `STANDARD_EXEC_PREFIX'.
  230.   5. `/usr/lib/gcc/'.
  231.   6. The macro `MD_EXEC_PREFIX', if any.
  232.    Here is the order of prefixes tried for startfiles:
  233.   1. Any prefixes specified by the user with `-B'.
  234.   2. The environment variable `GCC_EXEC_PREFIX', if any.
  235.   3. The directories specified by the environment variable
  236.      `LIBRARY_PATH' (native only, cross compilers do not use this).
  237.   4. The macro `STANDARD_EXEC_PREFIX'.
  238.   5. `/usr/lib/gcc/'.
  239.   6. The macro `MD_EXEC_PREFIX', if any.
  240.   7. The macro `MD_STARTFILE_PREFIX', if any.
  241.   8. The macro `STANDARD_STARTFILE_PREFIX'.
  242.   9. `/lib/'.
  243.  10. `/usr/lib/'.
  244. File: gcc.info,  Node: Run-time Target,  Next: Storage Layout,  Prev: Driver,  Up: Target Macros
  245. Run-time Target Specification
  246. =============================
  247.    Here are run-time target specifications.
  248. `CPP_PREDEFINES'
  249.      Define this to be a string constant containing `-D' options to
  250.      define the predefined macros that identify this machine and system.
  251.      These macros will be predefined unless the `-ansi' option is
  252.      specified.
  253.      In addition, a parallel set of macros are predefined, whose names
  254.      are made by appending `__' at the beginning and at the end.  These
  255.      `__' macros are permitted by the ANSI standard, so they are
  256.      predefined regardless of whether `-ansi' is specified.
  257.      For example, on the Sun, one can use the following value:
  258.           "-Dmc68000 -Dsun -Dunix"
  259.      The result is to define the macros `__mc68000__', `__sun__' and
  260.      `__unix__' unconditionally, and the macros `mc68000', `sun' and
  261.      `unix' provided `-ansi' is not specified.
  262. `extern int target_flags;'
  263.      This declaration should be present.
  264. `TARGET_...'
  265.      This series of macros is to allow compiler command arguments to
  266.      enable or disable the use of optional features of the target
  267.      machine.  For example, one machine description serves both the
  268.      68000 and the 68020; a command argument tells the compiler whether
  269.      it should use 68020-only instructions or not.  This command
  270.      argument works by means of a macro `TARGET_68020' that tests a bit
  271.      in `target_flags'.
  272.      Define a macro `TARGET_FEATURENAME' for each such option.  Its
  273.      definition should test a bit in `target_flags'; for example:
  274.           #define TARGET_68020 (target_flags & 1)
  275.      One place where these macros are used is in the
  276.      condition-expressions of instruction patterns.  Note how
  277.      `TARGET_68020' appears frequently in the 68000 machine description
  278.      file, `m68k.md'.  Another place they are used is in the
  279.      definitions of the other macros in the `MACHINE.h' file.
  280. `TARGET_SWITCHES'
  281.      This macro defines names of command options to set and clear bits
  282.      in `target_flags'.  Its definition is an initializer with a
  283.      subgrouping for each command option.
  284.      Each subgrouping contains a string constant, that defines the
  285.      option name, and a number, which contains the bits to set in
  286.      `target_flags'.  A negative number says to clear bits instead; the
  287.      negative of the number is which bits to clear.  The actual option
  288.      name is made by appending `-m' to the specified name.
  289.      One of the subgroupings should have a null string.  The number in
  290.      this grouping is the default value for `target_flags'.  Any target
  291.      options act starting with that value.
  292.      Here is an example which defines `-m68000' and `-m68020' with
  293.      opposite meanings, and picks the latter as the default:
  294.           #define TARGET_SWITCHES \
  295.             { { "68020", 1},      \
  296.               { "68000", -1},     \
  297.               { "", 1}}
  298. `TARGET_OPTIONS'
  299.      This macro is similar to `TARGET_SWITCHES' but defines names of
  300.      command options that have values.  Its definition is an
  301.      initializer with a subgrouping for each command option.
  302.      Each subgrouping contains a string constant, that defines the
  303.      fixed part of the option name, and the address of a variable.  The
  304.      variable, type `char *', is set to the variable part of the given
  305.      option if the fixed part matches.  The actual option name is made
  306.      by appending `-m' to the specified name.
  307.      Here is an example which defines `-mshort-data-NUMBER'.  If the
  308.      given option is `-mshort-data-512', the variable `m88k_short_data'
  309.      will be set to the string `"512"'.
  310.           extern char *m88k_short_data;
  311.           #define TARGET_OPTIONS \
  312.            { { "short-data-", &m88k_short_data } }
  313. `TARGET_VERSION'
  314.      This macro is a C statement to print on `stderr' a string
  315.      describing the particular machine description choice.  Every
  316.      machine description should define `TARGET_VERSION'.  For example:
  317.           #ifdef MOTOROLA
  318.           #define TARGET_VERSION \
  319.             fprintf (stderr, " (68k, Motorola syntax)");
  320.           #else
  321.           #define TARGET_VERSION \
  322.             fprintf (stderr, " (68k, MIT syntax)");
  323.           #endif
  324. `OVERRIDE_OPTIONS'
  325.      Sometimes certain combinations of command options do not make
  326.      sense on a particular target machine.  You can define a macro
  327.      `OVERRIDE_OPTIONS' to take account of this.  This macro, if
  328.      defined, is executed once just after all the command options have
  329.      been parsed.
  330.      Don't use this macro to turn on various extra optimizations for
  331.      `-O'.  That is what `OPTIMIZATION_OPTIONS' is for.
  332. `OPTIMIZATION_OPTIONS (LEVEL)'
  333.      Some machines may desire to change what optimizations are
  334.      performed for various optimization levels.   This macro, if
  335.      defined, is executed once just after the optimization level is
  336.      determined and before the remainder of the command options have
  337.      been parsed.  Values set in this macro are used as the default
  338.      values for the other command line options.
  339.      LEVEL is the optimization level specified; 2 if `-O2' is
  340.      specified, 1 if `-O' is specified, and 0 if neither is specified.
  341.      You should not use this macro to change options that are not
  342.      machine-specific.  These should uniformly selected by the same
  343.      optimization level on all supported machines.  Use this macro to
  344.      enable machbine-specific optimizations.
  345.      *Do not examine `write_symbols' in this macro!* The debugging
  346.      options are not supposed to alter the generated code.
  347. `CAN_DEBUG_WITHOUT_FP'
  348.      Define this macro if debugging can be performed even without a
  349.      frame pointer.  If this macro is defined, GNU CC will turn on the
  350.      `-fomit-frame-pointer' option whenever `-O' is specified.
  351. File: gcc.info,  Node: Storage Layout,  Next: Type Layout,  Prev: Run-time Target,  Up: Target Macros
  352. Storage Layout
  353. ==============
  354.    Note that the definitions of the macros in this table which are
  355. sizes or alignments measured in bits do not need to be constant.  They
  356. can be C expressions that refer to static variables, such as the
  357. `target_flags'.  *Note Run-time Target::.
  358. `BITS_BIG_ENDIAN'
  359.      Define this macro to have the value 1 if the most significant bit
  360.      in a byte has the lowest number; otherwise define it to have the
  361.      value zero.  This means that bit-field instructions count from the
  362.      most significant bit.  If the machine has no bit-field
  363.      instructions, then this must still be defined, but it doesn't
  364.      matter which value it is defined to.  This macro need not be a
  365.      constant.
  366.      This macro does not affect the way structure fields are packed into
  367.      bytes or words; that is controlled by `BYTES_BIG_ENDIAN'.
  368. `BYTES_BIG_ENDIAN'
  369.      Define this macro to have the value 1 if the most significant byte
  370.      in a word has the lowest number.  This macro need not be a
  371.      constant.
  372. `WORDS_BIG_ENDIAN'
  373.      Define this macro to have the value 1 if, in a multiword object,
  374.      the most significant word has the lowest number.  This applies to
  375.      both memory locations and registers; GNU CC fundamentally assumes
  376.      that the order of words in memory is the same as the order in
  377.      registers.  This macro need not be a constant.
  378. `LIBGCC2_WORDS_BIG_ENDIAN'
  379.      Define this macro if WORDS_BIG_ENDIAN is not constant.  This must
  380.      be a constant value with the same meaning as WORDS_BIG_ENDIAN,
  381.      which will be used only when compiling libgcc2.c.  Typically the
  382.      value will be set based on preprocessor defines.
  383. `FLOAT_WORDS_BIG_ENDIAN'
  384.      Define this macro to have the value 1 if `DFmode', `XFmode' or
  385.      `TFmode' floating point numbers are stored in memory with the word
  386.      containing the sign bit at the lowest address; otherwise define it
  387.      to have the value 0.  This macro need not be a constant.
  388.      You need not define this macro if the ordering is the same as for
  389.      multi-word integers.
  390. `BITS_PER_UNIT'
  391.      Define this macro to be the number of bits in an addressable
  392.      storage unit (byte); normally 8.
  393. `BITS_PER_WORD'
  394.      Number of bits in a word; normally 32.
  395. `MAX_BITS_PER_WORD'
  396.      Maximum number of bits in a word.  If this is undefined, the
  397.      default is `BITS_PER_WORD'.  Otherwise, it is the constant value
  398.      that is the largest value that `BITS_PER_WORD' can have at
  399.      run-time.
  400. `UNITS_PER_WORD'
  401.      Number of storage units in a word; normally 4.
  402. `MIN_UNITS_PER_WORD'
  403.      Minimum number of units in a word.  If this is undefined, the
  404.      default is `UNITS_PER_WORD'.  Otherwise, it is the constant value
  405.      that is the smallest value that `UNITS_PER_WORD' can have at
  406.      run-time.
  407. `POINTER_SIZE'
  408.      Width of a pointer, in bits.  You must specify a value no wider
  409.      than the width of `Pmode'.  If it is not equal to the width of
  410.      `Pmode', you must define `POINTERS_EXTEND_UNSIGNED'.
  411. `POINTERS_EXTEND_UNSIGNED'
  412.      A C expression whose value is nonzero if pointers that need to be
  413.      extended from being `POINTER_SIZE' bits wide to `Pmode' are
  414.      sign-extended and zero if they are zero-extended.
  415.      You need not define this macro if the `POINTER_SIZE' is equal to
  416.      the width of `Pmode'.
  417. `PROMOTE_MODE (M, UNSIGNEDP, TYPE)'
  418.      A macro to update M and UNSIGNEDP when an object whose type is
  419.      TYPE and which has the specified mode and signedness is to be
  420.      stored in a register.  This macro is only called when TYPE is a
  421.      scalar type.
  422.      On most RISC machines, which only have operations that operate on
  423.      a full register, define this macro to set M to `word_mode' if M is
  424.      an integer mode narrower than `BITS_PER_WORD'.  In most cases,
  425.      only integer modes should be widened because wider-precision
  426.      floating-point operations are usually more expensive than their
  427.      narrower counterparts.
  428.      For most machines, the macro definition does not change UNSIGNEDP.
  429.      However, some machines, have instructions that preferentially
  430.      handle either signed or unsigned quantities of certain modes.  For
  431.      example, on the DEC Alpha, 32-bit loads from memory and 32-bit add
  432.      instructions sign-extend the result to 64 bits.  On such machines,
  433.      set UNSIGNEDP according to which kind of extension is more
  434.      efficient.
  435.      Do not define this macro if it would never modify M.
  436. `PROMOTE_FUNCTION_ARGS'
  437.      Define this macro if the promotion described by `PROMOTE_MODE'
  438.      should also be done for outgoing function arguments.
  439. `PROMOTE_FUNCTION_RETURN'
  440.      Define this macro if the promotion described by `PROMOTE_MODE'
  441.      should also be done for the return value of functions.
  442.      If this macro is defined, `FUNCTION_VALUE' must perform the same
  443.      promotions done by `PROMOTE_MODE'.
  444. `PROMOTE_FOR_CALL_ONLY'
  445.      Define this macro if the promotion described by `PROMOTE_MODE'
  446.      should *only* be performed for outgoing function arguments or
  447.      function return values, as specified by `PROMOTE_FUNCTION_ARGS'
  448.      and `PROMOTE_FUNCTION_RETURN', respectively.
  449. `PARM_BOUNDARY'
  450.      Normal alignment required for function parameters on the stack, in
  451.      bits.  All stack parameters receive at least this much alignment
  452.      regardless of data type.  On most machines, this is the same as the
  453.      size of an integer.
  454. `STACK_BOUNDARY'
  455.      Define this macro if you wish to preserve a certain alignment for
  456.      the stack pointer.  The definition is a C expression for the
  457.      desired alignment (measured in bits).
  458.      If `PUSH_ROUNDING' is not defined, the stack will always be aligned
  459.      to the specified boundary.  If `PUSH_ROUNDING' is defined and
  460.      specifies a less strict alignment than `STACK_BOUNDARY', the stack
  461.      may be momentarily unaligned while pushing arguments.
  462. `FUNCTION_BOUNDARY'
  463.      Alignment required for a function entry point, in bits.
  464. `BIGGEST_ALIGNMENT'
  465.      Biggest alignment that any data type can require on this machine,
  466.      in bits.
  467. `BIGGEST_FIELD_ALIGNMENT'
  468.      Biggest alignment that any structure field can require on this
  469.      machine, in bits.  If defined, this overrides `BIGGEST_ALIGNMENT'
  470.      for structure fields only.
  471. `MAX_OFILE_ALIGNMENT'
  472.      Biggest alignment supported by the object file format of this
  473.      machine.  Use this macro to limit the alignment which can be
  474.      specified using the `__attribute__ ((aligned (N)))' construct.  If
  475.      not defined, the default value is `BIGGEST_ALIGNMENT'.
  476. `DATA_ALIGNMENT (TYPE, BASIC-ALIGN)'
  477.      If defined, a C expression to compute the alignment for a static
  478.      variable.  TYPE is the data type, and BASIC-ALIGN is the alignment
  479.      that the object would ordinarily have.  The value of this macro is
  480.      used instead of that alignment to align the object.
  481.      If this macro is not defined, then BASIC-ALIGN is used.
  482.      One use of this macro is to increase alignment of medium-size data
  483.      to make it all fit in fewer cache lines.  Another is to cause
  484.      character arrays to be word-aligned so that `strcpy' calls that
  485.      copy constants to character arrays can be done inline.
  486. `CONSTANT_ALIGNMENT (CONSTANT, BASIC-ALIGN)'
  487.      If defined, a C expression to compute the alignment given to a
  488.      constant that is being placed in memory.  CONSTANT is the constant
  489.      and BASIC-ALIGN is the alignment that the object would ordinarily
  490.      have.  The value of this macro is used instead of that alignment to
  491.      align the object.
  492.      If this macro is not defined, then BASIC-ALIGN is used.
  493.      The typical use of this macro is to increase alignment for string
  494.      constants to be word aligned so that `strcpy' calls that copy
  495.      constants can be done inline.
  496. `EMPTY_FIELD_BOUNDARY'
  497.      Alignment in bits to be given to a structure bit field that
  498.      follows an empty field such as `int : 0;'.
  499.      Note that `PCC_BITFIELD_TYPE_MATTERS' also affects the alignment
  500.      that results from an empty field.
  501. `STRUCTURE_SIZE_BOUNDARY'
  502.      Number of bits which any structure or union's size must be a
  503.      multiple of.  Each structure or union's size is rounded up to a
  504.      multiple of this.
  505.      If you do not define this macro, the default is the same as
  506.      `BITS_PER_UNIT'.
  507. `STRICT_ALIGNMENT'
  508.      Define this macro to be the value 1 if instructions will fail to
  509.      work if given data not on the nominal alignment.  If instructions
  510.      will merely go slower in that case, define this macro as 0.
  511. `PCC_BITFIELD_TYPE_MATTERS'
  512.      Define this if you wish to imitate the way many other C compilers
  513.      handle alignment of bitfields and the structures that contain them.
  514.      The behavior is that the type written for a bitfield (`int',
  515.      `short', or other integer type) imposes an alignment for the
  516.      entire structure, as if the structure really did contain an
  517.      ordinary field of that type.  In addition, the bitfield is placed
  518.      within the structure so that it would fit within such a field, not
  519.      crossing a boundary for it.
  520.      Thus, on most machines, a bitfield whose type is written as `int'
  521.      would not cross a four-byte boundary, and would force four-byte
  522.      alignment for the whole structure.  (The alignment used may not be
  523.      four bytes; it is controlled by the other alignment parameters.)
  524.      If the macro is defined, its definition should be a C expression;
  525.      a nonzero value for the expression enables this behavior.
  526.      Note that if this macro is not defined, or its value is zero, some
  527.      bitfields may cross more than one alignment boundary.  The
  528.      compiler can support such references if there are `insv', `extv',
  529.      and `extzv' insns that can directly reference memory.
  530.      The other known way of making bitfields work is to define
  531.      `STRUCTURE_SIZE_BOUNDARY' as large as `BIGGEST_ALIGNMENT'.  Then
  532.      every structure can be accessed with fullwords.
  533.      Unless the machine has bitfield instructions or you define
  534.      `STRUCTURE_SIZE_BOUNDARY' that way, you must define
  535.      `PCC_BITFIELD_TYPE_MATTERS' to have a nonzero value.
  536.      If your aim is to make GNU CC use the same conventions for laying
  537.      out bitfields as are used by another compiler, here is how to
  538.      investigate what the other compiler does.  Compile and run this
  539.      program:
  540.           struct foo1
  541.           {
  542.             char x;
  543.             char :0;
  544.             char y;
  545.           };
  546.           
  547.           struct foo2
  548.           {
  549.             char x;
  550.             int :0;
  551.             char y;
  552.           };
  553.           
  554.           main ()
  555.           {
  556.             printf ("Size of foo1 is %d\n",
  557.                     sizeof (struct foo1));
  558.             printf ("Size of foo2 is %d\n",
  559.                     sizeof (struct foo2));
  560.             exit (0);
  561.           }
  562.      If this prints 2 and 5, then the compiler's behavior is what you
  563.      would get from `PCC_BITFIELD_TYPE_MATTERS'.
  564. `BITFIELD_NBYTES_LIMITED'
  565.      Like PCC_BITFIELD_TYPE_MATTERS except that its effect is limited to
  566.      aligning a bitfield within the structure.
  567. `ROUND_TYPE_SIZE (STRUCT, SIZE, ALIGN)'
  568.      Define this macro as an expression for the overall size of a
  569.      structure (given by STRUCT as a tree node) when the size computed
  570.      from the fields is SIZE and the alignment is ALIGN.
  571.      The default is to round SIZE up to a multiple of ALIGN.
  572. `ROUND_TYPE_ALIGN (STRUCT, COMPUTED, SPECIFIED)'
  573.      Define this macro as an expression for the alignment of a structure
  574.      (given by STRUCT as a tree node) if the alignment computed in the
  575.      usual way is COMPUTED and the alignment explicitly specified was
  576.      SPECIFIED.
  577.      The default is to use SPECIFIED if it is larger; otherwise, use
  578.      the smaller of COMPUTED and `BIGGEST_ALIGNMENT'
  579. `MAX_FIXED_MODE_SIZE'
  580.      An integer expression for the size in bits of the largest integer
  581.      machine mode that should actually be used.  All integer machine
  582.      modes of this size or smaller can be used for structures and
  583.      unions with the appropriate sizes.  If this macro is undefined,
  584.      `GET_MODE_BITSIZE (DImode)' is assumed.
  585. `CHECK_FLOAT_VALUE (MODE, VALUE, OVERFLOW)'
  586.      A C statement to validate the value VALUE (of type `double') for
  587.      mode MODE.  This means that you check whether VALUE fits within
  588.      the possible range of values for mode MODE on this target machine.
  589.      The mode MODE is always a mode of class `MODE_FLOAT'.  OVERFLOW
  590.      is nonzero if the value is already known to be out of range.
  591.      If VALUE is not valid or if OVERFLOW is nonzero, you should set
  592.      OVERFLOW to 1 and then assign some valid value to VALUE.  Allowing
  593.      an invalid value to go through the compiler can produce incorrect
  594.      assembler code which may even cause Unix assemblers to crash.
  595.      This macro need not be defined if there is no work for it to do.
  596. `TARGET_FLOAT_FORMAT'
  597.      A code distinguishing the floating point format of the target
  598.      machine.  There are three defined values:
  599.     `IEEE_FLOAT_FORMAT'
  600.           This code indicates IEEE floating point.  It is the default;
  601.           there is no need to define this macro when the format is IEEE.
  602.     `VAX_FLOAT_FORMAT'
  603.           This code indicates the peculiar format used on the Vax.
  604.     `UNKNOWN_FLOAT_FORMAT'
  605.           This code indicates any other format.
  606.      The value of this macro is compared with `HOST_FLOAT_FORMAT'
  607.      (*note Config::.) to determine whether the target machine has the
  608.      same format as the host machine.  If any other formats are
  609.      actually in use on supported machines, new codes should be defined
  610.      for them.
  611.      The ordering of the component words of floating point values
  612.      stored in memory is controlled by `FLOAT_WORDS_BIG_ENDIAN' for the
  613.      target machine and `HOST_FLOAT_WORDS_BIG_ENDIAN' for the host.
  614. File: gcc.info,  Node: Type Layout,  Next: Registers,  Prev: Storage Layout,  Up: Target Macros
  615. Layout of Source Language Data Types
  616. ====================================
  617.    These macros define the sizes and other characteristics of the
  618. standard basic data types used in programs being compiled.  Unlike the
  619. macros in the previous section, these apply to specific features of C
  620. and related languages, rather than to fundamental aspects of storage
  621. layout.
  622. `INT_TYPE_SIZE'
  623.      A C expression for the size in bits of the type `int' on the
  624.      target machine.  If you don't define this, the default is one word.
  625. `MAX_INT_TYPE_SIZE'
  626.      Maximum number for the size in bits of the type `int' on the target
  627.      machine.  If this is undefined, the default is `INT_TYPE_SIZE'.
  628.      Otherwise, it is the constant value that is the largest value that
  629.      `INT_TYPE_SIZE' can have at run-time.  This is used in `cpp'.
  630. `SHORT_TYPE_SIZE'
  631.      A C expression for the size in bits of the type `short' on the
  632.      target machine.  If you don't define this, the default is half a
  633.      word.  (If this would be less than one storage unit, it is rounded
  634.      up to one unit.)
  635. `LONG_TYPE_SIZE'
  636.      A C expression for the size in bits of the type `long' on the
  637.      target machine.  If you don't define this, the default is one word.
  638. `MAX_LONG_TYPE_SIZE'
  639.      Maximum number for the size in bits of the type `long' on the
  640.      target machine.  If this is undefined, the default is
  641.      `LONG_TYPE_SIZE'.  Otherwise, it is the constant value that is the
  642.      largest value that `LONG_TYPE_SIZE' can have at run-time.  This is
  643.      used in `cpp'.
  644. `LONG_LONG_TYPE_SIZE'
  645.      A C expression for the size in bits of the type `long long' on the
  646.      target machine.  If you don't define this, the default is two
  647.      words.  If you want to support GNU Ada on your machine, the value
  648.      of macro must be at least 64.
  649. `CHAR_TYPE_SIZE'
  650.      A C expression for the size in bits of the type `char' on the
  651.      target machine.  If you don't define this, the default is one
  652.      quarter of a word.  (If this would be less than one storage unit,
  653.      it is rounded up to one unit.)
  654. `MAX_CHAR_TYPE_SIZE'
  655.      Maximum number for the size in bits of the type `char' on the
  656.      target machine.  If this is undefined, the default is
  657.      `CHAR_TYPE_SIZE'.  Otherwise, it is the constant value that is the
  658.      largest value that `CHAR_TYPE_SIZE' can have at run-time.  This is
  659.      used in `cpp'.
  660. `FLOAT_TYPE_SIZE'
  661.      A C expression for the size in bits of the type `float' on the
  662.      target machine.  If you don't define this, the default is one word.
  663. `DOUBLE_TYPE_SIZE'
  664.      A C expression for the size in bits of the type `double' on the
  665.      target machine.  If you don't define this, the default is two
  666.      words.
  667. `LONG_DOUBLE_TYPE_SIZE'
  668.      A C expression for the size in bits of the type `long double' on
  669.      the target machine.  If you don't define this, the default is two
  670.      words.
  671. `DEFAULT_SIGNED_CHAR'
  672.      An expression whose value is 1 or 0, according to whether the type
  673.      `char' should be signed or unsigned by default.  The user can
  674.      always override this default with the options `-fsigned-char' and
  675.      `-funsigned-char'.
  676. `DEFAULT_SHORT_ENUMS'
  677.      A C expression to determine whether to give an `enum' type only as
  678.      many bytes as it takes to represent the range of possible values
  679.      of that type.  A nonzero value means to do that; a zero value
  680.      means all `enum' types should be allocated like `int'.
  681.      If you don't define the macro, the default is 0.
  682. `SIZE_TYPE'
  683.      A C expression for a string describing the name of the data type
  684.      to use for size values.  The typedef name `size_t' is defined
  685.      using the contents of the string.
  686.      The string can contain more than one keyword.  If so, separate
  687.      them with spaces, and write first any length keyword, then
  688.      `unsigned' if appropriate, and finally `int'.  The string must
  689.      exactly match one of the data type names defined in the function
  690.      `init_decl_processing' in the file `c-decl.c'.  You may not omit
  691.      `int' or change the order--that would cause the compiler to crash
  692.      on startup.
  693.      If you don't define this macro, the default is `"long unsigned
  694.      int"'.
  695. `PTRDIFF_TYPE'
  696.      A C expression for a string describing the name of the data type
  697.      to use for the result of subtracting two pointers.  The typedef
  698.      name `ptrdiff_t' is defined using the contents of the string.  See
  699.      `SIZE_TYPE' above for more information.
  700.      If you don't define this macro, the default is `"long int"'.
  701. `WCHAR_TYPE'
  702.      A C expression for a string describing the name of the data type
  703.      to use for wide characters.  The typedef name `wchar_t' is defined
  704.      using the contents of the string.  See `SIZE_TYPE' above for more
  705.      information.
  706.      If you don't define this macro, the default is `"int"'.
  707. `WCHAR_TYPE_SIZE'
  708.      A C expression for the size in bits of the data type for wide
  709.      characters.  This is used in `cpp', which cannot make use of
  710.      `WCHAR_TYPE'.
  711. `MAX_WCHAR_TYPE_SIZE'
  712.      Maximum number for the size in bits of the data type for wide
  713.      characters.  If this is undefined, the default is
  714.      `WCHAR_TYPE_SIZE'.  Otherwise, it is the constant value that is the
  715.      largest value that `WCHAR_TYPE_SIZE' can have at run-time.  This is
  716.      used in `cpp'.
  717. `OBJC_INT_SELECTORS'
  718.      Define this macro if the type of Objective C selectors should be
  719.      `int'.
  720.      If this macro is not defined, then selectors should have the type
  721.      `struct objc_selector *'.
  722. `OBJC_SELECTORS_WITHOUT_LABELS'
  723.      Define this macro if the compiler can group all the selectors
  724.      together into a vector and use just one label at the beginning of
  725.      the vector.  Otherwise, the compiler must give each selector its
  726.      own assembler label.
  727.      On certain machines, it is important to have a separate label for
  728.      each selector because this enables the linker to eliminate
  729.      duplicate selectors.
  730. `TARGET_BELL'
  731.      A C constant expression for the integer value for escape sequence
  732.      `\a'.
  733. `TARGET_BS'
  734. `TARGET_TAB'
  735. `TARGET_NEWLINE'
  736.      C constant expressions for the integer values for escape sequences
  737.      `\b', `\t' and `\n'.
  738. `TARGET_VT'
  739. `TARGET_FF'
  740. `TARGET_CR'
  741.      C constant expressions for the integer values for escape sequences
  742.      `\v', `\f' and `\r'.
  743. File: gcc.info,  Node: Registers,  Next: Register Classes,  Prev: Type Layout,  Up: Target Macros
  744. Register Usage
  745. ==============
  746.    This section explains how to describe what registers the target
  747. machine has, and how (in general) they can be used.
  748.    The description of which registers a specific instruction can use is
  749. done with register classes; see *Note Register Classes::.  For
  750. information on using registers to access a stack frame, see *Note Frame
  751. Registers::.  For passing values in registers, see *Note Register
  752. Arguments::.  For returning values in registers, see *Note Scalar
  753. Return::.
  754. * Menu:
  755. * Register Basics::        Number and kinds of registers.
  756. * Allocation Order::        Order in which registers are allocated.
  757. * Values in Registers::        What kinds of values each reg can hold.
  758. * Leaf Functions::        Renumbering registers for leaf functions.
  759. * Stack Registers::        Handling a register stack such as 80387.
  760. * Obsolete Register Macros::    Macros formerly used for the 80387.
  761. File: gcc.info,  Node: Register Basics,  Next: Allocation Order,  Up: Registers
  762. Basic Characteristics of Registers
  763. ----------------------------------
  764.    Registers have various characteristics.
  765. `FIRST_PSEUDO_REGISTER'
  766.      Number of hardware registers known to the compiler.  They receive
  767.      numbers 0 through `FIRST_PSEUDO_REGISTER-1'; thus, the first
  768.      pseudo register's number really is assigned the number
  769.      `FIRST_PSEUDO_REGISTER'.
  770. `FIXED_REGISTERS'
  771.      An initializer that says which registers are used for fixed
  772.      purposes all throughout the compiled code and are therefore not
  773.      available for general allocation.  These would include the stack
  774.      pointer, the frame pointer (except on machines where that can be
  775.      used as a general register when no frame pointer is needed), the
  776.      program counter on machines where that is considered one of the
  777.      addressable registers, and any other numbered register with a
  778.      standard use.
  779.      This information is expressed as a sequence of numbers, separated
  780.      by commas and surrounded by braces.  The Nth number is 1 if
  781.      register N is fixed, 0 otherwise.
  782.      The table initialized from this macro, and the table initialized by
  783.      the following one, may be overridden at run time either
  784.      automatically, by the actions of the macro
  785.      `CONDITIONAL_REGISTER_USAGE', or by the user with the command
  786.      options `-ffixed-REG', `-fcall-used-REG' and `-fcall-saved-REG'.
  787. `CALL_USED_REGISTERS'
  788.      Like `FIXED_REGISTERS' but has 1 for each register that is
  789.      clobbered (in general) by function calls as well as for fixed
  790.      registers.  This macro therefore identifies the registers that are
  791.      not available for general allocation of values that must live
  792.      across function calls.
  793.      If a register has 0 in `CALL_USED_REGISTERS', the compiler
  794.      automatically saves it on function entry and restores it on
  795.      function exit, if the register is used within the function.
  796. `CONDITIONAL_REGISTER_USAGE'
  797.      Zero or more C statements that may conditionally modify two
  798.      variables `fixed_regs' and `call_used_regs' (both of type `char
  799.      []') after they have been initialized from the two preceding
  800.      macros.
  801.      This is necessary in case the fixed or call-clobbered registers
  802.      depend on target flags.
  803.      You need not define this macro if it has no work to do.
  804.      If the usage of an entire class of registers depends on the target
  805.      flags, you may indicate this to GCC by using this macro to modify
  806.      `fixed_regs' and `call_used_regs' to 1 for each of the registers
  807.      in the classes which should not be used by GCC.  Also define the
  808.      macro `REG_CLASS_FROM_LETTER' to return `NO_REGS' if it is called
  809.      with a letter for a class that shouldn't be used.
  810.      (However, if this class is not included in `GENERAL_REGS' and all
  811.      of the insn patterns whose constraints permit this class are
  812.      controlled by target switches, then GCC will automatically avoid
  813.      using these registers when the target switches are opposed to
  814.      them.)
  815. `NON_SAVING_SETJMP'
  816.      If this macro is defined and has a nonzero value, it means that
  817.      `setjmp' and related functions fail to save the registers, or that
  818.      `longjmp' fails to restore them.  To compensate, the compiler
  819.      avoids putting variables in registers in functions that use
  820.      `setjmp'.
  821. `INCOMING_REGNO (OUT)'
  822.      Define this macro if the target machine has register windows.
  823.      This C expression returns the register number as seen by the
  824.      called function corresponding to the register number OUT as seen
  825.      by the calling function.  Return OUT if register number OUT is not
  826.      an outbound register.
  827. `OUTGOING_REGNO (IN)'
  828.      Define this macro if the target machine has register windows.
  829.      This C expression returns the register number as seen by the
  830.      calling function corresponding to the register number IN as seen
  831.      by the called function.  Return IN if register number IN is not an
  832.      inbound register.
  833. File: gcc.info,  Node: Allocation Order,  Next: Values in Registers,  Prev: Register Basics,  Up: Registers
  834. Order of Allocation of Registers
  835. --------------------------------
  836.    Registers are allocated in order.
  837. `REG_ALLOC_ORDER'
  838.      If defined, an initializer for a vector of integers, containing the
  839.      numbers of hard registers in the order in which GNU CC should
  840.      prefer to use them (from most preferred to least).
  841.      If this macro is not defined, registers are used lowest numbered
  842.      first (all else being equal).
  843.      One use of this macro is on machines where the highest numbered
  844.      registers must always be saved and the save-multiple-registers
  845.      instruction supports only sequences of consecutive registers.  On
  846.      such machines, define `REG_ALLOC_ORDER' to be an initializer that
  847.      lists the highest numbered allocatable register first.
  848. `ORDER_REGS_FOR_LOCAL_ALLOC'
  849.      A C statement (sans semicolon) to choose the order in which to
  850.      allocate hard registers for pseudo-registers local to a basic
  851.      block.
  852.      Store the desired register order in the array `reg_alloc_order'.
  853.      Element 0 should be the register to allocate first; element 1, the
  854.      next register; and so on.
  855.      The macro body should not assume anything about the contents of
  856.      `reg_alloc_order' before execution of the macro.
  857.      On most machines, it is not necessary to define this macro.
  858. File: gcc.info,  Node: Values in Registers,  Next: Leaf Functions,  Prev: Allocation Order,  Up: Registers
  859. How Values Fit in Registers
  860. ---------------------------
  861.    This section discusses the macros that describe which kinds of values
  862. (specifically, which machine modes) each register can hold, and how many
  863. consecutive registers are needed for a given mode.
  864. `HARD_REGNO_NREGS (REGNO, MODE)'
  865.      A C expression for the number of consecutive hard registers,
  866.      starting at register number REGNO, required to hold a value of mode
  867.      MODE.
  868.      On a machine where all registers are exactly one word, a suitable
  869.      definition of this macro is
  870.           #define HARD_REGNO_NREGS(REGNO, MODE)            \
  871.              ((GET_MODE_SIZE (MODE) + UNITS_PER_WORD - 1)  \
  872.               / UNITS_PER_WORD))
  873. `HARD_REGNO_MODE_OK (REGNO, MODE)'
  874.      A C expression that is nonzero if it is permissible to store a
  875.      value of mode MODE in hard register number REGNO (or in several
  876.      registers starting with that one).  For a machine where all
  877.      registers are equivalent, a suitable definition is
  878.           #define HARD_REGNO_MODE_OK(REGNO, MODE) 1
  879.      It is not necessary for this macro to check for the numbers of
  880.      fixed registers, because the allocation mechanism considers them
  881.      to be always occupied.
  882.      On some machines, double-precision values must be kept in even/odd
  883.      register pairs.  The way to implement that is to define this macro
  884.      to reject odd register numbers for such modes.
  885.      The minimum requirement for a mode to be OK in a register is that
  886.      the `movMODE' instruction pattern support moves between the
  887.      register and any other hard register for which the mode is OK; and
  888.      that moving a value into the register and back out not alter it.
  889.      Since the same instruction used to move `SImode' will work for all
  890.      narrower integer modes, it is not necessary on any machine for
  891.      `HARD_REGNO_MODE_OK' to distinguish between these modes, provided
  892.      you define patterns `movhi', etc., to take advantage of this.  This
  893.      is useful because of the interaction between `HARD_REGNO_MODE_OK'
  894.      and `MODES_TIEABLE_P'; it is very desirable for all integer modes
  895.      to be tieable.
  896.      Many machines have special registers for floating point arithmetic.
  897.      Often people assume that floating point machine modes are allowed
  898.      only in floating point registers.  This is not true.  Any
  899.      registers that can hold integers can safely *hold* a floating
  900.      point machine mode, whether or not floating arithmetic can be done
  901.      on it in those registers.  Integer move instructions can be used
  902.      to move the values.
  903.      On some machines, though, the converse is true: fixed-point machine
  904.      modes may not go in floating registers.  This is true if the
  905.      floating registers normalize any value stored in them, because
  906.      storing a non-floating value there would garble it.  In this case,
  907.      `HARD_REGNO_MODE_OK' should reject fixed-point machine modes in
  908.      floating registers.  But if the floating registers do not
  909.      automatically normalize, if you can store any bit pattern in one
  910.      and retrieve it unchanged without a trap, then any machine mode
  911.      may go in a floating register, so you can define this macro to say
  912.      so.
  913.      The primary significance of special floating registers is rather
  914.      that they are the registers acceptable in floating point arithmetic
  915.      instructions.  However, this is of no concern to
  916.      `HARD_REGNO_MODE_OK'.  You handle it by writing the proper
  917.      constraints for those instructions.
  918.      On some machines, the floating registers are especially slow to
  919.      access, so that it is better to store a value in a stack frame
  920.      than in such a register if floating point arithmetic is not being
  921.      done.  As long as the floating registers are not in class
  922.      `GENERAL_REGS', they will not be used unless some pattern's
  923.      constraint asks for one.
  924. `MODES_TIEABLE_P (MODE1, MODE2)'
  925.      A C expression that is nonzero if it is desirable to choose
  926.      register allocation so as to avoid move instructions between a
  927.      value of mode MODE1 and a value of mode MODE2.
  928.      If `HARD_REGNO_MODE_OK (R, MODE1)' and `HARD_REGNO_MODE_OK (R,
  929.      MODE2)' are ever different for any R, then `MODES_TIEABLE_P (MODE1,
  930.      MODE2)' must be zero.
  931.