fixed header files
authorChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Thu, 23 Feb 2006 10:42:42 +0000 (10:42 +0000)
committerChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Thu, 23 Feb 2006 10:42:42 +0000 (10:42 +0000)
added missing register

ir/be/ia32/bearch_ia32.h
ir/be/ia32/bearch_ia32_t.h
ir/be/ia32/ia32_spec.pl

index 9a52eae..05a9cba 100644 (file)
@@ -4,16 +4,6 @@
 #include "pset.h"
 #include "../bearch.h"
 
 #include "pset.h"
 #include "../bearch.h"
 
-/**
- * Creates the unique per irg GP NoReg node.
- */
-ir_node *ia32_new_NoReg_gp(ia32_code_gen_t *cg);
-
-/**
- * Creates the unique per irg FP NoReg node.
- */
-ir_node *ia32_new_NoReg_fp(ia32_code_gen_t *cg);
-
 extern const arch_isa_if_t ia32_isa_if;
 
 #endif /* _BEARCH_IA32_H_ */
 extern const arch_isa_if_t ia32_isa_if;
 
 #endif /* _BEARCH_IA32_H_ */
index eea7715..f5995a8 100644 (file)
@@ -5,6 +5,18 @@
 #include "bearch_ia32.h"
 #include "ia32_nodes_attr.h"
 
 #include "bearch_ia32.h"
 #include "ia32_nodes_attr.h"
 
+/**
+ * Creates the unique per irg GP NoReg node.
+ */
+ir_node *ia32_new_NoReg_gp(ia32_code_gen_t *cg);
+
+/**
+ * Creates the unique per irg FP NoReg node.
+ */
+ir_node *ia32_new_NoReg_fp(ia32_code_gen_t *cg);
+
+/* some typedefs */
+
 typedef struct _ia32_code_gen_t {
        const arch_code_generator_if_t *impl;          /**< implementation */
        ir_graph                       *irg;           /**< current irg */
 typedef struct _ia32_code_gen_t {
        const arch_code_generator_if_t *impl;          /**< implementation */
        ir_graph                       *irg;           /**< current irg */
index 95c3abf..582e78a 100644 (file)
@@ -111,6 +111,7 @@ $arch = "ia32";
             { "name" => "xmm5", "type" => 1 },
             { "name" => "xmm6", "type" => 1 },
             { "name" => "xmm7", "type" => 1 },
             { "name" => "xmm5", "type" => 1 },
             { "name" => "xmm6", "type" => 1 },
             { "name" => "xmm7", "type" => 1 },
+            { "name" => "xxxx", "type" => 4 },  # we need a dummy register for NoReg and Unknown nodes
                        { "mode" => "mode_D" }
           ]
 ); # %reg_classes
                        { "mode" => "mode_D" }
           ]
 ); # %reg_classes