* @file
* @brief This is the main ia32 firm backend driver.
* @author Christian Wuerdig
- * @version $Id$
*/
#ifndef FIRM_BE_IA32_BEARCH_IA32_T_H
#define FIRM_BE_IA32_BEARCH_IA32_T_H
#include "pdeq.h"
#include "be.h"
-#include "../bemachine.h"
-#include "../beemitter.h"
+#include "beemitter.h"
#include "gen_ia32_regalloc_if.h"
#ifdef NDEBUG
* IA32 ISA object
*/
struct ia32_isa_t {
- arch_env_t base; /**< must be derived from arch_env_t */
- pmap *types; /**< A map of modes to primitivetypes */
- pmap *tv_ent; /**< A map of entities that store const tarvals */
- const be_machine_t *cpu; /**< the abstract machine */
+ arch_env_t base; /**< must be derived from arch_env_t */
+ pmap *tv_ent; /**< A map of entities that store const tarvals */
+ int fpu_arch; /**< FPU architecture */
};
/**
/** The mode for the floating point control word. */
extern ir_mode *ia32_mode_fpcw;
+/** extended floatingpoint mode */
+extern ir_mode *ia32_mode_E;
+extern ir_type *ia32_type_E;
static inline ia32_irg_data_t *ia32_get_irg_data(const ir_graph *irg)
{
/**
* Return the stack entity that contains the return address.
*/
-ir_entity *ia32_get_return_address_entity(void);
+ir_entity *ia32_get_return_address_entity(ir_graph *irg);
/**
* Return the stack entity that contains the frame address.
*/
-ir_entity *ia32_get_frame_address_entity(void);
+ir_entity *ia32_get_frame_address_entity(ir_graph *irg);
#endif