- modecode code;
- ident *name; /**< Name of this mode */
- int size; /**< size of the mode in Bytes. */
- int ld_align; /**< ld means log2 */
- tarval *min; /**< largest value to be represented by this mode */
- tarval *max; /**< smallest value to be represented by this mode */
- tarval *null; /**< Representation of zero in this mode */
- unsigned fsigned:1; /**< signedness of this mode */
- unsigned ffloat:1; /**< true if this is a float */
+ firm_kind kind; /**< distinguishes this node from others */
+ modecode code; /**< unambiguous identifier of a mode */
+ ident *name; /**< Name ident of this mode */
+
+ /* ----------------------------------------------------------------------- */
+ /* On changing this struct you have to evaluate the mode_are_equal function!*/
+ mode_sort sort; /**< coarse classification of this mode:
+ int, float, reference ...
+ (see irmode.h) */
+ mode_arithmetic arithmetic; /**< different arithmetic operations possible with a mode */
+ int size; /**< size of the mode in Bits. */
+ int align; /**< byte alignment */
+ unsigned sign:1; /**< signedness of this mode */
+ unsigned int modulo_shift; /**< number of bits a valus of this mode will be shifted */
+ unsigned vector_elem; /**< if this is not equal 1, this is a vector mode with
+ vector_elem number of elements, size contains the size
+ of all bits and must be dividable by vector_elem */
+
+ /* ----------------------------------------------------------------------- */
+ tarval *min;
+ tarval *max;
+ tarval *null;
+ tarval *one;
+ void *link; /**< To store some intermediate information */
+ const void *tv_priv; /**< tarval module will save private data here */