+/*
+ * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved.
+ *
+ * This file is part of libFirm.
+ *
+ * This file may be distributed and/or modified under the terms of the
+ * GNU General Public License version 2 as published by the Free Software
+ * Foundation and appearing in the file LICENSE.GPL included in the
+ * packaging of this file.
+ *
+ * Licensees holding valid libFirm Professional Edition licenses may use
+ * this file in accordance with the libFirm Commercial License.
+ * Agreement provided with the Software.
+ *
+ * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+ * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE.
+ */
+
+/**
+ * @file
+ * @brief Handling of ia32 specific firm opcodes.
+ * @author Christian Wuerdig
+ *
+ * This file implements the creation of the achitecture specific firm opcodes
+ * and the coresponding node constructors for the ia32 assembler irg.
+ */
+#ifndef FIRM_BE_IA32_IA32_NEW_NODES_H
+#define FIRM_BE_IA32_IA32_NEW_NODES_H
+
+#include "ia32_nodes_attr.h"
+
+/** indices for AM inputs */
+enum {
+ n_ia32_base = 0,
+ n_ia32_index = 1,
+ n_ia32_mem = 2,
+ n_ia32_unary_op = 3,
+ n_ia32_binary_left = 3,
+ n_ia32_binary_right = 4
+};
+
+/** proj numbers for "normal" one-result nodes (for the complicated cases where we not only
+ * need the result) */
+enum {
+ pn_ia32_res = 0,
+ pn_ia32_flags = 1,
+ pn_ia32_mem = 2
+};
+
+extern struct obstack opcodes_obst;