diff options
author | J"orn Rennecke <joern.rennecke@superh.com> | 2002-10-14 10:36:41 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2002-10-14 11:36:41 +0100 |
commit | 7457a126c65882e63d8654856acb0f4daec51a92 (patch) | |
tree | c463678c9ef6443cfbbfb6ba36fce0b023c6133f /gcc/tree.c | |
parent | 0d1c5774b2ffdb0ad7a646184e38249a80d8da97 (diff) | |
download | gcc-7457a126c65882e63d8654856acb0f4daec51a92.tar.gz |
c-common.c (c_common_type_for_mode): Add V2HImode case.
* c-common.c (c_common_type_for_mode): Add V2HImode case.
* tree.c (build_common_tree_nodes_2): Initialize
unsigned_V2HI_type_node and V2HI_type_node.
* tree.h (enum tree_index): Add TI_UV2HI_TYPE and TI_V2HI_TYPE.
(unsigned_V2HI_type_node, V2HI_type_node): Define.
From-SVN: r58123
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree.c b/gcc/tree.c index dac15adaa71..53f46f39717 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -4763,6 +4763,8 @@ build_common_tree_nodes_2 (short_double) unsigned_V4SI_type_node = make_vector (V4SImode, unsigned_intSI_type_node, 1); + unsigned_V2HI_type_node + = make_vector (V2HImode, unsigned_intHI_type_node, 1); unsigned_V2SI_type_node = make_vector (V2SImode, unsigned_intSI_type_node, 1); unsigned_V2DI_type_node @@ -4781,6 +4783,7 @@ build_common_tree_nodes_2 (short_double) V16SF_type_node = make_vector (V16SFmode, float_type_node, 0); V4SF_type_node = make_vector (V4SFmode, float_type_node, 0); V4SI_type_node = make_vector (V4SImode, intSI_type_node, 0); + V2HI_type_node = make_vector (V2HImode, intHI_type_node, 0); V2SI_type_node = make_vector (V2SImode, intSI_type_node, 0); V2DI_type_node = make_vector (V2DImode, intDI_type_node, 0); V4HI_type_node = make_vector (V4HImode, intHI_type_node, 0); |