/*
- * 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 "ia32_fpu.h"
#include "ia32_new_nodes.h"
+#include "ia32_architecture.h"
#include "gen_ia32_regalloc_if.h"
#include "ircons.h"
ir_node *spill = NULL;
/* we don't spill the fpcw in unsafe mode */
- if(cg->opt & IA32_OPT_UNSAFE_FLOATCONV) {
+ if(ia32_cg_config.use_unsafe_floatconv) {
ir_graph *irg = get_irn_irg(state);
ir_node *block = get_nodes_block(state);
if(force == 1 || !is_ia32_ChangeCW(state)) {
ir_node *noreg = ia32_new_NoReg_gp(cg);
ir_node *reload = NULL;
- if(cg->opt & IA32_OPT_UNSAFE_FLOATCONV) {
+ if(ia32_cg_config.use_unsafe_floatconv) {
if(fpcw_round == NULL) {
create_fpcw_entities();
}