diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2001-11-04 00:34:50 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2001-11-04 00:34:50 +0000 |
commit | 7ba2b35c70e53321fab02940a8ccce6410cf8d36 (patch) | |
tree | 7ebaf99cf0aa2597bde7047ff09e61f869c3777d | |
parent | 7fba32932297eb72c35eabcacc1f6b59acea1172 (diff) | |
download | gcc-7ba2b35c70e53321fab02940a8ccce6410cf8d36.zip gcc-7ba2b35c70e53321fab02940a8ccce6410cf8d36.tar.gz gcc-7ba2b35c70e53321fab02940a8ccce6410cf8d36.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/machmode.def | 9 |
2 files changed, 11 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6a73b32..4f20f30 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/machmode.def b/gcc/machmode.def index f84c2e7..580f6ff 100644 --- a/gcc/machmode.def +++ b/gcc/machmode.def @@ -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) |