diff options
author | nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-09-17 13:03:40 +0000 |
---|---|---|
committer | nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-09-17 13:03:40 +0000 |
commit | d33e2bd3bac34f402a7227363bbc3c4559b10b18 (patch) | |
tree | fb359f00ee19f191ffc7a8b4452f5cac139d0ac1 /gcc/machmode.def | |
parent | 509cb6a8367e6267338e5e64a91b338b6f6b4b76 (diff) | |
download | gcc-d33e2bd3bac34f402a7227363bbc3c4559b10b18.tar.gz |
* machmode.def (V1DImode): New mode. A single element vector.
* tree.h (TI_UV1DI_TYPE, TI_V1DI_TYPE): New tree_index enums.
(unsigned_V1DI_type_node, V1D1_type_node): New type nodes.
* tree.c (build_common_tree_nodes_2): Build
unsigned_V1DI_type_node and V1D1_type_node.
* c-common.c (c_common_type_for_mode): Return
unsigned_V1DI_type_node or V1D1_type_node for V1DImode.
* rtl.c (class_narrowest_): Start integer vector nodes with V1DImode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57248 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/machmode.def')
-rw-r--r-- | gcc/machmode.def | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/machmode.def b/gcc/machmode.def index fe4b96eca20..5013e1f7cbe 100644 --- a/gcc/machmode.def +++ b/gcc/machmode.def @@ -113,11 +113,10 @@ DEF_MACHMODE (CTImode, "CTI", MODE_COMPLEX_INT, BITS_PER_UNIT*32, 32, 16, COImod DEF_MACHMODE (COImode, "COI", MODE_COMPLEX_INT, BITS_PER_UNIT*64, 64, 32, VOIDmode, OImode) /* Vector modes. */ -/* 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 DI within same bit sizes. */ +DEF_MACHMODE (V1DImode, "V1DI", MODE_VECTOR_INT, BITS_PER_UNIT*8, 8, 8, V2QImode, DImode) DEF_MACHMODE (V2QImode, "V2QI", MODE_VECTOR_INT, BITS_PER_UNIT*2, 2, 1, V4QImode, QImode) DEF_MACHMODE (V2HImode, "V2HI", MODE_VECTOR_INT, BITS_PER_UNIT*4, 4, 2, V8QImode, HImode) DEF_MACHMODE (V2SImode, "V2SI", MODE_VECTOR_INT, BITS_PER_UNIT*8, 8, 4, V16QImode, SImode) |