machmode.def: Add documentation for the seventh argument in vector modes.
authorAldy Hernandez <aldyh@redhat.com>
Sun, 4 Nov 2001 00:34:50 +0000 (00:34 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Sun, 4 Nov 2001 00:34:50 +0000 (00:34 +0000)
2001-11-03  Aldy Hernandez  <aldyh@redhat.com>

        * machmode.def: Add documentation for the seventh argument in
        vector modes.

From-SVN: r46753

gcc/ChangeLog
gcc/machmode.def

index 6a73b3266733245eeac5af0799aee16d927098e9..4f20f30fcf39fea224a0db94fddfc53bc1ef4414 100644 (file)
@@ -1,3 +1,8 @@
+2001-11-03  Aldy Hernandez  <aldyh@redhat.com>
+
+        * machmode.def: Add documentation for the seventh argument in
+        vector modes.
+
 2001-11-04  Hans-Peter Nilsson  <hp@bitrange.com>
 
        * doc/invoke.texi (MMIX Options) <-mno-knuthdiv>: Say remainder
index f84c2e7149d76f0c74eaa4ad272d7851f5026688..580f6ff61c616da8722ee151454bf63a7a76ffac 100644 (file)
@@ -59,8 +59,11 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
    It is same as the fifth argument except for complexes and vectors,
    since they are really made of many equal size subunits.
 
-   Seventh arg is next wider natural mode of the same class.
-   0 if there is none.  */
+   Seventh arg is next wider natural mode of the same class.  0 if
+   there is none.  Vector modes use this field to point to the next
+   vector size, so we can iterate through the different vectors modes.
+   The ordering is by increasing byte size, with QI coming before HI,
+   HI before SI, etc.  */
 
 /* VOIDmode is used when no mode needs to be specified,
    as for example on CONST_INT RTL expressions.  */
@@ -109,7 +112,7 @@ DEF_MACHMODE (COImode, "COI", MODE_COMPLEX_INT, BITS_PER_UNIT*64, 64, 32, VOIDmo
 /* There are no V1xx vector modes.  These are equivalent to normal
    scalar modes.  */
 /* The wider mode field for vectors follows in order of increasing bit
-   size with QI coming before HI, HI before SI, and SI before DF
+   size with QI coming before HI, HI before SI, and SI before DI
    within same bit sizes.  */
 DEF_MACHMODE (V2QImode, "V2QI", MODE_VECTOR_INT, BITS_PER_UNIT*2, 2, 1, V4QImode)
 DEF_MACHMODE (V2HImode, "V2HI", MODE_VECTOR_INT, BITS_PER_UNIT*4, 4, 2, V8QImode)