Fixed 'inline' lossage --flo
[libfirm] / ir / ir / irmode_t.h
index c196866..0115da0 100644 (file)
@@ -1,5 +1,15 @@
+/*
+ * Project:     libFIRM
+ * File name:   ir/ir/irmode_t.h
+ * Purpose:     Data modes of operations -- private header.
+ * Author:      Martin Trapp, Christian Schaefer
+ * Modified by: Goetz Lindenmaier, Mathias Heil
+ * Created:
+ * CVS-ID:      $Id$
+ * Copyright:   (c) 1998-2003 Universität Karlsruhe
+ * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
+ */
 
-/* $Id$ */
 
 /**
  * @file irmode_t.h
@@ -18,14 +28,18 @@ struct ir_mode {
   ident             *name;      /**< Name ident of this mode */
 
   /* ----------------------------------------------------------------------- */
-  /* On changing this struct you have to valuate the mode_are_equal function!*/
-  mode_sort         sort;       /**< coarse classification 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 */
+  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;