X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firmode_t.h;h=0115da0f39432d0b204a6318a55e13a934fe34eb;hb=e570f00fb465d212dde403160e97ab45d36d1d7e;hp=d8374cb05aaf4a2c8702837b05ec37ccfc827fff;hpb=920031da93cfdffb8a3cffafbe7b240ae481dd03;p=libfirm diff --git a/ir/ir/irmode_t.h b/ir/ir/irmode_t.h index d8374cb05..0115da0f3 100644 --- a/ir/ir/irmode_t.h +++ b/ir/ir/irmode_t.h @@ -29,14 +29,17 @@ struct ir_mode { /* ----------------------------------------------------------------------- */ /* On changing this struct you have to evaluate the mode_are_equal function!*/ - mode_sort sort; /**< coarse classification of this mode: + 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; + 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;