diff options
Diffstat (limited to 'gcc/config/arm/arm.c')
-rw-r--r-- | gcc/config/arm/arm.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 13669b7..825a465 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -117,6 +117,8 @@ static int arm_comp_type_attributes PARAMS ((tree, tree)); static void arm_set_default_type_attributes PARAMS ((tree)); static void arm_elf_asm_named_section PARAMS ((const char *, unsigned int)); +static int arm_adjust_cost PARAMS ((rtx, rtx, rtx, int)); + #undef Hint #undef Mmode #undef Ulong @@ -157,6 +159,9 @@ static void arm_elf_asm_named_section PARAMS ((const char *, #undef TARGET_EXPAND_BUILTIN #define TARGET_EXPAND_BUILTIN arm_expand_builtin +#undef TARGET_SCHED_ADJUST_COST +#define TARGET_SCHED_ADJUST_COST arm_adjust_cost + struct gcc_target targetm = TARGET_INITIALIZER; /* Obstack for minipool constant handling. */ @@ -2744,7 +2749,7 @@ arm_rtx_costs (x, code, outer) } } -int +static int arm_adjust_cost (insn, link, dep, cost) rtx insn; rtx link; |