tm.texi (registers): Add entry for REGMODE_NATURAL_SIZE.
authorEric Botcazou <ebotcazou@libertysurf.fr>
Fri, 12 Mar 2004 10:53:15 +0000 (11:53 +0100)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 12 Mar 2004 10:53:15 +0000 (10:53 +0000)
* doc/tm.texi (registers) <Values in Registers>: Add
entry for REGMODE_NATURAL_SIZE.

From-SVN: r79377

gcc/ChangeLog
gcc/doc/tm.texi

index f80b5355b0422ff4f50f2993778a46981db0b348..1f04f38d11bf81c142d78247da812bd57c7e5ad2 100644 (file)
@@ -1,3 +1,8 @@
+2004-03-12  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * doc/tm.texi (registers) <Values in Registers>: Add
+       entry for REGMODE_NATURAL_SIZE.
+
 2004-03-12  Richard Henderson  <rth@redhat.com>
 
        PR target/14547
index 4b65d900699f12634b17a3710923fc41629dfa92..fe293e31eb23fd017bc9e99dd3bf510716b1e032 100644 (file)
@@ -2011,6 +2011,15 @@ definition of this macro is
 @end smallexample
 @end defmac
 
+@defmac REGMODE_NATURAL_SIZE (@var{mode})
+Define this macro if the natural size of registers that hold values
+of mode @var{mode} is not the word size.  It is a C expression that
+should give the natural size in bytes for the specified mode.  It is
+used by the register allocator to try to optimize its results.  This
+happens for example on SPARC 64-bit where the natural size of
+floating-point registers is still 32-bit.
+@end defmac
+
 @defmac HARD_REGNO_MODE_OK (@var{regno}, @var{mode})
 A C expression that is nonzero if it is permissible to store a value
 of mode @var{mode} in hard register number @var{regno} (or in several