-typedef struct _ia32_attr_t {
- struct {
- unsigned tp:3; /**< ia32 node type */
- unsigned imm_tp:2; /**< ia32 immop type */
-
- unsigned am_support:2; /**< indicates addrmode type supported by this node */
- unsigned am_flavour:4; /**< the concrete addrmode characteristics */
- unsigned am_scale:2; /**< addrmode scale for index register */
-
- unsigned offs_sign:1; /**< sign bit of the first offset */
- unsigned am_sc_sign:1; /**< sign bit of the address mode symconst */
+/**
+ * The generic ia32 attributes. Every node has them.
+ */
+typedef struct ia32_attr_t ia32_attr_t;
+struct ia32_attr_t {
+ except_attr exc; /**< the exception attribute. MUST be the first one. */
+ struct ia32_attr_data_bitfield {
+ unsigned flags:5; /**< Indicating if spillable, rematerializeable, stack modifying and/or ignore. */
+ unsigned tp:3; /**< ia32 node type. */
+ unsigned am_support:2; /**< Indicates the address mode type supported by this node. */
+ unsigned am_arity : 2;
+ unsigned am_scale:2; /**< The address mode scale for index register. */
+ unsigned am_sc_sign:1; /**< The sign bit of the address mode symconst. */
+
+ unsigned use_frame:1; /**< Indicates whether the operation uses the frame pointer or not. */
+ unsigned has_except_label:1; /**< Set if this node needs a label because of possible exception. */
+
+ unsigned is_commutative:1; /**< Indicates whether op is commutative or not. */
+
+ unsigned need_stackent:1; /**< Set to 1 if node need space on stack. */
+ unsigned need_64bit_stackent:1; /**< needs a 64bit stack entity (see double->unsigned int conv) */
+ unsigned need_32bit_stackent:1; /**< needs a 32bit stack entity */
+ unsigned ins_permuted : 1; /**< inputs of node have been permuted
+ (for commutative nodes) */
+ unsigned cmp_unsigned : 1; /**< compare should be unsigned */
+ unsigned is_reload : 1; /**< node performs a reload */
+ unsigned is_spill : 1;
+ unsigned is_remat : 1;
+ } data;