diff options
author | Bernd Schmidt <bernds@cygnus.co.uk> | 2000-06-24 19:26:42 +0000 |
---|---|---|
committer | Bernd Schmidt <crux@gcc.gnu.org> | 2000-06-24 19:26:42 +0000 |
commit | 0b4565c9d8b4b7530558beef1b9284b88848b2fa (patch) | |
tree | db94b2c1a07d5c04365806edf03c813ecba575c1 /gcc/tree.h | |
parent | cf036e712cdd515d1fed36a58023926e0dabb1aa (diff) | |
download | gcc-0b4565c9d8b4b7530558beef1b9284b88848b2fa.zip gcc-0b4565c9d8b4b7530558beef1b9284b88848b2fa.tar.gz gcc-0b4565c9d8b4b7530558beef1b9284b88848b2fa.tar.bz2 |
Vector conversions support
From-SVN: r34680
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -332,7 +332,8 @@ extern void tree_class_check_failed PARAMS ((const tree, int, /* In all nodes that are expressions, this is the data type of the expression. In POINTER_TYPE nodes, this is the type that the pointer points to. - In ARRAY_TYPE nodes, this is the type of the elements. */ + In ARRAY_TYPE nodes, this is the type of the elements. + In VECTOR_TYPE nodes, this is the type of the elements. */ #define TREE_TYPE(NODE) ((NODE)->common.type) /* Nodes are chained together for many purposes. @@ -1012,7 +1013,10 @@ struct tree_block object of the given ARRAY_TYPE. This allows temporaries to be allocated. */ #define TYPE_ARRAY_MAX_SIZE(ARRAY_TYPE) TYPE_MAX_VALUE (ARRAY_TYPE) -/* Indicates that objects of this type must be initialized by calling a +/* For a VECTOR_TYPE, this is the number of sub-parts of the vector. */ +#define TYPE_VECTOR_SUBPARTS(VECTOR_TYPE) (GET_MODE_NUNITS (TYPE_CHECK (VECTOR_TYPE)->type.mode)) + + /* Indicates that objects of this type must be initialized by calling a function when they are created. */ #define TYPE_NEEDS_CONSTRUCTING(NODE) \ (TYPE_CHECK (NODE)->type.needs_constructing_flag) |