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

2001-11-03  Aldy Hernandez  <aldyh@redhat.com>

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

From-SVN: r46753
This commit is contained in:
Aldy Hernandez 2001-11-04 00:34:50 +00:00 committed by Aldy Hernandez
parent 7fba329322
commit 7ba2b35c70
2 changed files with 11 additions and 3 deletions

View 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

View 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)