- BugFix: get_pnc_string() can only handle default pn_Cmp_* numbers
[libfirm] / ir / be / ia32 / ia32_nodes_attr.h
index 5b9893e..6b854f1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
  *
  * This file is part of libFirm.
  *
 #include "../bemachine.h"
 #include "irnode_t.h"
 
+enum {
+       ia32_pn_Cmp_unsigned = 0x1000,
+       ia32_pn_Cmp_float    = 0x2000,
+};
+
 typedef enum {
        ia32_Normal,
        ia32_AddrModeD,
@@ -40,10 +45,8 @@ typedef enum {
 } ia32_op_type_t;
 
 typedef        enum {
-       ia32_am_None   = 0,   /**< no addrmode support */
-       ia32_am_Dest   = 1,
-       ia32_am_Source = 2,   /**< addrmode for source only */
-       ia32_am_Full   = 3
+       ia32_am_None   = 0, /**< no addrmode support */
+       ia32_am_Source = 2  /**< addrmode for source only */
 } ia32_am_type_t;
 
 typedef enum {
@@ -68,6 +71,7 @@ typedef enum {
        match_dest_am           = 1 << 9,
        match_try_am            = 1 << 10,  /**< only try to produce AM node, don't
                                                 do anything if AM isn't possible */
+       match_two_users         = 1 << 11   /**< the instruction uses a load two times ... */
 } match_flags_t;
 
 typedef struct ia32_op_attr_t ia32_op_attr_t;