projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- various updates to sparc backend
[libfirm]
/
ir
/
be
/
arm
/
bearch_arm.c
diff --git
a/ir/be/arm/bearch_arm.c
b/ir/be/arm/bearch_arm.c
index
8fa3bbf
..
d4cf7a1
100644
(file)
--- a/
ir/be/arm/bearch_arm.c
+++ b/
ir/be/arm/bearch_arm.c
@@
-353,10
+353,6
@@
static ir_node *convert_sng_to_int(ir_node *bl, ir_node *arg)
v = (v << 8) | get_tarval_sub_bits(tv, 1);
v = (v << 8) | get_tarval_sub_bits(tv, 0);
return new_Const_long(mode_Is, v);
v = (v << 8) | get_tarval_sub_bits(tv, 1);
v = (v << 8) | get_tarval_sub_bits(tv, 0);
return new_Const_long(mode_Is, v);
- } else if (is_Load(skip_Proj(arg))) {
- ir_node *load;
-
- load = skip_Proj(arg);
}
panic("Unimplemented convert_sng_to_int() case");
}
}
panic("Unimplemented convert_sng_to_int() case");
}
@@
-953,11
+949,11
@@
static void arm_get_call_abi(const void *self, ir_type *method_type, be_abi_call
/* reg = get reg for param i; */
/* be_abi_call_param_reg(abi, i, reg); */
if (i < 4) {
/* reg = get reg for param i; */
/* be_abi_call_param_reg(abi, i, reg); */
if (i < 4) {
- be_abi_call_param_reg(abi, i, arm_get_RegParam_reg(i));
+ be_abi_call_param_reg(abi, i, arm_get_RegParam_reg(i)
, ABI_CONTEXT_BOTH
);
} else {
tp = get_method_param_type(method_type, i);
mode = get_type_mode(tp);
} else {
tp = get_method_param_type(method_type, i);
mode = get_type_mode(tp);
- be_abi_call_param_stack(abi, i, mode, 4, 0, 0);
+ be_abi_call_param_stack(abi, i, mode, 4, 0, 0
, ABI_CONTEXT_BOTH
);
}
}
}
}
@@
-978,8
+974,8
@@
static void arm_get_call_abi(const void *self, ir_type *method_type, be_abi_call
assert(!mode_is_float(mode) && "mixed INT, FP results not supported");
assert(!mode_is_float(mode) && "mixed INT, FP results not supported");
- be_abi_call_res_reg(abi, 0, &arm_gp_regs[REG_R0]);
- be_abi_call_res_reg(abi, 1, &arm_gp_regs[REG_R1]);
+ be_abi_call_res_reg(abi, 0, &arm_gp_regs[REG_R0]
, ABI_CONTEXT_BOTH
);
+ be_abi_call_res_reg(abi, 1, &arm_gp_regs[REG_R1]
, ABI_CONTEXT_BOTH
);
} else if (n == 1) {
const arch_register_t *reg;
} else if (n == 1) {
const arch_register_t *reg;
@@
-988,7
+984,7
@@
static void arm_get_call_abi(const void *self, ir_type *method_type, be_abi_call
mode = get_type_mode(tp);
reg = mode_is_float(mode) ? &arm_fpa_regs[REG_F0] : &arm_gp_regs[REG_R0];
mode = get_type_mode(tp);
reg = mode_is_float(mode) ? &arm_fpa_regs[REG_F0] : &arm_gp_regs[REG_R0];
- be_abi_call_res_reg(abi, 0, reg);
+ be_abi_call_res_reg(abi, 0, reg
, ABI_CONTEXT_BOTH
);
}
}
}
}