Commit 0f8056e0 authored by Matthias Braun's avatar Matthias Braun

mips, arm: Disable all if conversion again

The previous commit would enable if conversion that do not produce Mux
nodes by default for all targets. Seems the mips, arm target cannot
handle all resulting nodes yet (Shifts != wordsize for example), so go
back to no if conversion.
parent 1ffc842f
......@@ -263,6 +263,15 @@ static void arm_init_asm_constraints(void)
be_set_constraint_support(ASM_CONSTRAINT_FLAG_SUPPORTS_IMMEDIATE, "IJKLMin");
}
static int arm_ifconv(ir_node const *const sel, ir_node const *const mux_false,
ir_node const *mux_true)
{
(void)sel;
(void)mux_false;
(void)mux_true;
return false;
}
static void arm_init(void)
{
arm_mode_gp = new_int_mode("arm_gp", ARM_MACHINE_SIZE, 0,
......@@ -276,6 +285,7 @@ static void arm_init(void)
ir_target.experimental
= "the arm backend is highly experimental and unfinished";
ir_target.fast_unaligned_memaccess = false;
ir_target.allow_ifconv = arm_ifconv;
ir_target.float_int_overflow = ir_overflow_min_max;
}
......
......@@ -50,6 +50,15 @@ static void mips_init_asm_constraints(void)
be_set_constraint_support(ASM_CONSTRAINT_FLAG_SUPPORTS_IMMEDIATE, "IJKLMNOPin");
}
static int mips_ifconv(ir_node const *const sel, ir_node const *const mux_false,
ir_node const *mux_true)
{
(void)sel;
(void)mux_false;
(void)mux_true;
return false;
}
static void mips_init(void)
{
mips_init_asm_constraints();
......@@ -58,6 +67,7 @@ static void mips_init(void)
ir_target.experimental
= "the MIPS backend is highly experimental and unfinished";
ir_target.allow_ifconv = mips_ifconv;
ir_target.float_int_overflow = ir_overflow_indefinite;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment