Implement binary emitters for FldCW, FnstCW and fistp.
[libfirm] / ir / be / ia32 / ia32_address_mode.h
index 4b8b794..524d54a 100644 (file)
@@ -47,7 +47,11 @@ struct ia32_address_t {
 };
 
 typedef enum ia32_create_am_flags_t {
-       ia32_create_am_force = 1U << 0 /**< Ignore the marking of node as a non-address-mode node */
+       ia32_create_am_force      = 1U << 0, /**< Ignore the marking of node as a
+                                                 non-address-mode node */
+       ia32_create_am_double_use = 1U << 1  /**< Fold AM, even if the root of
+                                                 address calculation has two users.
+                                                 This is useful for dest AM */
 } ia32_create_am_flags_t;
 
 /**
@@ -69,7 +73,7 @@ void ia32_free_non_address_mode_nodes(void);
 /**
  * Tells whether the given node is a non address mode node.
  */
-int ia32_is_non_address_mode_node(ir_node *node);
+int ia32_is_non_address_mode_node(ir_node const *node);
 
 /**
  * mark a node so it will not be used as part of address modes