Lines Matching refs:MODE

28 /* Get the name of mode MODE as a string.  */
31 #define GET_MODE_NAME(MODE) mode_name[MODE]
41 /* Get the general kind of object that mode MODE represents
45 #define GET_MODE_CLASS(MODE) mode_class[MODE]
47 /* Nonzero if MODE is an integral mode. */
48 #define INTEGRAL_MODE_P(MODE) \
49 (GET_MODE_CLASS (MODE) == MODE_INT \
50 || GET_MODE_CLASS (MODE) == MODE_PARTIAL_INT \
51 || GET_MODE_CLASS (MODE) == MODE_COMPLEX_INT \
52 || GET_MODE_CLASS (MODE) == MODE_VECTOR_INT)
54 /* Nonzero if MODE is a floating-point mode. */
55 #define FLOAT_MODE_P(MODE) \
56 (GET_MODE_CLASS (MODE) == MODE_FLOAT \
57 || GET_MODE_CLASS (MODE) == MODE_DECIMAL_FLOAT \
58 || GET_MODE_CLASS (MODE) == MODE_COMPLEX_FLOAT \
59 || GET_MODE_CLASS (MODE) == MODE_VECTOR_FLOAT)
61 /* Nonzero if MODE is a complex mode. */
62 #define COMPLEX_MODE_P(MODE) \
63 (GET_MODE_CLASS (MODE) == MODE_COMPLEX_INT \
64 || GET_MODE_CLASS (MODE) == MODE_COMPLEX_FLOAT)
66 /* Nonzero if MODE is a vector mode. */
67 #define VECTOR_MODE_P(MODE) \
68 (GET_MODE_CLASS (MODE) == MODE_VECTOR_INT \
69 || GET_MODE_CLASS (MODE) == MODE_VECTOR_FLOAT)
71 /* Nonzero if MODE is a scalar integral mode. */
72 #define SCALAR_INT_MODE_P(MODE) \
73 (GET_MODE_CLASS (MODE) == MODE_INT \
74 || GET_MODE_CLASS (MODE) == MODE_PARTIAL_INT)
76 /* Nonzero if MODE is a scalar floating point mode. */
77 #define SCALAR_FLOAT_MODE_P(MODE) \
78 (GET_MODE_CLASS (MODE) == MODE_FLOAT \
79 || GET_MODE_CLASS (MODE) == MODE_DECIMAL_FLOAT)
81 /* Nonzero if MODE is a decimal floating point mode. */
82 #define DECIMAL_FLOAT_MODE_P(MODE) \
83 (GET_MODE_CLASS (MODE) == MODE_DECIMAL_FLOAT)
92 /* Get the size in bytes and bits of an object of mode MODE. */
95 #define GET_MODE_SIZE(MODE) ((unsigned short) mode_size[MODE])
96 #define GET_MODE_BITSIZE(MODE) ((unsigned short) (GET_MODE_SIZE (MODE) * BITS_PER_UNIT))
98 /* Get the number of value bits of an object of mode MODE. */
100 #define GET_MODE_PRECISION(MODE) mode_precision[MODE]
103 that fit within mode MODE. */
107 #define GET_MODE_MASK(MODE) mode_mask_array[MODE]
112 #define GET_MODE_INNER(MODE) mode_inner[MODE]
114 /* Get the size in bytes of the basic parts of an object of mode MODE. */
116 #define GET_MODE_UNIT_SIZE(MODE) \
117 (GET_MODE_INNER (MODE) == VOIDmode \
118 ? GET_MODE_SIZE (MODE) \
119 : GET_MODE_SIZE (GET_MODE_INNER (MODE)))
124 #define GET_MODE_NUNITS(MODE) mode_nunits[MODE]
129 #define GET_MODE_WIDER_MODE(MODE) mode_wider[MODE]
132 #define GET_MODE_2XWIDER_MODE(MODE) mode_2xwider[MODE]
162 #define GET_MODE_ALIGNMENT(MODE) get_mode_alignment (MODE)